Key facts
- Hydrogen sulfide causes the rotten egg smell and is often noticeable at very low levels.Minnesota Dept. of Health: Hydrogen Sulfide and Sulfur Bacteria in Well Water
- Sulfate has a secondary (taste) standard of 250 mg/L.EPA: Secondary Drinking Water Standards
- Test for coliform bacteria and nitrate at least once a year, and after changes in taste or smell.Minnesota Dept. of Health: Well Water Testing
Quick diagnosis: three questions first
This page covers the hot-only version. If cold water smells too, read the main rotten egg page instead.
- Hot only: the heater is the likely source.
- Hot and cold: the well or the whole plumbing is the source.
- Hot only after a vacation or power cut: stale water in the tank is a common trigger.
Likely causes, most common first
- Sulfur-reducing bacteria in the tank (common). Warm, low-oxygen water is a good home for bacteria that make sulfide from sulfate in the water.
- Anode rod reaction (common). The rod protects the tank steel from rust. A magnesium rod can feed the bacteria that make the smell. Zinc-aluminum alloy and powered rods are alternatives, but check the manufacturer's guidance first.
- Low tank temperature (common). A heater turned low for savings gives bacteria room to grow.
- Sulfide already in the well water (less common for hot only). If the cold water smells slightly, heating drives off the gas and makes it more obvious.
- Sediment in the tank bottom (less common). Built-up sediment shelters bacteria and can add to the smell.
If you see this, check that
| If you see | Likely cause | Next step |
|---|---|---|
| Smell only from hot taps | Tank bacteria or anode rod | Flush tank, check rod type |
| Smell after a long unused period | Stale tank water | Flush and reheat; run hot taps for several minutes |
| Smell fades after a flush, returns weeks later | Bacteria regrowth | Raise temperature briefly, then fit a different rod |
| Cold water smells a little too | Sulfide in the well water | Treat the source; see the main sulfide page |
| Rust-colored hot water as well | Corroding tank or rod worn out | Inspect the rod; call a plumber |
Why only the hot water smells
A water heater is a warm, dark tank that holds water for hours. That is a friendly home for sulfate-reducing bacteria, which turn the sulfate found in many well waters into hydrogen sulfide gas. Cold water never sits in a warm tank, so it stays clear of the smell.
The anode rod adds a second factor. It is a metal rod that corrodes on purpose so the tank steel does not. When it corrodes, it releases hydrogen, which the bacteria can use as food. That is why plumbers often suggest a rod made from a different alloy, or a powered rod that does not corrode the same way.
If your water has very little sulfate, the problem is usually smaller. If the smell comes back each time you flush the tank, bacteria are probably regrowing, and you may need to treat the water before it reaches the heater.
Simple checks you can do today
- Confirm hot onlyRun only the hot tap at two sinks, then only the cold. Smell each in a clean glass.
- Check the temperature settingNote the thermostat setting. Never raise it past the manufacturer's maximum, and keep scald risk in mind with children or older adults.
- Flush the tankWith the power or gas off and the manufacturer's directions in hand, drain several gallons from the bottom valve to a floor drain or outside.
- Look at the anode rodA plumber can pull the rod. A rod that is mostly eaten away is overdue for replacement anyway.
- Retest the smellAfter flushing and reheating, smell the hot water again over the next few days.
What to test for
Treating the heater does not require a lab test, but a bacteria test is smart if the smell is new.
- Total coliform and E. coli, to rule out contamination of the supply.
- Sulfate, if you want to know how much material the bacteria have to work with.
- Iron, because iron can add black or rust staining on top of the smell.
- Ask for sulfate and iron, since sulfate is the food the tank bacteria use.
A lab will not diagnose a heater, so use your own senses over a week. If the smell vanishes for two to four weeks after a flush and returns, the tank is regrowing bacteria. If the smell never fully leaves, the anode rod is likely driving it. If the smell is faint in cold water too, the well carries sulfide and the heater only makes it obvious. Also note whether the heater sits unused for stretches, such as a vacation home, because stagnant warm water is where bacteria multiply fastest.
Fixes, from cheap to expensive
- Flush the tank bottom to remove sediment.
- Raise the heater temperature briefly to reduce bacteria, if the manual allows, then return it to a safe setting.
- Replace a magnesium anode rod with another type, if the warranty and manufacturer allow it.
- Disinfect the tank with a bleach solution following the manufacturer's directions.
- Add whole-house sulfide treatment if the cold water smells too.
- Replace the tank if it is old and corroding.
Replacing an anode rod is a plumber's job on most tanks because the rod sits under a hex head on top and needs clearance to lift out. Ask whether the new rod type is compatible with the tank warranty, and whether the tank is old enough that replacement is the wiser spend. A powered anode needs an electrical connection, so it should be installed by someone licensed to do it.
When it is a safety issue
Questions people ask
Why does my water heater smell like rotten eggs?
Bacteria in the tank can turn sulfate in the water into hydrogen sulfide, and some anode rods make that easier. The smell shows only in hot water because the tank is the source.
Is the rotten egg smell from my water heater dangerous?
The sulfide level from a heater is typically a nuisance, not a poison. Still test your supply for bacteria if the smell is new.
Does replacing the anode rod stop the smell?
It often helps when a magnesium rod is the trigger, but results vary, so combine it with a flush and clean tank.
Can I just turn the heater off?
Turning it off does not fix the cause. Flush the tank and fix the conditions that let bacteria grow instead.
Sources
- Minnesota Dept. of Health: Hydrogen Sulfide and Sulfur Bacteria in Well Water
- Penn State Extension: Hydrogen Sulfide (Rotten Egg Odor) in Water Wells
- EPA: Secondary Drinking Water Standards
- Minnesota Dept. of Health: Well Water Testing
This page explains general practice for US private wells. Check your state's rules on the state pages, use a certified lab for testing, and hire a licensed well contractor for electrical or well work. See our editorial policy.
Still not sure what to do?
Ask us about your situation. A real person reads every question.
Thanks, we have your question.
We read every message and reply by email, usually within a few working days. If it is urgent (sickness, a positive E. coli test, or a flooded well), use bottled water and call your county or state health department now.

