We may get commissions for purchases made through links in this post.

Get Rid of Fruit Flies with Simple DIY Traps

Fruit flies, also called gnats, can be a big nuisance in your home, multiplying quickly and becoming an infestation. The good news is: you can effectively get rid of them and stop them from coming back. From homemade traps to prevention methods, you can rid your home of these pests for good.

There are many ways to get rid of a fruit fly infestation. Then we’ll add some future prevention tips at the end of the article. Because it’s easier to avoid these pests in the first place than to get them out after they’ve taken over your home.

DIY Traps to Get Rid of Fruit Flies

To make these diy fruit fly traps, you can use items you probably already have in your kitchen. Leave the traps out overnight. In the morning, you’ll be able to see the caught flies, and then you can wash them out. Sometimes you may need to use them a few nights in a row.

These traps shouldn’t be dangerous to cats and dogs, but they’re messy. So it’s a good idea to keep pets away from them anyway. Don’t let smaller pets into the room where the trap will be working overnight.

Fruit flies on blade of grass

The Apple Cider Vinegar and Dish Soap Trap

This fly trap is easy to make with just a few household ingredients, like apple cider vinegar and dish washing liquid. The vinegar attracts the flies and the dish washing liquid prevents them from escaping.

You can also use mineral oil instead of dish washing liquid.

Place this trap in a room of your house or in a shady area of your yard, if that’s where you’re seeing them.

  1. Fill the bottom of a dish or glass jar with apple cider vinegar. You can add fruit or veggie peels and cores to the bait to attract even more flies. You can also use beer or wine, fruit juice or balsalmic vinegar.
  2. Pour in a couple of drops of dishwashing liquid. Stir it in until it dissolves.
  3. Flies will find the vinegar, climb in and get caught in the dish liquid.
  4. Change out the trap every other day or when it’s full of flies.

The Wine or Beer with Plastic Wrap Trap

  1. Don’t quite finish a bottle of beer. Leave a little in the bottom. You can add overripe fruit, wine, vinegar – anything that ferments, especially bananas.
  2. Put it where you’ve seen the most flies in your home, and cover the top with cellophane. Secure it on there with a rubber band or tape.
  3. Punch small holes in cellophane with a needle.
  4. Flies will squeeze through the holes to get the beer, but not be able to climb back out.

Not working?

If you’re not having any luck with these methods, it may be because the traps are not placed in the right location. You need to put them in the room where you see flies most often.

If you’re unsure where flies might be congregating at night, the kitchen is often a good place to start looking, as that is where food is typically kept. Near the sink drain is usually a good bet.

Another possibility is that your infestation isn’t fruit flies at all, but rather drain flies. You’ll need slightly different methods for catching them.

But if you’ve made several attempts, you’re pretty sure your pests are fruit flies, and the traps just don’t seem to be working, you can try some store bought products.

Products you can try

A fly trap product you purchase from a store will function in a similar manner as the DIY versions mentioned above. Therefore, if the DIY methods didn’t work, it’s unlikely that the store-bought product will work either. Flypaper traps are messy and not worth the trouble if they aren’t likely to work.

If you’re looking for alternatives to traditional bug traps, your best option is a Bug Zapper. There are a variety of these available, including versions that can be hung on a porch to attract insects, ones that look like tennis rackets that you can use to swat flies, and others that are more like nightlights for indoor use.

They are effective and safe for kids and pets, but a small electric shock is emitted, so it’s still a good idea to put them where kids and pets can’t reach them.

You can also use a bug spray. Any spray that will kill a bug is going to be at least a little bit toxic to people, pets and/or house plants. If you’re not comfortable spraying traditional bug sprays like Hot Shot in your kitchen, you can try a less toxic spray like EcoVenger.

Preventing fruit fly infestations

The best thing you can do is to avoid an infestation in the first place. To make your home less inviting to pests, start by removing food sources that they’re attracted to. Fruit flies are especially fond of ripe or rotting fruit and produce.

They love fermented foods such as beer and wine. If you spill beer or leave empty bottles in an open trash container, they will be drawn to your home. They are also fond of garbage disposals and trash cans, particularly if there is anything rotting or fermenting inside them.

To keep them from infesting your home in the first place:

  • Don’t keep rotten fruit or produce in your home. Put it in a closed trash container or compost it.
  • Clean up spills of sweet drinks or food as quickly as possible. A little sticky patch on your kitchen countertop or soaking into a rug or carpet will attract fruit flies, ants and other unwanted insects.
  • Don’t let smelly garbage stay inside your home. If it’s starting to smell, take it outside to a trash can or bin.
  • When you bring produce home wash it by hand with cool water. That will get rid of any fly eggs or larvae.
  • Protect fruits that sit on the countertop with a food umbrella.