Leaky Pipes
Leaky pipes in your bathroom walls or under the shower will allow sewer gases — also known as hydrogen sulfide — to escape, so you may notice the shower drain smells like rotten eggs or sewage.
How do I get rid of the smell in my shower drain?
Mix 1 part bleach and 1 part water, then pour down the drain. First, pour one cup of baking soda down the drain. Then add a cup of white vinegar. Cover the drain as the mixture fizzes, then flush with hot water.
Why is there a smell coming from my shower drain?
Smells in a shower drain can be caused by odor-causing bacteria that feed on debris in the pipe. Some of these anaerobic bacteria live in fetid water in the P-trap and produce hydrogen sulfide gas, which smells like sewage. Other odors can also be caused by the debris itself, like hair or soap scum build-up.