With more and more oil and gas fields being exploited at home and abroad, serious corrosion problems have been caused to gathering and transportation pipelines, which has become a major problem affecting the safe production and transportation of oil and gas. Corrosion inhibitor is one of the most commonly used protection measures in oil and gas wells and gathering and transportation systems, which has the advantages of low investment, quick effect, simple equipment, and easy operation, and basically does not change the properties of related metal components and media. This paper studies the addition of a corrosion inhibitor (CPI-W) whose main component is fatty acid imidazoline to 8 representative simulated gas field waters, and then determines the COD value change range and the law of gas field wastewater, and selects three representative ones. The effective water treatment oxidant degrades the CPI-W corrosion inhibitor (concentration 1000ppm) in 8 kinds of gas field water.The results show that with the increase of CPI-W dosage, COD values of 8 kinds of gsd field water all increase rapidly. Three advanced oxidation technologies, such as sodium hypochlorite method, Fenton reagent method and potassium persulfate-ferrous sulfate method,