# Why Does My Water Smell Like Rotten Eggs?

> Rotten egg water is hydrogen sulfide: from sulfur bacteria, the well, or a water heater's magnesium anode. 2-minute check and the fixes Penn State lists.

Canonical: https://prezzo.top/why-does-my-water-smell-like-rotten-eggs/
Last updated: 2026-11-29

Written by [Prezzo Editorial Team](https://prezzo.top/authors/prezzo-editorial-team/)

Water filters, softeners and water heaters

Last updated November 29, 2026

The rotten egg smell is hydrogen sulfide gas. It has 3 usual sources: sulfur-reducing bacteria in a well or plumbing, the groundwater itself, or a water heater's magnesium anode rod reacting with sulfate ([Penn State Extension](https://extension.psu.edu/hydrogen-sulfide-rotten-egg-odor-in-water-wells)). If only the hot water smells, start with the [anode rod](https://prezzo.top/water-heater-anode-rod/); if every tap smells, measure the level first, and see our [water testing kit](https://prezzo.top/best-water-test-kit/) guide for what to test.

Rotten egg water at a glance
| If you notice | Likely source and first step |
| --- | --- |
| Smell in hot water only | Water heater magnesium anode; swap for aluminum |
| Smell in hot and cold | Well water or sulfur bacteria; test the level |
| Below about 1.0 mg/L | Activated carbon may work (Penn State) |
| Up to 2-3 mg/L | Oxidizing (greensand) filter |
| Above 6.0 mg/L | Chlorination or potassium permanganate |

**Affiliate disclosure:** As an Amazon Associate, Prezzo earns from qualifying purchases. Links marked "Check Price" are affiliate links; they never change our rankings. [How we make money](https://prezzo.top/affiliate-disclosure/)

## 1. Where the Rotten Egg Smell Comes From

The smell has one name: hydrogen sulfide. The gas stays dissolved under pressure and comes out of the water once it reaches open air, which is why you notice it most in a running shower or a freshly filled glass. Where the gas comes from is the part that decides the fix, and there are three usual sources.

### Sulfur-Reducing Bacteria in the Well

Penn State Extension describes hydrogen sulfide as occurring naturally in groundwater as a result of sulfur-reducing bacteria, which thrive where there is little oxygen, such as wells and household plumbing ([Penn State Extension](https://extension.psu.edu/hydrogen-sulfide-rotten-egg-odor-in-water-wells)). It notes the problem is most common in wells drilled into acidic bedrock such as shale and sandstone. These bacteria are a nuisance organism, not a disease-causing one, but they keep producing gas as long as they have sulfate and a low-oxygen home.

### The Water Heater's Magnesium Anode

Most tank water heaters have an anode rod: a metal rod meant to corrode first, protecting the steel tank. Penn State explains that a magnesium rod can chemically reduce sulfates in the water to hydrogen sulfide. Warm water, sulfate and a magnesium anode together are a common recipe for a heater that smells while the cold taps are fine. Our [water heater anode rod](https://prezzo.top/water-heater-anode-rod/) guide explains how the rod works and how to reach it.

### Water Softeners, Occasionally

Penn State also notes that a water softener can, rarely, add to the problem by giving bacteria a favorable environment. It is not the usual cause, but if the smell started after a softener went in, mention it to whoever services the unit.

### Not Every Bad Smell Is Hydrogen Sulfide

A swampy, musty or sewage-like odor can point to other organisms, such as iron bacteria, which the [Minnesota Department of Health](https://www.health.state.mn.us/communities/environment/water/wells/waterquality/ironbacteria.html) lists with those kinds of smells. A rotten egg smell specifically is the hydrogen sulfide signature. If your water also leaves orange stains, read our guide to [iron in well water](https://prezzo.top/iron-in-well-water/), because iron and sulfur often travel together in wells.

## 2. Hot Water Only or Every Tap? The 2-Minute Check

One quick test at the sink splits the problem in half. You need a faucet that delivers both hot and cold, and a nose.

### Run the Cold Water First

Open the cold tap fully for a minute, then fill a glass and smell it straight away. If the cold water has no odor, the well water itself is probably not the source. If it smells, the gas is already in the water before it reaches the heater.

### Then Run the Hot Water

Do the same with the hot side. A strong smell from hot water and none from cold is the classic water heater pattern: the anode is turning sulfate into hydrogen sulfide inside the tank. Note how strong it is, so you can tell later whether a fix worked.

### If Both Smell

Odor in hot and cold water points to the groundwater or bacteria in the well or plumbing. That calls for a measured level and a treatment matched to it, covered in sections 5 and 6. The heater may still add to the smell, so fix the anode too if the hot side is noticeably worse.

### If Only One Fixture Smells

A single sink that smells while the rest of the house is fine can be a drain issue rather than the water. Fill a glass and step away from the sink before you smell it. If the water in the glass is odorless, look at the drain trap, not the water supply.

## 3. Is Water That Smells Like Rotten Eggs Safe?

We only report what the sources we checked say here, because "safe" is a health question and we are not a health authority.

### What Penn State Says

Penn State Extension says sulfur-reducing bacteria do not cause human health concerns. It describes hydrogen sulfide as poisonous and flammable as a gas, but notes that people usually smell it long before it reaches a level that is a health risk. It also explains that hydrogen sulfide has no drinking water standard, because the odor makes the water unpleasant to drink well before then. Most people can detect it well below 0.5 mg/L.

### Why the EPA Still Wants You to Test

A smell is a sign something is going on in the well. The EPA lists an objectionable taste or smell as a reason to test for hydrogen sulfide, and it recommends testing every private well every year for pH, nitrates, total dissolved solids and total coliform bacteria, plus testing whenever you notice a change in water quality ([EPA](https://www.epa.gov/privatewells/protect-your-homes-water)). The smell does not tell you whether harmful bacteria or nitrate are present; only a test does. Our guide to [coliform bacteria in well water](https://prezzo.top/coliform-bacteria-in-well-water/) explains those results.

### Odor and Sulfate Under the Secondary Standards

The EPA's secondary standards are non-enforceable guidelines for nuisance qualities. They include an odor guideline of 3 threshold odor number and a sulfate guideline of 250 mg/L ([EPA](https://www.epa.gov/sdwa/secondary-drinking-water-standards-guidance-nuisance-chemicals)). They are not health limits, but they show that the EPA treats odor as a quality problem worth fixing.

## 4. Fixing a Water Heater That Smells

If the smell is in the hot water only, the fix is usually inside the tank, and it is one of the cheaper water problems to solve.

### Swap the Magnesium Anode for Aluminum

Penn State says replacing the magnesium rod with an aluminum one should eliminate the rotten egg odor while keeping corrosion protection for the tank. Anode rods cost $20 to $50 for the part, and $200 to $300 with a plumber doing the work, according to [Bob Vila](https://www.bobvila.com/articles/anode-rod-replacement/). Check your heater's manual for the rod type and the warranty terms before you buy a replacement.

### Why Not Just Remove the Anode

Taking the anode out stops the reaction, and Penn State lists it as one way to end hot-water odor. It also warns that doing so increases corrosion, shortens the heater's life and will likely void the manufacturer's warranty. The anode is the part that keeps the tank from rusting through; removing it trades a smell for a shorter-lived heater.

### Where Flushing Fits

Flushing a tank clears sediment, and it is good maintenance; our guide on [how to flush a water heater](https://prezzo.top/how-to-flush-a-water-heater/) covers the steps. It is not one of the fixes Penn State lists for hydrogen sulfide in hot water, so do not expect a flush alone to end the smell if the anode is the cause.

### If the Heater Is Old Anyway

If your heater is near the end of its life, the smell may be a good moment to plan its replacement. Our [how long do water heaters last](https://prezzo.top/how-long-do-water-heaters-last/) guide helps you judge that, and when you buy a new heater, ask about its anode type if your water has sulfate.

## 5. Treating Hydrogen Sulfide in Well Water

When the cold water smells too, the treatment depends on how much hydrogen sulfide is in it. Penn State Extension matches each method to a range. This table summarizes its guidance in our words; read the source for detail.

| Method | Hydrogen sulfide range (Penn State) | Notes |
| --- | --- | --- |
| Activated carbon filter | Below about 1.0 mg/L | Simple; low levels only |
| Catalytic carbon | Higher than plain carbon | Needs at least 4.0 mg/L dissolved oxygen in the water |
| Aeration | Not normally used above about 2 mg/L | Strips the gas out of the water |
| Oxidizing filter (manganese greensand) | Up to 2-3 mg/L | Often sold as an iron filter |
| Potassium permanganate filtration | Recommended above 6.0 mg/L | Chemical feed plus filter |
| Chlorination | Any level; most often above 6.0 mg/L | Usually followed by carbon to remove leftover chlorine |
| Ion exchange | No range given | Works like a softener; adds chloride |

### Low Levels: Carbon

For a faint smell, Penn State says activated carbon filtration may be effective below about 1.0 mg/L. Catalytic carbon handles more, but only if the water has enough dissolved oxygen. A carbon filter on a strong sulfur problem will exhaust quickly, so it pays to know the level before you buy one.

### Middle Levels: Oxidizing Filters and Aeration

Oxidizing filters such as manganese greensand can remove up to 2-3 mg/L, per Penn State, and the Minnesota Department of Health lists oxidation filtration as reducing hydrogen sulfide, iron and manganese ([Minnesota Department of Health](https://www.health.state.mn.us/communities/environment/water/docs/wells/waterquality/arsenictreat.pdf)). That department's 2017-based estimate for a whole-house oxidation filtration unit was $1,500 to $3,000 to install, with about $100 a year in upkeep. Aeration works too, but Penn State says it is not normally used much above 2 mg/L.

### High Levels: Chlorination or Permanganate

Penn State says chlorination can handle any level of hydrogen sulfide and is most often used above 6.0 mg/L, usually followed by a carbon filter to remove leftover chlorine. Potassium permanganate filtration is its other recommendation above that level. Both involve chemical feed, so they are usually installed by a water treatment professional.

### Shock Chlorination Is a Short-Term Step

A one-time shock chlorination of the well can knock back sulfur-reducing bacteria, but Penn State says that in most cases the bacteria and the odor return quickly afterward. It can be useful to confirm the cause; it is rarely the permanent fix. For whole-home equipment options, see our [well water filter](https://prezzo.top/best-water-filter-for-well-water/) guide.

## 6. How to Test for Hydrogen Sulfide

Hydrogen sulfide is tricky to measure because it leaves the water as gas. A sample that sits in a bottle for a day can lose most of what you are trying to measure.

### Test at Home or Preserve the Sample

Penn State says hydrogen sulfide testing must be done in the home, or the sample must be chemically stabilized before it goes to a commercial lab. Ask the lab for its hydrogen sulfide kit and instructions before you collect anything.

### Test the Basics at the Same Time

While you are sampling, run the yearly tests the EPA recommends: pH, nitrates, total dissolved solids and total coliform bacteria. Penn State's lab, for example, charges $40 for a total coliform and E. coli test ([Penn State Agricultural Analytical Services Lab](https://agsci.psu.edu/aasl/water-testing/drinking-water-testing)). Private labs charge $50 to $500 or more depending on the panel ([CostHelper](https://home.costhelper.com/water-treatment.html)). Iron, manganese and hardness results help choose the right equipment, because they affect how oxidizing filters and softeners behave. Our [well water testing](https://prezzo.top/how-to-test-well-water/) guide walks through the whole process.

### Use a Certified Laboratory

The EPA says to use only laboratories certified for drinking water testing, and notes that your local health department may offer private well testing, sometimes for free. A home [water testing kit](https://prezzo.top/best-water-test-kit/) is useful for quick checks, but treatment decisions should rest on a lab number.

## 7. What to Do, in Order

Here is the sequence that wastes the least money, based on the sources above.

### Step 1: Check Hot vs Cold

Run each separately and smell a glass from each. Hot only means the water heater; both means the water.

### Step 2: Fix the Heater if It Is the Source

Replace the magnesium anode with an aluminum one, following your heater's manual and warranty terms, or hire a plumber for it. Avoid removing the anode altogether.

### Step 3: Measure Before You Treat the Well

For cold-water odor, get a hydrogen sulfide result from a preserved sample or an in-home test, along with the EPA's yearly basics. The number tells you which row of the treatment table applies.

### Step 4: Match the Treatment to the Level

Carbon for faint odor, an oxidizing filter for moderate levels, chlorination or permanganate for strong ones. Get quotes that state which range the equipment is designed for, and retest after installation to confirm the smell, and the hydrogen sulfide, are gone.

## 8. Frequently Asked Questions

### Can a water heater anode rod cause a rotten egg smell?

Yes. Penn State Extension explains that a water heater's magnesium rod can chemically reduce sulfates to hydrogen sulfide. If only the hot water smells, the heater is the likely source. Penn State says replacing the magnesium rod with an aluminum one should end the odor while keeping corrosion protection. See our [water heater anode rod](https://prezzo.top/water-heater-anode-rod/) guide.

### Will a water softener fix a sulfur smell?

Not as a rule. Penn State notes a water softener can occasionally give sulfur-reducing bacteria a favorable home, and the hydrogen sulfide treatments it lists are oxidizing filters, aeration, chlorination, activated or catalytic carbon and ion exchange, each for a range of levels. Treat the smell for what the test shows, not with the softener you already have.

### Does a whole house water filter remove sulfur smell?

A plain carbon whole-house filter helps only at low levels: Penn State says activated carbon may work below about 1.0 mg/L of hydrogen sulfide. Above that, its list moves to catalytic carbon, oxidizing filters (up to 2-3 mg/L), and chlorination or potassium permanganate for higher levels.

### Do I need a well water filtration system for rotten egg water?

Only if the odor is in the cold water too. If just the hot water smells, the fix is usually in the water heater. If every tap smells, a measured hydrogen sulfide level decides which system fits; our [well water filtration system](https://prezzo.top/best-water-filter-for-well-water/) guide covers the setups.

### Is well water testing needed for a rotten egg smell?

Yes, for two reasons. The EPA lists an objectionable taste or smell as a reason to test for hydrogen sulfide, and it recommends testing a private well every year for pH, nitrates, total dissolved solids and total coliform bacteria. Penn State notes hydrogen sulfide must be tested in the home or in a chemically preserved sample.

### Can an iron filter for well water remove a rotten egg smell?

Often, within its range. The oxidizing filters sold as iron filters (manganese greensand) can remove up to 2-3 mg/L of hydrogen sulfide according to Penn State, and the Minnesota Department of Health lists oxidation filtration as reducing hydrogen sulfide, iron and manganese. Above that range, Penn State points to chlorination or potassium permanganate.

### Should I learn how to flush a water heater to stop the smell?

Flushing is regular maintenance, and our [how to flush a water heater](https://prezzo.top/how-to-flush-a-water-heater/) guide covers it. It is not one of the fixes Penn State lists for hot-water odor, though. Those are replacing the magnesium anode with an aluminum one, or removing the anode, which Penn State warns will likely void the warranty.

## 9. Common Mistakes That Waste Money on Rotten Egg Water

### Treating the Whole House for a Hot-Water Problem

If only the hot taps smell, the source is usually the water heater's magnesium anode, a part that costs $20 to $50 according to Bob Vila. Check hot and cold separately before pricing a whole-house treatment system.

### Pulling the Anode Rod Out for Good

Removing the anode stops the reaction, but Penn State warns it can increase corrosion, shorten the heater's life and will likely void the manufacturer's warranty. Replace it with an aluminum rod instead.

### Buying Treatment Before Measuring the Level

Every treatment Penn State lists works only up to a certain hydrogen sulfide level, from below 1.0 mg/L for activated carbon to any level for chlorination. A measured number decides which one fits.

### Shock Chlorinating and Calling It Fixed

Shock chlorination can knock back sulfur-reducing bacteria, but Penn State says the bacteria and the odor usually return quickly. Treat it as a test of the cause, not the cure.

## Everything Else About Water Testing

-   [Water Testing Kit](https://prezzo.top/best-water-test-kit/)
-   [Well Water Testing](https://prezzo.top/how-to-test-well-water/)
-   [PFAS Water Filter](https://prezzo.top/pfas-water-filter/)
-   [Lead Water Filter](https://prezzo.top/lead-water-filter/)
-   [Lead Test Kit](https://prezzo.top/best-lead-test-kit/)
-   [Tds Meter](https://prezzo.top/best-tds-meter/)
-   [Water Quality Report](https://prezzo.top/how-to-read-a-water-quality-report/)
-   [Nitrates in Well Water](https://prezzo.top/nitrates-in-well-water/)
-   [Water Hardness Test Kit](https://prezzo.top/best-water-hardness-test-kit/)
-   [Arsenic in Well Water](https://prezzo.top/arsenic-in-well-water/)
-   [Iron in Well Water](https://prezzo.top/iron-in-well-water/)
-   [Coliform Bacteria in Well Water](https://prezzo.top/coliform-bacteria-in-well-water/)
-   [Water Hardness Test](https://prezzo.top/how-to-test-water-hardness/)

## Related Water Testing Guides

The guides readers of this page open next.

[Water Testing Kit](https://prezzo.top/best-water-test-kit/) · [Nitrates in Well Water](https://prezzo.top/nitrates-in-well-water/)[Arsenic in Well Water](https://prezzo.top/arsenic-in-well-water/)[Iron in Well Water](https://prezzo.top/iron-in-well-water/)[Coliform Bacteria in Well Water](https://prezzo.top/coliform-bacteria-in-well-water/)[Well Water Testing](https://prezzo.top/how-to-test-well-water/)[PFAS Water Filter](https://prezzo.top/pfas-water-filter/)[Is Reverse Osmosis Water Good for You](https://prezzo.top/is-reverse-osmosis-water-healthy/)

## The Bottom Line

A rotten egg smell is hydrogen sulfide. Run hot and cold separately: hot-only points to the water heater's magnesium anode (see our [water heater anode rod](https://prezzo.top/water-heater-anode-rod/) guide), while every tap points to the well water itself.

For a well, measure the hydrogen sulfide level and pick the treatment Penn State matches to it, and run the yearly bacteria and nitrate tests the EPA recommends while you are at it. A [water testing kit](https://prezzo.top/best-water-test-kit/) handles the basics; a certified lab handles the rest.

About the Author

[Prezzo Editorial Team](https://prezzo.top/authors/prezzo-editorial-team/), Water filters, softeners and water heaters

The Prezzo editorial team writes every guide from public certification listings (NSF, ENERGY STAR), manufacturer spec sheets and dated prices. No paid placements, no lab claims.

[Full profile](https://prezzo.top/authors/prezzo-editorial-team/) | [How we research](https://prezzo.top/how-we-research/)

## Related

- [Home](https://prezzo.top/)
- [Water Testing & Contaminants](https://prezzo.top/water-testing/)
