The corrosion inhibition of 45# mild steel in 3%HCL solution by norfloxacin has been studied by weight loss measurement, Tafel polarization, electrochemical impedance spectroscopy (EIS) and quantum chemical study. The inhibitor of norfloxacin shows 93.2% inhibition efficiency at optimum concentration 400mg/L. The polarization studies suggest that norfloxacin is the mixed-type inhibitor for 45# carbon steel in 3%HCL. Electrochemical impedance spectroscopy techniques are also used to investigate the mechanism of corrosion inhibition. What is more, the adsorption model obeys Langmuir adsorption isotherm at 298K. And the calculated quantum chemical also suggests that norfloxacin have excellent inhibition properties.