How to Get Rid of Fruit Flies in Your House

Download Article
Your guide for trapping and killing fruit flies, plus how to stop them from coming back
Download Article

Have you noticed some small pesky flies circling around your fruit bowl? Even though fruit flies are harmless to humans, they can still be a real nuisance when they start showing up in your home. When fruit flies get to your produce before you can, there are some easy things you can do to get rid of them fast using some common household products. We’ll walk you through the best ways to trap and spray fruit flies so they’re gone for good from your home.

This article is based on an interview with our pest control specialist, Joshua Bloom. Check out the full interview here.

Things You Should Know

  • Catch fruit flies in a bowl filled with apple cider vinegar and a few drops of dish soap. Cover the bowl with plastic wrap so flies can get in but not escape.
  • Roll a piece of paper into a cone and stick it inside of a glass jar with ripe fruit. Empty the trap and replace the bait every 2–3 days to get rid of the flies.
  • Spray fruit flies directly with rubbing alcohol or an aerosol insecticide to kill them on contact.
  • ​​Get rid of any overripe fruit where fruit flies might lay eggs to keep them from coming back.
Method 1
Method 1 of 3:

Catching Fruit Flies in Traps

Download Article
  1. How.com.vn English: Step 1 Use a bowl with apple cider vinegar and dish soap to catch the flies.
    Pour enough apple cider vinegar into a bowl so it’s two-thirds full. Add a drop or two of liquid dish soap to the bowl, and then cover it with a sheet of plastic wrap. Poke about 10–15 holes in the wrap with a toothpick and set it out to attract the fruit flies.[1]
    • Fruit flies will be drawn to the scent of the vinegar and drown when they come into contact with the soapy surface. The plastic wrap prevents any fruit flies from escaping once they crawl inside.
      How.com.vn English: Step 1 Use a bowl with apple cider vinegar and dish soap to catch the flies.
    • Empty the bowl and replace the bait every 2–3 days until your fruit fly infestation clears up. Fruit flies usually only survive for 1–2 weeks, so it won’t take long to catch them all.
      How.com.vn English: Step 1 Use a bowl with apple cider vinegar and dish soap to catch the flies.
    • Avoid using distilled white vinegar since it doesn’t attract fruit flies very well.
      How.com.vn English: Step 1 Use a bowl with apple cider vinegar and dish soap to catch the flies.
  2. How.com.vn English: Step 2 Trap flies with a paper funnel and jar baited with fruit.
    Roll a regular piece of paper into a cone so the opening at the point is less than 14 inch (0.64 cm). Tape the paper so it holds its shape. Set a ripe piece of banana, peach, or tomato inside a jar. Set the point of the cone in the jar so it’s just above the bait. After a few days, toss out the trap and replace it with fresh bait.[2]
    • The fruit flies will go down the funnel toward the bait, but they won’t be able to find their way back out and get stuck.
      How.com.vn English: Step 2 Trap flies with a paper funnel and jar baited with fruit.
    • Stick the trap in your freezer overnight to humanely kill the flies before throwing away the old bait. That way, they won’t fly away or stay alive in your trash.
      How.com.vn English: Step 2 Trap flies with a paper funnel and jar baited with fruit.
    • Try to throw the trap out within 7 days to keep new fruit fly larvae from hatching in your home.
    Advertisement
  3. How.com.vn English: Step 3 Turn a plastic bottle into a funnel trap for a cheap and effective fix.
    Cut the top of a plastic soda bottle off just above the label. Put ripe fruit, apple cider vinegar, old beer, or wine in the bottom section of the bottle. Take the cap off the top section of the bottle, and place it upside-down inside the lower section. Leave your trap out in your kitchen for 2–3 days to capture the flies.[3]
    • Flies will be able to fly down into the bottle trap, but they won’t be able to get out by themselves.
      How.com.vn English: Step 3 Turn a plastic bottle into a funnel trap for a cheap and effective fix.
    • Alternatively, take an old beer or wine bottle that still has a little bit inside and cover the top with a piece of plastic wrap. Poke a hole or two in the plastic wrap so flies can crawl in but are unable to get out.
  4. How.com.vn English: Step 4 Try hanging up...
    Try hanging up strips of flypaper in problem areas. Place the adhesive flypaper where you’ve seen the most fruit flies, which will normally be in your kitchen near the trash or by the sink. Leave the flypaper up as long as you see fruit flies in your home. If the strips fill up with flies, take them down and throw them away.[4]
    • Flypaper may not be as effective against fruit flies as standard house flies, but it can still catch the ones that didn’t get stuck in a trap.
  5. Advertisement
Method 2
Method 2 of 3:

Spraying Fruit Flies

Download Article
  1. How.com.vn English: Step 1 Spray rubbing alcohol...
    Spray rubbing alcohol directly on flies to kill them instantly. Fill a spray bottle with any rubbing alcohol that you have around your home. When you see any fruit flies hovering around in your home, apply the spray directly to the insects so they die on the spot.[5]
    • Avoid spraying the rubbing alcohol onto any fruit since it could cause it to spoil and attract even more flies.
  2. How.com.vn English: Step 2 Use an indoor...
    Use an indoor aerosol insecticide to get rid of large swarms. Point the spray nozzle at the fruit flies and press the button down to spray them with the insecticide. Since the instructions may vary depending on the brand you’re using, always read the label and instructions on the insecticide to ensure you’re applying it properly.[6]
    • Avoid spraying insecticide on any food or cooking surfaces so you don’t contaminate anything you’re going to eat.
  3. How.com.vn English: Step 3 Try applying to...
    Try applying to Spinosad insecticide for fruit flies outside. If you notice any fruit flies outside of your home, load the insecticide into a garden sprayer and apply it around the base of your home. If you’re growing any fruits or vegetables in a garden, be sure to treat them directly with Spinosad as well to kill any fruit flies that stop by for a meal.[7]
    • Spinosad impacts a fruit fly’s nervous system to kill it, but it doesn’t pose any serious threats to pets or other animals. You can safely use it around pets and children.
    • Rinse off any fruits and veggies that you applied Spinosad to before you eat them.
    • Try to limit your exposure to Spinosad since it could cause slight eye irritation or allergic reactions.
  4. Advertisement
Method 3
Method 3 of 3:

Preventing Fruit Flies

Download Article
  1. How.com.vn English: Step 1 Wash fruits and...
    Wash fruits and veggies when you bring them in your kitchen. As soon as you bring fresh produce in from the grocery store or garden, rinse it under clean water. Check the fruit and vegetables for damage, bruises, and soft spots, which could all be signs that fruit flies have gotten to them. Get rid of any damaged fruit to keep the flies away from your other fresh produce.[8]
    EXPERT TIP
    How.com.vn English: Kevin Carrillo

    Kevin Carrillo

    MMPC, Pest Control Specialist
    Kevin Carrillo is a Pest Control Specialist and the Senior Project Manager for MMPC, a pest control service and certified Minority-owned Business Enterprise (MBE) based in the New York City area. MMPC is certified by the industry’s leading codes and practices, including the National Pest Management Association (NPMA), QualityPro, GreenPro, and The New York Pest Management Association (NYPMA). MMPC's work has been featured in CNN, NPR, and ABC News.
    How.com.vn English: Kevin Carrillo
    Kevin Carrillo
    MMPC, Pest Control Specialist

    How do fruit flies enter my home? Fruit flies typically enter your house on the produce you buy. The fruit you bring inside, especially tropical fruit, usually has fruit fly eggs already on it. To prevent the eggs from hatching, scrub your fruit under running water with a brush to destroy the eggs. Or, you can keep the fruit in your fridge.

  2. How.com.vn English: Step 2 Store produce in your fridge or a covered container.
    Rather than keeping fruit out in the open, place it in a bowl that has a lid or cover it with plastic wrap to prevent flies from getting to it. Alternatively, just put your produce in the fridge where fruit flies can’t survive the cold temperatures.[9]
    • As soon as your fruit starts softening or going bad, throw it away so fruit flies don’t lay eggs on it.
  3. How.com.vn English: Step 3 Keep your home cool to deter flies.
    Fruit flies thrive in warmer climates and during the summer months, but they’re less likely to hang around your kitchen when it’s colder. Run a fan or air conditioner to keep your kitchen at a consistent temperature to keep the flies away.[10]
  4. How.com.vn English: Step 4 Clean up food spills right away.
    As soon as you spill anything sweet or syrupy on your counters or floors, wipe it up with soapy water to get rid of all the residue. Focus especially on cracks and seams where food particles could get caught since fruit flies will be able to reach them. For stubborn spills, apply a multipurpose cleaner and scrub the residue away with a clean cloth.
  5. How.com.vn English: Step 5 Rinse out empty cans and bottles before tossing them.
    Since fruit flies are attracted to the liquid residue that’s left from soda, juice, beer, and wine, avoid tossing out the containers as soon as they’re empty. Swish a little clean water inside of the container and dump it out in your sink before putting it in your recycling bin.
    • Store empty cans and bottles outside of your kitchen if you’re able to so you reduce the risk of fruit flies getting inside.
  6. How.com.vn English: Step 6 Take out your...
    Take out your kitchen garbage regularly. Keep your trash in a can with a closed lid to help keep fruit flies out. When your garbage is full or after you throw away food scraps, tie up the bag and take it to an outdoor receptacle or dumpster so flies don’t lay their eggs in the trash.[11]
    • Clean out the bottom of your trash can with soapy water if you notice any liquid or spills inside.
  7. How.com.vn English: Step 7 Clean and sterilize your sink drains.
    Try to clean your sink drains at least once a week to prevent any food buildup from forming inside where fruit flies could lay eggs. When you finish cleaning your drain, boil a pot of water and pour it down the drain to sterilize it and kill any eggs that might have been laid.[12]
  8. Advertisement

How Do You Catch Fruit Flies?


Expert Q&A

Search
Add New Question
  • Question
    I have fruit flies in my fridge. What is the safest way to clean my fridge to get rid of them?
    How.com.vn English: Mark Spelman
    Mark Spelman
    Construction Professional
    Mark Spelman is a General Contractor based in Austin, Texas. With over 30 years of construction experience, Mark specializes in constructing interiors, project management, and project estimation. He has been a construction professional since 1987.
    How.com.vn English: Mark Spelman
    Construction Professional
    Expert Answer
    Grab a little ramekin and put some vinegar in it. Then cover with plastic wrap and poke some pin holes in the plastic. The fruit flies enter the ramekin and can't escape.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      See What You Learned

      Tips

      • Fruit flies are usually the most active during the warm summer months, so you won’t have to worry about dealing with them in the winter.[13]
      • Even though you should be able to manage fruit flies on your own within a week or two, contact a professional pest control specialist if you can’t get rid of the infestation.
      • To get rid of flies on your plants, let the soil dry out in between waterings since too much water could attract them.
      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Avoid using bleach to kill fruit flies since it won’t be as effective and it could be harmful if you get it on anything else.[14]
      Advertisement

      About This Article

      How.com.vn English: Joshua Bloom
      Written by:
      Pest Control Specialist
      This article was written by Joshua Bloom and by How.com.vn staff writer, Hunter Rising. Joshua Bloom is a Pest Control Specialist and the Vice President of Operations of Standard Pest Management, a pest control company based in New York City. He has over 20 years of experience in the pest control industry and specializes in commercial and large facility pest control management. Standard Pest Control also specializes in ant, bed bug, cockroach, fly, and rodent control. Joshua is licensed by the NYSDEC (New York State Department of Environmental Conservation) for termite control. This article has been viewed 12,905,511 times.
      16 votes - 94%
      Co-authors: 204
      Updated: February 27, 2024
      Views: 12,905,511
      Article SummaryX

      The easiest way to get rid of fruit flies is with a trap made from a jar and a paper funnel. Fill your jar about halfway full with something sweet like fruit, honey, or juice. Then, roll a piece of paper into a funnel, making sure that the narrow end of the funnel is small enough to fit into the mouth of the bottle or jar. Use tape to secure the funnel. Place the funnel into the opening of the bottle or jar, and leave your fruit fly trap out overnight. The fruit flies will be attracted to the smell of the sweet bait and will fly into the jar. The narrow opening of the funnel will trap them. Leave the trap out overnight. Each morning, pour some soapy water into your jar to kill the fruit flies, and discard the solution into the trash. Refill the trap, and place it out again. Continue to use your trap until you stop seeing fruit flies getting caught inside of it. If you want to learn other methods to prevent fruit flies, such as killing their eggs, keep reading below!

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 12,905,511 times.

      Reader Success Stories

      • How.com.vn English: Jennie Recla

        Jennie Recla

        Feb 1, 2017

        "I have a neighbor that has a bad problem with fruit flies. It is winter here in Wisconsin and your video helped me..." more
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement