Sewer gas forms when bacteria break down human waste and organic material in the sewer system

Sewer gas is a mixture of gases produced naturally in sewers and septic systems. When bacteria decompose waste, they release methane, hydrogen sulfide (the gas that smells like rotten eggs), ammonia, and carbon dioxide. This process happens constantly in every sewer line and septic tank — it is normal and expected. The problem is not that the gas exists; it is that it escapes from the pipes where it belongs and enters your home.

Your plumbing system is designed to trap this gas below ground and vent it safely through your roof. When that system fails — when a trap dries out, a vent pipe clogs, or a seal breaks — sewer gas rises into your living spaces instead of venting harmlessly into the air.

Key Takeaways

  • Sewer gas is produced by bacteria breaking down waste in sewer lines and septic tanks, and it is normal for it to exist underground.
  • A dry P-trap under a sink or shower is the most common reason sewer gas enters homes, because the water seal that blocks gas is missing.
  • Clogged or damaged vent pipes prevent gas from escaping through the roof, forcing it back down into the house instead.
  • Cracked sewer lines, broken seals around toilet bases, and backed-up sewers can all allow gas to seep into your home.
  • A persistent sewer smell usually means a plumbing system problem that needs professional diagnosis, not just a cleaning issue.

How the P-trap stops sewer gas from entering your home

Under every sink, shower, and drain in your house sits a P-trap — a U-shaped bend in the pipe that holds standing water. That water creates a seal. Sewer gas cannot pass through water, so the gas stays in the sewer line below while air stays in your home above. This is the primary barrier between you and sewer gas.

When a drain sits unused for weeks or months, the water in the trap evaporates. Once the seal is gone, gas rises freely through the empty pipe and into your home. This is why a guest bathroom that nobody uses, or a basement floor drain in a dry climate, often smells like sewage. The fix is straightforward: run water down the drain to refill the trap. But if the smell returns within days, the trap may be cracked or the drain may have a deeper problem.

Clogged or damaged vent pipes force gas back into the house

Your plumbing system includes vent pipes — usually 2-inch or 3-inch pipes that run from your drains up through the roof. These pipes serve two purposes: they let sewer gas escape safely into the air, and they allow air into the drain system so water can flow freely. Without them, drains would gurgle and back up.

When a vent pipe clogs — usually from leaves, bird nests, ice, or debris — gas cannot escape upward. Instead, it backs up and pushes down into the house through the nearest drain. You may notice the smell near a bathroom or kitchen sink, or you may smell it throughout the home if the blockage is in a main vent. A plumber can clear the vent from the roof or use a camera to locate the blockage.

Vent pipes can also crack or separate, especially in older homes or after ground settling. A damaged vent may leak gas into your walls or crawl space before it reaches the roof, creating a smell that seems to come from nowhere.

Cracks in the sewer line allow gas to seep into soil and foundations

If your home's main sewer line — the large pipe that carries all waste from your house to the municipal sewer or septic tank — develops a crack, sewer gas escapes into the surrounding soil. You may smell it near the foundation, in the basement, or in the yard above the line. Tree roots are the most common cause of cracks, but age, ground settling, and freezing can also damage the line.

A cracked sewer line is a serious problem because it can allow sewage to contaminate groundwater and soil, and it can allow groundwater to seep into the line and cause backups. A plumber using a camera can inspect the line and determine whether repair or replacement is needed. This is not a DIY fix.

Broken seals around the toilet base let gas escape

A toilet sits on a ring of wax or rubber called a wax ring that seals the gap between the toilet and the flange (the fitting in the floor). If this seal breaks — usually because the toilet was installed incorrectly, the floor shifted, or the wax hardened with age — sewer gas leaks out around the base of the toilet.

You may smell it only when you are near the toilet, or you may notice a soft spot in the floor around the toilet, which indicates water is also leaking. Replacing a wax ring is a plumbing job that requires removing and resetting the toilet. It is not difficult for a plumber but requires care to avoid cracking the toilet or the flange.

Backed-up sewers and septic systems release gas into the home

When the municipal sewer line backs up — usually during heavy rain or because of a blockage downstream — sewage and gas can back up into your home through the lowest drains, typically the basement floor drain or the lowest toilet. You will smell sewer gas strongly, and you may see sewage coming up through drains.

If you have a septic tank, a full or failing tank can also cause gas to back up into the house. Septic tanks need to be pumped every three to five years depending on household size and usage. If yours has not been pumped in longer, or if you notice slow drains throughout the house, the tank may be full.

A backed-up sewer is an emergency. Call a plumber when ready. Do not use drains or flush toilets until the backup is cleared, because doing so can force sewage into your home.

Frequently Asked Questions

Is sewer gas dangerous to breathe?

Sewer gas in small amounts is unpleasant but not when ready dangerous to most people. However, hydrogen sulfide at high concentrations can cause headaches, nausea, and respiratory irritation. Prolonged exposure in poorly ventilated spaces can be serious. If you smell sewer gas persistently, find and fix the source rather than ignoring it.

Can I fix a sewer gas smell myself?

You can refill a dry P-trap by running water down the drain, and you can check that a toilet base is sealed and not leaking. Beyond that, most sewer gas problems — clogged vents, cracked lines, broken seals — require a plumber with a camera and the right tools. A persistent smell usually means a system problem, not a cleaning issue.

Why does my basement smell like sewage but no drains are backing up?

A cracked sewer line, a damaged vent pipe, or a dry floor drain can all cause a basement smell without visible backup. A plumber can use a camera to inspect the main line and vent pipes. If the smell is near the foundation, the crack may be in the line itself rather than in a drain.

What should I do if I smell sewer gas after heavy rain?

Heavy rain can temporarily back up municipal sewers or saturate soil around a cracked line. If the smell goes away within a day or two, the backup cleared itself. If it persists, or if you see water coming up through drains, call a plumber. The municipal sewer may be blocked, or your line may be cracked and allowing groundwater in.