Guides

Rotten Egg Smell in Hot Water? Blame the Anode Rod

I'm Dan Reeves, a licensed master plumber with 20 years in residential work and more than 4,000 jobs behind me. Turn on the hot tap, get hit with rotten eggs, and most homeowners assume something died in their plumbing. Nothing died. Your water heater is running a small chemistry experiment, and the anode rod — a part most people have never heard of — is at the center of it. The good news: this is one of the most fixable problems in the trade, the diagnosis takes 30 seconds, and the permanent fix usually costs less than a service call plus a $20 to $65 part. I cover the rod itself in depth in my guide to [water heater anode rod replacement](/articles/water-heater-anode-rod-replacement/); this article is about running the smell to ground.

I’m Dan Reeves, a licensed master plumber with 20 years in residential work and more than 4,000 jobs behind me. Turn on the hot tap, get hit with rotten eggs, and most homeowners assume something died in their plumbing. Nothing died. Your water heater is running a small chemistry experiment, and the anode rod — a part most people have never heard of — is at the center of it. The good news: this is one of the most fixable problems in the trade, the diagnosis takes 30 seconds, and the permanent fix usually costs less than a service call plus a $20 to $65 part. I cover the rod itself in depth in my guide to water heater anode rod replacement; this article is about running the smell to ground.

What causes hot water to smell like rotten eggs?

The smell is hydrogen sulfide gas, H2S, dissolved in your hot water and released at the faucet. Three ingredients make it inside a tank. First, sulfates, which occur naturally in most water supplies and are harmless. Second, sulfate-reducing bacteria, harmless anaerobic bacteria that live in the tank and eat sulfates. Third — and this is the accelerant — the anode rod.

Every tank has a sacrificial anode rod, usually magnesium, installed to corrode so the tank steel does not. As magnesium corrodes it releases electrons into the water, and those electrons power the bacteria’s conversion of sulfate into hydrogen sulfide. The tank’s warm, still, oxygen-poor water is the perfect incubator. That is why the smell concentrates in hot water, why it is worst after the water sits — overnight, or after a week away — and why it often starts or gets worse a year or two into a heater’s life, once the bacteria colony is established and the rod is actively corroding.

How do you tell if it is the heater or your water supply?

Do not guess, and do not let anyone sell you a rod before this test. It takes 30 seconds and isolates the source.

  1. Fill a clean glass from the cold tap. Walk away from the sink — this matters, because you need to separate the water’s smell from the drain’s smell. Sniff the glass.
  2. Fill a second glass from the hot tap, walk away again, and sniff.
  3. Cold clean, hot smells: the heater is the source. This is the classic pattern and the fixable one.
  4. Both smell: the sulfide is in your supply — a well or source-water issue, and no heater part will fix it.
  5. Neither glass smells, but the sink area does when water runs: that is bacteria in the drain or overflow, a cleaning job, not a plumbing repair.
PatternSourceWhere the fix happens
Hot only, worst after water sitsAnode rod + bacteria in tankAt the water heater
Hot and cold equallySupply water (well or source)Well treatment or filtration
Only at one faucet, glasses test cleanDrain or overflow bacteriaClean the drain, not the heater
Smell in the room air, not the waterPossible gas leak — not this problemLeave, call the utility

That last row is the one safety note in this article, and it is absolute: hydrogen sulfide in water smells at the tap when water runs. A gas leak smells in the air whether water runs or not. If the room smells, stop reading and treat it as a gas emergency.

What is the fix ladder for sulfur smell in a water heater?

Work it in order. Half the cases I am called for end at step one.

Step 1 — flush and treat the tank. Drain and flush the heater to remove the bacteria’s habitat and accumulated sediment, and treat the water in the tank with hydrogen peroxide — roughly a pint or two of standard 3% peroxide for a 40 to 50 gallon tank, added before refilling, allowed to sit, then flushed through the hot lines. Peroxide kills the bacteria without the chlorine taste bleach leaves behind. My step-by-step on how to flush a water heater covers the drain and refill sequence, including the refill mistake that kills electric elements. Cost: a few dollars DIY, or the flush is part of the visit if a pro does the rod next.

Step 2 — swap the rod to aluminum-zinc. If the smell returns within a few months of treatment, the magnesium rod is feeding a colony that re-establishes. An aluminum-zinc alloy rod produces far less of the electron supply the bacteria thrive on, and in my experience it ends the smell in most homes by itself. Same price class as the original rod.

Step 3 — install a powered anode. A powered (impressed-current) anode uses a small electrical current instead of sacrificial metal. It stops the reaction entirely, never gets consumed, and is the answer for the stubborn cases — severe well-water sulfur, smells that survived two rod swaps. It needs an outlet near the heater.

Step 4 — the temperature trick, carefully. Raising the tank to 140°F for several hours kills the bacteria colony. I list it last because 140°F water scalds, fast, especially children and the elderly. If your household has either, skip this step or have a pro do it with a mixing valve in place, and return the setting to 120°F afterward. It also does nothing to prevent recolonization, which is why it is a supplement, not a solution.

Why does the smell start after a vacation, a new heater, or a softener?

Homeowners always ask about the timing, and the timing is diagnostic. The smell blooms after a vacation because the water sat warm and undisturbed for a week — no fresh chlorinated water cycling through, nothing disturbing the colony — so bacteria multiplied in peace and the gas built up in the tank. The first shower home is the worst one. That pattern alone tells me the colony lives in the tank, not the supply.

A brand-new heater can smell within months for the opposite reason: a fresh magnesium rod is at its most reactive, pouring out the electrons the bacteria feed on. I warn every customer on well water with known sulfur that a new tank may develop the smell early, and that swapping the stock rod for aluminum-zinc at install time is cheap insurance.

The softener connection surprises people. A water softener or carbon filter removes the chlorine residual that city water carries, and that residual was quietly suppressing bacteria in your tank. Install whole-house filtration and the heater becomes a friendlier incubator downstream. Nothing is wrong with the filter — it is one more reason the heater-side fix, the rod, is the durable answer: it removes the reaction’s fuel instead of chasing the bacteria, which always come back to a warm tank.

How much does it cost to fix rotten egg smell in hot water?

FixDIY costPro costPermanence
Flush + peroxide treatment~$5 in supplies$150–$300 (standard flush visit)Weeks to months if the rod keeps feeding bacteria
Aluminum-zinc anode rod swap$20–$65 part$150–$300 installedUsually permanent for heater-side smell
Powered anode rod$100–$300 part$250–$500 installedPermanent; rod is not consumed
Repeat magnesium rod (same as stock)$20–$65 part$150–$300 installedPoor — often restarts the problem

While the tank is open, note the connection to other symptoms: a heater that is also making a water heater popping noise has sediment feeding both problems, and a full flush addresses both in one visit. And hear this clearly, because it is the most expensive wrong turn on this job: never accept “just take the rod out” as a fix. It trades a smell for a rusted-out tank and a voided warranty.

When should you call a pro about rotten egg smell in hot water?

Call a pro if the glass test shows hot-only smell and the flush-and-treat did not hold, if the anode rod is seized — they often are after years in place, and snapping one off in the tank turns a small job into a big one — or if you have no headroom above the heater to pull a four-foot rod, which in tight closets means a segmented rod or tilting the unit. Call the same day if the smell is in the room air rather than the water, since that is utility territory, not plumber territory.

For the common case, though, this is a satisfying problem: 30 seconds of testing tells you exactly where it lives, and a flush, a treatment, and at most a $20 to $65 rod in a different alloy ends it. Diagnose before you spend, climb the ladder in order, and do not let anyone remove the one part standing between your tank and a rust-through leak.

Frequently asked questions

Is rotten egg smell in hot water dangerous?

At the levels a water heater produces, the hydrogen sulfide in your tap water is a nuisance, not a poisoning risk — you would stop drinking it for taste long before it hurt you. The bacteria that make it are not the disease-causing kind. Two real cautions, though. The gas is corrosive over time to copper and silver, and a strong rotten-egg smell in the room air — not just the water — is a different problem entirely. If the air around the heater smells, treat it as a possible gas leak: leave and call the utility.

Why does only my hot water smell like rotten eggs?

Because the reaction lives in the tank. A water heater is a warm, dark, low-oxygen box — exactly what sulfate-reducing bacteria want — and the magnesium anode rod feeds the reaction by releasing electrons as it corrodes. The bacteria convert sulfates in your water into hydrogen sulfide gas, which dissolves in the hot water and comes out at your faucet. Your cold water never sat in that environment, so it stays clean. That is also why the smell is strongest first thing in the morning or after a vacation, when water sat in the tank longest.

Will removing the anode rod fix the sulfur smell?

It often fixes the smell, and it quietly kills your water heater. The anode rod exists to corrode in place of the tank steel. Pull it out and the corrosion it was absorbing goes straight to the tank wall, and most manufacturers void the warranty the moment the rod comes out. I have seen rod-less tanks rust through in two to three years. The correct fix is a different rod, not no rod: an aluminum-zinc rod starves the bacteria reaction, and a powered anode stops it entirely without being consumed. Never let anyone solve an odor problem by deleting the part that protects the tank.

How much does it cost to fix rotten egg smell in hot water?

Start at zero: a thorough flush with a peroxide treatment costs you a couple of dollars in supplies and an hour. If the smell comes back within a few months, the anode rod is the fix. The rod itself is $20 to $65 for a standard magnesium or aluminum-zinc rod, and a plumber charges $150 to $300 to swap it, which often includes flushing the tank. A powered anode rod costs $100 to $300 for the part and $250 to $500 installed, and it is the permanent answer for stubborn cases because it never depletes.

What if both my hot and cold water smell like rotten eggs?

Then your heater is innocent — the hydrogen sulfide is in the water supply itself, which is common on wells and occasionally on city water after main work. A heater fix will do nothing. Supply-side sulfur gets treated at the source: shock chlorination of a well, an oxidizing filter, or aeration, depending on the measured level. One more possibility to rule out first: if the smell is only at one sink and only when you lean over it, it may be drain bacteria, not the water at all. Run the glass test in this article before spending anything.