Let me save you a lot of googling: this is not a health emergency, your water heater is not broken, and the fix is straightforward. But the smell is genuinely awful, so let us get into it.
What Is Actually Happening Inside Your Water Heater
Every tank water heater has a component called a sacrificial anode rod. It is a metal rod (usually magnesium, sometimes aluminum) that hangs down inside the tank from the top. Its entire purpose is to corrode instead of your tank — the rod sacrifices itself so the steel tank walls do not rust through. It is a clever bit of electrochemistry and it extends the life of your water heater by years.
The problem starts when sulfate-reducing bacteria — which are naturally present in most municipal and well water supplies — colonize the warm, oxygen-depleted interior of your water heater tank. These bacteria feed on sulfates dissolved in the water. When they encounter the hydrogen produced by the corroding magnesium anode rod, they convert sulfates into hydrogen sulfide gas (H₂S).
Hydrogen sulfide is the exact compound that gives rotten eggs their smell, and humans can detect it at incredibly low concentrations — as little as 0.5 parts per billion. So even a tiny amount of this reaction produces a noticeable stench.
Your cold water does not smell because the bacteria need warm, stagnant, low-oxygen conditions to thrive. The cold water supply pipes do not provide that environment. If your drains also smell like rotten eggs, that is a separate issue — usually a dry P-trap or biofilm buildup.
Confirming the Diagnosis
Before you start pulling apart your water heater, take 30 seconds to confirm this is actually the problem:
- Run the cold water at any faucet for 30 seconds. Smell it. No odor? Good.
- Now run the hot water at the same faucet for 30 seconds. If the rotten egg smell appears, your water heater is the culprit.
- Try this at multiple faucets to make sure it is not isolated to one fixture (which would suggest a localized drain issue instead).
If both hot and cold water smell, the source is your water supply itself — likely well water with high sulfate content — and the solution is different (whole-house filtration). This article addresses the hot-water-only scenario.
How to Fix It
A Few Things Worth Knowing
The aluminum rod is not inferior. Some people worry that switching from magnesium to aluminum means less protection for the tank. In practice, aluminum anode rods last just as long and protect the tank nearly as well. The trade-off is minimal.
If you have a water softener, it can accelerate anode rod consumption. Softened water is more conductive, which speeds up the electrochemical reaction. If you have a softener and notice this smell, check your anode rod more frequently. Speaking of water softeners, if yours is making the water taste salty, that is a completely different issue worth investigating.
Powered anode rods are another option. These are titanium rods with an impressed electrical current that protects the tank without corroding at all. They cost $80 to $150 versus $20 to $40 for a standard rod, but they last the lifetime of the heater, never produce the sulfide smell, and never need replacement. If you are tired of dealing with this issue, a powered rod is the permanent fix.
Well water with high sulfates may cause the smell to return even after replacing the rod. In that case, consider a point-of-use activated carbon filter or a whole-house oxidizing filter designed for hydrogen sulfide removal.
What About Tankless Water Heaters?
Tankless water heaters rarely produce the rotten egg smell because they do not store water. There is no stagnant, warm tank for the bacteria to colonize. If you are considering replacing your tank water heater and this problem is the final straw, going tankless eliminates the issue entirely — along with reducing energy costs since you are not keeping 40 to 50 gallons of water hot 24/7.
That said, tankless heaters have their own quirks. If you have ever dealt with your water heater making popping or rumbling sounds, you know that every type of heater has maintenance needs.
How Often Should You Check the Anode Rod?
Manufacturers recommend checking the anode rod every 2 to 3 years. Most homeowners never check it at all, which is why they end up dealing with either the rotten egg smell or, worse, a tank that rusts through and floods the basement.
Pull the rod out and look at it. If more than six inches of the steel core wire is exposed (the rod has corroded away), replace it. If the rod is coated in calcium and hard deposits, replace it. A healthy rod still has most of its sacrificial metal intact.
This five-minute check can extend the life of a water heater by several years and keep your hot water smelling the way it should — like nothing at all.
Related: Why Does My Drain Smell Like Rotten Eggs? · Water Heater Making Popping or Rumbling Sounds · Water Softener Making Water Taste Salty
Written by James Chen
James covers technology and gadgets, breaking down complex topics into plain language. He enjoys helping readers get more out of their devices.