home improvement and DIY

How to Fix a Sewer Smell in Your Bathroom

Marcus Hayes
Marcus Hayes
Marcus Hayes is a lifelong DIY enthusiast and former residential carpenter who has spent the last decade renovating his 1970s fixer-upper. Through Tinksmith, he shares his hands-on experience to help fellow homeowners tackle repairs, choose the right tools, and build spaces they love without breaking the bank.
Published

The first time my bathroom smelled like a subway station in August, I did what any sensible DIY dad would do: I blamed the kids. Then I remembered we do not have kids. So I did the next sensible thing and blamed the house.

“Sewer smell” in a bathroom usually means sewer gases are slipping past a water seal (a trap), a seal has failed (like a wax ring), or venting problems are letting sewer gas into the room or siphoning traps dry. The good news: most causes are fixable with basic tools, a little patience, and a nose that is willing to do some honest work.

A real bathroom vanity cabinet open to show a white PVC P-trap under the sink with a small bucket placed underneath

Safety first

Sewer gas is not aromatherapy. It can include hydrogen sulfide (that classic rotten egg smell) and methane (flammable, and usually odorless), plus other gases depending on the system.

  • Ventilate: Open a window and run the bath fan.
  • Avoid flames: Do not use candles or open flames while you are troubleshooting a strong gas smell.
  • Know when to leave: If the smell is overwhelming, you feel lightheaded, you have nausea or headaches, or you suspect a sewage backup, step out and call a plumber. If anyone feels sick and you are not sure whether it is sewer gas or something else, treat it like an emergency and also consider a carbon monoxide check.
  • Wear gloves: You will likely touch drain parts and possibly some “mystery moisture.”

Quick diagnosis

Before you start taking things apart, do a simple sniff and inspect routine. This keeps you from replacing parts that were never the problem.

Do this 3-minute walkthrough

  • Sink area: Open the vanity and smell near the P-trap and the trap arm where it enters the wall stub-out.
  • Tub or shower drain: Smell close to the drain and overflow plate.
  • Toilet base: Smell around the floor at the base, especially the back.
  • Floor drain: If you have one (common in basements), smell right at the grate.
  • Ceiling and fan area: Odor that seems “up high” can point to venting issues or air movement pulling odor from somewhere else.

Pro tip: If you cannot tell where it is coming from, tear off a few squares of toilet paper and set them near suspect spots for 10 minutes. This is not a lab test, but it can help you notice where odor is strongest and where air seems to be moving.

Most common fix: a dry P-trap

Every drain should have a trap (usually a P-trap) that holds water. That water is the plug that blocks sewer gas. If a sink, tub, or floor drain is rarely used, the water can evaporate and the smell sneaks right through.

How to fix it

  • Run water for 30 to 60 seconds in the sink or tub.
  • For a floor drain, pour in enough water to refill the trap (often a couple cups).
  • To slow evaporation on seldom-used drains, add 1 to 2 tablespoons of mineral oil after the water. The oil floats on top and reduces evaporation. If your floor drain keeps drying out, a trap primer is the more permanent, plumber-approved solution.

What to expect: If a dry trap was the culprit, the smell usually improves within minutes.

A round basement floor drain with a metal grate set into concrete, photographed from above with a small cup of water nearby

Toilet smells

If the odor is strongest at the toilet base, your prime suspect is the wax ring (or waxless seal) between the toilet and the flange. A failed seal lets sewer gas escape and may also leak water onto the subfloor.

Fast tests

  • Wobble test: Put your hands on the bowl and gently rock it. Any movement is a problem. A toilet should feel planted.
  • Look for staining: Yellowish stains, darkened grout, or soft flooring around the base can indicate leakage.
  • Sniff test after flushing: If the smell gets worse right after a flush, the seal is even more likely.

Fix options

  • If it wobbles: Check that the closet bolts are snug, but do not crank like you are torquing lug nuts. Porcelain cracks and it ruins your whole afternoon. If it still rocks, tightening is not the real fix. Plan on shimming and resetting the toilet with a new seal.
  • If the seal is suspect: Pull the toilet and replace the wax ring or waxless seal. Shut off the water, flush, sponge out the remaining water in the tank and bowl, then lift straight up. While you are in there, check the flange condition and height. A flange that is broken, corroded, or sitting too high or too low can keep even a new seal from sealing.
  • If it smells “toilet-ish” but not like sewer gas: A slow leak from the tank-to-bowl gasket or a sweating supply line can create a persistent musty funk around the toilet. It is not sewer gas, but it is still worth fixing before the floor gets ideas.

My carpenter brain rule: If you are already pulling the toilet, plan to replace the seal. Reusing an old wax ring is like reusing old chewing gum. Technically possible, emotionally upsetting.

A bathroom toilet lifted off the floor with a visible wax ring area on the flange, photographed during a real repair with gloves and basic tools nearby

Sink cabinet stink

If it smells inside the vanity, you could have a loose slip nut, a cracked trap, a missing washer, or a failed air admittance valve letting gases seep out. Sometimes it is not sewer gas at all, it is gunk rotting in the overflow channel of the sink.

What to check under the sink

  • Trap has water: Put a bucket underneath, loosen the trap cleanout (if you have one) or remove the trap carefully. You should see water.
  • Slip nuts tight: Hand-tight, then a gentle nudge with pliers if needed. Over-tightening can deform washers.
  • Cracks: Look closely at plastic traps for hairline splits.
  • Wall connection: The trap arm should slide into the wall stub-out with a snug slip-joint connection.
  • AAV present: If you see a little one-way valve under the sink, that is likely an air admittance valve (AAV). If it fails, it can leak odor. A failed AAV often smells strongest inside the cabinet. Also, AAVs are not allowed everywhere, so replacements should match local code and the manufacturer’s installation rules.

Clean the sink overflow

If your sink has an overflow hole near the rim, that channel can grow funk. Use a small brush and a mix of warm water plus dish soap, or a 50/50 mix of vinegar and warm water. Flush with clean water.

Avoid mixing chemicals: If you have used bleach-based drain cleaner recently, do not follow it with vinegar. Rinse with lots of water first, or wait a day.

Shower or tub odor

Tub and shower drains can smell like sewage when the real culprit is a thick layer of soap scum and hair biofilm. The odor often gets worse when warm water hits it.

Try this first

  • Remove the strainer and pull out hair (a small plastic drain snake works well).
  • Scrub what you can reach with a long brush.
  • Flush with hot water for a minute.

If the drain is slow and smelly, clearing the gunk fixes both.

A real shower drain with the strainer removed as a plastic drain snake pulls out a clump of hair and soap residue

Smell that comes and goes

If you have traps that keep going dry even though the fixture is used, or you hear gurgling when a nearby fixture drains, your plumbing may be siphoning the trap. That usually points to a venting issue.

Signs of vent trouble

  • Gurgling from a sink or tub when the toilet flushes
  • Trap dries out repeatedly in days, not months
  • Odor appears after heavy draining, like a laundry dump or a long shower

DIY checks you can do

  • Confirm the trap is installed correctly: Under-sink S-traps can siphon and are not allowed in modern codes. Most sinks should have a P-trap with a horizontal trap arm into the wall.
  • Look for an AAV: Some homes use an air admittance valve under the sink. If it fails, it can leak odor. Replace only with a proper model installed correctly, and keep in mind local rules.
  • Notice fan timing: A strong exhaust fan can worsen an existing weak seal or trap issue by changing pressure in the room. It does not create sewer gas, but it can help you discover where the system is already leaking.

When to call in backup: If you suspect a blocked roof vent, a collapsed vent pipe, or you cannot easily access the venting, a plumber can diagnose it quickly. Roof work plus plumbing diagnosis is a spicy combo for most weekends.

Hidden leaks

Sometimes what you think is sewer gas is actually sewage or gray water slowly leaking and stinking up wood, drywall, or insulation.

Clues to look for

  • Soft flooring around the toilet or tub
  • Peeling paint or bubbling drywall on the ceiling below the bathroom
  • Musty, sour odor that lingers even after you fix traps
  • Visible mold growth in the vanity or baseboards

If you see water damage, stop chasing odors and start tracing the leak path. Fixing the smell without fixing the leak is like putting air freshener on a gym bag. Temporary at best.

Two sneaky culprits

  • Loose cleanout plug: Some bathrooms, basements, or nearby utility areas have a drain cleanout with a threaded plug. If that plug is loose, missing, or the gasket is shot, it can leak odor like a champ.
  • Bad caulk where it should not be: If someone caulked all the way around a toilet base, a slow leak can get trapped under there and stew. It can smell awful while hiding the evidence. Many pros leave a small gap at the back for this reason.

Troubleshooting order

If you want the fastest path to a fix, this is the order I use so I am not doing extra work.

  1. Run water in every drain (sink, tub, floor drain) to refill traps.
  2. Clean hair and biofilm from tub or shower drain.
  3. Sniff the vanity cabinet and inspect the P-trap, connections, and any AAV.
  4. Check toilet stability and odor around the base, especially after a flush.
  5. Listen for gurgling and watch for repeated trap drying, which suggests venting.
  6. Inspect for leaks around fixtures and on the ceiling below.
  7. Check nearby cleanouts for loose caps or missing plugs.

When to call a plumber

DIY is great, but sewer odors can sometimes signal problems that get expensive if ignored.

  • You suspect a cracked drain pipe in a wall or under the slab
  • The toilet flange is broken or the floor is rotted
  • Multiple drains smell at once and traps are full
  • You have frequent clogs or a history of backups
  • You see sewage, not just odor

FAQ

Why does my bathroom smell like sewage but only at night?

Common reasons are a dry trap (evaporation happens all day), changing air pressure that pulls air through a weak seal, or venting issues that show up when other fixtures drain (like a dishwasher, laundry, or a neighbor’s usage in some multi-unit setups).

Can a bathroom fan cause sewer smell?

Indirectly, yes. A strong exhaust fan can worsen an existing weak seal or trap issue by changing pressure in the room and pulling odor through the easiest path. If the smell is worse with the fan on, focus on trap water levels and toilet sealing first.

Is it normal to smell sewer gas after replacing a toilet wax ring?

No, not for more than a brief whiff during installation. Ongoing odor usually means the seal did not seat correctly, the flange height is wrong, the toilet is rocking, or the bolts are not holding the toilet firmly to the flange.

Will bleach fix the smell?

Bleach can reduce odor-causing buildup, but it will not fix a missing water seal, a failed wax ring, or a venting problem. Use it for cleaning gunk, not as your main sewer gas strategy.

Keep it from coming back

  • Run water in every rarely-used drain once a month.
  • Keep hair out of the tub drain with a simple strainer.
  • If you have an AAV under a sink, check it anytime you smell odor in the cabinet.
  • Do a quick toilet wobble check during normal cleaning. Early movement is easier to fix than a rotten subfloor later.

If you work through the checklist and the smell is still hanging around like an uninvited houseguest, tell me where it is strongest and when it shows up. That timing detail is usually the breadcrumb that leads to the real culprit.