This work focuses on the testing of imidazoline based corrosion inhibitor and the inhibition of carbon steel corrosion caused by carbon dioxide saturated oilfield brine solution. Electrochemical impedance spectroscopy, linear polarization, anodic and cathodic polarization (Tafel extrapolation method) measurements were carried out. In order to investigate imidazoline based corrosion inhibitor efficiency, carbon dioxide saturated oilfield brine solution without inhibitor and solution with added different concentrations of imidazoline based corrosion inhibitor were tested. Those results were compared. Influence of testing solution temperature and stirring of testing solution on the corrosion inhibitor efficiency were investigated. On the basis of obtained results it can be concluded that optimal concentration of imidazoline based corrosion inhibitor is 50 ppm for the successful and effective corrosion protection of pipelines made of carbon steel under test conditions similar to typical oilfield conditions (35 8C, atmospheric pressure, stirring rate 400 min