How to Get Rid of Fruit Flies

 Give fruit flies the boot with a homemade solution known as the fruit fly magnet.

Related To:

When I was a little girl, I imagined that fruit flies hung out at the top of the telephone pole near our house, scoping out neighborhood grocery runs. When someone brought home bananas or peaches, the fruit flies assumed attack formation and arrived in a squadron to feast on the fresh fruit.

Fruit Fly Magnet With Fruit

Fruit Fly Magnet With Fruit

Make a trap to get rid of fruit flies in the house.

Photo by: Julie Martens Forney

Julie Martens Forney

Turns out, my imagination wasn’t too far off. With a poppy seed-size brain, fruit flies can smell their way to fermented fruit from as far as three-quarters of a mile away. As you bring home farmers’ market finds, CSA share or fresh-picked tomatoes from the patio, chances are a fruit fly has already honed in on the haul and is winging its way to your kitchen counter.

What’s the right choice when fruit flies show up by the dozen? Whip up a batch of fruit fly magnet, a quick blend that lures these winged pests to a buffet they can’t resist—and can’t escape. The ingredients are likely already in your cupboard: sugar, vinegar and dish soap.

Fruit Fly Magnet Ingredients

Fruit Fly Magnet Ingredients

Make a fruit fly trap using household ingredients: sugar, apple cider vinegar and dish soap.

Photo by: Julie Martens Forney

Julie Martens Forney

Use 1.5 tablespoons each of vinegar (apple cider or white) and sugar. Add a small amount of warm water, stirring to dissolve sugar. Complete the mix with a few squirts of dish soap and enough water to make 8 to 16 ounces of mixture. How much water to add depends on what you use to hold the blend—and this is where your success hinges.

How It Works

Researchers have discovered that fruit flies track potential food sources by both odor and shape. In particular, they’re looking for roundish shapes that resemble fruit. Displaying your fruit fly magnet in a round bowl or tea cup enhances the odds you’ll catch more fruit flies. I like to use my great-grandmother’s Fiestaware tea cups. There’s no scientific data (yet!) supporting the idea that color plays a role in how a fruit fly finds its meal. All I can share is that when I use the yellow and orange cups, I catch more fruit flies than when I use blue or green.

Why This Blend Snares Fruit Flies

  • First, it reeks of the odor that’s irresistible to fruit flies.
  • Second, the soap cuts the surface tension of the solution, which means once fruit flies land, they sink.

Use Tips

  • Let the solution sit out for up to 14 days, adding water as needed to replace any that evaporates.
  • Place it near ripening fruit on the kitchen counter.
  • For a massive outbreak—the kind that occurs in autumn when fruit trees are heavy with ripe fruit—fill large serving bowls with the mixture to provide a larger surface area to catch more fruit flies.
Keep Reading

Next Up

Natural Ways to Keep Household Pests Away

Keeps insects, rodents and other pests out of your home this season with these DIY deterrents.

6 Ways to Get Your Garden Ready for Spring

Tackle simple tasks to grow your best garden ever.

12 Maintenance Tips to Get Your Home Ready for Spring

Prep your home for spring — inside and out.

Tree Care Tips to Make Your Holiday Shine

How to be host to a healthy tree that will last the entire holiday season.

Get Your House and Yard Ready for Winter

Batten down the hatches for winter with these easy DIY tips.

How to Keep Your Houseplants Alive This Winter

Avoid committing plant-icide as you move outdoor plants inside with these tips from expert Justin Hancock.

How to Rewire a Vintage Lamp

Learn how to gently clean and rewire an antique brass lamp.

Turn Your Attention to Your Outdoor To-Do List

Get some fresh air while you get your house ready for summer.

How to Clean Your Coffee Maker

Keep your single-serve coffee maker (like a Keurig) clean inside and out with these easy steps.

How to Make Your Own Windshield De-Icer

Check out the best method for de-icing a car windshield, plus learn how to make de-icer from simple household ingredients.