To get rid of fruit flies, find and remove where they breed first: overripe fruit, a sticky drain, the trash, the recycling bin or a damp mop. Then catch the adults that are left with a vinegar trap or a store-bought trap. Traps alone wonāt solve it: the University of Kentucky says all potential breeding areas must be located and eliminated. A female can lay about 500 eggs, and a new generation grows up in about a week.
Want a ready-made trap? The two traps Iād pick (why these two): TERRO Fruit Fly Trap 4-Pack Zevo plug-in trap (Amazon; as an Amazon Associate I earn from qualifying purchases)
Why Fruit Flies Keep Coming Back
You throw out the brown banana, the flies seem gone, and two days later theyāre back. Thatās not bad luck, itās biology. The University of Kentuckyās fact sheet on fruit flies explains that females lay their eggs on the surface of fermenting food, that āthey will lay about 500 eggs,ā and that āthe entire lifecycle from egg to adult can be completed in about a week.ā Clemson Extension adds that the eggs hatch within two days.
So every fly you swat is replaced by the ones still growing somewhere you havenāt looked yet. Thatās why this page starts with the hunt, not the trap. More on the life cycle in where fruit flies come from.
The 4-Step Plan
- Find where they breedRipe fruit, drains, the garbage disposal, trash, recycling, mops and rags, spilled juice.
- Remove or clean itEat, refrigerate or throw out ripe produce; clean the slime out of drains; empty and rinse bins.
- Trap the adults that are leftA jar of cider vinegar with a paper funnel, or a ready-made trap.
- Keep it from starting againRipe fruit in the fridge, rinsed recycling, tight window screens.
Step 1: Find Where They Breed
Fruit flies are drawn to āripened or fermenting fruits and vegetables,ā as the University of Kentucky puts it, and the usual suspects are tomatoes, melons, squash, grapes, bananas, potatoes and onions. But the same fact sheet lists breeding spots most people never check: ādrains, garbage disposals, empty bottles and cans, trash containers, mops and cleaning rags.ā It even mentions spilled fruit juice under the refrigerator and a recycling bin that wasnāt emptied.
Walk through your kitchen with that list. Check:
- the fruit bowl, and the bottom of it (one split grape is enough),
- potatoes and onions in the pantry,
- the trash can and the recycling bin, including bottles and cans that werenāt rinsed,
- the sink drain and the garbage disposal,
- damp mops, sponges and dish rags,
- under and behind the fridge.
The bag test for drains: if you suspect a drain but canāt see into it, the University of Kentucky suggests taping a clear plastic food storage bag over the opening overnight. If flies are breeding there, the new adults get caught in the bag. The full drain routine is in fruit flies in the drain or the fridge.
Step 2: Remove or Clean the Source
- Produce: eat it, refrigerate it or throw it out. Because the larvae feed near the surface, the University of Kentucky says you can cut away damaged or overripe parts.
- Drains: the flies breed in the film inside the pipe, so the fix is removing that film. Penn State recommends scrubbing drains with a stiff brush or using a bacterial or enzyme drain product to break down the slime.
- Trash and recycling: empty, rinse and close. Clemson Extension mentions unrinsed drink cans waiting for recycling as a hidden breeding spot.
- Mops and rags: wash them and let them dry. Clemson describes damp mops with food left in them as a breeding site.
Step 3: Trap the Flies That Are Left
Once the source is gone, the adults still buzzing around need to go. The University of Kentucky describes a simple trap: roll a sheet of paper into a funnel, put it in a jar with a little cider vinegar, and set the jar where you see the flies. Flies go in and donāt find their way out. The step-by-step version, plus a few variations, is in how to make a fruit fly trap.
If youād rather not keep jars of vinegar on the counter, there are ready-made traps. I picked two for different kitchens in the fruit fly traps Iād pick: a refillable trap with a food-based liquid lure, and a plug-in light trap with sticky cartridges.
Step 4: Stop the Next Wave
Fruit flies ācan also fly in from outside through inadequately screened windows and doors,ā the University of Kentucky notes, so tight screens help. Inside, the best prevention is boring: keep ripe fruit in the fridge, donāt let produce sit until it ferments, and rinse what goes into the recycling. How to store each fruit so it doesnāt become fly food is in how to store fruit to keep fruit flies away.
Stay Safe While You Clean Up
- Skip the bug spray near food. Washington State University lists no insecticide as recommended for fruit flies, and the University of Kentucky says spraying adults only helps after the breeding source is gone. Never spray over fruit, open food, plates or the counter you cook on.
- Keep traps away from kids and pets. A vinegar trap or a liquid lure is still something a toddler or a dog can knock over or drink from (my advice). For store-bought traps, follow the label.
- Plug-in traps are electrical devices. Zevoās own FAQ says: āAs with other electrical devices, please keep away from children.ā
- Donāt eat fruit with larvae in it. Clemson Extension says if eaten, fruit fly larvae āmay cause stomach distress or illness,ā especially if the breeding site was contaminated. More in are fruit flies harmful.
Fruit Flies or Something Else?
Not every tiny fly in the kitchen is a fruit fly. Fruit flies are about 1/8 inch long, tan with a darker rear end, and usually have red eyes (University of Kentucky). Little black flies around houseplants are more likely fungus gnats, and fuzzy, moth-like flies on the bathroom wall are drain flies. They need a different fix, so itās worth a closer look: fruit flies vs gnats vs drain flies.
Traps Iād Use
For the flies that are left after the cleanup. The details and the reasons are on my fruit fly trap page.
TERRO Fruit Fly Trap 4-Pack
Apple-shaped traps with a food-based liquid lure, 180 days of lure supply. Each trap gives up to 45 days of protection, according to the listing.
Look at TERRO on Amazon
Zevo Flying Insect Trap
A plug-in base with blue and UV light and a sticky cartridge you never touch. This set has 1 base and 3 refills.
Look at Zevo on AmazonAffiliate links: as an Amazon Associate, I earn from qualifying purchases, at no extra cost to you. Product details come from the listings on October 26, 2026.
Fruit Fly Questions
What is the fastest way to get rid of fruit flies?
Remove what they breed in first: overripe fruit, the trash, the recycling and the slime in drains. Then catch the adults with a cider vinegar trap or a ready-made trap. Traps alone donāt stop new flies from hatching.
Why do I still have fruit flies after throwing out the fruit?
Theyāre probably breeding somewhere else too. The University of Kentucky lists drains, garbage disposals, trash cans, unrinsed bottles and cans, mops and cleaning rags, and spilled juice under the fridge.
How long does it take to get rid of fruit flies?
A new generation can grow from egg to adult in about a week, so my practical tip (not an extension rule) is to keep cleaning and trapping for at least a week or two after you remove the source, until you stop catching flies.
Should I spray insecticide for fruit flies?
No spray is needed in most kitchens. Washington State University lists none as recommended, and the University of Kentucky says a spray only helps after the breeding source is removed. Never spray near food.
Do fruit flies come from the fruit itself?
Partly. Infestations can start with produce that already has eggs on it, and adults can fly in through windows and doors without good screens. They donāt appear out of nowhere.
Sources & Transparency
Life cycle, breeding sites, the bag test, the vinegar funnel trap and the limits of sprays: University of Kentucky Entomology, ENTFACT-621 āFruit Fliesā (Michael F. Potter). Egg hatching, mops, cans and the stomach-upset warning: Clemson Cooperative Extension, HGIC 2438 āNuisance Fliesā. Insecticides not recommended: Washington State University PestSense, āFruit fliesā. Cleaning drain slime: Penn State Extension, āMoth Flies in the Homeā. Zevo safety: Zevo product page and FAQ. Trap details come from the Amazon listings, read on October 26, 2026. I havenāt tested these traps. Tips marked as mine are my own advice.
Last updated:

