Home All Guides 🏠 Home & House 🚗 Car & Vehicle 🧬 Body & Health 🍳 Food & Kitchen 🐾 Pets & Animals 🔧 Water & Plumbing

Why Does My Hot Water Smell Bad?

When only hot water smells (and cold water is fine), the problem is your water heater.

Easy FixUsually harmless. A simple cleanup or maintenance step should take care of it.
Easy Fix

Usually harmless. A simple cleanup or maintenance step should take care of it.

/At a glance
Most Likely Cause
Anode Rod Reaction with Bacteria
82%
Verdict
Easy Fix
Typical Cost
$0
Fix Time
15 – 30 min
Safety Risk
Low

The Short Answer

When only hot water smells (and cold water is fine), the problem is your water heater. The most common cause is the magnesium anode rod reacting with bacteria to produce hydrogen sulfide gas. Replacing the anode with an aluminum/zinc rod or a powered anode eliminates the smell. Flushing the tank and raising the temperature to 140°F temporarily kills bacteria.

Most Likely Causes (Ranked)

1

Anode Rod Reaction with Bacteria

Very Likely82%

Water heaters have a magnesium anode rod that prevents tank corrosion. Sulfate-reducing bacteria in the water react with the magnesium and dissolved sulfates to produce hydrogen sulfide gas — the rotten egg smell.

Why it happens
Water heaters have a magnesium anode rod that prevents…
How to tell
Typical cost
$0
Fix difficulty
Easy
Fix time
5 – 10 min
How to tell
✓Only hot water smells — cold is fine.
✓Smell is rotten eggs/sulfur.
✓Worse when water heater hasn't been used for a while.
✓Common with well water.
2

Low Water Heater Temperature

Likely45%

Water heaters set below 120°F allow sulfate-reducing bacteria to thrive. These bacteria produce hydrogen sulfide as a metabolic byproduct.

Why it happens
Water heaters set below 120°F allow sulfate-reducing…
How to tell
Typical cost
$0
Fix difficulty
Easy
Fix time
10 – 20 min
How to tell
✓Your water heater is set low (below 120°F).
✓Problem may have started when you lowered the temperature.
3

Sediment Buildup

Possible28%

Sediment at the bottom of the tank creates an anaerobic environment where bacteria thrive, producing more hydrogen sulfide.

Why it happens
Sediment at the bottom of the tank creates an anaerobic…
How to tell
Typical cost
$0
Fix difficulty
Moderate
Fix time
15 – 30 min
How to tell
✓Tank hasn't been flushed in years.
✓You hear popping/rumbling from the water heater.
✓Hot water is discolored.

How to Fix It

$0
Typical Cost
15 – 60 min
Time Needed
Easy
Difficulty
Low
Safety Risk

Flush the Tank and Raise Temperature

$0

Try this first.

  1. 1Raise water heater to 140°F for 8 hours to kill bacteria. CAUTION: set back to 120°F after to prevent scalding.
  2. 2Flush the tank: attach a hose to the drain valve, open it, let water run until clear.
  3. 3Run all hot water faucets until the smell clears.
  4. 4This may resolve the issue temporarily — if it returns, address the anode.

Replace the Anode Rod

$20-50 DIY / $150-300 professional

Permanent fix for most cases.

  1. 1Replace the magnesium anode with an aluminum/zinc alloy anode ($20-40). This stops the chemical reaction that produces hydrogen sulfide.
  2. 2Alternatively, install a powered (impressed current) anode ($80-150) that eliminates the reaction entirely.
  3. 3Located at the top of the tank — requires a 1-1/16" socket. DIY difficulty: moderate.
  4. 4Professional plumber: $150-300 including parts.

Chlorinate the Tank

$5-10

For severe bacterial contamination.

  1. 1Turn off power/gas to the water heater.
  2. 2Pour 1-2 pints of 3% hydrogen peroxide into the tank through the anode port.
  3. 3Let sit for 2 hours, then flush thoroughly.
  4. 4This kills existing bacteria. Combine with anode replacement for lasting results.

When to Call a Professional

Both hot AND cold water smell — problem is in the water supply, not the heater. Test for hydrogen sulfide.

water heater making loud popping or rumbling — heavy sediment buildup. May need professional flushing.

Water is discolored or rusty — tank may be corroding. Consider replacement if the tank is old (10+ years).

How to Prevent It

Flush your water heater annually.

Keep temperature at 120°F minimum.

Replace anode rod every 3-5 years.

If on well water, test for sulfate and bacteria annually.

The Anode Rod: Why It Matters

Every tank water heater has a sacrificial anode rod that corrodes instead of the tank. Without it, the tank rusts and fails. Standard rods are magnesium, which unfortunately reacts with certain water chemistries to produce hydrogen sulfide.

Aluminum/zinc alloy rods don't cause this reaction and still protect the tank. Powered anodes use an electrical current instead of sacrificial metal — no reaction at all. Either option solves the smell permanently.

Frequently Asked Questions

Why does only my hot water smell like rotten eggs?

The magnesium anode rod in your water heater is reacting with sulfate-reducing bacteria to produce hydrogen sulfide gas. Replace the anode with aluminum/zinc or flush/chlorinate the tank.

Is smelly hot water safe to drink?

Hydrogen sulfide at typical household levels isn't harmful to drink but is very unpleasant. At very high concentrations it can cause nausea. The smell is the main issue — fix it for quality of life.

How much does it cost to fix smelly hot water?

DIY anode replacement: $20-50. Professional: $150-300. Tank flush is free (DIY). Most cases are fixable for under $50 doing it yourself.

How often should I flush my water heater?

Annually. This removes sediment that harbors bacteria and reduces efficiency. A simple drain-and-flush takes 30 minutes and extends the life of the heater.

Related Guides

Water Heater Smells
Water heater odor
Water Smells Like Rotten Eggs
Sulfur water
Well Water Smells
Well water issues

Quick Fix (4 steps)

1Raise water heater to 140°F for 8 hours…
2Flush the tank: attach a hose to the…
3Run all hot water faucets until the…
4This may resolve the issue temporarily