The corrosion behavior of mild steel in dilute hydrochloric acid under
the inhibiting action of various concentrations of aniline was studied using the
weight loss and linear polarization resistance technique. The efficiency of the
inhibitor increased with the increase in the inhibitor concentration. The results
obtained reveal that aniline performed effectively as a corrosion inhibitor. The
adsorption mechanism indicates mixed molecular interaction from values of Gibbs
free energy. The values of the inhibition efficiency calculated from the two tech-
niques are in reasonably good agreement. The adsorption of the inhibiting com-
pound was found to obey Langmuir, Frumkin and Freudlich adsorption isotherms.
The mechanism of inhibition was discussed in the light of the chemical structure of
the inhibiting compound and their adsorption on steel surfaces in relation to the
potentiodynamic parameters