Abstract The failure law and main controlling factors of corrosion product film in this corrosion environment were studied according to the characteristics of H2S-CO2 coexistence in a gas field pipeline, so as to provide guidance for corrosion prevention and control of gas field pipeline. Sediment effects of sand particles in the pipeline on corrosion, the influence of flow rate, dissolved oxygen and sediment on corrosion products were analyzed by conducting corrosion experiments at 0.5m/s, 1m/s and 2m/s, corrosion experiments without oxygen and aerobic conditions. The destruction law of corrosion product film in pipeline and the main controlling factors of corrosion product film in single well pipeline and gathering and transportation line were determined. The results show that high flow rate will cause local damage of corrosion product film and promote pitting corrosion, dissolved oxygen will destroy the integrity of corrosion product film, and sediment is one of the factors causing local corrosion and perforation of pipeline inner wall. The corrosion product film structure of the gas field pipeline will be destroyed and pitting corrosion under the condition of high flow rate, oxygen and sand deposition. Meanwhile, the main control factor affecting the corrosion product film destruction of the gas field single well pipeline is dissolved oxygen, and the main control factor affecting the corrosion product film destruction of the gas field gathering and transportation main line is sediment.