Plumbers taking calls nowGas, electric and tankless water heater repair(858) 465-8561
Water heater guide

Why does my hot water smell like rotten eggs?

A rotten egg smell is hydrogen sulfide gas. When it shows up only in the hot water, the water heater is usually where it's being made, and it can be fixed.

Updated October 21, 2026 · 5 min read · By the Heater Doctor team

Gloved hands holding a corroded anode rod removed from a water heater

Short answer

If only the hot water smells, the usual cause is the water heater's magnesium anode rod reacting with sulfur bacteria in the tank. Health departments recommend replacing the magnesium anode with one made of a different material, such as aluminum, disinfecting the tank, or briefly heating it to kill the bacteria. If the cold water smells too, the problem is in the water supply or well.

Hot only, or hot and cold?

The Minnesota Department of Health suggests a simple test: after you've been away for a few hours, smell the hot and cold water at each faucet. If only the hot water smells, the water heater is the likely source. If cold water smells too, the gas is coming from the well or the water supply.

Why the water heater makes the smell

Many water heaters have a magnesium anode, a rod that protects the tank from corrosion. In some water, sulfur bacteria and that magnesium work together to produce hydrogen sulfide gas. It's most common in homes on well water.

Fixes that work

  • Replace the anode. The Minnesota Department of Health suggests asking about a replacement anode made of a different material, such as aluminum, which can protect the tank without feeding the smell. It warns that removing the anode entirely may significantly shorten the heater's life.
  • Disinfect the tank. Flushing the heater with a chlorine bleach solution can kill the bacteria, though the smell may return within a few weeks if some survive.
  • Heat treatment. Raising the water to 160°F for several hours kills the bacteria. This is dangerous without the right precautions: the relief valve must work, and the thermostat must go back down afterward to prevent scalding. Have a plumber do it.

The health department recommends having a plumber or water system professional do this work unless you're very familiar with water heaters.

If the cold water smells too

Penn State Extension covers treatment options for rotten egg odor in well water, from aeration to filtration and chlorination. A water test tells you what you're dealing with before you buy equipment.

In towns where some homes still run on private wells, like parts of Eagle, Idaho, it's worth testing the well.

Rotten eggs or natural gas?

Gas utilities add a sulfur-smelling odorant to natural gas so leaks can be noticed. If the smell is in the air near the heater rather than in the water, treat it as a possible gas leak: leave the house and call 911 and your gas company from outside.

Rather have a plumber look at it?

Call and describe what's happening. We'll get a plumber out to diagnose and fix it.

Call for service(858) 465-8561

Local pages mentioned

Questions

Common questions

Is it safe to shower in water that smells like rotten eggs?

At the low levels typical of a water heater odor it's mainly a nuisance, but test well water for bacteria and nitrate too, as the Minnesota Department of Health advises.

Will flushing the water heater get rid of the smell?

Flushing alone usually doesn't last. Replacing the anode or disinfecting the tank addresses the cause.

Why did my new water heater start smelling?

New heaters often come with a magnesium anode. If your water has sulfur bacteria, the smell can start within weeks. A different anode usually solves it.

Sources

General information only. Gas, electrical and pressure work can be dangerous; when in doubt, call a licensed professional.

Still stuck? Get a plumber out.

Call now for water heater repair or replacement.

Call for service(858) 465-8561
Call (858) 465-8561