In this paper, an electrochemical sensor for levofloxacin detection was developed by electrochemical polymerization of pyrogallol red (PGR) on the glassy carbon electrode (GCE) surfaces. Surface morphology and electrical properties of the Poly(PGR)/GCE obtained was characterized by SEM and EIS techniques. Voltammetric behaviour of the levofloxacin was found pH dependent, and the best response was obtained at pH 6.0 PBS. By monitoring the peak current at around 0.9 V, a wide linear range of calibration graph: from 0.2 mu M- 15 mu M LEV and 15 mu M- 355 mu M for levofloxacin, and very low detection limit of 97 nM were achieved with amperometry. Selectivity of the method developed was proven in the presence of possible interfering substances and the method was successfully employed for levofloxacin detection in pharmaceutical tablet and synthetic urine sample.