A novel electrochemical sensor based on a molecularly imprinted polymer, poly(o-phenylenediamine) (PoPD), has been developed for selective and sensitive detection of furosemide. The sensor was prepared by incorporating of furosemide as template molecules during the electropolymerization of o-phenylenediamine on a gold electrode. To develop the molecularly imprinted polymer (MIP), the template molecules were removed from the modified electrode's surface by washing it with 0.25molL−1 NaOH solution. The imprinted layer was characterized by cyclic voltammetry (CV), electrochemical impedance spectroscopy (EIS) and atomic force microscopy (AFM). The sensor′s preparation conditions including furosemide concentration, the number of CV cycles in the electropolymerization process, extraction solution of the template from the imprinted film, the incubation time and the pH level were optimized. The incubation of the MIP-modified electrode, with respect to furosemide concentration, resulted in a suppression of the K4[Fe(CN)6] oxidation process. Under the optimal experimental conditions, the response of the imprinted sensor was linear in the range of 1.0×10−7–7.0×10−6molL−1 of furosemide. The detection limit was obtained as 7.0×10−8molL−1 for furosemide by using this sensor. The sensor was successfully used to determine the furosemide amount in the tablet and in human urine samples with satisfactory results.