HomeNostics
Back to blog
Diagnosing October 31, 2026 HomeNostics

Why Your Water Smells Like Rotten Eggs (And How to Fix It)

A sulfur smell in your water is usually caused by bacteria or your water heater's anode rod—here's how to find the source and fix it.

That Smell Isn't in Your Head

If you turn on the tap and catch a whiff of rotten eggs, your first instinct might be to check the fridge or hunt for a dead mouse behind the wall. But if the smell is coming from the water itself—especially hot water—you're dealing with a classic case of sulfur odor, and it's more common than you'd think. The good news: it's almost never a sign your water is unsafe to use, and it's usually fixable in an afternoon.

The smell comes from hydrogen sulfide gas, which forms when certain bacteria interact with sulfur compounds in water. The tricky part is figuring out where that reaction is happening, because the fix is completely different depending on the source.

Step 1: Figure Out Where the Smell Is Coming From

Before you touch anything, do a simple test to narrow down the cause.

Test hot water vs. cold water separately. Run only the cold tap for 30 seconds and smell it. Then run only the hot tap and smell it.

  • Smell only in hot water: The problem is almost certainly inside your water heater.
  • Smell in both hot and cold: The problem is in your water supply itself—likely your well, or less commonly, your municipal water combined with your home's plumbing.
  • Smell only in one specific faucet: The issue may be isolated to that fixture's drain or aerator, not the water supply at all. Remove the aerator and clean it; sometimes trapped organic buildup causes a sulfur-like odor that has nothing to do with your water quality.

If It's Your Water Heater: The Anode Rod Is the Usual Culprit

Most water heaters contain a sacrificial anode rod—usually magnesium or aluminum—designed to corrode instead of your tank. This rod prevents rust, but it can also react with sulfate-reducing bacteria that naturally live in water, producing hydrogen sulfide gas. This is especially common if:

  • Your water heater sits unused for long stretches (vacation homes, guest rooms).
  • You have well water, which tends to have more of these bacteria.
  • Your water heater is several years old and the rod is heavily corroded.

How to fix it:

  1. Shock the tank. Turn off power to an electric water heater (or set a gas unit to pilot), then drain the tank completely through the drain valve. Refill it with water mixed with hydrogen peroxide (about a pint of 3% hydrogen peroxide per 40 gallons of tank capacity) or a diluted chlorine bleach solution. Let it sit for a few hours, then flush thoroughly. This kills the bacteria causing the reaction.
  2. Replace the anode rod. Swap the magnesium rod for a zinc-aluminum alloy rod, which is far less likely to trigger the sulfur reaction. This is a simple DIY swap: shut off the water and power, relieve pressure through a hot water tap, unscrew the old rod (usually under a hex-head cap on top of the tank), and screw in the new one with plumber's tape.
  3. Raise the thermostat temporarily. Running the tank at 140°F for several hours can kill off the bacteria, though you'll want to turn it back down afterward to avoid scald risk and reduce energy use.

If the smell returns within a few weeks after shocking the tank, the anode rod swap is worth doing—it usually solves the problem for good.

If It's in Your Whole Water Supply: Look at Your Well or Plumbing System

When both hot and cold water smell sulfurous, the bacteria are likely present somewhere in your water source or pipes.

For well water: Sulfate-reducing bacteria thrive in low-oxygen environments like well casings and underground pipes. A whole-house shock chlorination treatment—similar to the water heater method but applied to your entire well system—can clear this up. This typically involves introducing a chlorine solution into the well, running it through every fixture in the house, letting it sit for several hours (often overnight), then flushing the system completely. Because this involves handling concentrated chlorine and working near your well equipment, many homeowners hire a well service company for this one, especially the first time.

For municipal water: True sulfur smell from city water is rare, since treatment plants manage this. If you're on city water and smell sulfur throughout the house, double-check that it's not actually isolated to your water heater or a specific fixture before assuming it's a supply-wide issue.

When to Get the Water Tested

If shocking the system doesn't resolve the smell, or if you notice other changes—discoloration, a metallic taste, or the smell getting stronger over time—it's worth having your water tested. A basic test can identify bacteria levels, sulfate concentration, and whether iron or manganese are contributing factors (these can produce similar odors and often require different treatment, like an iron filter or aeration system).

This article is general information and not legal, financial, or medical advice.

The Bottom Line

A rotten egg smell is unpleasant, but it's rarely dangerous—it's almost always a maintenance issue rather than a health hazard. Start with the hot-versus-cold test, tackle the water heater first since it's the most common source, and move on to whole-system treatment if the smell persists everywhere. Most homeowners solve this in a single weekend without ever calling a plumber.

Keeping track of when you last flushed your water heater, replaced an anode rod, or tested your well water is exactly the kind of maintenance that's easy to forget until something smells wrong. Start your free HomeNostics trial to keep every home system on a schedule—so small issues like this never catch you off guard.