Water Heater Smells Like Rotten Eggs: Causes And Fixes
If your water heater smells like rotten eggs, you are smelling hydrogen sulfide. OSHA describes it as a colorless gas with a pungent rotten egg odor at low concentrations. In a home it often forms inside the tank, and the fix is a flush, a disinfecting soak and a better anode rod.
The smell often comes from sulfate-reducing bacteria in the tank reacting with the magnesium anode rod. It is not carbon monoxide, which has no odor. Showering is generally fine when the smell is faint and only in hot water. If you smell gas near the heater, leave the house and call the utility.
Why Hot Water Smells Like Rotten Eggs
Sulfate-reducing bacteria cause it. They live in warm, still water and feed on sulfate. The magnesium anode rod in many tanks gives them the electrons they need to turn that sulfate into hydrogen sulfide. Gas and electric tanks both do it. Tankless units hold little water, so a smell there often points back to the supply.

Run cold and then hot water from the same faucet. If only hot water smells, the heater is the source. If cold water smells too, the sulfur is in the supply. Hydrogen sulfide occurs naturally in well water, and private wells are not regulated under the Safe Drinking Water Act, so the owner has to check.
Well water testing at a certified lab confirms whether sulfur is coming from the source before you treat the heater.
| Cause | Where it smells | First fix |
|---|---|---|
| Bacteria plus magnesium anode | Hot water only | Drain, disinfect and flush the tank |
| Sulfur in well water | Hot and cold water | Test the well, then shock chlorinate or treat |
| Sewer gas from a drain | One sink or drain, not the water | Clean the drain and check the trap |
| Natural gas leak | Air near a gas heater | Leave the house and call the utility |
How To Get The Smell Out Of The Water Heater Turn off the power or set the gas valve to pilot, then close the cold supply. Draining a water heater through the bottom valve removes the water the bacteria live in. For a closely related question, see our guide to tank vs tankless water heater.
Pour hydrogen peroxide into the tank through the anode port or the hot outlet. A typical dose is about 1 pint of 3 percent peroxide per 40 gallons, left for about two hours. The manufacturer’s instructions come first. Refill, run every hot tap until the smell clears, and restore power.
Flushing a water heater once a year keeps the sediment layer thin, which gives bacteria fewer places to settle.
If the smell returns, swap the magnesium rod for an aluminum-zinc rod or a powered anode. That swap has its own steps and costs.
Pipe and Plunger Tip: Do not crank the thermostat to kill the bacteria. Hotter water raises the scald risk at every tap.
Warning Signs And When To Call A Plumber
Call a plumber when the smell comes with rusty water, rumbling or popping, water around the base, or a tank near the end of its life. Those signs point to sediment, a leak or corrosion, not just bacteria.

Water heater lifespan is typically 8 to 12 years for a tank model, so an old unit with a new odor may not be worth another rod.
Water heater replacement cost is worth comparing against repeat service calls before you pay to repair an aging tank.
Is It Safe To Shower With Rotten Egg Water? Usually yes, when the smell is faint and limited to hot water. A tank odor is often just a nuisance. Run the bathroom fan until the tank is treated. At higher exposure, effects range from headaches and eye irritation to unconsciousness, and the nose stops noticing the gas after a while. A strong or growing smell means stop and ventilate.
A rotten egg smell does not always mean a gas leak, because the smell at the hot tap usually comes from the water. Natural gas carries an added sulfur odorant. If the air near a gas water heater smells like eggs, leave the house and call the gas company or 911 from outside. Keep a CO alarm near any gas appliance.
Related reading: Well Water Smells Like Sulfur.
Frequently Asked Questions
Does rotten egg smell mean carbon monoxide?
No. Carbon monoxide is odorless. The egg smell comes from sulfur compounds in the water or from the odorant added to natural gas, which is why a CO alarm, not your nose, is the only way to detect carbon monoxide.
Why does my water sometimes smell like rotten eggs?
Water that sits in the tank overnight or during a trip lets the bacteria build up gas, so the first hot draw often smells strongest. Steady use can clear it between those idle stretches.
Sources
- OSHA, Hydrogen Sulfide
- US EPA, Private Drinking Water Wells
- Penn State Extension, Shock Chlorination of Wells and Springs
One Comment
Comments are closed.