Sampling and analyzing of the transporting media and corrosion products of a gathering pipeline in a shale gas field were conducted.Results showed that the transported gas on site contained CO2(0.438%~0.529%, mole fraction), and the water quality contained Cl-(91 925.95~25 246.46 mg/L)and SRB(1.1×102~1.1×105 pcs/mL); the chemical composition of corrosion products was mainly Fe, C, O, S, and the main reason for the corrosion of gathering pipelines was the synergistic corrosion effect of CO2, SRB bacteria and Cl-.The corrosion inhibition efficiency and sterilization effect of the corrosion inhibitors, bactericides and corrosion inhibiting bactericides used on site were evaluated.The indoor static weight loss method and the electrochemical test method were used to evaluate the corrosion inhibition efficiency, and the scanning electron microscope was used to analyze the corrosion products and corrosion morphology of the coupons.Results showed that the HB corrosion inhibitor at a concentration of 500 mg/L had the highest corrosion inhibition efficiency.