We Found a Homemade Fruit Fly Trap That Actually Works
After my first fruit fly sighting of the season, I was determined to get rid of them for good. I turned my kitchen into a lab—testing five versions of the homemade fruit fly trap—and found a clear winner.
We don’t know where the fruit flies came from—they just showed up one night. Maybe some stowaway fruit fly eggs arrived on a bunch of bananas from the grocery store. Or maybe it was a bad idea to let fruit salad sit on the counter while we had a bonfire in the backyard. Or maybe I neglected to empty our compost bucket for a little too long and some of those awful pests with their sense-of-smell superpowers shimmied through a screen.
However they got into our house, we wanted them out. Fast.
Then I noticed a pin on my ever-helpful Pinterest feed: Make a Homemade Fruit Fly Trap, it announced. So I did.
What Causes Fruit Flies, Anyway?
Long story short: fruit flies are attracted to ripened fruits and vegetables, which probably doesn’t come as a surprise. The surprising part, however, is how they travel into your home. Fruit flies are usually brought in by you. Yes, you! These little buggers linger on produce and are brought into your home when you unpack your grocery goodies.
Once they’ve snuck into your home, their breeding process begins (if it hasn’t started already). They breed almost as soon as they land—laying eggs underneath the surface of your precious produce. No matter where they breed, you’ll want to act fast. Female fruit flies can breed up to 500 eggs, which can hatch within a WEEK—eek!
Pro tip: Think throwing away infested produce is enough to get rid of these pests? Think again. Fruit flies can (and will) continue breeding within trash bags, drains and garbage disposals. Be sure to throw away rotten produce before your little friends move in for good.
My anti-fruit fly campaign became a bit of an obsession. I Googled “homemade fruit fly traps” and felt slightly relieved to discover a long list of folk remedies. I put the five most popular recipes—all of which use common household items—to the test. I’d noticed most of the fruit flies were hanging out near the vinegars in my pantry, so I cleared a spot for the traps on the shelf and let them do their thing for about 12 hours. Here’s how each trap fared.
The DIY Fruit Fly Traps
Trap 1: Rotten Fruit
Potential benefits: Inexpensive, proven fruit fly attractor, gives rotting fruit a new use
- Rotten fruit
- Plastic wrap
- Rubber band
- Put some chopped, past-prime fruit in a bowl.
- Tightly cover the bowl with plastic wrap and secure with a rubber band.
- Using a toothpick, poke a few holes in the plastic. The holes should be large enough for fruit flies to crawl in but small enough to keep them from getting out.
Fruit flies captured: 0 (Seriously! I wish I had put up a pantry cam to find out what happened, but I can guess. Read on.)
Trap 2: Milk + Sugar + Dish Soap + Black Pepper
Potential benefits: Uses common household items, a good way to use up milk that’s close to expiring
- 1/2 cup milk
- 2 teaspoons granulated sugar
- Dish soap
- Black pepper
- Combine milk and sugar.
- Heat it on the stove or in the microwave, stirring occasionally, until the sugar dissolves.
- Stir in a squirt of dish soap (this makes the surface of the liquid somewhat sticky so the fruit flies can’t escape).
- Pour the mixture into a bowl.
- Crack black pepper over the top.
Fruit flies captured: 3 (This was the most frustrating trap to keep tabs on, because I couldn’t tell the difference between specks of black pepper and potential casualties.)
Trap 3: Balsamic Vinegar + Red Wine Vinegar
Potential benefits: Quick to set up, easy cleanup
- Balsamic vinegar
- Red wine vinegar
- Plastic wrap
- Rubber band
- Combine equal parts balsamic and red wine vinegar in a small bowl.
- Cover tightly with plastic wrap.
- Secure with a rubber band.
- Poke a few holes in the plastic (as with Trap No. 1).
Fruit flies captured: 0 (Fruit flies sure do like the vinegar bottles in my pantry, especially the balsamic. But for some reason, they weren’t attracted when it was served up in a glass.)
Trap 4: Dish Soap + Apple Cider Vinegar + Hot Water
Potential benefits: Quick to set up, uses common household items, easy cleanup
- Dish soap
- Apple cider vinegar
- Squirt a little dish soap into a glass.
- Add apple cider vinegar until the glass is one-third full.
- Let your tap run until the water is steaming hot, then blast it into the glass so a thick layer of bubbles forms on top.
Fruit flies captured: 18 (The fruit flies that had been hovering around the rotten fruit trap buzzed right over. The bubbles dissipated quicker than I would have liked, so I had to keep adding more water to refresh the bubble layer.)
Trap 5: Beer + Rotten Banana
Potential benefits: Gives rotting fruit a new use, a valid excuse to dump a beer you’re not a fan of
- Rotten banana
- Cone-shaped coffee filter
- Put a piece of rotten banana in a jar.
- Pour in enough beer to partially cover the banana.
- Grab a coffee filter and poke a small hole in the bottom.
- Set it on top of the jar, folding the paper over the edges of the jar to hold it in place.
Fruit flies captured: 3 dead, 5 alive (This turned out to be a sad waste of beer.)
Trap No. 4 won by a landslide! I was inordinately happy (gleeful, really) to see the death toll mounting each time I checked this trap during the day.
I think Trap No. 5 has potential. If you’re curious about this method, add a squirt of dish soap to the beer and use the plastic wrap cover method from Trap No. 1. Maybe you’ll have more luck.
Since that first test, I think I’ve perfected the winning trap. I first used a juice glass, which meant I had to refresh the bubbles a few times. Later, I tried it in a pint glass. Sure, it uses more vinegar, but the bubbles last much longer, making fruit fly elimination a hands-off event.
I also tried this trap with two types of apple cider vinegar: the clear filtered stuff and the raw, unfiltered variety. The latter was definitely more effective, probably because it contains little bits of fermented apple.
How Can I Prevent Fruit Flies?
The easiest way to avoid a fruit fly catastrophe? Use up those ripe fruits and veggies! (Here are some great ideas for using up ripe bananas.) If you want to save your ripened produce for a few days longer, store them in the refrigerator to prevent any uninvited guests from breeding. Then when discarding inedible, overripe produce, throw away the trash ASAP.
Up Next: Get rid of other pantry pests