The most common cause is a dry or damaged P-trap under your sink or toilet
The P-trap is a U-shaped bend in the pipe under every sink, toilet, and drain in your house. It holds standing water that acts as a seal, blocking sewer gases from rising back up into your home. When that water dries out — because a drain hasn't been used in weeks, or because the trap has cracked — the seal breaks and gases escape into the room.
A dry trap is the fastest thing to fix: run water down the drain for 30 seconds. If the smell returns within days, the trap itself may be damaged and will need replacement by a plumber. If the smell is coming from a basement floor drain or a rarely used shower, a dry trap is almost certainly the culprit.
Key Takeaways
- A dry P-trap under a sink or toilet is the most common source; running water down the drain for 30 seconds usually stops the smell when ready.
- Cracks in the trap, broken vent pipes, or a blocked vent stack can allow sewer gases to enter even when the trap is wet.
- A backed-up main sewer line or septic system failure will produce a smell throughout the house and requires a professional inspection.
- Wax ring failure under a toilet base allows gases to seep into the wall cavity and can take weeks to become noticeable.
- If the smell persists after running water and checking visible traps, call a plumber to inspect the vent system and main line.
Cracks or leaks in the P-trap itself
If running water down the drain stops the smell for only a few hours or a day, the P-trap is probably cracked or corroded. Older metal traps rust from the inside out, and plastic traps can develop hairline cracks that let gas through even when water is present.
You can sometimes see a leak by placing a paper towel under the trap and checking it after an hour. If it's wet, the trap is leaking. Replacement is straightforward for a plumber — they unscrew the old trap, install a new one, and test it. This usually costs between $150 and $300 depending on the pipe material and location.
A blocked or damaged vent pipe
Your plumbing system has vent pipes that run from the drain lines up through the roof. These vents let sewer gases escape safely outside and allow air into the pipes so water drains properly. When a vent is blocked — by leaves, bird nests, ice, or debris — gases back up and come out through the nearest drain opening, usually a sink or toilet.
You may notice the smell is worse in one room, or that drains are slow to empty. A blocked vent stack on the roof can sometimes be cleared by a plumber using a plumbing snake or pressure washer, which costs $200 to $400. If the vent pipe itself is cracked or has separated at a joint, it will need to be repaired or replaced, a more involved job.
A failing wax ring under the toilet base
The wax ring is a rubber and wax seal that sits between the toilet base and the flange (the opening in the floor). When it fails — usually after 20 to 30 years, or sooner if the toilet has been rocked or moved — gases seep into the wall cavity and subfloor beneath the bathroom.
The smell may not come directly from the toilet; instead, you might notice it in an adjacent room or in the basement below. A failed wax ring also causes water to leak under the toilet, which you may see as soft flooring or staining. Replacement requires removing the toilet, scraping out the old ring, and installing a new one — a job most homeowners should leave to a plumber, costing $150 to $300.
A backed-up main sewer line or septic system failure
If the smell is strong throughout the house and multiple drains are slow or backing up, the problem is likely in the main sewer line or septic system. Tree roots can crack the main line, or the line can collapse from age or ground settling. A septic tank that is full or failing will produce a pervasive smell and wet patches in the yard.
This is not a DIY repair. A plumber will use a camera to inspect the line and determine whether it needs cleaning, repair, or replacement. Costs vary widely — from $300 for a straightforward cleaning to several thousand dollars for line replacement — depending on the damage and how deep the line is buried. Call a plumber as soon as you suspect this problem, because a backed-up sewer line can cause sewage to back into your home.
Loose or missing cleanout caps
Sewer cleanouts are access points in your plumbing system, usually found in the basement, crawlspace, or yard. They have removable caps that allow a plumber to snake the line if it clogs. If a cap is loose or missing, sewer gases escape directly from the line.
Check any cleanout caps you can see — they should be tight and sit flush. If one is loose, tighten it by hand or with a wrench. If one is missing, you can buy a replacement cap at a hardware store for $10 to $30 and install it yourself, or call a plumber to do it. A missing cap is also a safety hazard, so replace it promptly.
Cracks in the foundation or slab
If your house is built on a concrete slab and the sewer line runs under it, a crack in the slab can allow gases to seep up into the house. This is less common than other causes, but it happens when the ground shifts or the slab settles unevenly over time.
You may notice the smell is strongest in one area of the house, or that it comes and goes with changes in weather or barometric pressure. A plumber can use a camera to inspect the line under the slab. If the line is cracked, repair options depend on the severity — sometimes the line can be relined from inside without digging, other times excavation is necessary. Get a professional inspection before assuming this is the cause.
Frequently Asked Questions
Is sewer gas dangerous to breathe?
Sewer gas is mostly methane and hydrogen sulfide, which smell bad but are not when ready toxic at the levels found in a home. However, prolonged exposure to high concentrations can cause headaches, nausea, and respiratory irritation. The smell itself is a sign that gases are entering your living space, so fix the source rather than ignoring it.
Why does the smell come and go?
A dry trap that refills when you use the drain will produce an on-and-off smell. Blocked vents can also cause intermittent odors depending on wind direction and barometric pressure. If the smell is truly random and you've ruled out a dry trap, have a plumber inspect the vent system and main line.
Can I fix a sewer gas smell myself?
Yes, if it's a dry trap — just run water down the drain. You can also tighten or replace a loose cleanout cap yourself. For anything else — a cracked trap, blocked vent, failed wax ring, or backed-up line — call a plumber. Misdiagnosing the problem can waste time and money.
What should I do if the smell is very strong and sudden?
A sudden, strong smell throughout the house suggests a backed-up sewer line or septic failure. Do not ignore it. Call a plumber the same day. In the meantime, avoid using drains if possible, and keep bathroom and basement doors closed to contain the smell.