# What is under-deposit corrosion?

> Under-deposit corrosion (UDC) is localized corrosion of steel beneath sand, scale, sludge, iron sulfide or biofilm settled inside a pipe or vessel. The deposit changes the chemistry at the wall and can block corrosion inhibitors, so pits can grow under it much faster than on the open wall.

- Label: Fact
- Type: Explainer
- Published: 2026-11-13T15:24:40+09:00
- By: Jun Zhong
- Researched and drafted by: Beacon's AI newsroom
- Checked by: Jun Zhong on 2026-11-13
- Topics: LNG, Pipelines, Upstream and offshore
- Canonical: https://beacon.winda.ai/library/under-deposit-corrosion/

## Why does it matter?

In February 2012, sour gas piping on an offshore platform in the Santa Maria Basin off California failed next to a weld and released gas carrying an estimated 40,000 parts per million (ppm) of hydrogen sulfide (H2S) [1]. Ten years of ultrasonic readings on that piping circuit had shown no appreciable wall loss [1]. Investigators for the US Bureau of Safety and Environmental Enforcement (BSEE) traced the failure to fast, local corrosion in a low-flow reducer where deposits could build up [1]. The readings had been taken on smooth pipe away from the weld, and BSEE noted that the heavy scale may also have affected their accuracy [2].

## How do deposits cause corrosion?

Produced fluids carry sand, silt and other solids, and these settle along the bottom of a line wherever the flow is too slow to keep them moving [3]. A deposit then works against the steel in several ways:

- **It isolates the wall.** The deposit slows the exchange of species between the liquid and the steel, so the water at the wall no longer matches the bulk fluid [3].
- **It blocks treatment chemicals.** Inhibitors and biocides reach the bare wall but struggle to get through the deposit, and the deposit's own large surface soaks some of them up [3].
- **It sets up a galvanic cell.** Once the open wall is inhibited, it becomes the cathode and the small area under the deposit the anode. A review of laboratory work found that a sand bed only 1% of the pipe diameter deep in an inhibited water injection line leaves almost 15 times more cathode area than anode area [3].
- **It starves oxygen.** In aerated water, the area under a deposit gets less oxygen and corrodes as the anode of an oxygen cell [8].
- **It shelters microbes.** Deposits give bacteria a habitat; in a 2022 laboratory study, areas under bacterial iron deposits on carbon steel were anodic and pitted, even with an inhibitor present [4].

## What kinds of deposits are involved?

| Deposit type | Examples | What it does | Source |
|---|---|---|---|
| Inert solids | Sand, silt, clay, some scales | Act as a diffusion barrier and keep inhibitor off the wall | [3] |
| Conductive solids | Iron sulfides such as mackinawite, pyrrhotite and pyrite | Conduct electrons and can drive galvanic attack; a field sludge containing mackinawite gave average rates of 30 mm per year (mm/y) beneath it in a 24-hour laboratory test, against under 1 mm/y without deposit | [3] |
| Organic and mixed | Wax, asphaltenes, and "schmoo" (solids bound with oil) | Form a physical barrier; schmoo is a habitat for bacteria | [3] |
| Biological | Biofilms and iron deposits made by bacteria | Local anodes, pitting and breakdown of inhibitor films | [4] |
| Elemental sulfur in scale | Sulfur formed when oxygen enters wet sour gas | Acts as an oxidizer and causes local attack | [1][2] |

## How is under-deposit corrosion found?

- **Thickness readings need to cover the right spots.** In the 2012 case, ultrasonic readings at fixed points missed the attack near the weld, and BSEE recommended radiography where ultrasonic testing is difficult, such as at welds, reducers and flanges [1][2].
- **Pig returns and samples.** The US National Transportation Safety Board (NTSB) notes that sampling the liquids and solids removed from a pipeline can reveal corrosive contaminants, including bacteria, and that internal corrosion can be found by visual examination of opened pipe, wall thickness measurement, coupons or probes, and in-line inspection [5].
- **Removed pipe.** US gas pipeline rules require the inside of any pipe removed from a line to be inspected for corrosion (49 CFR 192.475(b)) [7].

## How is under-deposit corrosion controlled?

- **Design.** A 2017 review lists designing for higher flow, avoiding stagnant spots, adding pigging facilities, and using corrosion-resistant alloys or internal coatings [3].
- **Cleaning.** Pigging, often with brush pigs and a batch of inhibitor, removes deposits; the same review warns that a large sand load pushed ahead of a pig can plug a line [3]. PHMSA lists cleaning pigs among routine measures against internal corrosion [6].
- **Chemistry.** Inhibitors are chosen by laboratory testing and field trials [3].
- **Keep oxygen out of sour systems.** After the 2012 release, the operator was advised to eliminate oxygen entry at compressor and pump seals, wash water and glycol [1].

## Where integrity problems show up

| Where it occurs (unit or equipment) | Conditions that drive it | How it is usually found | In the Library |
|---|---|---|---|
| Offshore sour gas piping at reducers, flanges and welds | Low flow, heavy scale, elemental sulfur from oxygen ingress [1] | Radiography where ultrasonic readings at fixed points are unreliable [1][2] | [Radiographic testing](/glossary/radiographic-testing/) |
| Low points in gas transmission pipelines | Liquids and solids collecting where pipe bending made a sag; chloride-rich deposits and bacteria [5] [5] | Sampling pig returns, wall thickness measurement, coupons or probes, in-line inspection [5] | What is in-line inspection (ILI) and pigging? |
| Production and water injection lines carrying sand | A sand bed under an inhibited flow [3] | In-line inspection; cleaning pig returns show what settles [3][6] | How do corrosion inhibitors work? |
| Gas pipelines carrying corrosive gas | Water and contaminants in the gas [7] | Coupons or other monitoring checked twice each calendar year (49 CFR 192.477) [7] | [Corrosion coupons vs electrical resistance (ER) probes](/library/corrosion-coupons-vs-er-probes/) |

Sources: BSEE OCS Report 2012-104 [1]; NTSB PAR-03/01, 2003 [5]; Brown and Moloney, 2017 [3]; 49 CFR 192.475 and 192.477 [7].

## Sources

1. [OCS Report BSEE 2012-104, Investigation of H2S Gas Release, Platform Hidalgo, OCS-P 0450, Pacific OCS Region, US Bureau of Safety and Environmental Enforcement (BSEE)](https://www.bsee.gov/sites/bsee.gov/files/reports/incident-and-investigations/investigation-of-h2s-gas-release-bsee-2012-104.pdf)
2. [Safety Alert No. 22, Hydrogen Sulfide (H2S) Gas Release from Piping Corrosion Failure Near a Weld, US Bureau of Safety and Environmental Enforcement (BSEE)](https://www.bsee.gov/sites/bsee.gov/files/safety-alerts/safety/safety-alert-pocsr-22-h2s-pipingcorrosionfailure-hidalgo.pdf), 2014-02-28
3. [Under-deposit corrosion (B. Brown, J. Moloney), chapter 15 in Trends in Oil and Gas Corrosion Research and Technologies, Elsevier (Woodhead), hosted by Ohio University Institute for Corrosion and Multiphase Technology](https://www.icmt.ohio.edu/documents/Books/Under-deposit%20corrosion-Trends%20in%20Oil%20and%20Gas%20Corrosion%20Research%20and%20Technologies.pdf)
4. [In Situ Investigation of Under-Deposit Microbial Corrosion and its Inhibition Using a Multi-Electrode Array System (E. M. Suarez and others), Frontiers in Bioengineering and Biotechnology 9, 803610, Frontiers (open access, CC BY), via PubMed Central](https://pmc.ncbi.nlm.nih.gov/articles/PMC8784807/), 2022-01-10
5. [Pipeline Accident Report NTSB/PAR-03/01, Natural Gas Pipeline Rupture and Fire Near Carlsbad, New Mexico, August 19, 2000, US National Transportation Safety Board (NTSB)](https://www.ntsb.gov/investigations/AccidentReports/Reports/PAR0301.pdf), 2003-02-11
6. [Fact Sheet: Internal Corrosion, US Pipeline and Hazardous Materials Safety Administration (PHMSA)](https://primis.phmsa.dot.gov/stakeholder-comms/factsheets/fsinternalcorrosion)
7. [49 CFR 192.475, Internal corrosion control: General, and 49 CFR 192.477, Internal corrosion control: Monitoring, eCFR, US Office of the Federal Register](https://www.ecfr.gov/current/title-49/section-192.475)
8. [Forms of Corrosion, NASA Kennedy Space Center, Corrosion Technology Laboratory](https://public.ksc.nasa.gov/corrosion/forms-of-corrosion/)

Published by Winda Beacon (https://beacon.winda.ai).
