Shower Drain Smells Like Sewage: Rotten Egg vs Sewer Tests
A shower drain that smells like sewage is leaking drain air, usually from a dry trap, biofilm, a failed trap or a blocked vent. Plug the drain and run the water. If the stink stays, the source is the water heater or supply instead.
Which of the 5 shower smells do you have, and what proves it?
Five smells split into two families: rotten egg that follows the running water is a water problem, while sewer, musty or urine-like odor at the grate is a drain problem. The matrix pairs each smell with the one test that proves it and the amount to use for the fix.
| What the nose reports | Likely cause | Test that proves it | Fix, with amounts |
|---|---|---|---|
| Rotten egg, hot water only (water) | Magnesium anode reacting with sulfates, or sulfate-reducing bacteria in the tank | Plug the drain, run hot. Plug a drain elsewhere, run cold. Only the hot stinks. | Aluminum anode in place of magnesium, or tank at 160 F for several hours, then 10 to 15 minutes of hot water at the tub |
| Rotten egg, hot and cold (water) | Hydrogen sulfide in a well, bacteria in a softener, or a utility issue | Same plug test, and the cold water stinks too | Well: test first, then carbon below about 1.0 mg/L or an oxidizing filter up to 2 to 3 mg/L. City water: call the utility. |
| Sewer, rarely used shower (drain) | Dry trap | Cup over the grate with the water off, then pour water in and repeat. The second cup is clean. | 1 quart of water, repeated on a schedule |
| Sewer or sour, shower used daily (drain) | Biofilm on the strainer, drain walls and trap | Odor disappears when the drain is plugged and the water runs | Bottlebrush and soap, then 1 to 2 parts bleach per 10 parts water overnight, or 1/2 cup baking soda plus 1/2 cup vinegar |
| Sewer, returns days after a refill (drain) | Failed trap in a slab, or a drum trap | Dowel check: the water line drops between checks 24 hours apart | Plumber: camera the trap and arm, then replace it |
| Sewer plus gurgling (drain) | Blocked or missing vent pulling the seal | Flush a toilet or drain a tub while listening at the shower grate | Vent cleared or added, so the seal sees no more than 1 inch of water column |
| Musty, damp (drain area) | Mold on the grate, caulk or grout | Lift the grate, sniff its underside and the caulk line | Scrub under 10 square feet yourself, and hold humidity at 30 to 50 percent |
| Urine-like, sharp (drain area) | Ammonia from urine residue, or a toilet seal seeping nearby | Scrub the grate with soap, sniff again, then rock the toilet by hand | Soap and hot water, no bleach. A toilet that rocks needs its seal replaced. |
The two families share no fixes: a new anode does nothing for a dry trap, and 1 quart of bleach solution in the drain never reaches a magnesium rod in the water heater. Run the tests in the chart below before buying a part. Once you’ve confirmed the water heater is the culprit, see removing a stuck anode rod before reaching for a breaker bar.
How does a plugged drain separate a water smell from a drain smell?
Plugging the drain blocks the drain air, so anything you still smell came out of the showerhead. This sequence comes from the City of Mesa, Arizona water quality page:
- Plug or tape over the shower drain before any water runs, so your nose starts clean.
- Run the hot water. No odor with the drain plugged means the shower drain is the source.
- If the odor stays, go to a faucet in another room, cover that drain and run cold only.
- Cold stinks too: the supply. Cold is clean: the water heater.

Rotten egg in the hot water only: anode rod or bacteria in the tank?
Hot-only sulfur smell starts in the water heater, and agencies name two culprits. NDSU Extension blames sulfates in the raw water reacting with the magnesium anode. Mesa blames sulfate-reducing bacteria, helped by a low thermostat setting or water sitting idle during a vacation.
Try heat first because it needs no parts. Mesa says these bacteria die at about 140 F, and its procedure is 160 F for several hours, then hot water at the tub for 10 to 15 minutes to flush them out. The relief valve must work before you start, and the dial must go back down afterward, because 160 F water scalds.
If the odor returns after that flush, suspect the anode. Penn State Extension says an aluminum rod should end the odor and keep the corrosion protection. Pulling the rod with no replacement also stops the reaction, but Penn State warns of faster corrosion and a likely voided warranty, so ask for the swap. Bradford White’s FAQ sends owners to a plumbing professional for this smell.
Rotten egg in hot and cold water: what do a well and a city supply each need?
Odor in both taps means hydrogen sulfide arrives with the water or forms ahead of the heater, so nothing at the shower will fix it. On city water, Mesa’s instruction is to phone the water quality office, and your utility’s number is on the bill. On a well, Penn State points to sulfur-reducing bacteria in the low-oxygen well and plumbing.
Well treatment follows the measured level, and Penn State notes the sample must be run in the home or chemically stabilized before it travels to a lab. Its thresholds: activated carbon (1.0 to 1.5 cubic feet) below about 1.0 mg/L, a manganese greensand oxidizing filter up to 2 to 3 mg/L, and chlorine or potassium permanganate feed above 6.0 mg/L, with at least 20 minutes of chlorine contact time. Shock chlorination is a common first step, though the odor usually returns quickly.

Sewer smell at the shower drain only: dry trap, biofilm, failed trap or vent?
A sewer smell at one drain means gas is getting past that shower’s water seal, and four checks in cost order find which barrier failed. 2021 IPC Section 1002.4 requires 2 to 4 inches of water in the trap, and our guide to how a P-trap holds its seal shows that geometry. If several fixtures smell, start with why a whole bathroom smells like sewer instead.
Check 1: the cup test for a dry trap
Set a clean cup upside down over the grate for 5 minutes with the water off, lift it and sniff. A foul cup means gas is rising with nothing disturbing the drain. Pour 1 quart of water down and repeat. A quart is 57.75 cubic inches, enough to fill about 17 inches of 2 inch schedule 40 pipe, well past any legal seal, so a clean second cup convicts a dry trap.
Check 2: biofilm, if the cup stays foul or the shower gets daily use
Mesa describes the mechanism: water rushing past slime on the drain wall knocks odor molecules loose, which is why a drain can smell only while the shower runs. Pull the strainer (how your shower drain type comes apart decides whether it lifts or unscrews) and scrub its underside and the drain wall with soap and a large bottlebrush. Then pour in Mesa’s bleach mix and leave it overnight: 1 to 2 parts bleach per 10 parts water, which for a 1 quart batch is about 6 tablespoons in 3-2/3 cups of water, or 2/3 cup in 3-1/3 cups.
On a septic system, Mesa swaps the bleach for 1/2 cup baking soda followed by 1/2 cup white vinegar. Those are alternatives, never a sequence: Poison Control says bleach plus an acid such as vinegar or some toilet bowl cleaners makes chlorine gas, and bleach plus ammonia makes chloramine gas, and CDC’s chlorine fact sheet says not to mix household cleaners. If you already poured a drain opener or cannot remember what went down, skip bleach. If fumes form, leave and get fresh air; the Poison Control line is 1-800-222-1222. A shower that also drains slowly has hair holding the slime in place, so clear the shower drain clog before you clean. For a step-by-step approach to clearing that buildup, see removing hair clogs from shower drains.
Check 3: a trap that will not hold water
Refill the trap, slide a clean wooden dowel down the drain until it meets water, and mark the wet line. Repeat 24 hours later. A line that falls visibly in a day points to a cracked trap under the slab or a vent pulling the seal. Ask a plumber for a camera inspection of the trap and trap arm plus a smoke test of the drain and vent piping. A confirmed crack below a slab means cutting concrete to reach it.
In an older house, also ask about a drum trap, a metal canister with a screw-off lid. The air under that lid usually sits on the sewer side of the water, so a loose lid can leak gas. IPC Section 1002.3 and IRC Section P3201.5 prohibit drum traps; the IPC exempts only solids interceptors and chemical waste systems.
Check 4: a vent that siphons the seal
Gurgling at the grate when a toilet flushes or a tub empties means a pressure swing is pulling the seal. IPC Section 901.2 limits that swing to 1 inch of water column, and Table 909.1 caps the trap-to-vent distance at 6 feet for a 1-1/2 inch trap and 8 feet for a 2 inch trap at 1/4 inch per foot. Ask for the vent to be traced and that distance measured.
Trap size is a poor suspect. Despite the common claim that code demands 2 inches, IPC Table 709.1 sets a 1-1/2 inch minimum at 5.7 gpm or less and 2 inches only above that, through 12.3 gpm. Local amendments vary, so check yours before replacing anything.

Musty or urine-like at the grate: mold and ammonia need different cleaners
A musty smell points to mold around the drain rather than sewer gas, so check the grate underside and caulk line. The EPA mold guide calls patches under about 10 square feet usually a do-it-yourself job and sets the humidity target below 60 percent, ideally 30 to 50 percent. A $10 to $50 humidity meter settles whether the fan keeps up.
A sharp urine smell is ammonia until proven otherwise. ATSDR describes ammonia as a gas with a very distinct odor that bacteria can produce, so suspect urine residue on the grate first, then a seal seeping under a toilet that shares the wall. Clean this one with soap and hot water only, because of the chloramine risk with bleach.
When does a shower smell mean you should leave the bathroom?
Leave and ventilate if the odor fades while you are still standing in it, or if headache or dizziness arrive, because a fading smell is not a falling level. ATSDR puts the hydrogen sulfide odor threshold at 0.0005 to 0.3 ppm and says people lose the ability to smell it after about 2 to 15 minutes at about 100 ppm, at least 333 times the top of that range. Above 500 ppm it can cause sudden unconsciousness or death. No source we read measures typical levels at a home shower drain.
A rotten-egg smell near a gas appliance, unrelated to running water, is a different emergency. Federal rule 49 CFR 192.625 requires distribution gas to be odorized so people can detect it. Leave the house, call the gas utility from outside, and skip the plug test.
How we sourced this
We read the City of Mesa odor page (via an archived copy, since the live page blocked automated access), NDSU and Penn State Extension, ATSDR ToxFAQs for hydrogen sulfide and ammonia, Poison Control, CDC, the EPA mold guide, 49 CFR 192.625, and the 2021 IPC and IRC as published on UpCodes for Colorado. We computed the quart-to-pipe length and bleach batches. The 5-minute cup dwell and 24-hour dowel interval are suggested test intervals, not agency numbers, and the urine and drum-trap lid explanations are reasoning from those documents. Nothing was tested by us. Left out because no primary document confirmed them: repair prices, anode socket sizes and the UPC shower trap table.
Frequently asked questions
Is it safe to keep showering with a faint sewer smell from the drain?
A faint odor that clears after a 1 quart refill is mainly a nuisance, since ATSDR puts the hydrogen sulfide odor threshold as low as 0.0005 ppm. Stop using the room if the smell is strong, keeps returning, or comes with headache or dizziness, and have the trap and vent checked first.
How often should I run water in an unused shower?
No code or agency we read sets an interval, and home sites disagree, with figures from every 2 weeks to monthly and no data behind them. IPC Section 1002.4.1 treats evaporation as a real risk for traps. Use the 24-hour dowel check to learn your own rate, then set a reminder.
Why did my shower start smelling after a vacation?
Two things happen in an empty house. Trap water evaporates, and Mesa says water idle in the tank for days or weeks lets sulfate-reducing bacteria thrive. Refill every drain with 1 quart of water, then run hot water at the tub for 10 to 15 minutes. If hot water still smells, treat the heater.
Can a water softener cause a rotten egg smell in the shower?
Yes, though Penn State Extension calls it rare. A softener can give sulfur-reducing bacteria a favorable place to grow, which produces hydrogen sulfide in the treated water. Have water tested from a tap ahead of the softener and one after it. A clean sample ahead of the unit narrows the source to the softener itself.