PDF download Download Article PDF download Download Article

If you’ve noticed some little flies hopping around in your bathroom or kitchen, there’s a chance that your sink is now a family of drain flies’ new home. Don’t panic—we’re here to help! There are many easy ways to kill drain flies and prevent new ones from moving in. We’ve put together a thorough guide to killing drain flies with natural DIY methods and chemical cleaners, preventing new infestations, and important things to know about these fuzzy little nuisances. Read on to learn all about how to get rid of drain flies.

Method 1
Method 1 of 4:

Natural Remedies

PDF download Download Article
  1. Clean your drain manually with a pipe brush or drain snake. Removing the sludge inside your drain and pipes takes away the drain flies’ food source and prevents them from laying additional eggs. Run some warm water down the drain and then insert a pipe brush or snake as far as you can to dislodge eggs, larvae, and buildup. [1]
    • The longer and more flexible your pipe brush, the better!
    • If you’re treating the drain of a sink, remove the U-trap underneath and clean out any additional buildup you find.
  2. Pour boiling water down your drain. This is the simplest method for killing drain flies and clearing out your pipes. Boil a medium-sized pot of water 1-2 times per day for a week and carefully pour the water down and around your drain. The repetition will ensure the flies don’t return if your first pour didn’t remove all of the organic buildup inside. [2]
    • This method is more effective for killing larvae inside the pipes than adults that can fly.
    • PVC pipes can be damaged by repeated or prolonged exposure to boiling water, so it’s recommended to only use this method for metal pipes. If you have PVC pipes, stick to pipe brush cleanings and cleaners meant for kitchen and bathroom drains.
    Advertisement
  3. This natural cleansing mixture will remove organic buildup from your pipes and kill any larvae or flies that get caught in it. Combine 1 part baking soda, 1 part salt, and 2 parts vinegar and pour it down the drain. Allow the mixture to foam up and sit overnight. In the morning, pour boiling water down the drain to clear the foam and any buildup it removed. [3]
    • Start by using ½ cup (64g) each of salt and baking soda and 1 cup (250 ml) of vinegar. For deep pipes or severe infestations, increase the amounts proportionately.
    • Try sprinkling the baking soda and salt in and around the dain first and then pouring the vinegar so the mixture doesn’t foam before it enters the drain.
    • PVC pipes can be damaged by boiling water. Flush the vinegar mixture away with warm water from the tap if you have PVC pipes.
    Trap fruit flies with vinegar. "I was dealing with a frustrating fruit fly problem in my kitchen. This article recommended making a simple apple cider vinegar trap. I put some vinegar and a squirt of dish soap in a bowl and covered it with plastic wrap poked with holes. It attracted and drowned all those flies — the problem is solved!" - Maria R.
    Identify and target drain flies. "I thought the tiny flies in my bathroom were fruit flies, but they kept multiplying. Reading this taught me about drain flies and how to spot and treat them. Knowing to look for them near pipes and scrub the drain with a brush cleared up my infestation." - Heather M.
    Follow step-by-step drain fly removal. "I'd never even heard of drain flies before. The step-by-step instructions here on killing them with boiling water and cleaners gave me the exact game plan I needed. I especially appreciated the tips on preventive drain maintenance. It's a very informative article!" - Patty R.
    Eliminate unfamiliar kitchen pests. "When tiny flies appeared in my kitchen, I didn't know what they were or how to get rid of them. This article taught me about drain flies — what attracts them, where they breed, and how to kill them. Following the tips completely eliminated this new pest from my home." - Tina B.
    Did you know that wikiHow has collected over 365,000 reader stories since it started in 2005? We’d love to hear from you! Share your story here .
  4. Apple cider vinegar smells alluring to the flies and tricks them into entering a deadly trap. To make a simple trap, pour apple cider vinegar into a small dish or jar and cover it with plastic wrap. Poke several holes in the wrap with a toothpick or pin—the flies will be lured into the trap through the holes but will not be able to escape. [4]
    • Add a chunk of overripe fruit to the vinegar to make the bait extra appealing. A few drops of dish soap makes it harder for the flies to escape the vinegar.
    • Another trap can be made by mixing water, sugar, apple cider vinegar, and a few drops of dish soap in a bowl. Sit the bowl (uncovered) near the infested drain for a few days to lure the flies into the deadly solution.
  5. This is a simple way to catch flies and to test your drain for infestations. Place duct tape over your drain (sticky side down) overnight to catch any flies that try to merge. Do this several nights in a row since drain flies are usually more active after dark. [5]
    • This method is effective if you only need to kill a few drain flies now and then.
  6. Advertisement
Method 2
Method 2 of 4:

Chemical Remedies

PDF download Download Article
  1. Enzyme cleaners are designed to target buildup leftover from a manual cleaning and prevent future blockages. First, clean your drain with a metal pipe brush—run some warm water down your drain and then dislodge any buildup by inserting the brush as deep as it will go. Then, pour the cleaner down the drain and let it sit for several hours (check the instructions on the bottle for details). Then run some water down the drain to flush it out. [6]
    • Enzyme cleaners are non-toxic and made for kitchen use.
    • Once the drain is cleared of buildup and larvae, the flies will begin to disappear.
  2. Cleanse your pipes with a traditional drain cleaner . Regular commercial cleaners are great for removing buildup that causes clogs and attracts drain flies. First, clean your drain with a metal pipe brush by running warm water down your drain and dislodging any buildup by inserting the brush as deep as it will go. Then, use your cleaner according to the instructions. Read the warnings carefully—some are unsafe to use more than once, and some are specifically designed for bathroom drains. [7]
    • Some natural and environmentally friendly cleaners can be found online or in most hardware or home goods stores. Read the labels carefully to find a product that targets organic matter.
  3. Some pest control killers can be used to kill flies and larvae in your drain—check the label to make sure drain flies are listed. These repellents have harsh chemicals in them, so read the instructions and warnings carefully to confirm they’re safe for indoor use and won’t damage your pipes. [8]
    • An insect growth regulator (IGR) spray can prevent drain fly eggs from hatching and keep larvae from maturing into adult flies.
    • Chemical sprays and repellents should be considered when traditional cleaners or enzyme gels are insufficient to kill or prevent drain flies.
    • There are no insecticides approved for drains or sewage systems, and pouring them down the drain can severely damage your pipes or septic system. [9]
  4. Advertisement
Method 3
Method 3 of 4:

Prevention

PDF download Download Article
  1. This is the best way to keep drain flies from moving into your bathroom or kitchen sinks. Drain or wipe up any stagnant water near all of the drains in your home. If you have a drain that’s prone to flies, pour boiling water or a cleaner down there 1-2 times per week for maintenance. [10]
    • PVC pipes can be damaged by boiling water. If you don’t have metal pipes, stick to a cleaner meant for kitchen or bathroom drains instead.
    • If there’s a drain that doesn’t get used often, make a point to run water through it at least once per week.
    • If you’re going to be gone for days or weeks and are worried about drain flies, close your drains with a stopper so no bugs can move in while you’re away.
  2. Drain flies can infiltrate more than just your bathroom or kitchen sinks—all they need is stagnant water and something to eat. Keep an eye on places like sump pumps, potted plants, garbage disposals , dirty mops, buckets of water, condensation pans, or moisture underneath loose tiles. Remove any trash and food sources that can attract drain flies around your home. If you see standing water, clean it up immediately. [11]
  3. Drain flies are (ironically) bad at flying, so you’ll most likely catch them resting on the walls or ceiling very close to their source. The pipe or drain nearest to where you spotted the flies is most likely their breeding ground. Even if you only spot a single fly, it’s best to thoroughly clean the suspected drain with a pipe brush or drain cleaner as soon as you can (they reproduce very quickly). [12]
    • If there are multiple drains nearby, duct tape the drains shut overnight and inspect the sticky side the following morning to see which one the flies are coming out of.
    • While you treat your drain, adult flies can be killed with vinegar traps, fly swatters, or indoor-safe bug repellents.
  4. Advertisement
Method 4
Method 4 of 4:

Drain Fly Identification and Information

PDF download Download Article
  1. They look like gnats, fruit flies, or moths and are also known as moth flies or sink flies because of their appearance and preferred habitat. Unlike these animals though, they have weak wing muscles and hop and jump around more than they fly. They can range from 2.5 millimetres (0.098 in) to 4.5 millimetres (0.18 in) long and have dense, hair-like scales on their wings. [13]
    • From egg to adult, a drain fly lives 21 to 27 days. You probably won’t see them until they are adults (the last 7 or so days of their life).
  2. They can eat almost anything, including food bits, slime buildup, sewage, or even just bacteria. This makes kitchen and bathroom drains, basements, sewers, septic tanks, and even wet soil a paradise for them, especially in humid environments. [14]
    • Drains that are rarely used or poorly maintained are more prone to drain fly infestations than regularly used drains.
    • Since adult drain flies cannot fly very far, they will usually gather near their home drain. This makes it pretty easy to identify the source of the infestation.
    • Compost, animal waste, and garbage are appealing food sources for drain flies.
  3. Drain flies don’t bite and don’t carry bacteria that are dangerous to humans. They don’t pose any health risks unless they emerge in massive numbers, which only happens in septic systems or sewers and not inside people’s homes. They don’t cause any physical damage to your pipes or indoor plants either. [15]
    • The fine, hair-like scales on drain flies can fall off and be inhaled. This might cause irritation for those with sensitive respiratory systems.
  4. You’ll most likely find them resting or hopping around near their home drain. If you spot drain flies outside your home, there is probably a pool of standing water somewhere helping them breed and eat—try to locate and dry up the water to reduce the chance they’ll migrate inside your home (look in places like puddles, outdoor drains, or buckets of rainwater). [16]
    • Check a drain for flies by taping the drain shut overnight and examining the sticky side the following morning for trapped bugs.
    • Check for larvae by removing your drain cap and scraping the inside of your pipes. Look for thin, tube-like larvae in the sludge. If you don’t see larvae but are certain you have a drain fly problem, it’s possible that the eggs are being laid deeper in your pipes.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Should I hire a plumber or an exterminator to address my drain fly problem?
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    Staff Answer
    Most drain fly cases can be solved using DIY remedies. If the infestation is severe or you cannot fully get rid of them after several attempts, then a professional plumber or exterminator would be a good idea.
  • Question
    Can these flies form in stagnant rainwater? I have looked round the house and can not see where these are coming from inside, so I believe they are coming from the stagnant rainwater outside my house.
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    Staff Answer
    Yes, stagnant rainwater can be a breeding ground for drain flies. Puddles, outdoor buckets, or even potted plants can collect water and attract drain flies. It's possible they are migrating indoors from a source like this.
  • Question
    Why do I have drain flies just in my tub if I haven't used the tub in my apartment in 2 months?
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    Staff Answer
    Drain flies often appear in drains that are rarely used or maintained. If the drain had any water, hair, or other residue inside from the last time it was used, it makes a prime breeding ground for drain flies.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      • If your infestation is severe, consider hiring a professional exterminator, plumber, or pest control specialist to handle the problem.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Drain flies are not generally harmful—they don’t bite or carry much bacteria with them. However, their presence indicates you have some untreated organic matter that can attract more insects, like ants or cockroaches.
      Advertisement

      About This Article

      Article Summary X

      The first thing you should do to get rid of drain flies is thoroughly clean the infested drain catcher so it's free of hair and grime. Then, insert a metal pipe brush into the drain and move it up and down while twisting it to clean out the drain. When you're finished, pour a commercial drain cleaner down the drain and let it sit for several hours. Flush the cleaner down the drain with water to finish cleaning the drain. If your pest problem persists, you may need to use an insecticide spray. For tips on locating which drain your drain flies are coming from, scroll down!

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 2,312,478 times.

      Reader Success Stories

      • Maria R.

        Dec 28, 2020

        "I was dealing with a frustrating fruit fly problem in my kitchen. This article recommended making a simple apple ..." more
      Share your story

      Did this article help you?

      Advertisement