Home & Garden

What Are Drain Flies and How to Get Rid of Them

By Hayride Live · Updated · 4 min read

Drain flies are small, fuzzy flying insects that breed in the slimy film inside drain pipes, and they are harmless but a nuisance. They are also called moth flies because they look like tiny moths, about 1/8 inch long, with a V-shaped wing pattern when at rest. You usually notice them hovering around sinks, showers, or floor drains in kitchens and bathrooms.

Drain Flies Look Like Tiny Moths, Not Fruit Flies

Drain flies are about 1/8 inch (3 mm) long, with a tan or gray body and hairy wings that look like a tiny moth’s. Unlike fruit flies, which are red-eyed and hold their wings out flat, drain flies hold their wings roof-like over their body and are poor fliers—they tend to hop and flutter slowly. They are most active at dusk and often rest on walls or ceilings near drains. If you see small flies coming out of the drain when you run water, those are almost certainly drain flies.

They Breed in the Slime Inside Your Pipes

Drain flies lay eggs in the gelatinous film of bacteria, soap scum, and organic matter that builds up inside drain pipes, especially in slow-draining or rarely used drains. The eggs hatch into larvae that feed on that slime, and the whole life cycle—from egg to adult—takes about 1 to 3 weeks, depending on temperature and food supply. Adult flies live only a few weeks, but they keep reproducing as long as the slime is there. That is why simply swatting or spraying the adults does not solve the problem—you have to remove the breeding material.

Find Every Breeding Site Before You Clean

Drain flies can breed in any drain that has standing water and organic buildup, so check all of these: kitchen sink, bathroom sink, shower or tub drain, floor drain in the basement or laundry room, and even the overflow hole in a sink. Also check the drip pan under a refrigerator, the condensate line from an air conditioner, and a rarely used toilet—anywhere moisture collects. If you have a drain that is slow to empty, that is a prime spot because the water sits longer and the slime builds up deeper.

Clean the Drains Physically, Not Just With Chemicals

To get rid of drain flies, you need to remove the slime they breed in. Start by scrubbing the inside of the drain pipe with a stiff brush (a bottle brush or a drain brush works) to loosen the film. Then pour boiling water down the drain—about 2 quarts (2 liters) is enough—to flush out the loosened gunk. Repeat the scrub-and-flush a few times over several days, because the slime can reform quickly. For a more thorough clean, you can use a commercial drain cleaner that is labeled for organic buildup, but follow the label exactly and never mix it with other cleaners. A homemade alternative is a paste of baking soda and vinegar: pour 1/2 cup baking soda down the drain, then 1/2 cup white vinegar, let it fizz for 15 minutes, and flush with boiling water. This helps break down the film but may not remove heavy buildup, so combine it with brushing.

Keep Drains Dry and Clean to Stop Them Coming Back

Drain flies need moisture and organic matter to breed, so the best long-term prevention is to keep drains clean and dry. After using a sink or shower, run water for a few seconds to flush away debris, and wipe down the drain opening. For drains you rarely use, pour a cup of water down them once a week to keep the trap filled and prevent the slime from drying out (which actually makes it easier for flies to breed). You can also cover infrequently used floor drains with a plug or a small piece of tape when not in use. In the kitchen, avoid pouring grease or food scraps down the drain—those feed the slime. If you have a garbage disposal, run it with cold water and a little dish soap regularly to keep the drain line clean.

When the Problem Persists, Check for a Hidden Source

If you clean all the visible drains and still see flies after a week, the breeding site may be somewhere less obvious. Check the overflow hole in a sink (you can pour a little boiling water into it), the gap between the sink and the counter, or a leaky pipe under the sink that keeps the area damp. Also check the drip pan under a houseplant, a pet water bowl that sits for days, or a slow-draining toilet. If you have a septic system or a floor drain in a basement, the slime can build up in the pipe beyond the trap—in that case, you may need a plumber to snake the line or clean the trap. But for most homes, a thorough scrubbing of all drains plus a few days of repeating the treatment will break the cycle.

Quick Answer: How Long Until They’re Gone?

After you clean the drains, you should see fewer adult flies within a day or two, but it can take 1 to 2 weeks for all the larvae to die off. The adults that are already in the house will live for a few weeks, so keep swatting or vacuuming them, and keep the drains clean during that time. If you still see new flies after 2 weeks, repeat the cleaning and look for a missed breeding spot. Once the slime is gone, the flies will not come back unless the drain gets dirty again.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.