Rotten-Egg Smell in Your Hot Water? What’s Causing It

Quick Answer: A rotten-egg smell in hot water is hydrogen sulfide gas, produced by a reaction inside the water heater. Naturally occurring sulfur compounds and harmless bacteria in the water react with the magnesium anode rod in the tank, especially in the warm environment, creating the sulfur smell. The biggest clue is which tap smells: if only the hot water is affected, the heater is the source; if both hot and cold smell, the cause is more likely the water supply. Fixes include flushing and disinfecting the tank to kill the bacteria, switching to a less-reactive anode rod, or treating the water — while keeping the tank protected from rust.
Turning on the hot tap to a whiff of rotten eggs is unpleasant and a little alarming, but the cause is usually specific and fixable, and it's rarely dangerous in the amounts that produce a household smell. That sulfur odor is a clue pointing to a reaction happening in one particular place. Knowing where and why makes the fix clear.
The Smell Is Hydrogen Sulfide
That rotten-egg odor is hydrogen sulfide, a gas formed when sulfur compounds in the water undergo a reaction. In the small amounts that cause a household smell, it's more of a nuisance than a health hazard in your washing water, but it's understandably off-putting. The key to solving it is figuring out where the reaction is happening — and the most telling clue is which faucet smells.
Why It's Usually Only the Hot Water
If the smell is in the hot water but the cold runs clean, the water heater is the source — and that's the most common scenario. The chain of events happens inside the tank. Most water supplies contain some sulfate and a population of harmless sulfate-reducing bacteria, which on their own don't smell. But a water heater contains a magnesium anode rod — the sacrificial part that protects the steel tank from rust — and magnesium is chemically active. In the warm tank, the reaction between the anode rod, the sulfate, and the bacteria produces hydrogen sulfide gas. The warmth speeds up bacterial activity, which is why the heater is such a common source and why the smell shows up in hot water specifically.
When Both Hot and Cold Smell
If the odor is present in both the hot and cold water, the source is more likely the water supply itself — the incoming water carrying hydrogen sulfide or a heavy load of sulfate and bacteria before it ever reaches the heater. In that case, the fix shifts from the heater to treating the water as it enters the home. Sorting out hot-only versus both is the first diagnostic step, because it points to entirely different solutions.
| Where the smell is | Likely source | Direction of fix |
|---|---|---|
| Hot water only | Reaction in the water heater | Flush/disinfect, change anode rod |
| Both hot and cold | Water supply | Treat the water at the source |
| Worse after time away | Bacteria multiplied in idle tank | Flush and disinfect |
| Returns after cleaning | Anode rod driving reaction | Switch anode rod type |
The Common Fixes
When the heater is the source, a few approaches work. Flushing and disinfecting the tank clears sediment and kills the bacteria driving the reaction, often using a sanitizing process and a thorough flush — this frequently knocks the smell out, though it can return if the underlying conditions remain. For a lasting fix, the anode rod is often the answer: swapping the standard magnesium rod for a less-reactive aluminum-zinc rod typically prevents gas from forming in the first place. The important caveat is that the rod still has to protect the tank from rust, so it's not simply removed — the right replacement keeps the tank protected while ending the smell. When the water supply is the source, treating the incoming water addresses it for the whole house, hot and cold alike.
Why You Shouldn't Just Remove the Anode Rod
A tempting but mistaken "fix" is to remove the anode rod to stop the smell. The rod protects the steel tank from rusting, so removing it would eliminate the odor but expose the tank to corrosion and shorten its life. The correct approach is replacing it with a different type of rod that doesn't drive the reaction while still protecting the tank — keeping both the smell gone and the tank intact. This is why proper diagnosis and choosing the right rod matter, rather than taking a shortcut that trades smell for a rusting tank.
If the smell flares up after you've been away for a few days, that's a classic sign of bacteria multiplying in a tank that sat idle and warm. A flush and disinfection usually clears it, and running the hot water periodically helps keep it from building back up.
Why It's Worth Addressing Properly
Beyond being unpleasant, a persistent sulfur smell signals conditions in your tank or supply that favor bacterial activity, and this reaction can, over time, contribute to faster anode consumption and tank wear. Addressing it is about keeping the water heater healthy as much as comfort. And because the right fix depends on correctly identifying the source — heater versus supply, and the appropriate anode rod for your water — it's worth diagnosing rather than guessing, since the wrong move can leave the tank unprotected or the smell unsolved. A plumber can confirm the source and apply the right fix.
Frequently Asked Questions
Because the smell is produced inside the water heater. Sulfate and harmless bacteria in the water react with the heater's magnesium anode rod in the warm tank to create hydrogen sulfide gas, which you smell only in the hot water. If the cold water is odor-free, that's a strong sign the heater, not the supply, is the source.
In the small amounts that cause a household odor, hydrogen sulfide is generally a nuisance rather than a health hazard in washing water, though it's understandably unpleasant. A strong, persistent sulfur smell warrants attention. If you're ever concerned about your water quality, testing the supply is the way to be sure of what's in it.
If the heater is the source, flushing and disinfecting the tank to kill the bacteria often helps, and switching the magnesium anode rod to a less reactive aluminum-zinc rod commonly prevents gas from forming. If both hot and cold smell, treating the incoming water supply is the fix instead. Identifying the source first determines which approach works.
No. The anode rod protects the steel tank from rusting, so removing it would end the smell but expose the tank to corrosion and shorten its life. The right approach is replacing it with a different type of rod that doesn't drive the reaction while still protecting the tank, keeping both the smell gone and the tank intact.
Because flushing kills the current bacteria but doesn't change the underlying chemistry. If the magnesium anode rod and the water conditions still favor the reaction, the bacteria and gas can return. That's why a lasting fix often involves changing the anode rod type or treating the water, not just flushing the tank.
It can. A softener doesn't directly create the smell, but the chemistry it produces can sometimes encourage the reaction in certain water, and softened water can interact with the anode rod differently. If you have a softener and a sulfur smell, it's worth mentioning when diagnosing the issue, since it can influence which anode rod is the best choice.
Track the Smell to Its Source
A rotten-egg smell in your hot water is hydrogen sulfide gas, usually produced from a reaction between the anode rod, sulfate, and bacteria in the warm tank. The fix — flushing and disinfecting, changing the anode rod, or treating the supply — depends on whether the odor is in the hot water alone or in everything. Identify the source first, and the smell can be cleared for good without leaving the tank unprotected.
Tired of rotten-egg-smelling hot water — Get the source identified and the right fix applied, from a tank flush to the correct anode rod. Adaven Plumbing serves Las Vegas and the surrounding area. Call (702) 766-3320.