Easy homemade DIY and store-bought solutions that will get rid of fruit flies as quickly as possible because why deal with them if you don’t have to?

If you’ve been overrun with pesky fruit flies lately you are not alone.

I have been buying more fresh fruit as there is so much in season right now but along with the delicious bounty comes a plethora of unwanted and annoying fruit flies.

Fortunately, you don’t have to accept an infestation as something you just have to deal with but instead, you can take some simple and inexpensive steps to get rid of them.

These are the fruit fly traps I use and they WORK!

How to Prevent Fruit Flies

First, let’s talk about how to prevent fruit flies.

An ounce of prevention is worth a pound of cure.

Benjamin Franklin

Fruit flies are attracted to ripe or rotting fruit as well as fermented items such as wine, beer, and other liquor.

In order to stop a problem before it starts and to get rid of fruit flies before they become a problem, you can take the simple steps below.

  • Wash fresh produce as soon as you bring it into your home with a good quality scrubber and produce washing product. Fresh produce, whether from the store, the farmer’s market, or from your own garden can harbor the eggs or larvae of fruit flies. When fruit is overripe or starts to rot it attracts fruit flies and as they eat the fermenting fruit they can potentially lay hundreds of eggs that hatch within hours.
  • Throw out overripe and rotting produce. It’s better to avoid the problem altogether.
  • Keep fresh fruits and veggies in the refrigerator. Add a simple carbon packet to the crisper drawer to extend the freshness of your produce even longer.
  • Take out the trash often. I find that when I cut up fresh pineapple or have fruit peels in the trash that acts as a magnet for the fruit flies so the best rule of thumb is to take out the trash, or, use a smaller container for peels and either throw that bag away or use the contents for a compost pile. Even my favorite trash can can’t stop the buggers from congregating and being a nuisance.

How to Get Rid of Fruit Flies with a DIY Trap

I regularly use two different traps to get rid of fruit flies in my own home.

Apple Cider Vinegar and Dish Soap

This first trap DIY answers the question, “How do you get rid of fruit flies with apple cider vinegar?”

For this DIY fruit fly trap, add apple cider vinegar to a container or glass jar and mix in a few squirts of dish soap.

If using a container, cover with plastic wrap, secure with a rubber band, and poke holes in the plastic wrap with a toothpick.

If using a glass jar or bottle, insert a paper cone. Bam – DONE!

Depending on how many fruit flies you have, you may want to add several of these DIY traps throughout your kitchen.

You’ll need Apple Cider Vinegar and some dishwashing detergent.  I succumbed to the Dawn rage and bought some at Sam’s Club a few weeks ago so that’s what I used.  

Add approximately 3/4 of an inch of apple cider vinegar to a container.  I used one that I could throw away when I was done with it.  The container itself is not very large.  

Squirt in some dish washing liquid and stir it up!

Within seconds of putting the concoction down on my countertop there were already 3 fruit flies ready to take the plunge.

 Within 24 hours I had amassed quite a collection of no-longer-pesky fruit flies.  

 

The Banana Peel Method

This is another easy method that works! Save the peels from a banana and place in a container. Wrap the top of the container with plastic wrap, secure with a rubber band, and poke holes in the top with a toothpick.

If you try this I would like to know your results or if you have another way to get rid of fruit flies I would love to hear what you do.  

Reader Comments and Suggestions: How to Get Rid of Fruit Flies

Cheryl on October 6, 2012

This is a method I’ve used for years. I have little specialty cups that I bought with covers on with holes. Then you cover the inside part with tinfoil after pouring in the vinegar (has to be cider vinegar), poke holes in that. They fly in and as another said, don’t check out! I just use the Cider vinegar and it has always worked, but the mixture is good too! You could use any container and cover with tin foil and then poke the holes in with a toothpick. For the person who wondered about plant flies, just plain soap water attracts that type. They fly in to drink and drown doing it. It seemed like a few always hung around though, so for the real tough ones I have bought some sticky strips called: Safer brand Houseplant sticky stakes. They are bright yellow and attract all kinds of bugs (the label says whiteflies, Fungus gnats & etc.) The sticky stakes took care of the rest of the fungus gnats that came in the bagged soil I bought (I finally narrowed it down to that). I thought the fungus gnats were fruit flies, but were not, as they appear to be similar, but if you get a magnifying glass they have stripes on their body. I did an online search and found that info out and that’s also where I bought them. I will use the strips again if I ever have the pests appear, as they supposedly lay many eggs and reproduce quickly. I’ve had no problem since poking them in the affected plants! Good Luck

This post was originally published in 2012 but has been updated with new photos and additional information in 2020.