You turn on the shower and instead of clean-smelling steam, you get a whiff of rotten eggs. It's unpleasant, embarrassing, and worrying — but the good news is that it's one of the most common water heater problems, and it's almost always fixable at home. Here's what causes that sulfur smell and how to get rid of it for good.
No hot water? Need help now?
Call (855)321-3319Available 24/7 to connect you with a local water heater professional
The smell comes from hydrogen sulfide gas, which forms when bacteria in your water heater react with sulfur minerals in the water. Water heaters create the perfect environment for these bacteria: warm temperatures and a little sediment to feed on. The bacteria multiply, produce the gas, and your hot water starts smelling like a science experiment.
Certain conditions make it worse:
In most cases, no. The hydrogen sulfide levels in household hot water are usually far below harmful concentrations. It's more of a nuisance than a health issue. However, there's one important exception: if you have a gas water heater, a rotten egg smell could occasionally indicate a gas leak (gas companies add sulfur compounds to natural gas precisely so leaks are detectable). If the smell is strongest near the water heater itself rather than at the faucet, shut off the gas, open windows, leave the house, and call your gas utility immediately.
Run both the hot and cold taps. If only the hot water smells, the source is inside your water heater. If both smell, the problem is your water supply or well — and no amount of water heater maintenance will fix that.
Set your water heater to 140°F for 24-48 hours. The heat kills the bacteria. Afterwards, remember to set it back down to a safe, energy-efficient setting — 120°F is the sweet spot. Just be careful: the water will be hot enough to scald during this period, so warn everyone in the household.
Sediment is food for the bacteria, so removing it is key. Follow our full guide on how to flush your water heater — the process takes about an hour and also improves efficiency. A complete flush removes the slimy biofilm bacteria need to survive.
For stubborn smells, pour about two cups of hydrogen peroxide (3%) into the tank through the hot water outlet or the anode rod opening, refill the tank, and let it sit for a few hours before flushing. Hydrogen peroxide is safe for your plumbing and destroys the bacteria without the harsh effects of chlorine bleach.
Some plumbers use a chlorine bleach shock instead, especially on well systems. It works, but bleach can leave a chemical taste and, in high concentrations, stress the tank's anode rod. Peroxide is the gentler option for routine cleaning — save the bleach for sanitizing a brand-new or heavily contaminated well system, and follow the manufacturer's directions carefully.
An old magnesium anode rod is a magnet for odor-causing bacteria. Swapping it for an aluminum or powered anode rod frequently eliminates the smell permanently. Our guide on anode rod replacement walks you through the whole job.
If you're away for a week or more, the stagnant warm water is a bacteria paradise. When you return, run the hot water for several minutes before showering, or do a quick flush to clear things out.
These steps overlap heavily with good general upkeep — see our water heater maintenance tips for the full routine.
If you've flushed the tank, raised the temperature, and replaced the anode rod but the smell persists, you may have a deeper issue like a reaction inside the tank or a water supply problem. That's when an experienced technician is worth the call. A pro can sanitize the system properly, test the water, and check for sediment damage that's already been done. Find water heater repair services near you, or see if we cover your area — and don't put up with smelly showers a day longer than you have to.
Call now to connect with a water heater professional in your area.
(855)321-3319