Corrosion inhibitor I9602 was synthesized in the laboratory. Infrared spectrum (IR) and ultraviolet spectrum (UV) in conjunction with nuclear magnetic resonance (NMR) had been performed to characterize its structure. Corrosion behavior of N80 steel and inhibition property of I9602 in pH=2 solution including 3% NaCl with carbon dioxide saturated were studied. The results showed that, the corrosion of N80 steel in this solution was quite serious, its corrosion rate was 43.02mm/a. The inhibitor synthesized I9602 was mainly composed of amide and imidazoline. When its concentration in above solution was 150mg/l, the inhibition efficiency of I9602 was 90%, and it had good inhibition effect. Using inhibitor was an economical protective measure.