Home All Guides 🏠 Home & House 🚗 Car & Vehicle 🧬 Body & Health 🍳 Food & Kitchen 🐾 Pets & Animals 🔧 Water & Plumbing

Why Do My Pipes Smell Bad?

The smell from your pipes tells you what's causing it: rotten eggs or sewage = sewer gas from a dried P-trap or cracked vent/pipe; musty or mildew = biofilm and organic buildup in…

Fix SoonNot an emergency, but worth addressing within a few days.
Take Note

Persistent pipe smell may indicate a venting or sewer line issue that needs professional attention.

/At a glance
Most Likely Cause
Dried P-Trap (Sewer Gas)
82%
Verdict
Fix Soon
Typical Cost
Free
Fix Time
1 – 3 hr
Safety Risk
Moderate

The Short Answer

The smell from your pipes tells you what's causing it: rotten eggs or sewage = sewer gas from a dried P-trap or cracked vent/pipe; musty or mildew = biofilm and organic buildup in the drain; sulfur when hot water runs = water heater anode rod reacting with bacteria. The good news is that all three of these are fixable — usually for free or very cheaply. The most common cause is a dried P-trap, which you can fix right now by running water for 30 seconds in any drain that hasn't been used recently.

Most Likely Causes (Ranked)

1

Dried P-Trap (Sewer Gas)

Very Likely82%

Every drain in your home has a U-shaped trap that holds a small amount of water — this water barrier blocks sewer gas from rising up through the drain. When a drain goes unused for weeks, the water in the trap evaporates, breaking the seal. Without the water barrier, hydrogen sulfide, methane, and other sewer gases can freely rise from the sewer system into your home. This is the most common cause of pipe smell in homes — especially in basement floor drains, guest bathroom fixtures, vacation homes, and any drain that isn't used regularly. The fix is completely free and takes 30 seconds.

Why it happens
Every drain in your home has a U-shaped trap that holds a…
How to tell
Typical cost
Free
Fix difficulty
Easy
Fix time
5 – 10 min
How to tell
✓The smell is rotten egg or sewage-like.
✓It's concentrated near specific drains or plumbing fixtures that haven't been used recently.
✓Pouring water down the drain reduces or eliminates the smell within 1-2 hours.
✓The smell is worse during dry, hot weather when evaporation is faster.
2

Biofilm and Organic Buildup in Drain

Likely45%

Drains accumulate soap scum, hair, toothpaste, food particles, and body oils over time. Bacteria colonize this organic material and form a biofilm — a slimy layer that coats the inside of drain pipes. As the biofilm grows, the bacteria produce volatile organic compounds that smell musty, earthy, or sulfurous. Kitchen drains accumulate food-based biofilm that can smell rancid or food-like. Bathroom drains accumulate hair and soap scum biofilm that smells musty and body-odor-adjacent. The smell is typically strongest when running water, which aerates the biofilm and releases trapped odor compounds.

Why it happens
Drains accumulate soap scum, hair, toothpaste, food…
How to tell
Typical cost
Free
Fix difficulty
Easy
Fix time
10 – 20 min
How to tell
✓The smell is strongest when water runs in the drain.
✓It's musty, earthy, or slightly organic rather than sharply sewage-like.
✓The drain may run slowly (biofilm reduces pipe diameter).
✓The smell is present year-round in actively used drains.
✓Running a full cup of boiling water briefly improves it.
3

Sulfur Smell from Hot Water (Anode Rod)

Possible28%

Tank water heaters contain a sacrificial anode rod (usually magnesium or aluminum) that corrodes preferentially to protect the steel tank. Sulfate-reducing bacteria that are naturally present in some water supplies react with the anode rod material, producing hydrogen sulfide — giving the hot water a rotten egg smell. This problem is more common in homes on well water or in areas with naturally higher sulfate concentrations. The key diagnostic: if only hot water smells (not cold), the water heater is the source.

Why it happens
Tank water heaters contain a sacrificial anode rod…
How to tell
Typical cost
Free
Fix difficulty
Moderate
Fix time
15 – 30 min
How to tell
✓The smell is present only when running hot water, not cold.
✓It's strongest right when the hot tap is first opened, then may diminish.
✓The water heater hasn't been flushed in over a year.
✓The home is on well water or has had this problem before.
✓The smell is in every hot water outlet, not just one.
4

Venting Problems

Possible24%

Drain pipe vent stacks run from the drain system up through the roof to allow air into the system (preventing P-trap siphoning) and sewer gases out (above the roofline). If a vent becomes blocked — by bird nests, leaves, ice, or a collapsed section — the system can't equalize pressure, P-traps get siphoned empty by draining water, and sewer gas finds alternative exits through drains, toilets, and floor drains. A blocked vent also typically causes gurgling sounds from drains and toilets when water drains elsewhere in the house.

Why it happens
Drain pipe vent stacks run from the drain system up…
How to tell
Typical cost
Free
Fix difficulty
Moderate
Fix time
15 – 30 min
How to tell
✓Gurgling sounds from drains and toilets when other fixtures drain.
✓Multiple drains smell simultaneously.
✓P-trap refilling doesn't permanently solve the smell (because the traps keep getting siphoned).
✓The problem appeared after cold weather (iced vent) or fall/winter (leaves blocking vent).
5

Cracked or Damaged Drain Pipe

Less Likely12%

Drain pipes can crack from age (especially older cast iron and clay pipes), ground settlement, root intrusion, or physical damage. A crack in a drain pipe within the walls or under the floor allows sewer gas to escape into the home structure. This smell can be elusive — it seeps through walls, floors, and mechanical spaces rather than rising from a specific drain opening. A sewage smell that permeates the entire house without a clear source, or that's strongest near walls rather than at drain openings, suggests a cracked pipe.

Why it happens
Drain pipes can crack from age (especially older cast…
How to tell
Typical cost
Free
Fix difficulty
Moderate
Fix time
30 – 60 min
How to tell
✓Sewer smell that's not localized to specific drains.
✓The smell is strongest near a wall, floor cavity, or crawlspace.
✓Refilling P-traps doesn't help.
✓The home has older plumbing (pre-1970 cast iron or clay).
✓Wet spots on walls or floors near drain lines.

How to Fix It

Free
Typical Cost
1 – 3 hr
Time Needed
Moderate
Difficulty
Moderate
Safety Risk

Refill P-Traps Immediately

Free

Do this first — it fixes the most common cause in under a minute.

  1. 1Identify all drains in the house that don't see regular use: basement floor drains, guest bathroom sinks and showers, utility sinks, laundry room floor drains, and crawlspace drains if any.
  2. 2Run each tap for 30-60 seconds to thoroughly refill the P-trap below.
  3. 3Add a tablespoon of cooking oil or mineral oil to the drain — the oil floats on top of the water seal and dramatically slows evaporation, keeping the trap sealed for months.
  4. 4Going forward: run water in all seldom-used drains for 15-30 seconds once a month.
  5. 5For basements and vacation homes: install an automatic P-trap primer ($30-50) that maintains water level in floor drain traps without manual intervention.

Clean Biofilm from Drains

Free-$10

Removes the organic buildup causing musty or organic drain smell.

  1. 1Pour a full kettle of just-boiled water down the drain slowly. This softens and partially dissolves the biofilm.
  2. 2Follow with 1/2 cup baking soda pushed down the drain with a spoon, then 1/2 cup white vinegar. Let the fizzing reaction work for 15-30 minutes.
  3. 3Flush with another kettle of hot water.
  4. 4For kitchen sink garbage disposal drains: grind a cup of ice cubes with coarse salt to scour the disposal chamber, then run cold water. Follow with baking soda and vinegar. Or use commercial disposal cleaning tablets.
  5. 5For hair-clogged bathroom drains: use a plastic drain hair catcher tool ($3-5) to physically remove the hair and soap scum that's the substrate for the biofilm. Cleaning tools that look like long flexible brushes work better than chemicals for hair.
  6. 6Enzymatic drain cleaners (Bio-Clean, Green Gobbler Enzyme) applied monthly prevent biofilm accumulation without damaging pipes.

Fix Anode Rod in Water Heater

$20-40 DIY

If only hot water smells, this fixes the sulfur problem at the source.

  1. 1Turn off power/gas to the water heater.
  2. 2Flush the tank completely by connecting a garden hose to the drain valve and running water until clear. This removes sediment that harbors the sulfate-reducing bacteria.
  3. 3Replace the magnesium anode rod with an aluminum/zinc combination anode rod — aluminum/zinc rods are less reactive with sulfate-reducing bacteria, dramatically reducing H2S production.
  4. 4The anode rod is accessed from the top of the water heater with a 1-1/16 inch socket wrench. It may be very tight from mineral scale — apply penetrating oil if needed.
  5. 5After replacement, fill the tank, restore power/gas, and run all hot water taps for 5 minutes to flush the system.
  6. 6As a temporary measure: increase water heater temperature to 160°F for 8 hours to kill the bacteria, then lower to 120°F for safety. Note: this is a temporary fix, not a permanent solution.

Check and Clear Vent Pipes

Free (DIY) / $150-300 (plumber)

If gurgling is present and P-trap refilling doesn't help, clear the vent.

  1. 1Safely access the roof and locate vent pipe outlets.
  2. 2Look down with a flashlight for obvious blockages. Use a garden hose to flush water down the vent.
  3. 3If blockage persists, a plumber's snake or a plumber can clear it.
  4. 4Install vent pipe guards ($10-20) to prevent future blockages from birds and debris.

When to Call a Professional

Strong sewer smell throughout the house, not just at drains — this suggests a cracked sewer line. Call a plumber for a smoke test.

Gurgling from multiple drains simultaneously — indicates a blocked vent or main line issue. Call a plumber.

Sewer smell combined with slow drains throughout the house — main sewer line blockage. Stop using plumbing and call a plumber.

How to Prevent It

Run water in all drains monthly — especially seldom-used floor drains and guest fixtures.

Use enzyme drain cleaner monthly in kitchen and bathroom drains — prevents biofilm from accumulating.

Flush the water heater annually — removes sediment that harbors sulfate-reducing bacteria.

Install P-trap primers on floor drains — automatic maintenance for drains that see infrequent use.

Diagnosing by Smell Type

Rotten eggs or sewage smell near specific drains: start with P-trap refilling. If that doesn't help, suspect venting issues or a cracked line.

Musty/organic smell when water runs: biofilm in the drain line. Clean with baking soda, vinegar, and an enzyme cleaner.

Rotten eggs from hot water only: anode rod reaction in the water heater. Replace the rod.

Sewer smell throughout the house without a clear drain source: possible cracked pipe. Call a plumber for a smoke test.

Seasonal sewer smell (worse in winter): often a frozen or blocked roof vent that improves as ice thaws.

Frequently Asked Questions

Why does my sink smell like sewer even after cleaning it?

If cleaning the drain doesn't help, the source is likely not the drain itself. Check: is the P-trap full? (Run water for 30 seconds.) Is there a vent issue? (Does it gurgle when other fixtures drain?) Is the smell strongest in the morning after the drain has sat overnight? A plumber's smoke test can definitively locate the source of any elusive sewer smell.

Why do my pipes smell like rotten eggs only in the morning?

The most common reason: during the overnight period, no water flows through the system, and any partially dried P-traps fully dry out, allowing sewer gas to enter. The smell is strongest at the beginning of the day. After the first morning use of fixtures, the traps refill and the smell dissipates. Adding oil to drain traps helps maintain the seal through the night.

Can I use bleach to clean smelly drains?

Bleach kills bacteria and temporarily reduces drain smell, but it doesn't remove the organic material that bacteria feed on. The smell returns quickly as bacteria repopulate. Enzyme-based drain cleaners are more effective long-term because they break down the organic biofilm. Bleach is also harmful to septic systems and can corrode older pipes with repeated use.

Why does only one drain smell in my house?

A single smelly drain is almost always a P-trap or biofilm issue specific to that drain — not a whole-system problem. If it's a seldom-used fixture, refill the P-trap. If it's a regularly used drain, clean the biofilm with baking soda and vinegar or an enzyme cleaner. If the smell persists after both steps, there may be a localized crack in that drain's pipe.

Related Guides

House Smells Like Sewage
Whole-home sewer gas causes
Drain Smells Bad
Sink and shower drain odors
Kitchen Sink Smells
Food and biofilm in kitchen drains
Hot Water Heater Smells
Sulfur and anode rod issues
Basement Smells Like Sewage
Floor drains and sewer line issues

Quick Fix (5 steps)

1Identify all drains in the house that…
2Run each tap for 30-60 seconds to…
3Add a tablespoon of cooking oil or…
4Going forward: run water in all…
5For basements and vacation homes:…