Fix and Furrow
Advertise

Part of our Home Repair Troubleshooting guide

Hot Water Smells Like Rotten Eggs? Causes, Checks, Fixes

Where the smell shows up narrows the cause fast, and the usual fix is a tank flush and a $20 to $60 anode rod.

Save to Pinterest

We may earn a commission when you buy through links on this page. It never changes what we recommend. Learn more

Residential tank water heater in a basement with copper supply pipes and drain valve at the base
Photo: Josh Lemmon on Unsplash

The short answer

A rotten egg smell on hot water only usually starts in the water heater, where bacteria in the tank turn sulfate into hydrogen sulfide, often helped along by a magnesium anode rod. Flush the tank, then swap in an aluminum-zinc or powered anode rod. Parts run roughly $20 to $250. If cold water smells too, test the well.

Typical cost
$20 to $250 in parts for DIY; $150 to $500 with a plumber
Time needed
10 minutes to diagnose; 2 to 4 hours to flush and swap a rod
Skill level
Intermediate

Key points

  • A smell on the hot side only usually points to the water heater, not your pipes or well.
  • A magnesium anode rod can feed bacteria in the tank, and swapping the rod after a flush is the usual fix.
  • A glass-and-sniff test at two faucets tells you in about ten minutes whether the source is the heater, a drain, or the well.
  • A rotten egg smell near a gas water heater could be a gas leak, so leave the house and call the gas utility.
  • Hydrogen sulfide in well water needs a water test and the right treatment, not just a new heater part.
In this guide
  1. How Do You Tell Whether the Water Heater Is the Source?
  2. Why Would a Magnesium Anode Rod Make Hot Water Smell?
  3. Can Bacteria in the Tank Cause the Smell on Their Own?
  4. Could the Smell Be Coming From Your Well Water?
  5. How Do You Fix Rotten Egg Smell in Hot Water?
  6. When Should You Call a Professional?
  7. How Do You Keep the Smell From Coming Back?

A rotten egg smell on the hot side only usually means the problem is in your water heater, not in your pipes or your well. The gas behind it is hydrogen sulfide, and a warm, still tank is a good place for it to form. Start with a ten-minute test, then match the result to the causes below.

How Do You Tell Whether the Water Heater Is the Source?

Fill one glass with cold water and one with hot, carry both away from the sink, and sniff; a smell in the hot glass only points to the water heater. Carrying the glasses matters because a smelly drain can fool you.

  1. Run the cold tap for 30 seconds, fill a glass, and sniff it away from the sink.
  2. Do the same with hot water at the same faucet.
  3. Repeat at a second faucet, ideally in a different bathroom.

A smell in both glasses, even if the hot one is stronger, shifts suspicion to the water supply, so skip to the well section. Hot only? Keep reading. Check the heater's label for its age, too. Tanks past roughly 8 to 12 years are common offenders, and a smell that is worst after the heater sat idle points toward bacteria.

Why Would a Magnesium Anode Rod Make Hot Water Smell?

A magnesium anode rod can feed the bacteria that make hydrogen sulfide, which is why it's a frequent suspect when only the hot water smells. The rod is meant to corrode in place of your steel tank. Most tank heaters ship with one, and magnesium is a common material.

In water that contains sulfate, the reaction at the rod can help sulfate-reducing bacteria thrive. A smell that starts soon after a new heater goes in, or after a rod replacement, is a hint. Two houses on similar water can still behave differently.

Quick check: look at the label or manual for the anode type. If you can't tell, the rod's hex head is usually on top of the tank, and a plumber can identify it in minutes. A newer heater with this smell makes the rod a stronger candidate.

Can Bacteria in the Tank Cause the Smell on Their Own?

Yes. Sulfate-reducing bacteria can live in the tank and release hydrogen sulfide with or without help from the rod. They don't need oxygen, and a tank run at a low temperature or left idle for weeks gives them room to grow. Sediment on the tank floor gives them places to hide, so an older heater that has never been drained is more likely to have the problem.

Quick check: drain a few gallons from the drain valve into a white bucket, and be careful, because the water can scald. Dark sludge, grit, or a strong sulfur smell confirms the tank is involved. Don't just crank up the thermostat as a cure. The U.S. Department of Energy generally recommends 120°F for safety and efficiency, and the warning in the fix section explains the risk of going hotter.

Could the Smell Be Coming From Your Well Water?

Yes. On a private well the sulfide can already be in the water, and the heater just makes it easier to smell. Heat drives the gas out of solution, so a smell that seems hot-only may be in both lines, with the cold side too faint to notice.

Quick check: fill a glass from a cold tap that hasn't run for several hours, ideally ahead of any softener or filter, and sniff right away. A smell that fades after the faucet runs for a minute points to the well. If you're on a municipal supply and the cold water smells, call your utility.

Private well owners are responsible for their own water quality, so get a lab test. The EPA's drinking water pages cover private well testing basics, and the NSF site helps you confirm that treatment equipment is certified for what you need.

How Do You Fix Rotten Egg Smell in Hot Water?

Match the fix to the source: flush the tank and swap the anode rod for a heater cause, disinfect the tank for bacteria, and treat the water itself for hydrogen sulfide from a well. The table shows typical U.S. costs, which vary with tank size, access, and local labor rates.

SourceFixTypical cost
Sediment in tankDrain and flush the tank$0 to $20 DIY
Magnesium rod feeding bacteriaReplace with an aluminum-zinc rod$20 to $60 part
Smell persists after a new rodPowered anode rod$100 to $250 part
Any heater cause, done by a proFlush plus rod replacement$150 to $500 total
Hydrogen sulfide in the wellTest, then oxidizing filter or aerationVaries widely by system

For most homes with a hot-only smell, we'd pick this order: start with a water heater flush, replace the magnesium rod with an aluminum anode rod, and give it a few days. It's the cheapest step, and it addresses the most likely cause. If the smell returns, a powered anode rod is worth the extra money. It doesn't corrode the way a sacrificial rod does, so it doesn't feed the reaction, though it needs a nearby outlet.

Flush and disinfect the tank

Shut off power at the breaker for an electric heater, or set a gas heater to pilot, then close the cold supply valve. Attach a garden hose to the drain valve, open a hot tap upstairs, and drain the tank outdoors or into a floor drain. The water will be hot, so let it cool or protect your hands and feet. To disinfect, a commonly cited method is about a pint of 3% hydrogen peroxide per 40 gallons of tank capacity, left to sit before a final flush. Check your manual first, since some warranties specify the method.

Replace the anode rod

Most rods come out with a socket, often 1-1/16 inch, and you need roughly three feet of clearance above the tank unless you use a flexible rod. Rods are often stuck, so a breaker bar helps. Wrap the new threads with PTFE thread-seal tape, and read your manual about anode type and warranty before swapping. If the rod won't budge, stop and call a plumber.

If the cold water smells too, shock chlorination can help some wells, but follow current well-disinfection guidance or hire a well contractor. For ongoing sulfide, an oxidizing filter or an aeration system is the usual route, and a water test tells you which one fits.

When Should You Call a Professional?

Call a pro if the smell seems like gas near the heater, if the rod is seized, or if testing shows a well problem you can't treat yourself. Each of those calls for a different kind of professional.

  • Licensed plumber: a stuck anode rod, a heater past 10 to 12 years old, leaks, rust-colored hot water, or a tank that won't hold temperature. A new tank heater typically runs about $1,200 to $3,500 installed, depending on size and fuel, and many localities require a permit for a replacement.
  • Gas utility or HVAC technician: any gas smell, pilot problems, or flue concerns.
  • Well contractor or water treatment specialist: a positive sulfide test, repeat contamination after chlorinating, or choosing between aeration and filtration. Stay out of well pits and enclosed pump houses when the smell is strong, because hydrogen sulfide can be dangerous in confined spaces.

How Do You Keep the Smell From Coming Back?

Flush the heater yearly, check the anode rod every few years, and don't leave the heater idle for long stretches. Sediment and stagnant water are what the bacteria need.

Inspect the rod about every three to five years, and replace it once it's mostly eaten away. Run hot water in unused bathrooms now and then. If you travel for weeks, use the heater's vacation setting rather than switching it off, and flush the lines when you return. On a well, test annually, and size any whole-house filter to the problem the test finds rather than guessing.

Your next step: tonight, run the hot-and-cold glass test at two faucets, then write down your heater's age. That one note tells you whether to grab a rod, a hose, or a phone.

Questions people ask

Is water that smells like rotten eggs safe to drink?

At the low levels that cause a noticeable smell, hydrogen sulfide is generally more a nuisance than a health threat. The smell can still signal bacteria or contamination in a well, so test private well water. If the smell is strong or anyone feels ill, stop drinking it and get advice.

Why does my water heater smell worse after a vacation?

Water sitting in the tank gives bacteria time to produce hydrogen sulfide. Flushing the tank and running hot water at every tap for several minutes often clears it.

Will an aluminum anode rod fix a sulfur smell for good?

It often helps, because it removes the reaction that feeds the bacteria. If bacteria are already established, flush or disinfect the tank too, and consider a powered anode rod for stubborn cases.

Does a rotten egg smell from a new water heater mean it's defective?

Usually not. The smell often comes from how the rod reacts with your local water chemistry. Check the warranty and ask the installer or manufacturer about an alternative rod.

Can a water softener cause a rotten egg smell?

It can. A softener's resin tank can harbor bacteria if it sits unused or isn't sanitized, and that can affect both hot and cold water. Check the softener's manual for a sanitizing procedure.

Sources and further reading

Elsewhere in Heating, Air & Water