The inhibiting effect and mechanism of 1-cyclopropyl-6-fluoro-1,4-dihydro -4-oxo-7-(1-piperazinyl) -3-quinoline carboxylicacid(ciprofloxacin), 1-ethyl-6-fluoro-1,4-dihydro-4-oxo-7-(1-piperazinyl)-3-quinoline carboxylic acid (norfloxacin) and (−)-(S)-9-fluoro-2,3-dihydro-3-methyl-10-(4-methyl-1-piperazinyl)-7-oxo-7 H-pyrido(1,2,3-de)-1,4-benzoxazine-6 carboxylic acid (ofloxacin) on the corrosion of mild steel in 1 mol/L HCl have been studied using electrochemical method, quantum chemical method and SEM at 303 K. The potentiodynamic results showed that these compounds suppressed both cathodic and anodic processes of mild steel corrosion in 1 mol/L HCl. The impedance spectroscopy showed that R p values increased, and C dl values decreased with the rising of the working concentration. Quantum chemical calculation showed that there was a positive correlation between some inhibitors structure properties and the inhibitory efficiency. The inhibitors function through adsorption followed Langmuir isotherm, and chemisorption made more contribution to the adsorption of the inhibitors on the steel surface compared with physical adsorption. SEM analysis suggested that the metal had been protected from aggressive corrosion because of the addition of the inhibitors.inhibition, mild steel, polarization, electrochemical impedance spectroscopy, SEM