8.4 Soil Corrosion, Galvanic Corrosion, and Boiler Water Condensate Corrosion

Key Takeaways

  • Soil corrosion (API RP 571 §3.57) attacks buried piping through moisture, soil chemistry, and oxygen concentration cells—worst at the soil-to-air interface.
  • Galvanic corrosion (§3.31) requires an electrolyte and dissimilar metals in electrical contact; the smaller anodic area corrodes rapidly relative to a large cathode.
  • Boiler water and steam condensate corrosion (§3.9) is driven by dissolved CO2 forming carbonic acid and dissolved oxygen causing pitting in condensate return systems.
  • Each mechanism has distinct morphology and location clues; inspection methods include UT at interfaces, profile excavation, PMI, and condensate chemistry monitoring.
  • Mitigation includes coatings, cathodic protection, dielectric isolation, and condensate neutralizing amines or oxygen scavengers.
Last updated: July 2026

8.4 Soil Corrosion, Galvanic Corrosion, and Boiler Water Condensate Corrosion

Three external and utility-service corrosion mechanisms from API RP 571 appear repeatedly on the API 570 exam because they produce different morphologies, occur in predictable locations, and require different mitigation. This section treats soil corrosion (§3.57), galvanic corrosion (§3.31), and boiler water and steam condensate corrosion (§3.9) as a comparative set—inspectors who memorize names without understanding electrochemical drivers will misdiagnose field damage.

Soil Corrosion (API RP 571 §3.57)

Soil corrosion affects buried piping, underground vessel skirts, and piping in direct contact with backfill. Soil acts as an electrolyte; corrosion rate depends on soil resistivity, moisture content, pH, chloride and sulfate content, microbial activity, and oxygen availability.

Mechanism and Morphology

Corrosion is electrochemical. Variations in soil composition along a pipe run create concentration cells:

  • Oxygen differential cells: The soil-to-air interface (grade line) has high oxygen availability compared with deeply buried, water-saturated soil. The aerobic zone becomes cathodic relative to the oxygen-starved buried section, accelerating metal loss just below grade.
  • Soil chemistry cells: Transition from clay to sand, or from neutral to acidic peat, changes local potential and drives localized attack.

Morphology: Generally uniform to localized external thinning, often pitting under disbonded coatings. At the interface, inspectors see sharp external wall loss within the first 6 to 12 inches (150 to 300 mm) below grade, sometimes hidden until excavation.

Where Found on Piping

  • Underground process, water, and firewater lines
  • Road crossings and drip legs entering buildings
  • Cased crossings where water traps against the carrier pipe
  • Soil-to-air transitions on aboveground lines entering buried sections

Inspection Methods

  • Close visual at grade line for coating failure, weeping, or soil staining
  • Excavation and UT thickness at the interface and at low points where moisture collects
  • Direct assessment techniques (DCVG, ACVG, Pearson survey) when cathodic protection is installed
  • Soil resistivity testing during integrity programs to prioritize circuits

Mitigation

  • Fusion-bonded epoxy or high-performance coating systems with cathodic protection (CP) for buried steel
  • Improved drainage and backfill selection (low chloride, low sulfate)
  • Casing seals and electrical isolation at transitions
  • Periodic excavation of high-consequence circuits regardless of CP readings

Galvanic Corrosion (API RP 571 §3.31)

Galvanic corrosion occurs when dissimilar metals are in electrical contact in the presence of an electrolyte (water, soil, or humid air). A galvanic series ranking determines which metal becomes the anode (corrodes) and which becomes the cathode (protected).

Mechanism and Area Effects

Current flows from anode to cathode. Corrosion rate on the anode is proportional to cathode-to-anode area ratio. A small active anode (e.g., a carbon steel flange) coupled to a large noble cathode (e.g., a large 316 stainless vessel nozzle) corrodes rapidly—this is one of the most dangerous field situations.

Common piping couples:

  • Carbon steel connected to copper, 316 stainless, or nickel alloys without isolation
  • Zinc-galvanized components on bare carbon steel systems
  • Graphite gaskets or deposits creating cathodic sites on steel

Morphology: Localized pitting or grooving at the less noble metal, often immediately adjacent to the junction. Attack may be hidden under insulation or at flange faces.

Insulated Joints and Failures

Insulating flange kits and dielectric unions are installed to break the galvanic circuit. Failures occur when:

  • Bridging through metal bolts, slotted washers, or conductive gasket debris
  • Moisture wicks across insulation surfaces
  • Post-repair reassembly omits isolation hardware

Inspection Methods

  • Visual at transitions: dissimilar metal welds, adapter spools, instrument valves
  • PMI to confirm unintended alloys in mixed-metallurgy circuits
  • UT at steel side of transitions showing accelerated loss
  • Insulation resistance testing on isolation kits where applicable

Mitigation

  • Electrical isolation (insulating kits, dielectric gaskets, non-conductive sleeves)
  • Cathodic protection of the anodic member where isolation is impossible
  • Replace with compatible metallurgy (e.g., upgrade entire spool to stainless rather than a single adapter)
  • Coatings on the anodic component to reduce exposed area

Boiler Water and Steam Condensate Corrosion (API RP 571 §3.9)

Boiler water and steam condensate corrosion affects steam systems, condensate return lines, boiler feedwater piping, and surface condensers. Unlike soil and galvanic attack, this is primarily internal corrosion driven by water chemistry.

CO2 and Carbonic Acid Attack

When carbon dioxide (CO2) dissolves in condensed steam, it forms carbonic acid (H2CO3), lowering pH. Condensate return systems are especially vulnerable because CO2 volatilizes with steam and re-enters with condensate.

Morphology: General thinning with grooving at bottom of horizontal runs; velocity-accelerated loss at elbows in two-phase flow.

Oxygen Attack

Dissolved oxygen in feedwater or cold condensate causes pitting and iron oxide generation. Oxygen enters through storage tanks, pump seals, or vacuum leaks on condensate receivers.

Morphology: Sharp, deep pits often with tubercles (mounds of corrosion product) in low-flow zones.

Where Found on Piping

  • Condensate return headers and pump suction piping
  • Boiler feedwater lines downstream of deaerators (if oxygen removal fails)
  • Steam traps outlets and flash lines
  • Carbon steel condensate lines in older plants without chemical treatment

Inspection Methods

  • UT thickness on horizontal condensate runs and low points
  • Internal visual during outages; pitting may be hidden under iron oxide tubercles
  • Condensate sampling: pH, dissolved oxygen, iron count, conductivity
  • Review of water treatment records (neutralizing amines, filming amines, oxygen scavengers)

Mitigation

  • Chemical treatment: neutralizing amines for CO2, oxygen scavengers (sodium sulfite, hydrazine substitutes) for O2
  • Stainless or copper-nickel upgrades in severe condensate service
  • Deaerator maintenance and feedwater heater integrity
  • Minimize air ingress on condensate tanks

Comparison Table

MechanismRP 571 Ref.EnvironmentTypical MorphologyHigh-Risk Location
Soil corrosion§3.57Buried in moist soilExternal uniform/pitting; worst at grade lineSoil-to-air interface
Galvanic corrosion§3.31Electrolyte + dissimilar metalsLocalized pitting on anodic metalCS-to-stainless transitions
Condensate corrosion§3.9Acidic/oxygenated condensateGeneral loss (CO2) or pitting (O2)Condensate return, feedwater

Worked Scenario: Distinguishing Three Mechanisms

A refinery inspector investigates external wall loss on a 4-inch carbon steel condensate return line that runs underground for 20 feet, emerges at grade, and connects to a 316 stainless steel heat exchanger via an uninsulated carbon steel flange.

Observation 1 – 8 inches below grade on the carbon steel: severe external pitting under failed tape wrap. Soil tests show low resistivity (800 ohm-cm) and high moisture. Diagnosis: soil corrosion (§3.57), intensified by the oxygen differential at the interface.

Observation 2 – carbon steel flange face bolted to stainless: deep grooving on the carbon steel side only, while the stainless nozzle looks pristine. No insulating kit is installed. Diagnosis: galvanic corrosion (§3.31)—small carbon steel anode area coupled to large stainless cathode.

Observation 3 – internal UT on horizontal condensate run: general thinning to 0.150 inch with bottom grooving; condensate sample shows pH 5.2 and elevated iron. Diagnosis: CO2/carbonic acid condensate corrosion (§3.9).

Mitigation package: excavate and recoat buried section with CP survey; install insulating flange kit; implement neutralizing amine program and increase condensate pH monitoring. One location—three mechanisms—three different fixes. That is the exam mindset.

Test Your Knowledge

A buried carbon steel pipeline shows the deepest external pitting within the first 12 inches below the grade line, where coating has disbonded. Soil is moist with low resistivity. Which mechanism is most likely primary?

A
B
C
D
Test Your Knowledge

A small carbon steel valve body is bolted directly to a large 316 stainless vessel nozzle without a dielectric gasket. The valve corrodes rapidly while the nozzle remains unaffected. Which factor explains the accelerated attack?

A
B
C
D
Test Your Knowledge

Condensate from a steam system tests at pH 5.0 with high dissolved CO2. Internal examination shows general wall loss and bottom grooving in horizontal carbon steel return piping. Which mitigation directly addresses the primary damage driver?

A
B
C
D