The performance of boron-doped diamond (BDD) electrode for the detection of metronidazole (MTZ) as the most important drug of the group of 5-nitroimidazole was proven using cyclic voltammetry (CV) and square wave voltammetry (SWV) techniques. A comparison study between BDD, glassy carbon and silver electrodes on the electrochemical response was carried out. The process is pH-dependent. In neutral and alkaline media, one irreversible reduction peak related to the hydroxylamine derivative formation was registered, involving a total of four electrons. In acidic medium, a prepeak appears probably related to the adsorption affinity of hydroxylamine at the electrode surface. The BDD electrode showed higher sensitivity and reproducibility analytical response, compared with the other electrodes. The higher reduction peak current was registered at pH11. Under optimal conditions, a linear analytical curve was obtained for the MTZ concentration in the range of 0.2-4.2μmolL(-1), with a detection limit of 0.065μmolL(-1).