Every glass-lined steel water heater tank ships with a sacrificial anode rod (sometimes two, in higher-end models) threaded into the top of the tank. The rod is magnesium or aluminum and is meant to corrode in place of the tank wall, providing galvanic protection that extends tank life by 50 to 100 percent. The catch is that the rod is consumed faster than the tank, typically in 4 to 8 years depending on water chemistry, after which the tank itself starts corroding. Almost nobody checks or replaces the rod, which is why the average water heater fails at 8 to 12 years instead of the 15 to 20 it would last with rod maintenance. The job is 30 to 50 dollars in parts and 30 to 60 minutes of work when it goes well. Here is the full process, including what to do when the rod refuses to come out.
Why the rod matters
Galvanic corrosion is the same chemistry that lets a battery generate electricity: two dissimilar metals in an electrolyte will trade electrons, with the more reactive metal corroding and the less reactive metal staying intact. In a water heater the tank is steel coated with a glass lining, but the lining inevitably has small cracks and pinholes. Without a more reactive metal in the tank, those exposed steel spots would corrode quickly and the tank would fail.
The anode rod is far more reactive than the steel. As long as the rod has metal left, the tank stays protected. Once the rod is consumed (or breaks off below the head), the tank takes over the corrosion role and starts to leak within 12 to 36 months.
Types of anode rods
| Type | Cost | Pros | Cons |
|---|---|---|---|
| Magnesium | 25 to 35 dollars | Most reactive, best protection | Reacts with sulfate bacteria, can cause rotten egg smell |
| Aluminum | 25 to 35 dollars | No smell, longer life than magnesium | Less protective than magnesium |
| Aluminum-zinc | 30 to 40 dollars | Aluminum durability, zinc reduces smell | Less protective than magnesium |
| Powered (impressed-current) | 150 to 250 dollars | Permanent, no replacement, no smell, works with soft water | Higher upfront cost, requires electrical outlet near heater |
| Flexible (segmented) | 35 to 50 dollars | Fits where ceiling clearance is limited | Slightly higher cost than rigid |
If you have a water softener, magnesium rods burn through in 1 to 3 years. Aluminum or powered is the better choice.
If you have unsoftened well water with sulfur smell, a powered anode usually solves the smell.
Step 1: Check the existing rod
You need:
- 1-1/16 inch socket (deep, 6-point preferred)
- 24 inch breaker bar (or impact wrench)
- Bucket
- Garden hose
- Adjustable wrench
- Teflon tape or pipe dope
- The new rod (rigid or flexible)
Turn off power to the heater (electric, flip the breaker; gas, set the dial to Pilot or Off). Turn off the cold water supply at the inlet valve on top of the tank. Connect a garden hose to the drain valve at the bottom and route it to a floor drain or outside. Open the drain valve and a hot water tap somewhere in the house to break the vacuum. Drain about 2 to 3 gallons, enough to lower the water below the anode rod inlet.
Find the hex head of the anode rod on top of the tank. It is often hidden under a plastic cap or insulation. Cut the insulation away if needed.
Step 2: Break the rod loose
This is the hard part. A factory-torqued anode rod plus 6 to 10 years of corrosion can require 150+ foot-pounds to break loose. Three approaches:
- Impact wrench: A 1/2 inch corded or cordless impact at 300+ foot-pounds will usually pop it loose in 5 to 15 seconds of pulsing. This is the cleanest method.
- Breaker bar: A 24 inch or longer breaker bar with steady pressure. Push down on the bar, do not jerk. Have a helper hold the tank in place because the leverage can rock the whole heater.
- Heat: A propane torch playing the area around the threads for 30 seconds can break the corrosion bond. Use with caution near insulation or plastic components, and only on metal-jacketed tanks.
If after honest effort the rod will not budge, stop. Tightening past the original torque can crack the tank threads or split the tank top, which means buying a new water heater. Better to call a plumber, or simply continue running with the old rod and replace the tank sooner when it fails. Some installers will not even attempt rod replacement after 10 years.
Step 3: Pull the rod out
Once the rod is loose, unscrew it by hand. Lift it straight up out of the tank.
Common surprises:
- The rod is much longer than expected (typically 42 to 48 inches). You need at least that much ceiling clearance above the heater, or a flexible (segmented) rod that can be installed in low-clearance spaces.
- The rod is mostly gone, with only the hex head and a stub of wire core left. This means the rod was 90 percent or more consumed and you caught it right at the end of useful life.
- The rod comes out with a thick coating of mineral scale. Normal in hard water areas, no concern.
Step 4: Install the new rod
Wrap the threads of the new rod with 3 to 4 wraps of teflon tape (or use pipe dope, both work). Thread the new rod into the tank by hand until you feel resistance. Then tighten with the socket and a torque wrench to 75 to 100 foot-pounds. Do not exceed 120 foot-pounds, which is the typical maximum tank thread rating.
For a flexible (segmented) rod, slide the segments through the inlet one at a time. The plastic spacer rings between segments keep them aligned. Once all segments are in, thread the head into the tank as with a rigid rod.
For a powered anode, follow the manufacturer’s instructions for both the rod itself and the electrical hookup. Most use a standard 120V outlet within 6 feet of the heater.
Step 5: Refill and restore service
Close the drain valve. Open the cold water inlet. Listen for the tank refilling. Leave the hot water tap open until water flows freely with no sputtering, which means the tank is full and air is purged. Close the tap.
Restore power or relight the pilot per the heater’s instructions. For gas heaters with electronic ignition, simply turn the dial back to ON and the burner will fire when the thermostat calls. For older standing-pilot heaters, the relight procedure is on a label on the front of the unit.
Check for leaks at the anode rod head and around any other connections you disturbed. Use a dry paper towel to wipe the threads, leaks show up as a damp ring within a few minutes.
Step 6: Document the install
Write the install date on a piece of tape stuck to the side of the heater. Plan to check the rod in 2 to 3 years. With softened water, check annually.
When to call a licensed plumber
DIY scope covers anode replacement where the rod breaks loose and the heater is in reasonable condition. What is outside that scope:
- A rod that will not budge despite reasonable force, where forcing it risks tank damage
- A tank already showing signs of leakage at the bottom seam or near the heating elements (replace the tank, do not bother with rod maintenance)
- A tank with the anode under the hot water outlet (some compact tanks combine them) where removal requires draining the entire tank
- Any work in a jurisdiction that requires a permit for water heater work, which is common for full unit replacement but rare for anode service
A plumber’s service call for an anode replacement is usually 200 to 350 dollars including the rod, which is steep for a 30 dollar part but cheap compared to a new water heater. For more on water heater types and lifespan, see our piece on tankless vs tank water heaters and our methodology page.
Frequently asked questions
How often should I replace the anode rod?+
Check it every 2 to 3 years. Replace when the core steel wire is exposed for more than about 6 inches of the rod's length, or when the rod is less than 1/2 inch in diameter at any point. Soft water from a softener accelerates rod consumption significantly, sometimes halving its life. Well water with high mineral content can have the opposite effect, slowing rod consumption but accelerating sediment buildup.
Is the smell of rotten eggs from my hot water related to the anode?+
Yes, almost always. A magnesium anode reacting with sulfate-reducing bacteria in the tank produces hydrogen sulfide gas, which smells like rotten eggs. Switching to an aluminum or aluminum-zinc anode usually eliminates the smell within a few days. A powered anode is the permanent fix because it generates no reactive metal and the bacteria starve out.
What is a powered anode and is it worth the cost?+
A powered (impressed-current) anode is a titanium rod connected to a small electronic controller that runs current through the rod to protect the tank, instead of sacrificially corroding. It costs 150 to 250 dollars vs 25 to 40 for a sacrificial rod, but it never needs replacement and works even with soft water. In homes with water softeners or persistent sulfur smell, the cost difference is recovered within one tank lifetime.
Can I replace an anode rod myself or do I need a plumber?+
Most homeowners can do it if the rod loosens with a 1-1/16 inch socket and a breaker bar. The challenge is that anode rods are factory-torqued to about 100 to 120 foot-pounds and can corrode in place after 8 to 10 years. If it does not budge with reasonable force and a 24 inch breaker bar, stop. Forcing it can split the tank threads, which usually means a new water heater. Call a plumber at that point.
What size socket fits an anode rod?+
1-1/16 inch is the standard for residential anode rod hex heads in the United States. A few imported tanks use 27 mm (very close but not identical). Use a six-point impact socket if you have one, the thinner walls fit the hex better and the impact rating handles the breaker bar torque without splitting.