Why Your Shower Drain Smells Like Rotten Eggs and How to Fix It

The bathroom is one of the most heavily used rooms in a house, so when the shower drain starts giving off a powerful rotten egg smell, it can make the whole home feel dirty or neglected. The odor almost always traces to hydrogen sulfide gas, which forms when bacteria in the drainage system break down waste, soap scum, and hair. In some cases the smell comes from contaminated water instead of the drain, and the fix for one does nothing for the other, so finding the actual source comes first. This article covers the common causes, how to test each one, and the cleaning steps that clear the odor for good. If the smell reads more like sewage than eggs, the guide to why your shower drain smells like sewage explains that separate condition and its remedies.

Why Rotten Egg Smells Form in Shower Drains

Hydrogen sulfide is the gas behind the classic rotten egg odor. Sulfur-reducing bacteria inside the pipe produce it as they feed on the organic matter that washes down the drain: skin cells, hair, soap residue, and body oils. The bacteria live in the warm, damp biofilm that lines the pipe walls, and the gas they release escapes through the drain opening whenever the air pressure shifts. Human noses detect hydrogen sulfide at concentrations of a few parts per billion, which is why even a light bacterial buildup smells strong enough to fill the room.

Hydrogen Sulfide From Bacteria

Shower drains are ideal habitat for these bacteria because the pipe stays damp between uses and collects debris on a regular schedule. A shower used daily delivers a steady supply of food into the trap and the horizontal run beyond it, and when that material sits long enough, colonies establish and gas production begins. Running water flushes part of the film away, but the bacteria recolonize within days. The smell often becomes obvious after a vacation, because a week or two without water lets the colony grow undisturbed and the trap level drop. A leakproof shower drain installation also removes the gaps around the flange where odor can escape even when the trap is full, which is one reason a properly sealed drain stays fresher.

Contaminated Water as a Source

When the rotten egg smell shows up at every faucet in the house instead of just the shower, the source is probably the water supply. Sulfate in groundwater can react inside a water heater, particularly one fitted with a magnesium anode rod, and produce hydrogen sulfide that is released when the hot tap opens. Cold water that smells on its own points to the well or the municipal supply. Testing the water separates this cause from a drain problem, because the remedy for contaminated water is treatment, not cleaning.

Common Causes of Drain Odors

Most shower drain smells come from a short list of causes, and identifying the right one saves time and effort. The shower drain smells rotten eggs explainer from This Old House walks through the same troubleshooting order that working plumbers use, and the table below summarizes the usual suspects.

A Dried-Out P-Trap

Every plumbing fixture has a trap, the curved section of pipe under the drain that holds a water seal against sewer gas. When a shower goes unused for two to three weeks, that water evaporates and the seal disappears, letting sewer gases flow up into the room. The fix takes seconds: run the shower for a few minutes to refill the trap. If the odor fades almost immediately, the dry trap was the whole problem. Homes with guest bathrooms see this constantly, because those fixtures sit idle for months.

Biofilm, Hair, and Soap Scum

The more common cause is organic buildup inside the drain. Hair strands snag on the drain cover and the joints in the pipe, and soap scum glues them into a mat that bacteria colonize. The longer the mat sits, the stronger the gas output becomes. Cleaning removes the food source, which is why a one-time deodorizer only masks the smell until the biofilm regrows. A weekly rinse and a monthly scrub keep the population low enough that the odor never develops.

Venting and Seal Defects

Less often, the odor points to a plumbing defect: a cracked pipe joint, a blocked vent stack, or a worn drain gasket. Any of these lets sewer gas enter even when the trap is full of water. If cleaning and the water tests come up empty, a plumber can run a camera down the line and inspect the vent to find the break. These repairs sit outside the reach of most DIY work, and delaying them lets the gas spread through the whole house.

CauseWhat You NoticeQuick Check
Dried-out P-trapSmell after weeks without useRun water a few minutes; odor fades
Biofilm and hairConstant odor, worse in warm roomsRemove the cover and inspect
Contaminated waterSmell at every faucetFill a glass from each tap and compare
Vent or seal defectPersistent smell despite cleaningCamera inspection by a plumber

How to Diagnose the Source

Work through the drain test before testing the water. The drain is the most common source and the easiest to rule out, and the order below keeps the diagnosis fast. Keep a flashlight and a flat-head screwdriver handy, because you will need both to inspect the drain cover.

  1. Run cold water in the shower for two to three minutes, then sniff the drain opening. A fading odor means the trap was dry.
  2. Remove the drain cover and check for hair, soap scum, and dark sludge. Visible buildup points to a biofilm problem.
  3. Sniff the drain flange and the overflow opening separately. Odor concentrated in one spot narrows the search.
  4. Fill a glass from the bathroom sink and another from the kitchen tap. If both smell, suspect the water supply.

Testing the Water Supply

Fill a clear glass, let it sit for a minute, and smell it. A sulfur smell that appears only in hot water points to the water heater, while a smell in cold water suggests the well or the incoming supply. A laboratory test confirms the sulfate and hydrogen sulfide concentrations before you buy treatment equipment, and most local health departments can recommend a certified lab.

Water Heater Anode Rods

Water heaters with magnesium anode rods are more prone to generating hydrogen sulfide when the incoming water carries high sulfate levels. Replacing the magnesium rod with an aluminum version and flushing the tank often clears the odor. Plumbers perform the swap in under an hour, and it removes the chemical reaction at the source instead of masking the smell.

Inspecting the Drain and Shower Floor

The drain flange and the floor around it deserve a close look during the diagnosis. Water that seeps under the flange keeps the area permanently damp, which feeds bacteria and can rot the subfloor over time. In solid-surface showers, the number of grout lines determines how many places moisture can hide, which is why grout-free engineered stone shower panels show up in so many remodeled bathrooms. Check the caulk and tile while you are there, because cracked sealant admits both water and odors.

Cleaning and Deodorizing the Drain

Once the source is confirmed as drain buildup, cleaning removes both the bacteria and their food supply. Start with the mildest method and escalate only if the odor hangs on. Most cases respond to the household treatment below, while stubborn cases need a mechanical cleaning.

Baking Soda and Vinegar Treatment

You need a few household supplies for the first pass:

  • 1/2 cup baking soda
  • 1 cup white vinegar
  • A kettle of hot water
  • A drain brush or stiff toothbrush

Pour the baking soda down the drain, follow with the vinegar, and let the mixture foam for about 15 minutes. The reaction loosens film, but it does not kill bacteria on its own, so follow with hot water and mechanical scrubbing. Pull the drain cover and scrub the visible surfaces with the brush to break up the hair mat.

Mechanical Cleaning and Commercial Products

For heavier buildup, a drain snake or a zip-it tool pulls hair and sludge out of the pipe in long strips. Enzyme-based cleaners digest organic matter over a few days and stay gentle on pipes, while caustic chemical products can damage metal and rarely reach the biofilm on the upper pipe walls. Reserve the strong chemicals for a clogged line and keep them away from recurring odor problems. If the drain is actually blocked, the how to unclog a shower drain guide covers DIY methods that clear the line without damaging the pipes. Expect to repeat the treatment twice if the buildup has been growing for months: the first pass removes the surface film, and the second clears what the foam loosened underneath. If the odor returns within a week, the problem is not surface biofilm but something structural, and that is the point to call a plumber.

Preventing Odors From Returning

A clean drain stays clean only with a few habits. The routine below takes minutes a week and keeps the bacterial population low enough that the smell never builds up.

Simple Habits That Keep Drains Fresh

  • Run the shower for a minute after every use to refresh the trap seal
  • Rinse the drain cover weekly and pull out trapped hair
  • Pour a kettle of hot water down the drain once a week
  • Keep the bathroom ventilated so humidity does not linger in the pipes

Plan Upgrades With Odor Prevention in Mind

When a remodel is on the horizon, choose fixtures and surfaces that resist buildup from the start. The 15 shower systems for a spa-like bathroom experience roundup highlights options with smooth, easy-to-clean surfaces and quality drains that stay fresh between cleanings. A properly sealed drain and a waterproof shower pan prevent the damp conditions that sulfur-reducing bacteria need to multiply.

Seasonal homes need the same attention as daily use. A shower used only on weekends produces less buildup, but its trap can still dry out between visits, so run water through every fixture on arrival. A few minutes of water beats an hour of scrubbing later.

Most shower drain odors clear up quickly once you know whether the problem is the trap, the biofilm, or the water. While you are checking the bathroom plumbing, look at the fixtures themselves: a dripping shower head wastes water and keeps the room damp. The fixing a leaking shower head guide covers the common repairs so the whole shower stays dry and odor-free.