Pitting corrosion is a localized form of corrosion that attacks very small areas of a metal surface and produces narrow, deep holes called pits. It is one of the most dangerous forms of corrosion. Very little metal is lost, yet a single pit can perforate a pipe or tank wall and cause a leak while most of the surface still looks intact.
This guide covers what pitting corrosion is, what causes it, how a pit grows, the different pit shapes, which metals are at risk and how PREN and critical pitting temperature compare them, real examples, how pitting is tested and measured, how to prevent it, and how pitted parts are repaired.
What Is Pitting Corrosion?
In uniform corrosion, the whole surface thins at a similar rate, so the damage is easy to measure and predict. Pitting works the other way. The attack is concentrated in tiny spots while the surrounding surface is barely affected, which is why it is also called localized pitting corrosion.
Typical features of pitting corrosion:
- Pits are small in diameter, often less than a few millimeters, with a depth equal to or greater than the diameter.
- The pit mouth is often covered by corrosion products, which makes it hard to see during visual inspection.
- Weight loss is very small, so corrosion rates based on weight loss badly understate the real damage.
- Pits act as starting points for fatigue cracks and stress corrosion cracking.
Pitting is one of several common forms of corrosion in industry. For the full picture, see our overview of the types of metal corrosion.
What Causes Pitting Corrosion?
Pitting mainly affects metals protected by a passive film, a very thin oxide layer that forms on its own. Stainless steel is protected by chromium oxide, aluminum by aluminum oxide. While the film is intact, the metal hardly corrodes. Pitting begins when the film breaks down at one point and cannot heal.
The main triggers:
- Chloride ions. This is the most common cause. Chlorides from seawater, coastal air, de-icing salt, process water, or chlorine-based cleaners penetrate and break down the passive film. Other halides such as bromide act in a similar way.
- Temperature. Each alloy has a critical pitting temperature (CPT). Below it, pits rarely form; above it, they form and grow readily.
- Stagnant liquid. Standing or very slow-moving water lets chlorides and dirt settle on the surface.
- Low pH and oxidizers. Acidic conditions and oxidizing species such as ferric ions, hypochlorite, and dissolved chlorine speed up the attack.
- Surface defects. Scratches, weld spatter, heat tint next to welds, and embedded iron particles are weak points in the passive film.
- Inclusions in the metal. Manganese sulfide inclusions in stainless steel are the most frequently reported pit initiation sites.
- Deposits and scale. The area under a deposit is starved of oxygen, so the passive film struggles to recover.
- Microorganisms. Bacterial deposits in stagnant water (microbiologically influenced corrosion, MIC) create local acidic, oxygen-free spots that often end as pits, especially at welds.
How Pitting Corrosion Works: The Mechanism
Pitting is usually described in three stages.
1. Initiation. Chloride ions attack a weak point in the passive film, for example at the edge of an inclusion or at the bottom of a scratch. The film breaks down locally and bare metal is exposed. Many of these early pits repassivate within seconds. A few survive and become stable.
2. Propagation. The exposed spot becomes a small anode where metal dissolves into positive ions. The large surrounding passive surface becomes the cathode, where oxygen is reduced. Because the anode is tiny and the cathode is large, metal dissolves quickly inside the pit.
The process then feeds itself (it is autocatalytic). Positive metal ions building up inside the pit draw in chloride ions from outside to keep the charge balanced. The resulting metal chloride reacts with water (hydrolysis) and produces hydrochloric acid, so the pH inside the pit falls to very acidic values while the bulk water stays near neutral. This acidic, chloride-rich solution prevents the passive film from reforming, and a cap of corrosion products over the mouth keeps the solution trapped.
3. Termination or repassivation. A pit can stop growing if conditions change, for instance when the solution inside is flushed out, the surface dries, or the temperature drops below the CPT. If conditions stay the same, the pit grows until it penetrates the wall.
The same chemistry drives crevice corrosion. The only difference is where the attack starts, which is covered in the FAQ below.

Types of Pitting Corrosion: Pit Shapes
ASTM G46 groups pit cross-sections into several shapes:
- Narrow and deep, the classic pit that perforates thin walls fastest.
- Elliptical.
- Wide and shallow, closer to local uniform corrosion and the least dangerous.
- Subsurface, where the cavity spreads below an almost intact surface.
- Undercutting, where the pit widens sideways under the surface.
- Microstructural, where the attack follows grain orientation or inclusions, either horizontally or vertically.
Subsurface and undercutting pits carry the highest risk, because the cavity inside the metal is much larger than the opening visible at the surface. A pit that looks like a pinhole can hide a hollow several millimeters wide.

Which Metals Suffer from Pitting Corrosion?
Pitting corrosion in stainless steel
Stainless steels are the most common victims, because their corrosion resistance depends entirely on the passive film that chlorides attack. Type 304 is fairly vulnerable in coastal air and warm chloride water, 316 and 316L do better thanks to 2–3% molybdenum, and duplex and super duplex grades go further. The full family is described in our guide to types of stainless steel, and the practical choice between the common grades in 304 vs 316 stainless steel.
Brown spots on stainless steel are not always pits. Often they are only iron particles rusting on top of an intact film. How to tell the two apart and clean them is covered in how to remove rust from stainless steel.
Pitting corrosion in aluminum
Aluminum pits in chloride environments such as seawater, salt spray, and de-icing salt, and also where copper or iron particles sit on the surface. Copper-bearing alloys such as 2024 are the most prone, which is why aircraft sheet is often clad with pure aluminum (Alclad), as explained in our guide to 2024 aluminum. The wider picture is in aluminum corrosion.
Pitting corrosion in carbon steel
Carbon steel has no strong passive film, so in open air and water it usually corrodes more uniformly. It still pits in a few typical situations:
- Oxygen pitting in boilers and hot water systems, where dissolved oxygen in the feedwater produces deep local pits. Deaeration and oxygen scavengers are the standard fixes.
- Under deposits and scale in cooling water and pipelines, where oxygen-starved areas become anodes.
- Microbiologically influenced corrosion in stagnant water, hydrotest water left in pipes, and tank bottoms.
- Reinforcing steel in concrete, where chlorides that penetrate the concrete break down the passive film that the alkaline concrete normally provides.
- At breaks in a coating, where a small exposed spot becomes a tiny anode next to a large coated or mill-scale cathode.
The basics of the material itself are in our article on low-carbon steel.
Pitting Resistance: PREN and Critical Pitting Temperature
For stainless steels, pitting resistance is estimated with the Pitting Resistance Equivalent Number:
PREN = %Cr + 3.3 × %Mo + 16 × %N
The higher the PREN, the better the alloy resists chlorides. PREN is calculated from composition, so it is a quick ranking tool rather than a test result.
The critical pitting temperature (CPT) is the measured counterpart. It is the lowest temperature at which stable pits form in a standard test, usually ASTM G48 Method C (ferric chloride) or ASTM G150 (electrochemical). A higher CPT means more margin.
| Alloy | Typical PREN | Approximate CPT, ASTM G48 C | Typical use |
|---|---|---|---|
| 304 / 304L | about 18–20 | below room temperature | Indoors, fresh water, mild atmospheres |
| 316 / 316L | about 23–26 | about 15 °C (59 °F) | Food, chemical, mild coastal service |
| Duplex 2205 | about 34–36 | about 30 °C (86 °F) | Chemical processing, oil and gas, brackish water |
| Super duplex 2507 | about 40–43 | about 70 °C (158 °F) | Seawater, offshore piping |
| 6% Mo superaustenitic (e.g. AL-6XN, 254 SMO) | about 43–45 | about 75–80 °C (167–176 °F) | Seawater heat exchangers, bleach plants |
These are general values. Actual PREN and CPT depend on the composition of each heat, the surface finish, and welds, which usually have a lower CPT than the base metal. As a rough guide, alloys with a PREN of 40 or more are considered seawater resistant at ambient temperature. Ferric chloride results are a ranking tool and do not translate directly into a safe temperature in other chloride waters.
In real cooling water the limits look different. As a commonly cited guide, pitting of 304 can start at about 40 °C (104 °F) with around 300 ppm chloride, and 316 at about 70 °C (158 °F) with around 500 ppm chloride. Above those combinations, a higher alloy is the safer choice. Duplex grades are covered in our guide to duplex stainless steel.
For castings, such as the cast stainless grades CF8 and CF8M (the cast equivalents of 304 and 316), casting quality also matters. Inclusions, surface porosity, and residual molding sand all serve as pit initiation sites. See our guide to CF8M stainless steel.
Examples of Pitting Corrosion
- Stainless steel railings in coastal areas. Brown spots appear, and cleaning them reveals small pits.
- Heat exchanger and condenser tubes. Chloride-bearing cooling water pits the tube wall from the inside, often under deposits.
- Food industry tanks and piping. Chlorine-based cleaners that are not fully rinsed off damage the passive film.
- Pipes left full of hydrotest water. Stagnant water and bacteria cause pits at welds within weeks or months.
- Aluminum boat hulls and marine parts. Constant contact with seawater, made worse by copper-based antifouling paint or stray currents.
- Boiler tubes. Oxygen pitting where feedwater is poorly deaerated.
- Reinforcing steel in concrete. Chlorides in marine environments break down the passive film on the rebar and cause local pits.
- Stainless steel kitchen sinks. Salt and bleach left to dry leave pitted spots.
How to Detect and Measure Pitting Corrosion
Pitting is hard to detect because the pits are small and often covered by corrosion products. Common inspection methods:
- Visual inspection after cleaning, with a magnifier or microscope.
- Dye penetrant testing to reveal pits open to the surface.
- Ultrasonic testing to measure remaining wall thickness from the outside.
- Eddy current testing for heat exchanger tubes.
- Radiography for locations that cannot be reached.
Each method is explained in our article on non-destructive testing (NDT).
Rating pits: ASTM G46
ASTM G46 rates pitting by three things: pit density (pits per unit area), average pit size (area of the opening), and average pit depth. It also lists ways to measure depth: metallographic sections, machining the surface until the pits disappear, a depth gauge or micrometer with a needle point, and focusing a microscope on the pit bottom and mouth.
A useful number from G46 is the pitting factor, the ratio of the deepest metal penetration to the average penetration calculated from weight loss. A pitting factor of 1 means uniform corrosion; larger values mean the attack is concentrated in pits. Because the deepest pit decides when a wall fails, maximum pit depth matters more than the average.
Laboratory tests
| Test | What it does | What it gives |
|---|---|---|
| ASTM G48 Method A | Immersion in 6% ferric chloride, usually 72 hours at a set temperature | Pass or fail, weight loss, pit count |
| ASTM G48 Method B | Same solution with crevice formers | Crevice corrosion resistance |
| ASTM G48 Methods C and E | 6% ferric chloride + 1% HCl, temperature raised step by step (72 h or 24 h per step) | Critical pitting temperature |
| ASTM G48 Methods D and F | As C and E, with crevice formers | Critical crevice temperature |
| ASTM G150 | Electrochemical test with temperature scanning | Critical pitting temperature |
| ASTM G61 | Cyclic polarization | Pitting and repassivation potentials |
ASTM G48 sets no acceptance criteria of its own. Pass levels come from the purchase specification, for example ASTM A923 for duplex stainless steel.
How to Prevent Pitting Corrosion
- Select a material that suits the environment. For chloride service, choose an alloy with a higher PREN and CPT, such as 316L instead of 304, or duplex for harsher conditions. Check welds too, because their resistance is usually lower.
- Control the environment. Lower the chloride level, keep the operating temperature below the CPT, avoid very low pH, and remove dissolved oxygen in boiler water.
- Avoid stagnant liquid. Design tanks and piping to drain completely, with no pockets or dead legs. Drain and dry hydrotest water promptly.
- Keep surfaces clean. Remove deposits, scale, and salt regularly. Rinse thoroughly after using chlorine-based cleaners.
- Look after the passive film. After welding or machining, remove heat tint and iron contamination by pickling and passivation. A smoother surface finish also resists pitting better. Welding practice that limits heat tint is covered in welding stainless steel.
- Use protective coatings on metals that are not resistant enough, such as hot dip galvanizing or paint systems on carbon steel.
- Apply cathodic protection to submerged or buried structures.
- Add corrosion inhibitors and biocides to closed water systems.
General methods that apply to every form of corrosion are covered in how to prevent corrosion in metals.
Pitting Corrosion Repair
What to do with a pitted part depends on how deep the pits are and how much wall is left.
- Assess first. Measure the deepest pits and the remaining wall thickness. For pressure equipment, pitting is assessed with fitness-for-service methods such as API 579-1/ASME FFS-1, which has a dedicated part for pitting damage.
- Shallow pits: grind or blend them out to a smooth profile, then clean and repassivate stainless steel or recoat carbon steel.
- Deeper pits with enough wall left: weld-repair, then grind, inspect, and passivate. See our article on repair welding.
- Low-pressure tanks and non-critical parts: epoxy filler and a coating can stop further attack when the remaining wall is adequate.
- Numerous or through-wall pits: replace the part, preferably with a more resistant material, and fix the cause (chloride level, stagnant water, deposits). Otherwise the new part will pit too.
Pitting Corrosion Acceptance Criteria
There is no single acceptance limit for pitting. The limit comes from the code or specification that governs the part, and it compares the pits with the wall thickness the part actually needs, not with the original wall.
- Remaining wall. The first check is whether the thickness under the deepest pit is still above the minimum required thickness for the design pressure or load, plus the corrosion allowance needed for the rest of the service life.
- Pitting rate. If the pits are still active, today’s depth is not enough. The growth between two inspections decides how long the part can stay in service.
- Pit density and spacing. Isolated pits weaken a wall far less than pits that are close together or lined up. API 579-1/ASME FFS-1 Part 6 handles widespread pitting with pit-density charts at Level 1 and a pit-couple analysis at Level 2.
- Location. A pit at a weld, nozzle, thread, or sealing face is judged more strictly, because it can start a crack or a leak at a smaller depth.
- Governing document. Pressure vessels and piping use fitness-for-service rules such as API 579-1; pipelines often use ASME B31G for metal loss; castings and finished products follow the purchase specification.
If the pits fall outside the criteria, the options are the repairs above, re-rating the part for a lower pressure or load, or replacing it.
Frequently Asked Questions
What is pitting corrosion in simple terms? It is corrosion that eats small, deep holes into a metal instead of thinning the whole surface. Very little metal is lost, but a pit can go right through a wall.
Can stainless steel suffer from pitting corrosion? Yes. Stainless steel resists rust because of its passive film, and that film is exactly what chlorides attack. Type 304 is fairly vulnerable in coastal environments and warm chloride water, while 316L, duplex 2205, and super duplex 2507 perform progressively better.
What causes pitting in stainless steel? Mostly chlorides. Seawater, salt spray, de-icing salt, chlorinated water, and some cleaning chemicals break down the passive film at weak spots such as inclusions, scratches, embedded iron, and weld heat tint. Higher temperature, low pH, stagnant liquid, and deposits that keep the surface wet all make it worse. Grade 304 pits more easily than 316 or duplex, because molybdenum and nitrogen raise the pitting resistance (see 304 vs 316 stainless steel).
What is the difference between pitting and crevice corrosion? The chemistry is the same. Pitting starts on an open surface, while crevice corrosion starts inside a narrow gap, such as under a gasket, bolt head, or deposit, where liquid is trapped. Crevice corrosion usually starts at a lower temperature than pitting on the same alloy.
Why is pitting more dangerous than uniform corrosion? Because it is hard to see, hard to predict, and can perforate a wall even though very little metal has been lost. Pits also start fatigue and stress corrosion cracks.
Can pitting corrosion be repaired? Shallow pits can be ground out and the surface repassivated or recoated. Deeper pits can be weld-repaired if enough wall thickness remains. When pits are numerous and deep, the part is better replaced with a more resistant material.
Conclusion
Pitting corrosion is a localized attack that occurs when a metal’s passive film breaks down at a single point, most often because of chloride ions. The pits are small, grow by a self-accelerating mechanism, and are often discovered only after a leak. Prevention rests on three things: a material with enough pitting resistance (PREN and CPT) for its environment, a clean and well-passivated surface, and design and maintenance that never leave chloride-bearing liquid standing.
Related Articles
- Types of Metal Corrosion and How to Prevent Them in Industry
- Stress Corrosion Cracking (SCC): Causes, Mechanism, Types, and Prevention
- 304 vs 316 Stainless Steel (and 201): Composition, Corrosion Resistance, Cost, and How to Choose
- Passivation of Stainless Steel: Pickling vs Passivation, Nitric vs Citric Acid, ASTM A967, and Testing
- How to Prevent Corrosion in Metals: 8 Methods That Work, and How to Stop Iron from Rusting

Dagus R. Djuanda is a metallurgical engineer with more than 20 years of experience in materials engineering, specializing in magnetic materials. He holds a master’s degree in magnetic materials engineering, is a doctoral candidate in industrial engineering, and works as an engineer at the Ministry of Industry of the Republic of Indonesia. Founder of Metalurgika.




