Skip to content
HeaterSphereWarm homes · Lower bills
Water Heaters

Fix a Water Heater That Smells Like Rotten Eggs

Updated 8 min read
The short fix
To fix a water heater that smells like rotten eggs, perform a thorough flush of the tank and inspect the anode rod for replacement. This process often eliminates the odor and restores fresh hot water.

A foul, rotten egg smell coming from your hot water can be an unpleasant surprise. This odor typically indicates a problem within your water heater, but it is often fixable with some maintenance steps.

Fix a Water Heater That Smells Like Rotten Eggs

A water heater that smells like rotten eggs usually means hydrogen sulfide gas is in the hot water. To fix it, start by flushing the tank to remove sediment and bacteria, then check the anode rod and replace it if it’s causing the odor.

A water heater tank standing upright in a well-lit utility room

Why does my hot water smell bad? The smell comes from bacteria reacting with the anode rod inside the tank, producing sulfur compounds. Flushing the tank clears out the bacteria, and a new anode rod can stop the problem at its source.

Safety First
Turn off power to the water heater before starting. Electric heaters must be switched off at the breaker; gas models need the gas supply turned off. Hot water and sediment can cause burns, so wear gloves and eye protection. Avoid using the water until the odor is fixed.
  1. Turn Off Power and Water Supply
    Switch off the electric breaker or gas valve. Close the cold water supply valve to the heater.
  2. Drain the Tank
    Attach a garden hose to the drain valve near the bottom of the tank. Open the valve and drain the water into a bucket or outside. Opening a hot water faucet in your home helps air enter the tank for faster draining.
  3. Flush the Tank
    With the drain valve open, briefly open and close the cold water supply valve to stir and flush out sediment. Repeat until water runs clear.
  4. Inspect the Anode Rod
    Remove the anode rod, usually on top of the tank, using a socket wrench. If it is heavily corroded, replace it with a new magnesium or aluminum rod designed for your model.
  5. Refill and Restart
    Close the drain valve, open the cold water valve, and let the tank fill. Open a hot water faucet to release air. Restore power or gas and let the water heat.
Common Causes of the Sulfur Smell
The rotten egg smell often arises when sulfate-reducing bacteria react with the anode rod, especially if it is made of magnesium. Sediment buildup in the tank can also harbor bacteria, worsening the odor.

Replacing the anode rod is necessary when flushing does not remove the smell or if the rod is visibly degraded. A magnesium rod tends to cause more odor; switching to an aluminum or zinc-aluminum rod can reduce sulfur smells.

When to Call a Professional
If the smell persists after flushing and anode rod replacement, or if you are uncomfortable working with gas or electric components, call a licensed plumber. Problems with the gas burner, venting, or water heater damage require expert repair.

Understanding the Causes of the Rotten Egg Smell

The rotten egg smell in your water heater comes from hydrogen sulfide gas formed by a chemical reaction inside the tank. This gas smells like sulfur or rotten eggs and only appears in hot water, not cold.

The main cause is sulfate-reducing bacteria that thrive in the warm, oxygen-poor environment inside the water heater. These bacteria consume sulfates naturally present in water and produce hydrogen sulfide as a byproduct.

An important factor is the water heater’s anode rod, usually made of magnesium or aluminum. It attracts corrosive elements to protect the tank but can also react with the bacteria and sulfates to create the smell.

Bacterial growth often happens in the sediment that settles at the bottom of the tank. Sediment traps organic material that feeds the bacteria, allowing the hydrogen sulfide gas to build up over time.

Hydrogen Sulfide Gas Safety
Hydrogen sulfide gas is toxic at high concentrations. While the small amounts from a water heater are usually safe with proper ventilation, do not ignore persistent strong odors. If you smell rotten eggs outside the house or near vents, leave the area and call a professional.

The water source can contribute to the problem too. Well water often contains more sulfates and organic material than municipal water, increasing the chance of bacterial growth and odor.

Why Hot Water Only
The bacteria and chemical reactions happen inside the water heater tank, so only hot water carries the smell. Cold water lines do not support the bacterial growth or the chemical reactions that produce hydrogen sulfide.

Replacing the anode rod or flushing the tank removes the bacteria and sediment that cause the smell. Understanding these causes helps you target the right fix and prevents the odor from returning.

When to Replace Your Anode Rod

The anode rod protects your water heater tank from corrosion, but it wears out over time. Replace it when it is heavily corroded or coated with mineral deposits. A bad anode rod can no longer prevent rust, which leads to smelly water and tank damage.

A corroded anode rod resting on a wooden workbench

Signs the anode rod needs replacing include visible corrosion when you inspect it, a rotten egg smell that returns after flushing, or rusty water. Some rods dissolve until they are less than 1/2 inch thick or break apart inside the tank.

Most water heaters have a magnesium or aluminum anode rod. Magnesium rods offer better corrosion protection and reduce the rotten egg smell but can cause a higher rate of rod consumption in hard water. Aluminum rods last longer in hard water but may not control odors as well.

To replace the anode rod, first turn off the water heater’s power or gas supply and shut off the cold water inlet. Drain a few gallons from the tank to lower the water level below the anode rod opening, usually on top of the tank. Use a socket wrench to unscrew the rod, then install the new one by reversing the steps.

Safety Tip
Replacing the anode rod requires draining hot water and working around electrical or gas connections. Use proper tools, allow the water to cool, and if unsure, hire a licensed plumber.

Preventing the Smell from Returning

To prevent the rotten egg smell in your water heater, regular maintenance is essential. Flushing the tank every six to twelve months removes sediment that feeds bacteria causing the odor. This keeps the water clean and the heater efficient.

Check the anode rod annually and replace it every three to five years or sooner if it shows signs of wear. A healthy anode rod controls corrosion and limits bacterial growth that produces hydrogen sulfide gas.

Set your water heater temperature to 120°F or higher. Hot water above this temperature kills bacteria responsible for the odor without wasting energy or scalding users. Avoid lower settings that encourage bacterial growth.

Maintenance Tip
If your water supply contains sulfur bacteria, consider shock chlorination of the tank or upgrading to a water heater with a powered anode rod, which lasts longer and reduces odors.

Regular upkeep keeps your water fresh and your heater working well. If the smell returns despite maintenance, test your water source or consult a plumber to rule out other causes.

When to Call a Professional Plumber

Hire a professional plumber if the rotten egg smell in your water heater is overwhelming or if anyone in your home experiences health symptoms like nausea, dizziness, or breathing problems. These signs can indicate a serious buildup of hydrogen sulfide gas or other contaminants that need expert handling.

Complex plumbing issues also require a plumber. If flushing the tank and replacing the anode rod do not stop the odor, or if there are leaks, corrosion, or faulty valves, a plumber can diagnose and fix these problems safely. Water heaters involve gas lines, electrical wiring, and pressure systems that pose risks if handled incorrectly.

Persistent odor after maintenance is a key reason to call a plumber. Sometimes sediment buildup, bacterial contamination, or damaged components inside the tank need professional assessment. A plumber can perform thorough cleaning, test water quality, and replace parts that DIY methods cannot address.

Safety Warning
Do not attempt repairs involving gas connections or electrical wiring yourself. Improper work can cause leaks, fires, or electric shock. Always turn off power and gas supply before any inspection or repair.

Frequently Asked Questions

How do I know if my water heater needs flushing?
If your hot water smells like rotten eggs, has a metallic taste, or if sediment buildup causes noisy operation, it’s time to flush your water heater. Flushing removes minerals and bacteria that cause odors and damage. Regular inspection every 6 to 12 months helps prevent these problems.
What should I do if the rotten egg smell persists?
If the smell continues after flushing and replacing the anode rod, test your water source for sulfur bacteria or high sulfate levels. Consider installing a water treatment system like a carbon filter. Persistent odor may also require professional assessment to rule out other causes.
Can I replace the anode rod myself?
Replacing the anode rod is possible for a handy homeowner with basic plumbing tools and knowledge. Turn off power and water supply, drain the tank partially, and unscrew the old rod with a socket wrench. Follow manufacturer instructions closely or call a plumber if unsure, as improper replacement risks leaks or damage.
How often should I flush my water heater?
Flush your water heater at least once a year to remove sediment and prevent odor buildup. In hard water areas, flushing every six months is better. Regular flushing extends heater life and maintains water quality.
What are the symptoms of hydrogen sulfide exposure?
Low-level hydrogen sulfide exposure from water usually causes a rotten egg smell but rarely health issues. Higher exposure can lead to nausea, dizziness, headache, or respiratory irritation. If anyone in your home experiences these symptoms, ventilate the area and seek professional help immediately.
Is it safe to use my water heater if it smells?
Using a water heater that smells like rotten eggs is generally safe but unpleasant. The odor signals bacterial growth or chemical reactions inside the tank, which can worsen corrosion. Address the smell promptly by flushing and inspecting the anode rod to avoid damage and maintain water quality.

The other half of this decision is anode rod replacement frequency.

There is more on 5 signs your water heater anode rod needs replacing in a guide of its own. If that sounds like your room, read up on water heater maintenance guide next.

Written by Home Heating Research Editor · United Kingdom

Daniel Mercer is the editorial persona behind HeaterSphere's home heating guides, product comparisons and practical heating advice. His work explains heating technology in plain English, examines the available evidence and makes the limitations clear.

Home heatingElectric heatersEnergy efficiencyHeating safety
More about Daniel