CO₂ vs. H₂S Corrosion: A Clear Comparison of the Underlying Mechanisms
CO₂ and H₂S corrosion differ in corrosive medium, product film, morphology and failure risk, so mechanism identification must guide mitigation design.

Full Article
CO₂ and H₂S are the two most common corrosive gases encountered in oil and gas production, gathering and refining.
Both can corrode carbon steel, but their mechanisms, corrosion products and failure modes differ markedly. In practice, the two usually require different materials, mitigation strategies and corrosion-inhibitor systems.
1. CO₂ Corrosion: Fundamentally Carbonic-Acid Corrosion
Strictly speaking, CO₂ does not directly corrode steel.
Only after CO₂ dissolves in water does it form a carbonic-acid system:
Although carbonic acid (H₂CO₃) is a weak acid, it lowers the solution pH and participates in cathodic reactions, markedly increasing the steel corrosion rate.
The main anodic reaction on carbon steel is:
Cathodic reactions include hydrogen-ion reduction and reduction pathways involving carbonic acid:
As corrosion proceeds, Fe²⁺ and CO₃²⁻ in solution can form ferrous carbonate:
At higher temperature, higher Fe²⁺ concentration and sufficient supersaturation, FeCO₃ gradually deposits as a relatively dense corrosion-product film.
If the film is continuous, complete and firmly attached, it reduces the diffusion of corrosive species to the metal surface and slows further corrosion. If the film is porous, easily detached or difficult to form, the steel continues to corrode at a high rate.
FeCO₃ is therefore not necessarily protective in CO₂ service. Its protectiveness depends on temperature, CO₂ partial pressure, flow velocity, pH, Fe²⁺ concentration and medium composition.
2. H₂S Corrosion: More Than Metal Loss, a Cause of Material Failure
When H₂S dissolves in water, it also ionizes:
The generated H⁺ participates in the cathodic reaction and accelerates steel corrosion.
The anodic reaction remains:
During corrosion, Fe²⁺ reacts with sulfide ions to form ferrous sulfide (FeS):
Depending on the environment, iron-sulfide products can form in different crystal structures such as mackinawite, troilite, pyrrhotite and pyrite, with widely different density and protectiveness.
The key difference from CO₂ corrosion is that H₂S strongly promotes the entry of atomic hydrogen into the steel.
Under normal conditions, hydrogen atoms formed on the metal surface readily recombine into hydrogen gas and escape:
H₂S suppresses this recombination, allowing more atomic hydrogen to diffuse into the steel.
The atomic hydrogen diffuses and accumulates at grain boundaries, inclusions and defects, reducing ductility and inducing several forms of hydrogen damage, including:
- Hydrogen-induced cracking (HIC)
- Sulfide stress cracking (SSC)
- Stress-oriented hydrogen-induced cracking (SOHIC)
In H₂S service, therefore, equipment failure is not limited to wall-thickness loss; sudden failure can occur through cracking. This is a key reason why sour oil and gas fields use sour-service materials and strict material standards.
3. CO₂ and H₂S Together: More Complex Corrosion
In actual oil and gas fields, CO₂ and H₂S often coexist.
The two mechanisms interact, and the resulting corrosion is not a simple sum of the two.
On one hand, an FeS film may form preferentially and affect FeCO₃ deposition. On the other hand, whether different iron-sulfide products promote or inhibit corrosion depends strongly on temperature, flow velocity, H₂S partial pressure and CO₂ partial pressure.
Localized corrosion, under-deposit corrosion and hydrogen damage may also occur simultaneously, making prediction and control more difficult.
In CO₂/H₂S environments, assessment should therefore combine medium composition, pressure, temperature, water chemistry and flow state rather than relying on a single corrosion category.
4. Main Differences Between CO₂ and H₂S Corrosion
| Comparison | CO₂ corrosion | H₂S corrosion |
|---|---|---|
| Corrosive medium | CO₂ dissolves in water to form a carbonic-acid system | H₂S dissolves in water to form a weak-acid system |
| Main corrosion product | FeCO₃ | FeS and various iron sulfides |
| Protective-film stability | Closely dependent on environmental conditions | Varies widely with crystal structure |
| Main corrosion form | Uniform and localized corrosion | Corrosion plus hydrogen damage |
| Greatest risk | Wall-thickness loss and localized perforation | Cracking, brittle fracture and sudden failure |
Conclusion
Although both are common wet-gas corrosion problems in oil and gas fields, CO₂ and H₂S corrosion have fundamentally different mechanisms.
CO₂ corrosion mainly involves a carbonic-acid system accelerating electrochemical corrosion, with an FeCO₃ film forming under favorable conditions. H₂S corrosion not only produces iron-sulfide products but, more importantly, promotes hydrogen entry into the steel, causing hydrogen damage and stress cracking.
CO₂ and H₂S service therefore generally require different inhibitor formulations, material selection and corrosion-monitoring strategies. Accurate identification of the corrosion mechanism is the foundation of an effective mitigation program and a key to long-term, safe operation of oil and gas equipment.