How to Fix Rotten Egg (Sulfur) Smell in Water
Whether the smell comes from the water heater, the well or a single drain changes the fix completely. Here is how to pinpoint the source and choose treatment by concentration.
A rotten egg smell in water is hydrogen sulfide gas, and most people can smell it at concentrations well below 0.5 mg/L. The fix depends on where it comes from. If only the hot water smells, the cause is almost always the water heater’s magnesium anode rod reacting with sulfate-reducing bacteria, and swapping it for an aluminum rod usually ends it. If hot and cold both smell, the source is the well or groundwater, and the answer is shock chlorination followed, if needed, by carbon, an oxidizing filter or continuous chlorination sized to the concentration. If only one sink smells, it’s probably the drain. Here’s how to tell and what to do.
Sizing an oxidizing filter? Iron Filter Sizing Calculator Open →
Find the source in five minutes
| What you notice | Likely source | First fix |
|---|---|---|
| Hot water only, all taps | Water heater: bacteria + magnesium anode | Replace anode with aluminum or powered anode; disinfect tank |
| Hot and cold, all taps | Groundwater or well | Shock chlorinate; test H₂S level; add treatment if it returns |
| Only one sink or tub | Drain trap or overflow | Clean and disinfect the drain |
| Only softened taps | Bacteria in the softener | Sanitize softener; regenerate regularly |
| Strong smell when water first runs, then fades | Well, low use periods | Shock chlorinate; consider continuous treatment |
To test: run the cold water at a tap for a minute, fill a glass, step away from the sink and smell it. Then do the same with hot water. Smelling the glass rather than the sink rules out drain odors.
Why water smells like rotten eggs
Hydrogen sulfide forms in low-oxygen water in three main ways:
- Sulfate-reducing bacteria in groundwater, wells and plumbing convert naturally occurring sulfate into hydrogen sulfide. Penn State Extension notes the problem is most common in wells drilled into shale and sandstone.
- Water heater anodes. The magnesium rod that protects the tank from corrosion can drive the same reaction, especially in warm water that sits unused.
- Decaying organic matter in some aquifers, often alongside iron and manganese.
The bacteria themselves don’t cause illness, and the smell usually makes water undrinkable long before hydrogen sulfide reaches harmful levels, which is why there’s no federal health limit for it in drinking water. Hydrogen sulfide is also corrosive: it tarnishes silver and copper, blackens fixtures and can cause black stains on laundry.
Fixing a smelly water heater
- Turn off power or gas, close the cold inlet and open a hot tap to relieve pressure.
- Replace the magnesium anode with an aluminum or aluminum-zinc rod, or a powered (impressed-current) anode, which doesn’t react with sulfate at all. Penn State advises against removing the anode entirely, since it shortens tank life and may void the warranty.
- Disinfect the tank: add hydrogen peroxide or chlorine bleach per the heater manufacturer’s guidance, let it sit, then flush thoroughly.
- Raise the temperature briefly, following safety guidance, to kill bacteria if the manufacturer allows, then return it to a scald-safe setting.
If the smell returns only after vacation or low use, a powered anode is the more permanent fix.
Fixing sulfur from a well
Start with shock chlorination
Shock chlorination, pouring a measured dose of chlorine into the well and circulating it through the plumbing, kills sulfur and iron bacteria. Penn State notes the odor often returns because the bacteria regrow from the aquifer, but shock chlorination clears the system and is the right first step before buying equipment.
Then treat by concentration
| Method | Typical range | Notes |
|---|---|---|
| Activated carbon | Below about 1 mg/L | Large whole-house unit; carbon exhausts quickly at higher levels |
| Catalytic carbon | Higher than standard carbon | Needs at least 4 mg/L dissolved oxygen in the water |
| Manganese greensand / oxidizing filter | Up to about 2–3 mg/L | Also removes iron and manganese; regenerate and backwash |
| Aeration | Generally below about 2 mg/L | May form sulfur particles needing filtration; disinfect after |
| Air-injection oxidizing filter | Moderate levels | No chemicals; also removes iron |
| Continuous chlorination + filtration | Any level; common above 6 mg/L | At least 20 minutes contact; carbon after to remove chlorine |
| Potassium permanganate + filtration | Above 6 mg/L | At least 15 minutes contact; handle chemical carefully |
| Hydrogen peroxide or ozone | Moderate to high | Effective; less common in homes |
Hydrogen sulfide and iron often come together, and many oxidizing filters handle both. Our guide to removing iron from well water covers that combination and how to size backwashing filters, and carbon vs sediment filters explains carbon’s limits.
Test hydrogen sulfide on site. The gas escapes from a sample within hours. Use a lab-supplied preserved bottle or a field test kit, and test the cold water before any treatment so you size equipment for the real level.
Contact time for chlorination
Chlorine needs time to oxidize sulfide completely, which is why chlorination systems include a contact tank.
A carbon filter after the contact tank removes leftover chlorine and any sulfur particles. Our guide to chlorine vs chloramine explains chlorine dosing terms.
Other odors that aren’t hydrogen sulfide
- Chlorine or bleach smell on city water: normal disinfectant; carbon removes it.
- Musty or earthy: algae byproducts in surface supplies; carbon helps.
- Swampy or sewage-like from a well: possible iron bacteria or contamination; test for coliform bacteria.
- Metallic: iron, manganese or copper; test.
Our guide on how to test water quality at home helps decide what to test.
Hot water only
Anode swap
Aluminum or powered anode, then disinfect the tank.
Well, 0.6 mg/L
Carbon
After a shock chlorination, if it returns.
Well, 2 mg/L + iron
Oxidizing filter
Greensand-type or air injection handles both.
Well, 8 mg/L
Chlorinate + filter
20-minute contact tank, then carbon.
The bottom line
A rotten egg smell is hydrogen sulfide. If it’s only in hot water, replace the water heater’s magnesium anode with an aluminum or powered one and disinfect the tank. If it’s in hot and cold water from a well, shock-chlorinate first, then pick continuous treatment by concentration: carbon below about 1 mg/L, oxidizing filters up to 2 to 3 mg/L, and chlorination or permanganate with filtration at higher levels. If only one sink smells, clean the drain.
Frequently asked questions
Why does my hot water smell like rotten eggs but not my cold water?
The water heater is the source. Sulfate-reducing bacteria in the tank react with the magnesium anode rod and produce hydrogen sulfide. Penn State Extension recommends replacing the magnesium rod with an aluminum one, which usually stops the odor while still protecting the tank. Don't remove the anode entirely; it can shorten the heater's life and void the warranty.
Is it safe to drink water that smells like rotten eggs?
At the low levels that cause odor in household water, hydrogen sulfide isn't usually a health hazard, and the bacteria that produce it don't cause disease. The smell makes water unpleasant long before it could be harmful. Still, test a well for coliform bacteria and other basics if the odor is new.
How do I get rid of sulfur smell in well water?
Shock-chlorinate the well first to kill sulfur bacteria. If the odor returns, choose continuous treatment by concentration: activated carbon below about 1 mg/L, oxidizing filters such as manganese greensand up to about 2–3 mg/L, and chlorination or potassium permanganate with filtration above about 6 mg/L.
Why does only one sink smell like rotten eggs?
It's probably the drain, not the water. Bacteria in the P-trap or overflow produce sulfur gases. Fill a glass at that tap and smell it away from the sink: if the water itself is fine, clean the drain and overflow.
Can a water softener cause a sulfur smell?
Occasionally. A softener can create conditions that help sulfate-reducing bacteria grow, especially if it sits unused. Sanitizing the softener and keeping it regenerating regularly usually fixes it.
How do I test for hydrogen sulfide?
It must be tested at the home or the sample chemically preserved before shipping, because the gas escapes quickly. Many labs supply preserved bottles; home test kits also exist. Test hot and cold water separately to locate the source.
Sources & references
Odor thresholds, causes and treatment ranges in this guide come from these references:
- Penn State Extension — Hydrogen Sulfide (Rotten Egg Odor) in Water Wells. Odor threshold, causes and treatment options by concentration.
- Minnesota Department of Health — Hydrogen Sulfide in Well Water. Sources, health information and treatment.
- U.S. Centers for Disease Control and Prevention — Guidelines for Testing Well Water. Annual testing for private wells.