Rotten egg smell in well water: what causes it and how to fix it
The smell is hydrogen sulfide gas. Where it is coming from decides whether you replace a part in your water heater or treat the whole house.
That rotten egg smell is hydrogen sulfide gas dissolved in your water, and it comes from one of three places: sulfur bacteria living in your well or plumbing, a chemical reaction inside your water heater, or hydrogen sulfide that is already present in the groundwater. Each one has a different fix, and two of the three do not need a treatment system at all.
You can narrow it down in about five minutes without a test kit, by paying attention to which taps smell and whether the smell fades while the water runs. Penn State Extension notes that most people detect hydrogen sulfide well below 0.5 mg/L, which is why the smell arrives long before anything shows up on a standard water panel. The EPA sets no national primary drinking water standard for hydrogen sulfide; odor sits under a secondary standard of 3 threshold odor number, which the EPA does not enforce.
This is the system for the third case, where the gas is in the groundwater itself. Work through the table first, because a water heater problem is far cheaper to fix.
| What you notice | What it points to | How to confirm | What fixes it |
|---|---|---|---|
| Hot taps only | The water heater | Run a cold tap for a minute and smell it. No odor cold means the heater is the source. | Replace the magnesium anode rod, or disinfect and flush the tank |
| Cold taps too, fades as it runs | Sulfur bacteria in the well or plumbing | Let a cold tap run several minutes. A smell that weakens points at bacteria rather than the water itself. | Shock chlorination of the well, repeated if it returns |
| Cold taps, does not fade | Hydrogen sulfide in the groundwater | Odor stays steady no matter how long the water runs. Confirm with a lab test. | A whole-house oxidizing system sized to your measured level |
| Only taps fed by the softener | Bacteria growing in the softener | Compare a tap upstream of the softener with one downstream. | Disinfect the softener per its manual |
| Diagnostic sequence adapted from the Minnesota Department of Health guidance on hydrogen sulfide and sulfur bacteria in well water. | |||
Two homes with the same smell can need completely different work. This is the step most people skip.
It is the heater if
The smell is in hot water and nowhere else. A magnesium anode rod inside the tank can chemically reduce sulfates to hydrogen sulfide, which is why the gas appears in the tank and not in the supply.
It is bacteria if
Cold water smells at first and gets better as it runs, or the odor comes and goes week to week. Sulfur bacteria live in the well, the plumbing, or the softener, and they leave a slime that can clog fixtures.
It is the water if
Cold water smells the same after several minutes of running, every day, at every tap. The gas is dissolved in the groundwater, and nothing short of treating the incoming supply will change it.
Start with the water heater, because it is the cheapest thing to rule out
If only the hot taps smell, the supply coming into your house is fine and the reaction is happening inside the tank. Most water heaters carry a magnesium anode rod to protect the steel lining from corroding. Penn State Extension describes how that rod can chemically reduce sulfates in the water to hydrogen sulfide, which is a well-documented side effect of a part that is otherwise doing its job.
There are three common fixes. Swapping the magnesium rod for an aluminum one keeps the corrosion protection while removing the reaction that makes the gas. Disinfecting and flushing the tank clears out bacteria that may have colonized it. The Minnesota Department of Health also lists raising the tank temperature to 160 degrees Fahrenheit as a way to kill sulfur bacteria inside the heater, though water that hot will scald quickly, so a tempering valve and a return to a safe setting afterward are part of doing it properly.
Removing the anode rod entirely will stop the smell and will also shorten the life of the tank, so treat that as a last resort rather than a fix.
Sulfur bacteria in the well and plumbing
Sulfur bacteria are not a health hazard by themselves, according to the Minnesota Department of Health, but they produce hydrogen sulfide as they grow and they leave behind a slime that can clog wells, plumbing, and irrigation lines. The tell is a smell that is strongest when a tap first opens and weakens as the water keeps running, or one that disappears for a few weeks and comes back.
The standard response is shock chlorination. Wisconsin DNR guidance puts the dose at roughly 2 gallons of 5.25 percent household bleach per 100 gallons of water in the system, held for at least 24 hours of contact time, then flushed until no chlorine smell remains. The same guidance is clear that one round often is not enough, and that stubborn cases need a licensed well driller or pump installer to physically scrub the well casing and agitate the chlorine rather than simply pouring it in.
Chlorinating a well is a job with real failure modes, including pushing bacteria deeper into the formation and damaging a pump that is not rated for it. If the smell keeps returning after two rounds, the problem is usually the well construction or a nearby source of contamination, and that is a question for your state or county well program.
Hydrogen sulfide that is in the groundwater itself
When cold water smells the same after ten minutes as it did after ten seconds, the gas is dissolved in the supply. This is common in wells drilled into bedrock where sulfur-bearing rock and decaying organic matter are part of the geology, and there is no maintenance task that will make it stop. The choice at that point is treatment or living with it.
Get a lab test for hydrogen sulfide before you shop. Concentration is what decides which technology works, and the sample has to be handled correctly because the gas escapes from an open container. Many state-certified labs supply a preservative bottle for exactly this reason. A test that also covers iron, manganese, sulfate, pH, and bacteria is worth the small extra cost, because those results change which system fits and iron very often travels with sulfur. Our guide to reading your water test results covers what each of those numbers means and the treatment category each one points to.
What each treatment method actually handles
Treatment for hydrogen sulfide is chosen by measured concentration, not by symptom severity. The published ranges from the two extension programs differ somewhat, which is a reason to size against your own test rather than a rule of thumb.
Activated carbon works at low levels only, below roughly 1 mg/L, and it holds the gas until the bed saturates and stops working. Aeration handles up to about 2 mg/L. Oxidizing filters using manganese greensand are where the two sources disagree: Penn State Extension puts their useful range at 2 to 3 mg/L, while the Minnesota Department of Health says up to about 6 mg/L. Catalytic carbon extends past what plain carbon manages but requires at least 4 mg/L of dissolved oxygen in the water to function. Above roughly 6 mg/L, Penn State points to continuous chlorination followed by filtration, or potassium permanganate with filtration.
Air injection oxidation, the approach used by the system below, sits at the upper end of this range. It draws an air pocket into the tank, oxidizes the gas as water passes through, and backwashes the pocket out, which is why it needs no chemical feed and no salt.
The system to buy when the gas is in your water
For a well with a confirmed hydrogen sulfide reading, the well-water unit is the correct product, not a city-water filter. Whole-house filters built for municipal supplies target chlorine, chloramine, and taste, and they are not designed for the oxidizing work that sulfur and iron demand. If your test also came back with hardness, the question of whether you need softening on top of filtration is covered in our guide to choosing between a softener, a filter, or both.
Well water sulfur and iron: SpringWell WS1
Size the unit against your measured levels and your household demand rather than the smell. A system rated well above your actual concentration is money spent on headroom you will not use, and one rated below it will let odor through no matter how new it is.
What the health picture actually looks like
The health question with hydrogen sulfide is mostly about the gas in air rather than the water you drink. ATSDR reports that people can smell it in air at concentrations from 0.0005 to 0.3 ppm, and that longer exposure at around 10 ppm or less can cause eye irritation, headache, and fatigue, with far more serious effects above 100 ppm. Those are airborne workplace-scale numbers, not levels a household tap produces.
The practical concern at home is that the gas comes out of solution in enclosed spaces, which is why the Minnesota Department of Health emphasizes venting rather than trapping it, and why a treatment system’s backwash discharge should not empty into a sealed room. Hydrogen sulfide also corrodes metal plumbing and leaves black stains on fixtures and silverware, which is usually what pushes people to deal with it.
Is water that smells like rotten eggs safe to drink?
The smell alone is an aesthetic problem, and the EPA regulates odor only under a non-enforceable secondary standard. That said, the smell tells you nothing about what else is in a private well, which is not covered by any federal drinking water rule. If the well has never been tested, test it for bacteria, nitrate, and the contaminants common in your area before drawing conclusions about safety.
Why does only my hot water smell?
Because the gas is being made inside the water heater rather than arriving in the supply. The magnesium anode rod that protects the tank from corrosion can reduce sulfates in the water to hydrogen sulfide. Replacing it with an aluminum rod keeps the protection and removes the reaction.
Will a water softener remove the rotten egg smell?
No. A softener exchanges hardness minerals and is not built to oxidize dissolved gas. Softeners can make the problem worse, because the tank gives sulfur bacteria a hospitable place to grow, which is why odor from only the softened taps points back at the softener itself.
Will shock chlorination fix it permanently?
Sometimes, and often not on the first attempt. Wisconsin DNR guidance notes the process may need repeating, and that difficult cases require a licensed well professional to scrub the casing and agitate the chlorine. If the gas is dissolved in the groundwater rather than produced by bacteria, chlorination will not hold at all, because there is nothing living to kill.
How much hydrogen sulfide is too much for a filter to handle?
It depends on the technology. Activated carbon runs out below roughly 1 mg/L and aeration around 2 mg/L, while oxidizing media filters cover a wider band that the extension sources put anywhere from 2 to 6 mg/L. Above that, continuous chlorination or permanganate feed with filtration becomes the usual answer. A lab number is the only way to know which band you are in.
Disclosure: this page contains affiliate links, and we may earn a commission if you buy through them, at no extra cost to you. Our recommendations are based on each system’s published specifications and the problem it is built to solve, not on commission. Contaminant figures on this page are sourced to the EPA, ATSDR, the Minnesota Department of Health, Penn State Extension, and Wisconsin DNR.