In order to determine the diesel contribution in the coadsorption process of the oil-soluble inhibitors, electrochemical impedance spectroscopy measurements have been carried out to study the performance of oil-soluble inhibitors in both presence and absence of diesel and CO 2 . The results showed that the presence of the oil phase provides some protection to the steel because the water-soluble fractions are capable of being adsorbed on the steel surface thereby reducing the corrosion rate. The oily phase does not contribute to the adsorption process of the inhibitor because the inhibitor is absorbed into the water-soluble fractions. The oil-soluble inhibitors are effective only when the solution is saturated with CO 2 . CO 2 saturation causes a decrease in the pH of the solution causing both an increase of the inhibitor solubility and a better dispersion of the inhibitor into the electrolyte.