How to Get Rid of Drain Flies
Remove drain flies by cleaning the source, not just killing the adults resting on your walls.
Quick Answer: Fast Steps
1. Clean the drain thoroughly: Flushing with hot water is the first step.
2. Remove organic buildup: Use a pipe brush to physically scrub the sludge inside the drain.
3. Use the right drain treatment: Bio-enzymatic drain cleaners work best here.
4. Keep the area dry: Fix any leaks and wipe down standing moisture.
5. Repeat for several days: Ensure all larval cycles are broken.
What Are Drain Flies? Biology and Identification
To understand how to get rid of drain flies, you must first confirm you actually have them. Also known as moth flies or sink flies (Psychodidae family), drain flies are small (about 1.5 to 5mm), dark gray or black insects with a distinctly fuzzy, moth-like appearance.
They are remarkably weak flyers. Instead of buzzing continuously around the room like house flies, drain flies tend to make short, erratic hops. They spend most of their time resting motionless on the walls near sinks, shower drains, and damp basement floors.
The Tape Test: Finding the Source
If you have multiple drains in a bathroom, you need to know which one is the active breeding ground. Before treating your pipes, perform the "Tape Test" to find the exact source.
How to do the Tape Test:
- Dry the drain cover completely before going to bed.
- Place a piece of clear packing tape over the drain, sticky side facing down.
- Do not completely seal the drain—leave a tiny gap for airflow so flies still try to exit.
- Check the tape the next morning. If flies are stuck to the bottom, you have found the infested drain.
Step-by-Step Guide: How to Get Rid of Drain Flies Fast
The secret to eliminating these pests is understanding that their eggs and larvae live inside the gelatinous slime (biofilm) that coats the inside of your pipes. Killing the adults does nothing to stop the infestation. You must destroy the biofilm.
Step 1: Flush with Hot Water
Start by pouring a large pot of nearly boiling water down the affected drain. Do this carefully. This initial flush will loosen the outer layers of the organic sludge and kill some of the larvae near the surface, preparing the pipe for deep cleaning.
Step 2: Physically Scrub the Pipe
This is the most critical manual step. Use a long, stiff metal pipe brush to aggressively scrub the inside of the drain pipe. Move it up and down while twisting to break apart the sticky film where the drain flies lay their eggs. Hot water alone cannot remove this hardened biofilm.
Step 3: Apply a Bio-Enzymatic Drain Cleaner
When researching how to get rid of drain flies, you will often reach for bleach. Do not use bleach. Bleach flows too quickly down the drain to penetrate the biofilm and can damage your pipes over time.
Instead, you must use a bio-enzymatic drain cleaner (like Green Gobbler or Invade Bio Drain). These cleaners contain beneficial bacteria and enzymes that cling to the sides of the pipe and literally eat the organic sludge, removing the drain flies' food source and breeding ground entirely. Apply it exactly as the bottle directs, usually right before bed so it can work undisturbed overnight.
Common Mistakes to Avoid
What Works (Do This)
- Physical scrubbing of the drain pipe
- Bio-enzymatic drain cleaners
- Fixing leaky pipes under the sink
- Repeating the enzyme treatment for 3-5 days
What Does Not Work Alone
- Spraying flying adults with aerosol bug spray
- Pouring bleach or ammonia down the drain
- Setting an apple cider vinegar trap near the sink
- Treating the bathroom while ignoring the kitchen
Are Drain Flies Dangerous?
Fortunately, no. Drain flies do not bite, and unlike house flies, they are not known to transmit human diseases despite living in sewage and dirty pipes. However, their presence in large numbers can trigger bronchial asthma in highly susceptible individuals, and they are a clear indicator that your plumbing hygiene needs immediate attention.
Need a plan for your bathroom, sink, or drain area?
Get a tailored drain fly removal plan that works for your home plumbing.
Get My Custom Plan