Getting rid of fruit flies is easier than you might think, and you can speed up the process by making one of these simple homemade traps.
DIY traps are often even more effective than other commercial fruit fly traps because the ingredients are the same items that attract the fruit flies to your home in the first place, like fruit scraps or sweet beverages.
Here's how to make simple and effective fruit fly traps.
Meet the Expert
Brett Bennett is the director of operations with PURCOR Pest Solutions.
Fruit Flies Baits
Fruit flies are attracted to various things, including rotting fruits and vegetables and moist environments, like drains, garbage disposals, and empty bottles and cans to lay their eggs. Good baits for traps include:
- Apple cider vinegar (other vinegar will work, although the sugars in this vinegar work well)
- Overripe fruit, skins, and rinds (pineapple, bananas, melons, apples)
- Rotting vegetables (potatoes, onions)
- Alcoholic beverages
Method #1: Apple Cider Vinegar and Liquid Soap Fruit Fly Trap
Make a simple but powerful fruit fly trap by putting a small amount of apple cider vinegar in a mason jar with a few drops of liquid soap. This is the best way to get rid of fruit flies because the flies are attracted to the vinegar, and the dish soap works to trap the flies in the liquid and drown them.
"Fruit flies are attracted to the odor of rotting fruit most of all, and since vinegar is very associated with the process of decay and fermentation in fruit, it's a very compelling odor for them," says Bennett.
- Add a small amount of apple cider vinegar and a few drops of liquid soap to a mason jar. Mix well. The soap can be optional.
- Cover the jar with foil, plastic wrap, or a metal lid and poke small holes with a pin or paperclip, just big enough for a fruit fly to fit through.
- Secure the foil, plastic wrap, or lid with the lid ring, but don't screw it on all the way.
- Fasten another piece of foil or plastic wrap over the lid ring with a rubber band, leaving a small space between the two layers.
- Poke holes in the top layer. Avoid creating holes that line up with holes on the bottom layer; otherwise, the fruit flies can escape.
Why This Method Is Effective
Apple cider vinegar is one of fruit flies' favorite fermented smells. The vinegar draws the flies into the trap, and the layers of foil make it very difficult for them to escape. Adding liquid soap will speed up the process, but either way, the flies will eventually die in the trap.
Tip
If your trap doesn't work to your liking, you could try swapping out soaps or leaving the soap out altogether. Also, you don't have to use lids if there are a few drops of soap. The soap can drown the flies upon contact. Experiment for yourself to see which works best for you.
Want more cleaning and organizing tips? Sign up for our free daily newsletter for the latest hacks, expert advice, and more!
Method #2: Plastic Bottle Fruit Fly Trap
Another method is creating a fruit fly trap out of a plastic bottle.
- Poke or drill small holes in the lid of a soda or water bottle and then screw it back on the bottle.
- Cut the bottle's top third off and set aside.
- Pour an attractant, such as apple cider vinegar, fruit juice, wine, or beer, into the bottom of the bottle.
- Flip the top of the bottle upside down and place it in its bottom half with the cap, forming a funnel down into it.
- Tape the bottles together.
- Place your bottle trap near the fruit flies.
Why This Method Is Effective
The attractant in the bottom draws the fruit flies in, while the funnel shape of the trap makes it difficult for them to get out, leaving them to drown. The trap is entirely disposable, so toss it when it needs to be changed and create a new one.
Method #3: The Paper Cone and Jar Fruit Fly Trap
You can also create a fruit fly trap with a paper cone and a jar.
- Take a piece of paper and form a paper cone with a small hole in the bottom. The cone should fit into a mason jar without touching the bottom, but there should be no gaps between the sides of the cone and the jar's rim.
- Tape the side of your paper cone to keep its shape, and set it aside.
- Place some fruit scraps (like banana peels) in the bottom of the jar.
- Lastly, put your paper cone in the jar and seal it with tape around the rim.
Why This Method Is Effective
The fruit in this trap makes it irresistible to fruit flies, especially if you use scraps of sweet and juicy fruit like pineapple, which is especially enticing to fruit flies.
The tiny trap entrance and the shape the paper cone creates inside the trap make it challenging for fruit flies to find their way out. Just ensure the hole in your paper cone is small enough that the flies can't come and go.
Method #4: Wine Bottle Fruit Fly Trap
An old bottle of regular or soured wine is an excellent option for a wine trap.
- Keep a few inches of wine remaining in the bottle.'
- Add a piece of fruit as another enticing lure.
- To make the trap more effective, add a few drops of dish soap to reduce the wine's surface tension and drag the fly down into the liquid.
- Like Method #3, create a paper funnel at the bottle opening. (Make a paper cone with a small hole in the bottom. To keep it in place, tape the cone where it meets the rim.)
- Once the bottle fills with flies, close it with a stopper and dispose of it.
Why This Method Is Effective
The fermented liquid, the ripened fruit, and the soap effectively lure and trap the flies. The funnel is a problematic escape for flies that haven't been weighed down by soap. Close the bottle and dispose of it when it's full of flies.
Other Fruit Fly Trap Methods
If you're having trouble attracting flies, use only apple cider vinegar in the trap instead of another attractant and skip the liquid soap. You can also try placing fruit fly traps near your produce, kitchen sink, or other areas where you've seen the pests. You can also purchase a commercial fruit fly trap in stores as a last resort.
How to Prevent Fruit Flies
Here are the best fruit fly solutions to use along with your DIY fruit fly traps:
- Wash, chop, and refrigerate your produce when you bring it home since fruit flies and their eggs are often carried inside on produce. Produce that sits at room temperature is also more appealing to fruit flies.
- Don't leave glasses for juice, wine, beer, or kombucha in the open, and rinse beverage containers before recycling.
- Avoid leaving food and produce scraps on your counters, sink, or compost overnight. If you have a kitchen compost bin, ensure it has a good seal and is emptied regularly.
- Regularly change your garbage and recycle bins and rinse them out occasionally to avoid attracting fruit flies.
- Clean your sink drains and garbage disposal so rotting food scum isn't building up and attracting fruit flies.
If your fruit fly control efforts have little to no effect, there's either a fruit fly source gone undetected or the flies you see might not be fruit flies. Both drain flies and fungus gnats are easily confused for fruit flies, so don't rule those pests out if you're still struggling with a fly issue.
FAQ
What is the fastest method for getting rid for fruit flies?
First, focus on identifying and removing (or sealing away) potential fruit fly sources and attractants. The fruit flies will start disappearing, but a fruit fly trap can help speed the process up by trapping any remaining fruit flies.
Why are there fruit flies in my bathroom?
If you have a severe fruit fly issue in your kitchen, or if something fermented or rotting is hiding nearby, fruit flies can pop up in the bathroom. However, persistent small fly activity likely indicates drain flies, not fruit flies. Drain flies are commonly confused with fruit flies but can be distinguished by their powdery, moth-like appearance and feather-shaped antennae.
Can you use baking soda to get rid of fruit flies?
Clean drains are essential for both fruit fly and drain fly control. While baking soda is ineffective against fruit flies, you can use a combination of 1/2 cup of baking soda, 1/2 cup of salt, and 1 cup of vinegar to clean out your drains and kill off any drain fly larvae. Pour the mixture in overnight, let it sit, and then pour boiling water down the drain in the morning. While this will kill any drain fly larvae, if you want to keep drain flies and fruit flies out of your kitchen and bathroom drains for good, you'll need to scrub and deep clean them semi-regularly.
Will fruit fly traps work on other pests?
Fruit fly traps are made to target fruit flies, but there are plenty of all-natural, simple solutions for other tiny flying pests, such as fungus gnats and drain flies. All species of pests and control methods are different.