Corrosion inhibitor imidazoline was prepared by using dodecanoic acid and diethylenetriamine as the raw materials.The corrosion inhibition performance of imidazoline for carbon steel A3 in 5 % HC1 solution was evaluated by measurement of static weight-loss and linear scanning polarization curve, and its synergistic inhibition action with KI was investigated.Results indicate that the imidazoline as an inhibitor is effective to retard the corrosion of the carbon steel, and a corrosion inhibition rate of 99% is recorded at an inhibitor concentration of 30 mg/L.This is because the imidazoline inhibitor is able to effectively inhibit the anode reaction.Moreover, the imidazoline inhibitor had good synergistic effect with KI.Namely, a corrosion inhibition rate of as much as 99.2% was reached when 10 mg/L inhibitor was mixed with 10 mg/L KI, and the corrosion rate was well controlled below 0.6 g/( m2· h).