How To Get Rid of Fruit Flies

There’s nothing quite like summer, is there? Long, sunny days, sand between your toes, freckles on the bridge of your nose, watermelon, corn on and cob, and–fruit flies. In the summer months fruit flies emerge from wherever they’ve been residing previously and make themselves right at home in yours. They flit through the air all around, like little brown twinkle lights, but without the twinkle and with all the disgust of a hoard of tiny flies infiltrating your every food source.

Fruit flies have one skill– being able to detect fruits and veggies from great distances. Their tiny size allows them to creep in through window screens, window and door frames, and more. Evidently, they can also travel by way of the produce you bring home from the grocery store. Other relevant (and grotesque) facts: fruit flies lay eggs on the skin of ripe or fermenting fruits and veggies, and they can go from egg to adult in eight days. (If you want to know more and possibly make yourself sick, read the article I gleaned the above info from).

I recently read a tweet that said, “That’s it, I’m ready to just start naming the fruit flies and calling them housepets.”

I wouldn’t do that just yet, dear tweeter. Here’s how to rid your home of the fruit flies:

1. Clean

There are more stray food bits spattered around your kitchen than you realize, but unfortunately for you, the fruit flies do. Your first line of defense is to do some deep cleaning in your kitchen. Wipe down all surfaces, including cabinet doors, the stove, and countertops. Clean the sink thoroughly, making sure to clean around the drain itself, which can be a breeding ground (yuck, I couldn’t hardly manage to type that out) for fruit flies.

2. Do the dishes immediately 

Don’t delay in washing dirty dishes, as food remnants on them can act as a siren song to fruit flies. And hey, bonus, here’s a reason to finally become more disciplined about doing the dishes!

3. About the trash

Don’t throw food away in trash cans. Think of doing so as creating a feast for the flies and then sending them formal dinner invitations to boot. Instead, utilize your garbage disposal or compost bin. Also, be sure to take out the trash regularly (and possibly daily if the situation is really dire).

4. And about that compost bin

If you choose to keep your compost bin inside, then you must be diligent about taking it out daily. You can also move the collection bin outside, and immediately deposit your compost into it.

5. Protect the produce

Any produce you have stored out on the counter or in the pantry should be covered. If your produce is in a basket or bowl, employ a plate, a pan lid, a painting board or whatever will get the job done as a cover. You can also try transferring produce stored at room temperature into a closed paper bag, or if it won’t be too harmful to the produce, store them in the refrigerator.

6. Don’t forget the sponges, dishtowels, mops and more

These can all be fertile breeding environments for fruit flies. Wash dishtowels regularly, discard very soiled sponges and mops, and be sure to sufficiently clean all rags and sponges.

7. Make a trap

Once you’ve done all you can to establish an unappealing home for fruit flies, it’s time for some offensive measures. There are a variety of traps you can make using household items, and this one has proven effective for me.

What you’ll need:

– Distilled apple cider vinegar

– Dish detergent

– Plastic wrap

– A bowl, jar or cup,

– An instrument for pricking holes

Pour a couple of tablespoons of apple cider vinegar into the vessel of your choosing. This is your bait, as fruit flies love the stuff.

Next, pour a few drops of dish detergent into the vinegar. This breaks the surface tension and makes the flies drown.

Cover the cup or bowl with plastic wrap, and then poke holes using fork tines, an awl, or just a pin.

Then, set out your trap and watch those flies dwindle.

Good luck, and be sure to leave any tricks you’ve found useful in taming the flies in the comments below!

Feel free to pin this image:

fruit fly trap

The Creative Team of Somewhat Simple

The Creative Team of Somewhat Simple

We are a creative group of ladies who strive to make our families happier and our homes prettier. Follow along as we bring you creative content that is sure to inspire!
The Creative Team of Somewhat Simple

Latest posts by The Creative Team of Somewhat Simple (see all)



  1. says

    My goodness! We just had a major problem with these little boogers about a week ago and I was so frustrated and fed up with the situation I emptied my whole fridge and scrubbed down everything. Aside from ants, they are the worst summer pests. Thanks for the tip!

  2. Kim says

    Just put it out on my counter and three of them were immediately attracted to it!!! Hope this works!!! Thanks for the tip!

  3. Janey says

    Beer also works well but if the holes are too big, they can escape. Maybe adding dish detergent to help them drown in the beer would help

  4. Beth Hobson says

    We are having a huge problem with these little nightmares!! The horrible thing is its at my bakery in a mall!! We’re not the only business with the problem but its horrible to see these pests landing on my baked goods!
    We’ve been trapping without the plastic for 2 weeks and this week has been the worst! Going to try a little plastic wrap on a few disposable cups and see if it helps. I want them gone!!!!!

  5. Linda says

    I have used Wine and it works good. I am going to cover it with the plastic wrap. When you are cleaning use bleach in the drain and then flush with hot water. That is the area where they breed.

  6. Shannon says

    I like using my vacuum to help get rid of them. Put on your hose attachment and suck them up!. It really helps take down their numbers. I’m going to try this trap idea too! Thanks!

  7. Lani says

    I read somewhere that if you use your vacuum for catching fly’s and spiders etc. that it doesn’t usually kill them and they can breed inside the canister or bag. Unless you have a vacuum that uses water that will drown them like a Rainbo or other brand. Just a suggestion to make sure you empty right away. Love the trap idea. Can’t stand them buzzing in my ears and flying up my nose or mouth.

  8. Virginia K says

    I just take an old jar, plastic jar is my choice…that has a lid. But it does not have to be a jar, can be an old
    plastic box that food was bought in, just make holes small. I make several small nail holes in the lid. Then
    add the Cider vinegar and pieces of fruit peel, onion scraps, etc. and screw on the lid. I set several of these
    jars in windows of kitchen and bathroom. The flies don’t seem to be able to find the holes to get out,
    I dump the contents, wash the jars and add fresh vinegar, peels, etc. each month. I have never added dish
    detergent, but may give that a try also.