Homemade Fruit Fly Trap

3 Materials
1 Minute

Here’s a really useful eco-friendly trick to learn how to get rid of fruit flies. I hate fruit flies. Actually, I hate any bug that comes into my home, but fruit flies are the worst. Obviously, the first step to getting rid of them is to find the rotting fruit or vegetable and dispose of it, but sometimes those fruit flies just keep sticking around (and they multiply!). So when they wouldn't go away, I used apple cider vinegar and dish soap. I also used this great trick to get rid of the fruit flies from my veggie patch, so this trap works outdoors too.

Step 1: Gather Your Supplies

The problem. Yuck.

All you need is dish soap, apple cider vinegar, and a cup.

Step 2: Add Vinegar

Pour apple cider vinegar into your cup. This attracts the flies away from whatever they are eating/laying eggs in. (I shuddered as I wrote that.)

Step 3: Add Soap

All you need is a few drops of soap (I used more because it looked pretty in the video). This breaks the surface tension of the vinegar. That’s what allows the flies to walk on liquids.

Step 4: Let it Sit

It works pretty quickly, but if you need it for a long term problem you can just keep refilling the soap and vinegar every week or so. Eventually, the flies will get trapped under the soap.

Shoo fly, don’t bother me!

Suggested materials:
  • Apple cider vinegar
  • Dish soap
  • Cup
Frequently asked questions
Have a question about this project?
3 of 38 questions
  • Gloria F Gloria F on Jun 10, 2019

    Do I need to stir the mixture to make a foam?

  • Sarah Sarah on Jun 24, 2019

    How much vinegar? You don't say 1 cup 1/4 cup 1/2cup. You say only a couple of drop of dish soap so I understand how much that is

  • Tara Robinett Tara Robinett on Apr 21, 2020

    Does this work on the little flies that come from the litter box? Don’t judge me.

Join the conversation
2 of 158 comments
  • Jenny Jenny on Sep 24, 2021

    I leave an open wine bottle on the side with just about an inch of wine in the bottom. The flies seem to hurl themselves into it. Not a bad way to go I guess! 😂

  • Faye Edwards Faye Edwards on Apr 29, 2022

    I use just apple cider vinegar and you cover the top with plastic wrap. Then poke a few small holes in it. The fruit flies go in but have no way of getting out. It works great for me. I put a couple of them out in the house too. It catches all those gnats, too.