Hydrogen Sulfide in Well Water — Fixing the Rotten Egg Smell

Category: Well Water
Updated: June 2026
Site: MyWellWaterTest.com

That unmistakable rotten egg smell from your well water is hydrogen sulfide gas. It is unpleasant, corrosive to plumbing, and alarming — but it is almost always fixable. Here are the 3 causes and the right fix for each.

3 Causes of Rotten Egg Smell — Each Has a Different Fix

Cause 1: Magnesium Anode Rod in Water Heater (Hot Water Only)

If only your hot water smells like rotten eggs and your cold water is fine, the cause is almost certainly the magnesium anode rod in your water heater. The rod reacts with sulfur compounds in the water to produce hydrogen sulfide gas.

Fix: Replace the magnesium anode rod with an aluminum/zinc combination anode rod ($20–$40 at hardware stores). This eliminates hot-water-only sulfur smell in the vast majority of cases — immediately and permanently.

Cause 2: Sulfur-Reducing Bacteria in the Well

If both hot and cold water smell, sulfur-reducing bacteria living in the well casing, pump, or water softener are the likely source. These bacteria feed on sulfates in the water and produce H2S as a byproduct.

Fix: Shock chlorinate the well — see the full Shock Chlorination Guide for the complete process. If the smell returns within months, a continuous treatment system is needed.

Cause 3: Naturally Occurring Sulfur in the Aquifer

In some regions, groundwater naturally contains high sulfate levels. Shock chlorination provides only temporary relief. The smell returns because it is coming from the water source itself, not from bacteria.

Fix: An oxidizing filter using air injection or hydrogen peroxide injection oxidizes and removes H2S before it reaches your tap. Cost: $800–$2,500 installed. This is the permanent solution for naturally high-sulfur water.

Is Hydrogen Sulfide Dangerous?

At typical residential well concentrations (under 1 mg/L), hydrogen sulfide in water is unpleasant but not a health hazard for drinking. At higher concentrations it can cause nausea. The primary concerns are the corrosive effect on copper plumbing and appliances, and the bacterial contamination that may accompany it.

Diagnose before treating. A $30 hydrogen sulfide test kit confirms whether H2S is present and at what level. Combined with identifying whether only hot or both hot and cold water smell, this tells you which of the three fixes applies to your situation.

If You Have a Water Softener

Water softeners create low-oxygen environments that sulfur bacteria love. If the smell is worse after periods of no water use or started after installing a softener, sanitize the softener resin with a bleach solution per the manufacturer's instructions. Increasing the regeneration frequency also reduces bacterial growth in the resin tank.

Frequently Asked Questions

Why does only my hot water smell like rotten eggs?

If cold water is fine but hot water smells sulfurous, the cause is almost always the magnesium anode rod in your water heater reacting with sulfur compounds. Replacing it with an aluminum/zinc combination anode rod ($20-$40) usually fixes it immediately and permanently.

Why does all my well water smell like rotten eggs, hot and cold?

If both hot and cold water smell, sulfur-reducing bacteria living in the well casing, pump, or softener are the likely cause. Shock chlorinating the well (1-2 quarts of unscented bleach into the casing, let sit 12-24 hours, then flush) typically kills the bacteria and eliminates the smell.

I shock chlorinated my well but the rotten egg smell came back — what now?

If the smell returns within months of shock chlorination, it's likely naturally occurring sulfur in the aquifer rather than bacteria. Chlorination only gives temporary relief in that case — you'll need an oxidizing filter (air injection or hydrogen peroxide injection) to remove hydrogen sulfide continuously.

Is hydrogen sulfide in well water dangerous to drink?

Hydrogen sulfide gas is unpleasant and corrosive to plumbing, but the rotten egg smell itself is not typically a direct drinking-water health hazard at the levels usually found in wells — it's mainly an aesthetic and plumbing-corrosion issue, though very high concentrations warrant professional evaluation.

How do I know which of the 3 causes is behind my rotten egg smell?

Check whether only hot water smells (anode rod), both hot and cold smell but improve after shock chlorination (bacteria), or both smell and the odor returns despite chlorination (naturally occurring sulfur in the aquifer, needing an oxidizing filter).

Decode Your Test Results — Free

Use our free decoder to understand what your well water test results mean.

Use the Free Decoder →
Recommended Product
iSpring Iron & Sulfur Whole House Filter
Removes iron, manganese, H2S • View on Amazon →