Short answer
When well water smells like rotten eggs, the cause is hydrogen sulfide gas. If only the hot water smells, the water heater's anode rod is reacting with sulfate in the water. If hot and cold both smell, the gas is in the well, usually from natural sulfur or sulfur bacteria. The test is simple: smell the hot tap, then the cold.
1The hot and cold test
| Smell | Likely source | Typical fix |
|---|---|---|
| Hot water only | Magnesium anode rod in the heater | Aluminum-zinc or powered anode |
| Hot and cold | Sulfur or sulfur bacteria in the well | Shock chlorination, then treatment |
| Cold only, one tap | Drain or sink, not the water | Clean the drain |
| Comes and goes, worse after rest | Bacteria in the well or pipes | Shock chlorination |
| Only from the softener or filter | Bacteria growing in the media | Sanitize or replace media |
Run the cold tap for a minute, smell it, then do the same with hot. Test in a different room from the kitchen sink, where drains can fool you. If the water also looks hazy, see cloudy well water.
2When only the hot water smells
Most tank water heaters have a magnesium rod that protects the tank from rust. In water with sulfate, bacteria in the tank turn sulfate into hydrogen sulfide on that rod. Swapping it for an aluminum-zinc rod or a powered anode usually stops the smell. Do not remove the rod entirely; the tank will rust out and the warranty is usually void.
3When hot and cold both smell
The gas is in the groundwater or the well. Natural sulfur deposits, decaying matter and sulfur-reducing bacteria all produce it. Start with shock chlorination: if bacteria are the cause, the smell fades and stays gone for months. If it comes back fast, the gas is likely natural, and you need treatment.
Aeration
Strips gas out in a tank.
Oxidizing filter
Converts it to particles.
Activated carbon
Small amounts only.
Chlorine feed
Continuous dose plus filter.
The right system depends on the concentration. A lab test for hydrogen sulfide, iron, manganese and sulfate lets a treatment dealer size it instead of guessing.
4Is it safe?
At the levels found in home wells, the gas is mostly a nuisance: odor, bad taste, black stains and corroded fixtures. But a smell can also arrive with other problems in the water. If the smell appears suddenly, or after a flood, test for bacteria and compare the results with EPA standards and your state health department's advice; see how to test well water.
5Common questions
Why does my well water smell like rotten eggs only in the morning?
Gas builds up in pipes and the heater overnight. Run the tap for a minute; if the smell fades, bacteria or the anode rod is the likely source.
Will a water softener remove the smell?
No. Softeners remove hardness. They can even grow bacteria that make the smell worse.
Does boiling remove the gas?
It drives some gas off, but it does not fix the source. Treat the well or the heater instead.
How to get rid of sulfur smell in well water for good?
Shock chlorinate first. If well water smells like sulfur again within weeks, the gas is natural and needs aeration or an oxidizing filter sized from a lab test.
Sources
- Sulfur and sulfur bacteria in well water, Minnesota Department of Health · accessed Nov 22, 2026
- Rotten egg odor in water wells, Penn State Extension · accessed Nov 22, 2026
- Private wells, U.S. EPA · accessed Nov 22, 2026
Drafted with AI from the cited sources; reviewed and approved by Ben Carter. How we write and check guides
Ben Carter, plumber, septic and private well systems. About the author · Editorial policy