Most Likely Causes (Ranked)

Gas companies add mercaptan (sulfur compound) to odorless natural gas for leak detection. A gas leak produces sulfur/rotten egg smell near appliances. This is most dangerous and should be ruled out first.

Every drain has a P-trap that holds water to block sewer gases. If a drain isn't used for weeks, water evaporates and hydrogen sulfide seeps in. Guest bathrooms, basement drains, and laundry sinks are common culprits.

Water heaters have a magnesium anode rod that can react with sulfate-reducing bacteria (common in well water), producing hydrogen sulfide — but only in hot water.

A cracked sewer line, failed toilet wax ring, or broken vent pipe allows sewer gas from multiple locations. Unlike a dried P-trap (single drain), this affects multiple areas.

Some homes built 2001-2009 contain Chinese-manufactured drywall that emits hydrogen sulfide. Mainly Gulf Coast states after Hurricane Katrina.
How to Fix It
Rule Out Gas Leak First
$0Critical safety step.
- 1Identify where the smell is strongest.
- 2If near gas appliances and doesn't change with running water — potential gas leak.
- 3Open windows, don't operate switches, evacuate, call gas company from outside. Free leak check.
- 4If clearly near drains or only in hot water, proceed to other fixes.
Fix Dried P-Traps
$030-second fix for the most common cause.
- 1Run water in every drain not used recently — guest bathrooms, basement drains, laundry sinks.
- 2Run for 30-60 seconds to refill the P-trap.
- 3Add a tablespoon of mineral oil to rarely-used drains — it floats on water and slows evaporation.
- 4Monthly habit: run water in all drains, even unused ones.
Replace Water Heater Anode Rod
$20-40If only hot water smells.
- 1Replace magnesium rod with aluminum/zinc combo rod ($20-40 from hardware store).
- 2Need 1-1/16" socket wrench. Turn off heater, partially drain, unscrew old rod from tank top.
- 3Flush tank first via drain valve until water runs clear.
- 4Temporary fix: raise water temp to 160°F for 8 hours (kills bacteria), then lower to 120°F.
Call a Plumber
$150-500If P-trap fixes don't resolve it.
- 1Plumber can smoke-test or camera-inspect drain and vent system.
- 2Common repairs: toilet wax ring ($100-200 installed), cracked vent pipe ($200-500).
- 3Sewer line damage: $1,000-5,000+ depending on extent.
- 4Get multiple quotes for sewer work — prices vary dramatically.
When to Call a Professional
If the smell could be natural gas — evacuate first, investigate later. Gas leaks are explosion hazards.
Sewer gas contains hydrogen sulfide — toxic at high concentrations. If smell is very strong, ventilate immediately.
Sulfur smell with gurgling drains and slow drainage — sewer line may be compromised
Black staining on copper pipes with sulfur smell — possible defective drywall issue requiring professional assessment
How to Prevent It
Run water monthly in all drains, even unused ones, to keep P-traps filled.
Install gas detectors near gas appliances ($30-50 each).
Flush your water heater annually and check the anode rod every 3-5 years.
Have your sewer line camera-inspected when buying a home ($150-300).
Don't ignore new sulfur smells — identify the source before assuming it's benign.
Why Sulfur Smells Are So Common in Homes
Hydrogen sulfide (H₂S) is produced by bacteria that thrive in oxygen-free environments — exactly the conditions found in sewer lines, water heater tanks, and P-traps. These sulfate-reducing bacteria convert sulfate in water into hydrogen sulfide gas, which has the characteristic rotten egg smell detectable at concentrations as low as 0.5 parts per billion.
The mercaptan added to natural gas is chemically similar (both are sulfur compounds), which is why gas leaks and sewer gas can smell alike. The key difference: gas leak smell is near gas appliances and doesn't change with water. Sewer gas smell is near drains and responds to running water. When in doubt, always rule out the gas leak first — it's the one that can kill you quickly.
Frequently Asked Questions
It depends on the source. A gas leak is immediately dangerous. Sewer gas (hydrogen sulfide) is toxic at high concentrations but usually not dangerous at the levels that smell bad in a home. Always identify the source.
Your water heater's magnesium anode rod is reacting with sulfate-reducing bacteria in the water. Replace it with an aluminum/zinc rod, and the smell stops.
Gas leak: smell near gas appliances, doesn't change with running water. Sewer gas: smell near drains, goes away when you run water. When in doubt, call the gas company.
Yes — just run water in the drain for 30-60 seconds. It's the easiest plumbing fix there is. Add mineral oil to slow evaporation in rarely-used drains.
Every 3-5 years. A depleted anode rod means your tank is corroding, which leads to leaks and failure. Replacement is a $20-40 DIY job that extends tank life by years.