How to Get Rid of Fruit Flies – Simple Fixes That Actually Work
Key takeaways
To get rid of fruit flies, eliminate their food sources, clean drains and surfaces thoroughly, and use simple traps like vinegar and dish soap. Consistency is key—cutting off their breeding grounds is more effective than just killing the visible flies.
Why You’re Seeing Fruit Flies Everywhere
If you’re wondering how to get rid of fruit flies, it probably means you’ve spotted them buzzing around your kitchen—or worse, multiplying fast. These tiny insects thrive in warm, moist environments and are drawn to ripened or decaying produce, sugary liquids, and even the residue in your sink drain.
Fruit flies aren’t just annoying; they can contaminate your food and spread bacteria. The good news? You don’t need chemicals to get control over the problem.
1. Clean Up Every Food Source
Fruit flies don’t just appear randomly. They’re after one thing—food. Your first job is to take it away.
- Toss Overripe Fruits: Don’t leave bananas, apples, or tomatoes sitting on the counter. If you must keep them out, store them in sealed containers.
- Seal Trash Bins: Make sure your trash can is closed tightly and cleaned regularly, especially if it contains food scraps.
- Clean the Sink and Drain: A little soap and water on the surface isn’t enough. Fruit flies often lay eggs in drain sludge. Use a pipe brush or drain cleaner to scrub inside your kitchen sink drain.
2. Set Traps That Actually Work
Want to know how to get rid of fruit flies without spraying chemicals? Traps are your best friend. Here are a few tested options:
Apple Cider Vinegar Trap
This classic trap works because fruit flies love the smell of fermenting fruit.
- Fill a small bowl or jar with apple cider vinegar.
- Add a drop of dish soap to break the surface tension (so they sink).
- Cover with plastic wrap and poke small holes using a toothpick.
Place this on your counter, near your fruit basket, or wherever you notice flies gathering.
Wine Trap
Got leftover red wine? Pour a bit into a glass, cover with plastic wrap, and poke holes. Works just like the vinegar trap.
Overripe Fruit Trap
Place a piece of overripe fruit in a jar. Add some vinegar and cover the jar with plastic wrap with small holes. This lures them in and traps them.
3. Eliminate Breeding Sites
Fruit flies reproduce quickly. A single female can lay up to 500 eggs. To really get rid of them, you’ve got to stop the cycle.
- Drain Check: Use a drain gel or a mixture of baking soda and vinegar, followed by boiling water, to kill eggs and larvae.
- Wipe Counters and Appliances: That sticky spot near your blender or under your toaster? Fruit flies love it. Wipe it all down.
- Empty Recycling Bins: Even an open soda can with a drop of liquid can attract them.
4. Store Food Smartly
Even a small amount of exposed sugar or juice can kick off a fruit fly invasion.
- Store fruits and vegetables in the fridge or in tightly sealed containers.
- Rinse and dry produce when you bring it home—some fruit flies may already be hitchhiking.
- Keep pantry items like onions and potatoes in cool, dry, ventilated areas.

5. Try a DIY Fruit Fly Spray
While traps take care of the flies over time, you can kill the visible ones instantly with a simple spray.
Recipe:
- Mix 1 cup of isopropyl alcohol with 1 cup of water in a spray bottle.
- Aim and spray directly at any flies in sight.
This kills them on contact and is safer than chemical insecticides for most homes.
Common Mistakes When Trying to Get Rid of Fruit Flies
| Mistake | Why It’s a Problem |
|---|---|
| Only using traps | Doesn’t stop breeding—must eliminate eggs too |
| Ignoring the sink | A major breeding ground that goes unnoticed |
| Leaving food exposed | Keeps attracting new flies daily |
| Skipping daily cleaning | Even a few drops of juice or wine can restart the cycle |
Quick Step-by-Step Guide: How to Get Rid of Fruit Flies
- Toss or refrigerate ripe fruits and veggies.
- Clean all surfaces, drains, and trash bins.
- Set multiple traps using vinegar or wine.
- Use boiling water or drain gel in sinks.
- Spray visible flies with alcohol-water solution.
- Repeat daily for at least 5–7 days.
- Monitor and prevent by keeping the kitchen clean and dry.
Real-World Examples
Example 1: The Forgotten Potato
One homeowner noticed a sudden wave of fruit flies but had cleaned the kitchen thoroughly. It turned out a single rotting potato at the bottom of a cabinet was the source. Once removed, the infestation disappeared in two days.
Example 2: The Juice Spill
After spilling juice under the fridge, another family didn’t realize the sticky residue was attracting fruit flies. Once they moved the appliance and cleaned underneath, their fruit fly problem was resolved.
Pros and Cons of DIY Methods vs. Store-Bought Solutions
| Method | Pros | Cons |
|---|---|---|
| DIY Traps | Cheap, easy to make, safe for kids/pets | Takes time to reduce population |
| Store-Bought Traps | Convenient and pre-made | Costlier, may contain chemicals |
| DIY Spray | Safe and effective on contact | Doesn’t prevent breeding |
| Chemical Sprays | Quick kill | Not safe for food areas, toxic |
FAQs About How to Get Rid of Fruit Flies
1. Why do fruit flies keep coming back even after I clean?
They likely have access to a hidden breeding site—often drains, garbage disposals, or under appliances. Keep cleaning daily and check less obvious areas.
2. Are fruit flies the same as gnats?
No, though they look similar. Fruit flies are tan and drawn to sugary, fermenting materials, while gnats are usually darker and prefer moist soil.
3. How long do fruit flies live?
Fruit flies live around 8 to 10 days, but they reproduce rapidly—so one or two can turn into hundreds fast.
4. Can fruit flies harm your health?
While they don’t bite or sting, they can carry bacteria from unsanitary areas to your food. Healthline confirms they pose a mild but real risk of contamination.
5. Do fruit flies come from the fruit itself?
Sometimes. Fruit bought from stores may already have fruit fly eggs. Washing your produce right after bringing it home helps reduce the risk.
6. Should I use bleach in the drain to kill fruit flies?
Bleach can kill surface bacteria but doesn’t remove organic buildup inside the pipe. A pipe brush or enzyme drain cleaner is more effective, as University of Kentucky Entomology notes.
Final Thoughts: Keep the Kitchen Fruit-Fly Free
Fruit flies are more than just a nuisance—they can take over your kitchen quickly if you’re not careful. The best strategy for how to get rid of fruit flies is a mix of prevention, consistent cleaning, and smart trapping. You don’t need expensive products. Just keep things clean, dry, and covered.
