The corrosion inhibition of cast iron in 1 M HCl by Phenanthroline (Phen) was investigated using potentiodynamic polarization (PDP) curves, electrochemical impedance spectroscopy (EIS), surface analysis and theoretical calculations. It is found that Phen exhibits high inhibition activity towards the corrosive action of HCl and its adsorption obeys the Langmuir adsorption isotherm model. The results showed that inhibition efficiency increases with Phen concentration up to a maximum value of 96% at 1.4 mM, and decreases slightly with the increase in temperature. The free adsorption energy value indicates that Phen adsorbs on cast iron surface in 1 M HCl via a simultaneous physisorption and chemisorption mechanism. Scanning electron microscopy (SEM) micrographs, atomic force microscopy (AFM) and FTIR analysis confirmed the formation of a protective film on cast iron surface, resulting in the improvement of its corrosion resistance in the studied aggressive solution. Quantum chemical calculations at the DFT level were achieved to correlate electronic structure parameters of Phen molecules with their adsorption mode.