Single-walled carbon nanotubes(SWCNTs) were dispersed into DMSO, and a SWCNTs-film coated glassy carbon electrode was achieved via evaporating the solvent. The results indicated that CNT modified glassy carbon electrode exhibited efficiently electrocatalytic reduction for ranitidine and metronidazole with relatively high sensitivity, stability and life time. Under conditions of cyclic voltammetry, the potential for reduction of selected analytes is lowered by approximately 150 mV and current is enhanced significantly (7 times) in comparison to the bare glassy carbon electrode. The electrocatalytic behavior is further exploited as a sensitive detection scheme for these analytes determinations by hydrodynamic amperometry. Under optimized condition in amperometric method the concentration calibration range, detection limit and sensitivity were about, 0.1 – 200 mM, detection limit (S/N¼3) 6.3108 mol L1 and sensitivity 40 nA/mM for metronidazole and 0.3 – 270 mM 7.73108 mol L1 and 25 nA/mM for ranitidine. In addition, the ability of the modified electrode for simultaneous determination of ranitidine and metronidazole was evaluated. The proposed method was successfully applied to ranitidine and metronidazole determination in tablets. The analytical performance of this sensor has been evaluated for detection of these analytes in serum as a real sample.