Affiliate disclosure: Some links on this page are affiliate links. If you buy through them, we may earn a commission at no extra cost to you. Product details on this page come from manufacturer specs and certification data, not hands-on testing. Learn more.
The short answer: If only your hot water smells like rotten eggs, the water heater is almost always the cause, not the well. Sulfate in the water reacts with the heater’s magnesium anode rod, and sulfur bacteria that like warm water add to it, making hydrogen sulfide gas. Replacing the magnesium rod with an aluminum or zinc one usually fixes it. If the cold water smells too, the problem starts in the well, and our guide Rotten Egg Smell in Well Water covers that.
First, make sure it’s the heater
Wait until the water has sat for a few hours, such as first thing in the morning. Then run the cold water at a sink, smell it, and do the same with the hot.
| What you notice | What it usually means | Next step |
|---|---|---|
| Only the hot water smells, at every hot tap | The water heater | The fixes on this page |
| Hot and cold both smell | Sulfur bacteria or hydrogen sulfide in the well or plumbing | The hot and cold tap test in our guide Rotten Egg Smell in Well Water |
| Only one sink smells | Bacteria growing in that sink’s drain | Fill a glass, step away from the sink and smell the glass. No smell in the glass means it’s the drain. |
| Hot water smells mostly after a few days away | Bacteria building up in still, warm water | Flush the heater; Wisconsin DNR notes odors are stronger after low water use |
The glass test comes from the Washington State Department of Health, which also lists bacteria in the water heater and a deteriorating heater element among the causes of a sulfur smell.
Why water heaters make the smell
The Minnesota Department of Health (MDH) describes two ways it happens. A tank water heater is a warm, quiet place where sulfur bacteria can live. And most tanks have a magnesium anode rod, a metal rod that slowly wears away so the tank itself doesn’t rust. MDH says the magnesium can supply the electrons that help turn sulfate in the water into hydrogen sulfide. Well water with some sulfate is the usual setup.
Is it harmful? MDH says sulfur bacteria are not harmful, but hydrogen sulfide gas can be harmful in air at high levels. Wisconsin DNR says the gas can harm people, but not at the levels bacteria produce in wells. Because a sulfur smell can rarely come from sewage or other pollution, MDH recommends testing for coliform bacteria and nitrate.
Fix 1: Change the anode rod
MDH suggests replacing the magnesium anode with one made of another material, such as aluminum, which it says may protect the tank without adding to the gas. Wisconsin DNR lists zinc or aluminum rods and recommends a licensed plumber for the job. It also notes this reduces the smell but doesn’t eliminate sulfur bacteria, so you may still need Fix 2.
| Anode type | How it helps | Things to know |
|---|---|---|
| Aluminum or aluminum/zinc | Named by MDH and Wisconsin DNR as a replacement for magnesium | Fixes the smell in many homes. Bacteria can remain, so the tank may still need flushing. |
| Powered anode | Uses a small electric current instead of a metal that wears away | An industry option the health departments don’t mention. It needs an outlet near the heater; ask a plumber whether it suits your model. |
| No anode | Not recommended | MDH warns that removing the anode “may significantly decrease the life of the water heater.” |
- Check your heater’s manual and warranty before changing the anode. Some makers specify which anode to use.
- Turn off the power or gas and the cold water supply, and relieve the pressure before removing the old rod. The rod is usually under a cap on top of the heater and can be very tight.
- Measure the space above the heater. Flexible, segmented rods fit where a straight rod won’t.
Fix 2: Kill the bacteria in the tank
MDH describes two ways to clear sulfur bacteria from a water heater: disinfect and flush it with a chlorine bleach solution, or heat it to 160°F (71°C) for several hours and then flush it. If any bacteria survive, MDH says the smell can come back within a few weeks, which is why the anode change usually matters more.
Leave the heat and chlorine treatments to a plumber unless you know water heaters well. MDH says raising the temperature “can be dangerous”: check with the manufacturer that the pressure relief valve works, and turn the thermostat back down afterward to prevent scalding. Wisconsin DNR says not to try it at all on a heater without a pressure relief valve.
Fix 3: If the cold water smells too
Then the gas or bacteria are coming from the well, and fixing the heater alone won’t last. Our guide Rotten Egg Smell in Well Water walks through the cold-water causes. Sulfur bacteria in the well are usually treated first with shock chlorination (see Coliform Bacteria in Well Water). Hydrogen sulfide in the groundwater needs a whole-house system matched to your level.
For example, Kind Water rates its WS-CIS chemical oxidation system for up to 6 ppm hydrogen sulfide, SpringWell rates its WS air-injection filter for up to 8 ppm, and US Water Systems rates its Matrixx InFusion peroxide system for up to 30 ppm (manufacturer specs as of October and November 2026; we haven’t tested these systems). Pick a model rated well above your level, with your iron, manganese and pH within its specs too. Kind Water WS-CIS · SpringWell WS · US Water Systems Matrixx InFusion
When to call a professional
Call a licensed plumber to change the anode if you’re not comfortable draining and depressurizing the heater, for any heat or chlorine treatment, and for a leaking or rusting tank. Call a licensed well contractor if the cold water smells and shock chlorination doesn’t hold, or if you see slime in the toilet tank (see Iron Bacteria in Well Water).
Not sure what’s in your water? A lab panel with sulfate, iron and manganese shows whether the smell is likely to come back and which system fits. Tap Score well water tests · EPA’s list of state-certified lab programs
Already have results? Test Result Decoder
Free printable: the Annual Well Checklist puts what to test, inspect and replace each year on one page. Enter your email and we’ll send it.
Frequently asked questions
Usually because of the water heater. The Minnesota Department of Health says sulfate in the water can react with the heater’s magnesium anode rod, and sulfur bacteria can grow in the warm tank, making hydrogen sulfide gas. If the cold water smells too, the source is the well or plumbing instead.
The Minnesota Department of Health suggests replacing the magnesium anode with another material such as aluminum, and Wisconsin DNR lists zinc or aluminum rods. Some owners use a powered anode. Don’t remove the anode entirely: MDH says that can significantly shorten the heater’s life.
MDH says sulfur bacteria are not harmful, though hydrogen sulfide gas can be harmful in air at high levels. Because a sulfur smell can rarely come from sewage or other pollution, MDH recommends testing the water for coliform bacteria and nitrate.
Keep reading: Well Water Problems and Fixes
Sources
- Minnesota Department of Health, Hydrogen Sulfide and Sulfur Bacteria in Well Water
- Wisconsin Department of Natural Resources, My Water Smells Like Rotten Eggs (drinking water symptom sheet)
- Washington State Department of Health, Color, Taste and Odor Problems in Drinking Water (fact sheet 331-286)
- CDC, Guidelines for Testing Well Water
- Kind Water, Chemical Oxidation System with Backwashing Catalytic Carbon Filter (WS-CIS) product page
- SpringWell, Whole House Well Water Filter (WS) product page
- US Water Systems, Matrixx InFusion product page

