The smell is hydrogen sulfide gas. If you only smell it from the hot tap, the cause is almost always your water heater’s magnesium anode rod, and swapping it for an aluminum or zinc rod usually fixes it for under $60. If you smell it from hot and cold taps, it’s coming from the well or the groundwater, and you should test the water before you buy any filter.
The first time I ran into this, I assumed the well was going bad. It wasn’t. It was a $30 part inside the water heater. That’s the most useful thing to know about rotten egg water: the cause is often not where you expect, and one simple check tells you where to look.
Step 1: Smell the hot and cold taps separately
Pick a faucet you use often. Run the cold water for a minute, fill a glass, step away from the sink and smell it. Then do the same with hot water only.
- Hot only: the problem is inside the water heater. Your well is probably fine.
- Hot and cold: the problem is in the well, the groundwater or the plumbing before the heater.
- Only when the water first runs, then it fades: often sulfur bacteria living in the well or pipes. Worth a shock chlorination.
- Only at one faucet: look at that drain, not the water. Bacteria in a sink drain can smell exactly like sulfur water.
Common causes and fixes
| Where you smell it | Likely cause | First fix | Typical cost |
|---|---|---|---|
| Hot water only | Magnesium anode rod reacting with sulfate in the water | Replace with an aluminum/zinc anode rod | $20–60 for the part, or a plumber’s visit |
| Hot only, heater rarely used or set low | Bacteria growing in the tank | Flush the heater and raise the temperature for a period | $0–150 |
| Hot and cold, smell fades after running | Sulfur bacteria in the well or pipes | Shock chlorinate the well | $10–30 DIY, $150–400 by a pro |
| Hot and cold, strong and constant | Hydrogen sulfide in the groundwater | Water test, then a whole-house sulfur filter | $800–2,500 installed |
| Came on suddenly with a sewage smell | Possible contamination | Stop drinking it and test for coliform bacteria | $25–100 for a lab test |
Costs are typical U.S. ranges and vary a lot by region.
If it’s only the hot water: the anode rod
Most tank water heaters have a magnesium rod inside that slowly corrodes so the steel tank doesn’t. In well water that has sulfate in it, sulfate-reducing bacteria react with that rod and produce hydrogen sulfide. Extension services in states with a lot of sulfur water, including North Dakota State University and the Wisconsin DNR, describe exactly this pattern.
The fix: replace the magnesium rod with an aluminum/zinc anode rod. Some people remove the rod entirely, but that can shorten the heater’s life and may void the warranty, so check your manual first.
If the heater sits unused for weeks, or the thermostat is set low, bacteria can also grow in the tank. Flushing the tank and running it hotter for a while can help. Hot water scalds quickly, so follow your heater manufacturer’s instructions and turn the temperature back down afterward.
If it’s hot and cold: the well
When both taps smell, the gas is already in the water before it reaches the heater. There are two common sources:
- Sulfur bacteria living in the well, pressure tank or pipes. These often cause a smell that’s strongest after the water has been sitting, like first thing in the morning or after a vacation. Shock chlorination usually knocks them back. Use our shock chlorination guide and bleach calculator.
- Hydrogen sulfide in the groundwater itself, common in some shale and sandstone areas. This smell is steady, all day. Chlorinating won’t solve it for long. You need treatment sized to your water.
Is rotten egg water safe to drink?
At the levels that cause a smell, hydrogen sulfide is mainly a nuisance. It tastes bad, tarnishes silver and can stain fixtures black. Health agencies such as the Vermont Department of Health point out one important exception: in rare cases the smell comes with sewage or other contamination. That’s why they recommend testing for coliform bacteria and nitrate when the smell first shows up, or if it changes suddenly.
See what to test your well water for for a simple list.
Treatment options for sulfur in the well
Pick treatment from your test results, not from a product listing. The right choice depends on how much hydrogen sulfide you have and whether iron or manganese is in the water too.
- Very low levels: an activated carbon filter can remove a faint smell, but it fills up quickly at higher levels.
- Moderate levels, often with iron: an air-injection oxidizing filter is the most common whole-house fix. It adds air, turns the gas into particles and filters them out.
- High levels: continuous chlorine or hydrogen peroxide injection followed by a filter.
- A water softener alone does not remove hydrogen sulfide.
the smell came on suddenly after flooding or nearby digging, you also see cloudy or discolored water, a test shows coliform bacteria, or you’re not sure what treatment size you need.
Quick checklist
- Smell hot and cold taps separately.
- Hot only: replace the water heater’s anode rod.
- Hot and cold: test for coliform bacteria and nitrate, plus iron and sulfur if you can.
- Smell strongest after sitting: shock chlorinate the well.
- Steady smell all day: choose a filter sized to your test results.
Not sure which problem you have? Try the Well Problem Finder. Three questions, and it points you to the right guide.