Galvanic corrosion: what it means for the inspector

Galvanic corrosion is the faster corrosion of one metal when it is joined to a different, more noble metal and both are wet by the same electrolyte. The less noble metal becomes the anode and loses metal. The more noble one becomes the cathode and corrodes less than it would alone. In piping, it shows up at mixed-metal joints.

A pipe drawn side on with water inside, a carbon steel spool on the left bolted at a flange to a stainless steel spool on the right, and the carbon steel wall thinned on the inside next to the flange
Two metals, metal contact and a shared electrolyte: the less noble side thins beside the joint.
Use this diagram

How it works

Every metal sitting in water or wet soil has its own corrosion potential. Join two metals with different potentials and you have built a small battery. Current flows from the less noble metal through the electrolyte to the more noble one, and the less noble metal pays for it with extra metal loss. The difference in potential is the driving force: the further apart the two metals sit, the stronger the pull. The galvanic series that most references print ranks metals by their potential in seawater.

Four things have to be present at once:

  • An anode, the less noble metal, which corrodes faster than it would on its own.
  • A cathode, the more noble metal, which corrodes more slowly or not at all.
  • An electrolyte wetting both, such as process water, cooling water, condensate or damp soil.
  • Metal contact or another electrical path between them, such as a bolted flange, a threaded fitting or a shared ground.

Take any one away and the cell stops. Almost every fix works by doing exactly that.

The small-anode trap

Area matters as much as the pair of metals. When the anode is small and the cathode is large, all of the galvanic current is forced through that small anode, and it thins quickly. Turn the ratio around and the same current spreads over a large anode, so the loss is shallow and may not matter. Two everyday results follow:

  • Fasteners should be the more noble metal. Carbon steel bolts in a stainless steel flange are a small anode beside a large cathode. Stainless bolts in a carbon steel flange put the small part on the protected side.
  • Never coat only the anode. A small break in a coated anode becomes a tiny anode facing the whole bare cathode. If you coat one side, coat the cathode, or coat both.

Check where you stand on API 570

Scored by domain, untimed. No signup. About 11 minutes. Most checks include 2 calculation questions, with a calculator on the page.

Start the free 10-question check

Where it shows in piping

  • Flanged and threaded joints between different metals, such as a carbon steel line meeting a stainless steel, copper alloy or nickel alloy spool.
  • Valves and fittings where the body and trim are different metals, especially in moving water or seawater.
  • Buried transitions, where a steel line ties into a copper line or a new steel section joins old pipe. In the soil, the couple works across damp ground, which our soil corrosion page covers.
  • Cooling water, seawater and other water services, because the electrolyte is always present.

How it is found and fixed

The damage sits on the anodic side and is usually worst close to the joint, where the path through the electrolyte is shortest. Visual examination finds it on outside surfaces. Inside, UT thickness readings taken on the anodic side right beside the joint, compared with readings further away, show whether the joint is eating the pipe. A condition monitoring location at each mixed-metal joint makes the trend easy to follow.

Fixes break the cell:

  • Isolate the metals. An insulating gasket kit with sleeves and washers at a flange, or a dielectric union on small lines, removes the metal contact.
  • Avoid the couple in design. Matching materials, or metals close together in the series, is the cheapest answer.
  • Fix the area ratio. Make the small parts the noble ones, and coat the cathode if anything is coated.
  • Use the effect on purpose. A sacrificial anode of zinc, magnesium or aluminum is galvanic corrosion put to work: it corrodes so the steel beside it does not. That is one form of cathodic protection.

Worked example: a stainless spool in a carbon steel line (fictional)

At a fictional plant, a stainless steel spool was bolted into a carbon steel cooling water line during a turnaround two years ago, with a standard gasket and carbon steel studs. At the next inspection, the inspector takes UT readings on the carbon steel side. Two feet from the flange the wall reads 0.318 inch, against 0.320 inch at installation. Right beside the flange it reads 0.270 inch, against the same 0.320 inch baseline.

Away from the joint the short-term rate is (0.320 − 0.318) ÷ 2 = 0.001 inch per year. Beside the flange it is (0.320 − 0.270) ÷ 2 = 0.025 inch per year, 25 times faster. The pattern points at the joint, not the water. The stainless side is unchanged, the studs show rust, and the damage fades with distance from the flange. The inspector records it as galvanic corrosion, recommends an insulating gasket kit with stainless studs, and adds a condition monitoring location on the carbon steel side of the joint. You can run the same arithmetic in the corrosion rate calculator.

Ask Patch: Am I ready?

Ask Patch before you buy AI your AI study assistant

See what's on the API 570 exam, test yourself with 5 quick questions, or find the plan that fits you.

The API 570 course

Available now · instant access

Learn every Body of Knowledge section, work the calculations step by step, then prove it on timed exams.

API 570 course$199Get the API 570 course · $199

Instant access. Terms and refunds · Secure checkout by Stripe · Billed by Nori Software

What's inside
  • 8modules of lessonsEvery task on the outline
  • 2full-length timed exams170 questions in 390 minutes each
  • 660practice questionsEach one explained
  • 6worked calculationsStep by step
  • 1week-by-week study planSet to your exam date

Turn a practice answer into a study step. In untimed practice, ask Patch AI about any question you answer, follow up, then see your weakest topics and what to drill next.

Every answer comes with a full explanation.

Mix-ups to avoid

  • Galvanic corrosion versus stray current corrosion. Both involve current, and galvanic corrosion is sometimes wrongly called electrolysis. Galvanic current comes from the two metals themselves. Stray current comes from an outside source, such as a grounded power system, and needs no second metal.
  • Galvanic corrosion versus erosion-corrosion. A flange or a gasket edge can also cause turbulence that thins the pipe just downstream. Erosion-corrosion follows the flow direction and happens with matching metals. Galvanic attack follows the metal boundary.
  • Galvanic corrosion versus atmospheric corrosion. Atmospheric corrosion needs only bare steel, air and moisture. If the rust is concentrated on one side of a joint between two different metals, suspect a galvanic couple.

On the API exam

API's API 570 effectivity sheet for February and June 2027 limits RP 571 questions to Section 2 plus 15 mechanism paragraphs. Galvanic corrosion is RP 571 paragraph 3.31 and is one of the 15. It is on the API 570 list, not the API 510 list: API's API 510 sheet for September 2026 to May 2027 does not include it, so vessel candidates can treat it as background. For API 570, expect a stem with two named metals, a wet service and damage on one side of a joint. Name the anode, then pick the fix that breaks the cell. The format and sections are in our API 570 exam guide.

Practice it

Work the rates from the example in the corrosion rate calculator. Compare this page with Soil corrosion and Atmospheric corrosion, or browse every term in the damage mechanism glossary.

Studying for API 570? Take the free 10-question check

Take the free 10-question check. It covers the five Body of Knowledge sections, needs no signup and explains every answer, so you see which section to open first. The Long Seam course then adds a lesson for each section, timed practice exams and a study plan built from your exam date.

Sources

Show the list

Long Seam editorial team

Facts come from the sources listed above. If something has changed, tell us and we will correct it.

Your next step

Ready to see where you stand on API 570?

Free, untimed and scored by domain. No signup. About 11 minutes. Most checks include 2 calculation questions, with a calculator on the page.

Free 10-question check

API 570 course. Lessons, timed practice exams and a plan around your exam date.

Get API 570 course · $199

Want a timed run? Take the free 25-question practice test (about 57 minutes). No email needed.

Prefer paper? Free printables

From the blog

All 27 related guides