When pipelines transport wet gas and operate in a stratified flow regime top of the line corrosion (TOL) can occur when water condenses at the top of the pipe in the presence of a corrosive species such as acid gases (CO2 H2S organic acid etc). The ability to predict and control corrosion is necessary to ensure long term integrity of these pipelines. A TOL corrosion model has been developed that can be used to assess the risk of TOL corrosion. The foundation of this TOL corrosion model is the development of a mechanistic understanding of TOL corrosion based on laboratory testing. The model accounts for the relevant chemistry and physics of the TOL corrosion process including the effects of condensation rate temperature partial pressure of acid gases detailed water chemistry and flow characteristics. Case studies are presented that demonstrate how the TOL corrosion modeling in conjunction with laboratory testing can be used to evaluate the use of carbon steel while ensuring the operational integrity of equipment and facilities.