What Are Sacrificial Anodes and How Do They Work?

Sacrificial anodes are pieces of metal deliberately attached to steel or iron structures so they corrode first, sparing the structure they’re protecting. They work because certain metals, like zinc, aluminum, and magnesium, are more chemically reactive than steel. When connected to steel and exposed to water or soil, these metals give up their electrons preferentially, slowly dissolving while the steel stays intact. You’ll find them on boat hulls, inside water heaters, along underground pipelines, and on offshore platforms.

How Sacrificial Anodes Work

All metals have a natural tendency to lose electrons and return to their ore-like state, a process we call corrosion. Some metals do this much more readily than others. Scientists rank this tendency using something called standard electrode potential, measured in volts. The more negative the voltage, the more eager the metal is to give up electrons. Magnesium sits at about -2.38 volts, aluminum at -1.66, and zinc at -0.76. Steel (iron) comes in at roughly -0.41 volts.

When you physically connect a more reactive metal to a less reactive one and both are in contact with an electrolyte (saltwater, freshwater, or damp soil), you create a simple battery. Electrical current flows from the more reactive metal to the less reactive one. The more reactive metal oxidizes, meaning it loses electrons and gradually dissolves. The less reactive metal receives those electrons, which prevents it from corroding. This is why the technique is called cathodic protection: the structure you want to save becomes the cathode (the protected side of the circuit), while the anode corrodes in its place.

The anode keeps working until it’s consumed completely. Once it’s gone, the structure it was protecting becomes vulnerable again.

Zinc, Aluminum, and Magnesium: Which Goes Where

The three common sacrificial anode materials each perform best in different environments, largely because of how well electrical current flows through the surrounding water or soil.

  • Zinc is a workhorse in saltwater environments. Seawater conducts electricity well (low resistivity), so zinc’s relatively modest voltage difference from steel is enough to drive adequate protective current. Zinc anodes are common on boat hulls, dock pilings, and offshore rigs.
  • Aluminum also performs well in saltwater and is lighter than zinc, making it popular for larger marine structures where weight matters. Aluminum alloys used as anodes are specially formulated to corrode evenly rather than forming a protective film that would stop the process.
  • Magnesium has the most negative electrode potential of the three, so it drives the strongest current. That makes it the best choice for high-resistivity environments like soil and freshwater, where a bigger voltage difference is needed to push current through. Underground pipelines and freshwater boats typically use magnesium anodes.

Choosing the wrong material for the environment can mean either too little protection or an anode that burns out wastefully fast.

Boats and Marine Structures

Propellers, shafts, rudders, and through-hull fittings on boats are constantly submerged in water full of dissolved salts, which accelerates corrosion. Sacrificial anodes are bolted directly to or near these metal components, and they must stay submerged to function. Without them, a bronze propeller connected to a stainless steel shaft in saltwater can lose material surprisingly fast through galvanic corrosion, where two dissimilar metals in contact with seawater essentially form an unintentional battery.

Boat owners typically inspect their anodes during haul-outs. The general rule is to replace an anode once 50 to 70 percent of its material has corroded away. Waiting longer risks leaving the protected metals exposed. An anode that looks barely touched after a season may actually be a problem too: it could mean poor electrical contact, wrong material for the water type, or a coating preventing it from working.

Underground Pipelines

Virtually all hazardous liquid and natural gas transmission pipe in service today is made from steel, and buried steel corrodes when in contact with damp soil. In the United States, gas pipelines installed after July 1971 and hazardous liquid interstate pipelines installed after March 1970 are required by federal regulation to have both protective coatings and cathodic protection.

For shorter pipeline segments or areas with relatively low soil resistivity, sacrificial anodes (usually magnesium) are buried near the pipe and connected to it with wire. The anodes corrode over years while keeping the pipe intact. Larger pipeline networks often use a more powerful alternative called impressed current systems, which use an external power source to drive the protective current rather than relying on the natural voltage difference between metals. Both approaches serve the same purpose: keeping corrosion off the pipe wall.

Inside Your Water Heater

Most tank-style water heaters have a sacrificial anode rod running down the center of the tank. The tank itself is steel lined with glass or enamel, but that lining inevitably has tiny imperfections. Without the anode rod, water would reach the bare steel through those imperfections and rust the tank from the inside out. The anode rod, typically magnesium or aluminum, corrodes instead.

These rods generally last three to five years, though the timeline depends heavily on your water chemistry. Hard water with lots of dissolved minerals eats through anodes faster. The telltale sign of a spent anode is often a rotten egg smell coming from your hot water. This happens because bacteria in the tank react with the dissolving anode material (magnesium rods are especially prone to this) and produce hydrogen sulfide gas. Aluminum rods are less likely to cause the smell but can affect the taste of your water.

A third option, powered anode rods, uses a small electrical current instead of dissolving metal. These don’t corrode at all, eliminate the sulfur smell problem, and don’t add minerals or sediment to the water. They cost more upfront but never need replacing.

Replacing a standard anode rod every few years, combined with annual flushing to remove sediment from the bottom of the tank, can significantly extend a water heater’s life. Many tanks that fail after 8 or 10 years could have lasted much longer with basic anode maintenance. Once the rod is gone and the exposed steel starts rusting, the damage is irreversible.

How to Tell When an Anode Needs Replacing

The signs vary depending on the application. On a boat, visual inspection during a haul-out is straightforward: if the anode is visibly reduced to half its original size or less, it’s time. Some anodes erode unevenly, so look for exposed steel wire or mounting hardware at the core, which means the active material is essentially spent.

In a water heater, you can’t see the rod without pulling it out, which requires a socket wrench and some effort. What you’re looking for is exposed core wire. A healthy rod still has a thick coating of anode material around a central steel wire. A depleted rod looks like a thin, pitted stick or just bare wire. If your hot water develops a sulfur smell, that’s often a signal the rod is reacting aggressively or is nearly gone.

For underground pipelines, inspection is more technical. Pipeline operators measure the electrical potential between the pipe and the surrounding soil using reference electrodes. If the readings drop below protective thresholds, the anodes may need replacement or supplementation.