Hot Water Smells Like Rotten Eggs? Sulfur Bacteria, Anode Rods & Fix Cost in California

Updated 2026-07-22 · Plumber Comparator editorial team

Plumber Comparator — licensed California plumbers illustration

Turn on the cold tap and the water is fine. Turn on the hot tap and it smells like rotten eggs. That specific pattern — fine cold, foul hot — throws a lot of homeowners because the instinct is to assume a sewer problem, when the real cause is usually sitting inside the water heater tank itself. Here's what's actually going on and what it costs to fix.

First, rule out sewer gas

Before chasing the water heater, confirm the smell is actually in the water and not in the room. Fill a glass with hot water away from the bathroom — the kitchen sink is a good test spot — and smell it directly. If the glass of water itself smells sulfurous, the problem is in your hot water supply. If instead the smell fades when you move away from a specific drain or the base of a toilet, you're more likely dealing with a dry P-trap, a failed wax ring, or a blocked vent stack; our guide to bathroom sewage smells: causes and fixes walks through that diagnosis in detail, and it's a different, usually cheaper, fix.

Why it's almost always hot water only

The rotten-egg odor is hydrogen sulfide gas, produced when naturally occurring sulfate-reducing bacteria metabolize sulfate in the water. These bacteria need an oxygen-poor environment to multiply, which describes the inside of a water heater tank far better than it describes cold supply pipes that see more turnover and dissolved oxygen. Compounding the problem, most tank water heaters contain a magnesium (or magnesium-alloy) anode rod, a sacrificial metal rod that protects the steel tank from corrosion by corroding first. That reaction releases hydrogen, and in a tank where sulfate-reducing bacteria are already present, the extra hydrogen feeds their metabolism and increases hydrogen sulfide production — which is why the smell often starts or worsens shortly after a new water heater, with its fresh magnesium rod, goes in.

The underlying chemistry is well studied in engineered water systems more broadly. A 2025 review in Frontiers of Environmental Science & Engineering by Qi, Jia, Cong and colleagues surveyed how sulfate-reducing bacteria generate hydrogen sulfide in water infrastructure and evaluated the mitigation strategies used against them, from oxidant dosing to biocide treatments — the same category of bacteria, and largely the same control logic, at work in a residential tank. You can read the review via its publisher page.

Why well water and low-chlorine systems are more prone to it

Municipal water carries a chlorine or chloramine residual that keeps bacterial growth in check throughout the distribution system, which is one reason city-supplied homes see this problem less often than homes on a private well. Well water typically arrives with no disinfectant residual at all, so once sulfate-reducing bacteria get a foothold — commonly introduced during well drilling, pump servicing, or simply present in the local groundwater — nothing in the supply chain is knocking them back before they reach the water heater. If you're on a well and dealing with this smell, it's worth a broader water test, not just a water heater fix; see our guide to private well water testing in California for what a full panel covers and what it costs.

Fixes, and what they cost

Which fix makes sense for your situation

If the smell is new, mild, and you're not on a well, a chlorination shock combined with a routine flush is a reasonable first step and the least expensive option. If it comes back within a few months, or you're on a well where the bacteria have an ongoing supply, swapping to an aluminum-zinc or powered anode addresses the actual mechanism rather than just resetting the clock. Homeowners who've already been through one or two recurrences generally find the powered anode rod worth the extra upfront cost, since it stops the cycle rather than managing it.

When to call a plumber instead of DIY

Anode rods are accessible from the top of most tanks and swapping one is within reach for a confident DIYer with the right socket, but a rod that's corroded and seized in place, a tank old enough that disturbing it risks other problems, or a chlorination shock done incorrectly (too weak to work, or not fully flushed before use) are all places where a licensed plumber saves you a second service call. It's also worth having a plumber confirm the smell is actually sulfur bacteria and not a sign of a failing tank or a water quality issue that a rod swap won't touch.

Dealing with sulfur-smelling hot water in Fresno, Modesto, or anywhere in California? Request your free quote on Plumber Comparator and get matched with a licensed local plumber.

Need a plumber you can trust?

Tell us about the job — a licensed California plumber gets back to you with a real quote.

Get free quotes

Keep reading

Get free plumbing quotes

Describe your job — a licensed local plumber calls you back. Free, no obligation.

By submitting, you agree to be contacted about your project by phone or email. We never sell your details for anything else. Privacy