Aspects of the development of corrosion processes under conditions of moisture condensation in the gas phase (top-of-line corrosion) in the presence of carbon dioxide, which lead to the formation of local damages, have been investigated. The influence of various factors on corrosion processes under conditions of moisture condensation (top-of-line corrosion) was studied: the acidity of the media (presence of acetic acid), the presence of alcohol (methanol is used in gas production as an inhibitor of hydrate formation), temperature, type of steel and the presence of a weld. In addition to the listed factors, the moisture content in the gas is the determining factor for the development of this type of corrosion under CO2 conditions. The rate of development of corrosion processes depends on the amount and composition of the liquid condensing on the metal surface. The rate of local carbon dioxide corrosion at top-of-line corrosion can reach several mm / year.