If your shower drain smells like rotten eggs, the odor is usually tied to sulfur-producing bacteria, trapped buildup, or plumbing problems that let sewer gases escape.
The good news is that most causes are identifiable and fixable without tearing into your bathroom.
What causes a rotten egg smell in a shower drain?
The most common reason a shower drain smells like rotten eggs is hydrogen sulfide gas, which has a sulfur-like odor.
This gas can be produced by bacteria feeding on organic matter inside the drain, in standing water, or in your plumbing system.
Several conditions can create that smell:
- Bacteria buildup in soap scum, hair, skin cells, and grime inside the drain
- Dry P-trap that no longer blocks sewer gases from entering the bathroom
- Biofilm inside pipes that holds odor-causing residue
- Water heater issues if hot water alone produces the smell
- Sewer vent or drain line problems that allow odors to move backward into the shower
Because the odor can come from multiple sources, the best fix depends on whether the smell appears all the time, only when the shower runs, or only with hot water.
How the P-trap protects your bathroom
Every shower drain should have a P-trap, the curved section of pipe under the drain.
It holds a small amount of water that creates a seal against sewer gas.
If the shower has not been used for a while, the trap water can evaporate.
Once that barrier disappears, sewer gas may slip into the room and create a rotten egg smell.
In some homes, a poorly installed or damaged trap can cause the same result.
If the odor comes and goes after long periods of nonuse, a dry trap is a likely explanation.
Why does shower drain smell like rotten eggs after a period of no use?
If the smell shows up after vacation, after a guest bath sits unused, or in a seldom-used basement shower, evaporation is often the cause.
The water in the trap slowly disappears, exposing the drain to sewer gas.
To test this, run water in the shower for 30 to 60 seconds and see whether the smell fades.
If it does, the trap likely needed refilling.
In some cases, adding water once a week is enough to prevent the odor from returning.
Why does the smell happen only with hot water?
If the smell appears mainly when you use hot water, the issue may be inside the water heater rather than the drain.
Sulfur bacteria can react with magnesium anode rods in some water heaters, producing hydrogen sulfide in the hot water supply.
Clues that point to the water heater include:
- The smell is stronger from hot taps than cold taps
- Multiple fixtures in the home smell the same way when hot water runs
- The odor starts after the water heater is serviced, drained, or replaced
If the cold water smells normal, the shower drain may not be the real source.
A plumber can test the heater, the anode rod, and the hot water line for bacterial activity or corrosion-related odor.
Common drain buildup that creates sulfur odors
Showers collect a mix of hair, body oils, shampoo residue, soap scum, and dead skin cells.
Over time, this organic material can form a sticky layer on the pipe walls called biofilm.
Anaerobic bacteria thrive in that environment and can release a sulfur smell.
Common buildup sources include:
- Hair clogs that trap moisture and debris
- Soap scum that coats the inside of the drain
- Shower products that leave residue behind
- Mineral deposits in hard-water homes
This type of odor usually gets worse gradually.
You may notice slow drainage first, then a stronger smell after warm showers.
How to clean a shower drain that smells like rotten eggs
Start with the simplest cleaning methods before using stronger products.
A clean drain often solves the odor if the cause is biofilm or mild buildup.
1. Remove visible debris
Take off the drain cover and pull out any hair or gunk near the opening.
Use gloves and dispose of the debris in a trash bag.
2. Flush the drain with hot water
Run hot water for several minutes to loosen soap residue.
Avoid boiling water on plastic pipes unless the plumbing manufacturer says it is safe.
3. Scrub the drain opening
Use a drain brush or an old toothbrush to scrub the visible edges of the drain.
This helps remove biofilm that can hold odor-causing bacteria.
4. Use an enzyme-based cleaner
Enzyme cleaners are designed to break down organic waste without harsh acids or lye.
They are often a good choice for shower drains because they target the material feeding the bacteria.
5. Clean the overflow and nearby fixtures
If the shower has an overflow opening or adjacent sink odors, the smell may be moving through the bathroom plumbing system rather than coming only from the shower drain.
What not to do when chasing the smell
It is easy to use the wrong fix and make the problem worse.
Avoid these common mistakes:
- Mixing chemicals such as bleach and vinegar, which can create dangerous fumes
- Using excessive drain cleaner, which can damage pipes and seals
- Ignoring a persistent odor, especially if it returns quickly after cleaning
- Pouring oil down the drain to “seal” the trap, which can create more buildup
If the smell is severe or repeated cleaning does not help, the issue may be in the venting or sewer line and not the drain surface.
When the problem points to plumbing or sewer gas
A rotten egg smell can signal a plumbing issue that needs professional attention.
If sewer gas is entering the shower, the odor may come from a cracked trap, a loose connection, a blocked vent, or a faulty wax seal in a nearby toilet.
Watch for these warning signs:
- The smell is strong and constant
- Water drains slowly or gurgles
- Other drains in the home smell bad too
- You notice leaks, damp subflooring, or mold growth
- The smell returns within hours after cleaning
In homes with septic systems, odors can also happen when the system is overloaded, poorly vented, or in need of pumping.
How to prevent a shower drain from smelling like rotten eggs again
Once the odor is gone, a few maintenance habits can help keep it from returning.
Consistent prevention is usually easier than repeated deep cleaning.
- Run water in unused showers once a week to refill the trap
- Use a drain cover to catch hair before it enters the pipe
- Clean the drain opening regularly to limit biofilm
- Rinse away soap residue after heavy use
- Check for slow drainage before it becomes a clog
- Have a plumber inspect recurring odors or vent issues
In homes with hard water, periodic descaling may also help reduce mineral buildup that can hold odor and debris.
When to call a plumber
Call a licensed plumber if the smell persists after cleaning, if multiple fixtures smell like sulfur, or if you suspect a dry trap, broken vent, or sewer gas leak.
Professional diagnosis is especially important when the odor is accompanied by slow drains, gurgling, or water damage.
A plumber can inspect the drain trap, test the water heater, check venting, and identify whether the problem is inside the shower drain or somewhere deeper in the system.
Quick checklist for diagnosing the smell
- Does the odor happen only after the shower sits unused?
- Is the smell stronger with hot water than cold?
- Do you see hair, slime, or soap buildup in the drain?
- Are other drains in the house affected?
- Does running water temporarily make the smell disappear?
Answers to these questions usually point to the source quickly and help determine whether you need a deep clean, a trap refill, a water heater check, or a plumbing inspection.