Guides Search

Home › Guides › Water Heater Guides › Water Heater Smells Like Rotten Eggs? Ca…

Water Heater Smells Like Rotten Eggs? Causes and How to Fix It

Published 2026-11-07 · Last reviewed 2026-11-19 · Checked against manufacturer sources

120°
Quick answer

A sulfur or rotten egg smell that shows up only in your hot water almost always comes from the tank: sulfate-reducing bacteria use hydrogen from the magnesium anode rod and give off hydrogen sulfide gas. Run a cold tap first. If the cold water smells too, the problem is your water supply (usually a well), and if the smell is in the air near a gas heater, treat it as a gas leak and leave the house.

Safety first: Any rotten egg smell in the air near a gas appliance means leave the house and call your gas utility's emergency line from outside. Before draining or treating the tank, set the gas control to OFF or switch off the breaker, let the water cool, and refill the tank completely before restoring gas or power.

First, rule out a gas leak

Gas utilities add an odorant called mercaptan to natural gas, and the American Gas Association says it smells similar to rotten eggs. Sulfur water gets described the same way, so sort out which one you have first.

Sulfur water smells strongest at the faucet or in the shower while hot water runs and fades when the tap is off. A gas leak smells in the air around the heater, stove or meter whether water is running or not. State's gas water heater manual notes that propane is heavier than air and settles near the floor.

Run the hot and cold taps separately

Pick a faucet that hasn't been used for a few hours. Run the cold side alone for a minute and smell it, then run the hot side alone.

Smell in the hot water only: Penn State Extension, UMass and AppliancePartsPros all point to the water heater, usually its magnesium anode rod. Smell in both: the hydrogen sulfide is in the water before it reaches the heater, which is common with wells. UMass notes that heat pushes the gas out of the water, so a supply problem can still seem worse in a hot shower.

A softener can muddy the test. UMass says that if treated water smells and untreated water doesn't, the bacteria may be living in the softener, sometimes as black slime. If an outside spigot bypasses the softener, smell that too.

Why the tank makes the smell

Every glass-lined steel tank has an anode rod, a long metal rod screwed into the top that corrodes on purpose so the tank wall doesn't. Many ship with a magnesium rod. Bradford White notes that magnesium gives off hydrogen as it does its job, and Rheem's electric manual says high sulfate or mineral content combined with that protective process can produce hydrogen sulfide in heated water.

State's manual lists four conditions that all have to be present for the odor to develop:

Well water, city water and softeners

Bradford White boils it down to three ingredients (sulfur, hydrogen and bacteria) and says removing any one of them should stop the smell. That's why the problem is far more common on private wells: properly chlorinated city water kills the bacteria, while on a well Bradford White says the pressure tank and piping are usually where they live.

A. O. Smith adds softened water and long stretches with no water use (a vacation home, a heater idle for weeks) as risk factors. Penn State calls softener cases rare but possible. Both A. O. Smith and Penn State say the bacteria themselves aren't a health risk.

Replace the magnesium anode with a less reactive one

This is the fix most sources agree on for hot-only odor. Penn State and UMass recommend swapping magnesium for aluminum, and Sears PartsDirect recommends a zinc-aluminum rod. State's manual describes the same approach: fit an anode made of a less active material, then chlorinate the tank and hot lines. Bradford White sells a replacement rod for this (its A420), and A. O. Smith's electric manual says a special anode can be ordered for odor problems. AppliancePartsPros also lists a powered anode as one alternative; no manufacturer manual we checked mentions one, so ask the heater's manufacturer before buying one.

Be realistic about the result. A. O. Smith's manual says a replacement rod may reduce odor without ending it, and Bradford White says controlling the bacteria is the only reliable cure. That's why the rod swap is usually paired with chlorination.

Order the rod by the full model number on your rating label. The swap means shutting off gas or power and the cold supply, draining a few gallons and unscrewing the old rod from the top of the tank, which often takes a big socket, real force and headroom above the heater. Sears PartsDirect lists the repair at 15 minutes or less, though a stubborn rod takes longer. If it won't budge or the ceiling is too low, book a plumber.

Chlorinate the tank and hot water lines

Shock chlorination kills the bacteria in the tank and in the hot piping, and A. O. Smith calls it the simplest treatment available. Procedures differ between brands: Bradford White, for example, calls for 1/2 to 1 gallon of bleach poured through the hot outlet and at least 3 hours of contact time. Read your own manual or your manufacturer's bulletin before you start, and have a plumber do it if any step makes you uneasy. A. O. Smith's technical bulletin works like this, summarized:

  1. Shut off the heater as your manual describes (gas control to OFF on a gas model, breaker off on an electric one), close the cold supply valve and open a nearby hot tap.

  2. Drain the tank through a hose on the drain valve (our how to flush a water heater guide covers this). Tank water can scald, so let it cool first.

  3. Remove the anode rod, close the drain valve and pour in 1 gallon (3.8 L) of plain household chlorine bleach for every 25 gallons (95 L) of tank size through the anode opening with a funnel. A 50-gallon (190 L) tank takes 2 gallons (7.6 L).

  4. Fit the new anode, open the cold supply and let the tank fill. Open every hot fixture in the house one at a time until you smell chlorine, and run the dishwasher and washer briefly too, so no hot line is left untreated.

  5. Leave the solution alone for at least an hour.

  6. Drain the tank, refill it, wait 15 minutes and drain again. Repeat until the water is clear and has no chlorine smell, then refill and run every hot tap to clear the lines.

  7. Restore gas or power using the start-up steps on the heater's label or in the manual. On an electric tank, the tank must be completely full before the breaker goes back on.

Don't pull the anode or crank the thermostat

Pulling the anode out removes the hydrogen source, so it's tempting. Every manufacturer we checked forbids it. Rheem says running without the rod greatly shortens the glass-lined tank's life and excludes warranty coverage, State and A. O. Smith say it voids the warranty, and Bradford White says the steel will corrode without one.

Turning up the temperature isn't a manufacturer fix either. A. O. Smith says these bacteria thrive below 138°F (59°C), but Bradford White says they tolerate heat up to about 225°F (107°C), and none of the manuals we checked tells owners to raise the setting to kill them. Higher settings bring a real scald risk. A. O. Smith's manual warns that water over 125°F (52°C) can cause severe burns instantly, suggests starting at 120°F (49°C), and recommends a mixing valve or anti-scald device on the hot line set no higher than 120°F (49°C).

Some repair sites suggest hydrogen peroxide instead of bleach. No manufacturer manual we checked mentions it, so stick to your manufacturer's treatment. A. O. Smith also notes that because the bacteria come from the water, treatment isn't a warranty item.

Test your well when both taps smell

If cold water smells too, the fix is at the well or in whole-house treatment, not in the heater. Both the EPA and the CDC say to test a private well right away when its taste, smell or color changes, and at least once a year for total coliform bacteria, nitrates, total dissolved solids and pH. Use a state-certified lab. Your local health department can point you to one, and the EPA notes that some offer well testing for free.

Hydrogen sulfide needs special handling. Penn State and UMass say the sample must be tested on site or chemically stabilized right away, so ask the lab for the right bottle before you collect it. Penn State says most people can smell it well below 0.5 mg/L (parts per million). Household levels are usually a nuisance more than a health risk, but UMass notes the smell sometimes comes from sewage contamination, so test for bacteria too.

Treatment depends on the lab number. Penn State lists large carbon filters for low levels (under about 1 mg/L), oxidizing filters up to about 2 to 3 mg/L, and continuous chlorination for higher levels, and calls shock chlorinating the well a temporary fix. A water treatment professional can size the equipment.

When to call a professional

Call a plumber if the anode rod is seized, there's no room above the heater to pull it, or the smell comes back after a rod swap and chlorination. Leave the gas valve, burner and wiring to a technician. If both hot and cold water smell, get a lab test and talk to a water treatment professional about the well.

Error codes for this problem

Water Heater error codes by brand

Seeing a code on the display? Pick your brand to look it up.

All water heater codes