Why does my water smell like rotten eggs?

Updated November 20, 2026 · Based on EPA and other public sources listed below · How we make our content

Short answer: the smell is hydrogen sulfide gas, made by sulfur bacteria or chemical reactions in the well, plumbing or water heater. Smell the hot and cold taps after the water has sat for a few hours: hot only points to the water heater; hot and cold points to the well, plumbing, softener or groundwater.

Step 1: find the source

Where you smell itLikely sourceWhat to do
Hot water onlyWater heater (sulfur bacteria, magnesium anode reacting with sulfate)Fix the water heater (below)
Hot and cold tapsSulfur bacteria in the well, plumbing or water softener, or hydrogen sulfide in the groundwater itselfDisinfect the well and plumbing first; if the smell stays, treat the water or consider a well in a different formation

Other signs: slime that is white, grey, black or reddish brown (sulfur or iron bacteria), black stains on silverware and fixtures, and corrosion of pipes and metal parts.

If it's the water heater

  • Replace or remove the magnesium anode. Removing it can shorten the heater's life; ask the dealer about an aluminum anode instead.
  • Disinfect and flush the heater with a chlorine bleach solution. If some bacteria survive, the smell can return within weeks.
  • Raise the temperature to 160°F (71°C) for several hours, then flush. This is dangerous without a working pressure relief valve: check with the manufacturer, and turn the thermostat back down afterwards.

Unless you know water heaters well, have a plumber do this. Also see hard water and your water heater.

If it's the well or plumbing

Disinfect the well and plumbing with a strong chlorine solution, or hire a licensed well contractor. Sulfur bacteria can be hard to remove once established, especially along with iron bacteria. Because the gas can rarely come from sewage, also test the well for coliform bacteria and nitrate.

If it's in the groundwater: treatment

TreatmentWorks for
Activated carbon filterLess than about 1 mg/L hydrogen sulfide
Oxidizing media filter (e.g. manganese greensand)Up to about 6 mg/L; also treats iron
Aeration + filtrationLevels below and above 1 mg/L
Continuous chlorination + filtrationLevels below and above 1 mg/L
Ozonation + filtrationLevels below and above 1 mg/L

Note that reverse osmosis does not remove hydrogen sulfide: the gas passes through the membrane.

Frequently asked questions

Why does only my hot water smell like rotten eggs?

The water heater is the likely source. Sulfur bacteria can live in the warm tank, and a magnesium anode rod can react with sulfate in the water to produce hydrogen sulfide gas, according to the Minnesota Department of Health.

Is rotten egg smell in water dangerous?

In most cases the smell doesn't relate to the sanitary quality of the water, according to the Minnesota Department of Health, and sulfur bacteria aren't harmful. But hydrogen sulfide gas in the air can be harmful at high levels, so it should not build up in enclosed spaces like well pits. Rarely the gas comes from sewage, so test a well for coliform bacteria and nitrate.

How do I get rid of the sulfur smell in my water heater?

Options from the Minnesota Department of Health: replace the magnesium anode (for example with aluminum), disinfect and flush the heater with a chlorine solution, or raise the temperature to 160°F for several hours and flush. Have a plumber do it unless you know water heaters well, because high temperatures can be dangerous.

What filter removes hydrogen sulfide?

Activated carbon works for levels under about 1 mg/L. For higher levels, oxidizing media filters (such as manganese greensand, up to about 6 mg/L), aeration with filtration, continuous chlorination with filtration, or ozonation with filtration.

Sources

Related guides