Drain flies in a shower drain usually mean organic buildup is feeding their larvae inside the pipe.
The good news is that you can remove the source, break the breeding cycle, and keep them from coming back with a targeted cleaning routine.
What Are Drain Flies and Why Do They Appear in Shower Drains?
Drain flies, also called moth flies, sewer flies, or filter flies, are tiny insects with fuzzy wings that often rest near sinks, tubs, and showers.
They are drawn to moist, dark places where hair, soap scum, skin cells, and other organic debris accumulate.
In a shower drain, the problem is usually not the water itself but the slimy buildup inside the drain opening, P-trap, or nearby pipe walls.
Female drain flies lay eggs in this film, and the larvae feed on the organic matter until they mature into adults.
- Common breeding sites: shower drains, sink drains, floor drains, overflow drains, and rarely damaged sewer lines
- Common signs: small moth-like flies hovering near the drain, especially in the morning or after water sits unused
- Why they persist: cleaning the visible drain opening without removing buildup deeper in the pipe
How to Get Rid of Drain Flies in Shower Drain?
The most effective approach is to clean the drain physically, flush it thoroughly, and repeat treatment long enough to interrupt the life cycle.
A single rinse usually will not solve the problem because eggs and larvae can survive in the slime layer.
1. Confirm the shower drain is the source
Before treating, make sure the shower drain is actually the breeding site.
Place clear tape loosely over the drain opening overnight, sticky side facing down, and check for trapped flies in the morning.
If flies appear, the drain is likely active.
You can also inspect nearby drains, since insects may come from a sink or floor drain and gather in the shower area.
2. Remove the drain cover and clean visible buildup
Use a screwdriver or appropriate tool to remove the drain cover.
Wear gloves and use a plastic drain brush, pipe brush, or old toothbrush to scrub the inside of the drain opening and as far down as possible.
Focus on removing:
- Hair mats
- Soap residue
- Conditioner and body wash buildup
- Slime on the drain walls
Place the debris in a sealed bag and discard it immediately.
This step matters because larvae feed in the organic film, not the flowing water alone.
3. Use an enzyme-based drain cleaner
Enzyme drain cleaners are often more effective than bleach for drain flies because they break down the organic material the insects use for food and breeding.
Follow the label directions carefully and apply the cleaner at night so it can sit undisturbed longer.
Avoid mixing chemical products.
Do not combine bleach, ammonia, or vinegar with commercial cleaners unless the label specifically says it is safe.
If you have older pipes or septic concerns, choose a product designed for household drains and safe for your plumbing system.
4. Flush the drain with hot water
After the recommended dwell time, flush the drain with hot water.
This helps move loosened debris through the pipe and supports the cleaning process.
Do not use boiling water in every plumbing system, especially if you have PVC pipes, since extreme heat can damage fittings.
Warm to very hot tap water is usually enough when paired with scrubbing and enzyme treatment.
5. Repeat daily for several days
Drain fly control works best when repeated for at least one to two weeks.
Adult flies may keep emerging from eggs already laid before cleaning started, so consistency is important.
Continue scrubbing and applying enzyme cleaner on schedule until you stop seeing activity.
What if Drain Flies Keep Coming Back?
If flies return after a thorough cleaning, the issue may be deeper in the plumbing system or in another drain you have not treated.
In some cases, the problem is a dry or partially dry trap, a hidden leak, or buildup in a branch line that still supports breeding.
- Check unused drains and floor drains for standing organic residue
- Run water in seldom-used fixtures to refill traps
- Inspect for leaks under the shower base or around plumbing joints
- Consider whether the drain connects to a ventilation or waste line issue
If the infestation is heavy, persistent, or accompanied by foul sewage odors, contact a licensed plumber.
A professional inspection can identify pipe damage, standing sludge, or a drainage problem that household cleaning cannot fix.
Best Practices to Prevent Drain Flies in Shower Drains
Prevention is mostly about reducing the organic material that drain flies need to survive.
A clean, fast-draining shower is far less attractive to egg-laying flies than a damp drain filled with residue.
Keep the drain free of hair and soap scum
Use a drain strainer or hair catcher to reduce buildup before it enters the pipe.
Clean the strainer regularly so debris does not become a breeding site on its own.
Clean the drain on a schedule
Once the infestation is gone, treat the shower drain periodically with enzyme cleaner and scrub the cover and visible opening.
Weekly light cleaning can prevent the film that drain flies need.
Maintain proper water flow
Slow drains tend to accumulate debris faster.
If water drains sluggishly, address the issue early with mechanical cleaning or a plumber rather than waiting for the buildup to worsen.
Keep rarely used drains active
If a shower or adjacent drain is used infrequently, run water through it every few days.
This helps keep the trap filled and makes the environment less favorable for fly development.
What Not to Do When Treating Drain Flies?
Some common approaches waste time or may create safety risks.
The key is to remove the breeding material rather than just masking the odor or killing a few adults.
- Do not rely only on aerosol insect sprays near the drain
- Do not pour bleach into the drain and assume the problem is solved
- Do not ignore nearby sink, tub, or floor drains
- Do not skip physical cleaning of the drain opening and cover
Adult flies are only the visible part of the infestation.
If the breeding film remains in place, new flies will continue to emerge even after surface treatments.
When to Call a Professional
Call a licensed plumber or pest control professional if you have tried repeated cleaning and the drain flies persist for more than two weeks.
You should also seek help if the drain backs up, emits sewage odors, or shows signs of leakage.
A professional can distinguish between a simple organic buildup issue and a larger plumbing defect, such as a broken trap, cracked pipe, or sludge accumulation deeper in the line.
That distinction is often what finally resolves recurring infestations.