How to Get Rid of Fruit Flies Fast (3 Traps That Work)

How Do You Get Rid of Fruit Flies?
To get rid of fruit flies, do two things at once: remove whatever they're breeding in, and trap the adults that are already flying around. Set out a small bowl of apple cider vinegar with a drop of dish soap — the vinegar draws them in, the soap breaks the surface tension so they sink. At the same time, clear out overripe produce, rinse recycling, empty the trash, and flush your drains. Do both, and a typical infestation collapses within a few days to a week.
Traps alone won't solve the problem. A female fruit fly can lay hundreds of eggs in her short lifetime, and eggs hatch in about a day. If the breeding site stays, new flies replace the ones you trap. Kill the source, and the traps mop up the survivors.
Why Do I Have Fruit Flies in My Kitchen?
Fruit flies are drawn to fermentation. Anything sweet and starting to break down — a soft banana, a splash of wine, juice residue in a recycling bin — signals food and a place to lay eggs.
The most common sources are:
- Overripe or damaged produce on the counter, especially bananas, tomatoes, and stone fruit
- The trash and recycling — sticky soda cans and beer bottles are classic culprits
- Kitchen drains and garbage disposals, where a film of organic gunk builds up
- Damp sponges, mop heads, and dishcloths left soggy
- Forgotten spills under appliances or at the back of the fridge
They often arrive as eggs already laid on produce from the store, then multiply once something on your counter ripens past its prime. That's why they seem to appear out of nowhere: the flies didn't find your kitchen — you carried them in.
3 DIY Fruit Fly Traps That Actually Work
All three traps use the same logic: lure the flies with a fermented scent, then make sure they can't get back out. Set out two or three around the problem area rather than relying on one.
| Trap | What you need | Best for |
|---|---|---|
| Vinegar + dish soap | Apple cider vinegar, dish soap, small bowl | Fastest setup, most reliable overall |
| Paper cone | Jar, paper, tape, vinegar or ripe fruit | Heavy infestations — flies can't escape |
| Bottle trap | Nearly empty wine or beer bottle | Zero effort — uses what's already in the bin |
1. The Apple Cider Vinegar Trap
This is the classic for a reason.
- Pour about half an inch of apple cider vinegar into a small bowl or jar.
- Add one drop of dish soap and swirl gently.
- Place it near the fruit bowl, sink, or wherever the flies gather.
The vinegar smells like fermenting fruit, which flies find irresistible. Normally they can land on liquid and walk on its surface — the dish soap breaks that surface tension, so they sink and drown. Refresh the trap every day or two. White vinegar works far less well; the apple scent is what does the pulling.
2. The Paper Cone Trap
Best when you have a lot of flies and want a trap they can't leave.
- Put a splash of vinegar or a chunk of very ripe fruit in a jar.
- Roll a piece of paper into a cone with a small opening (about the width of a pencil tip) and tape it.
- Set the cone in the jar, point down, sealing the edges to the rim.
Flies funnel down through the narrow opening toward the smell, but can't navigate back out through the small hole above them. Empty it outside, far from the house, or dunk the whole jar in soapy water first.
3. The Leftover Bottle Trap
The laziest option: leave a nearly empty bottle of wine or beer out with a small amount of liquid inside. Flies crawl in through the narrow neck and mostly can't find their way out. Adding a drop of dish soap makes it more lethal. It's less efficient than the other two, but it costs nothing and works while you sleep.
Remove the Source or They'll Keep Coming Back
While the traps run, spend ten minutes on the breeding sites:
- Refrigerate or toss ripe produce. Anything soft, split, or fragrant goes in the fridge or the outdoor bin.
- Take out trash and rinse recycling. Sticky residue in cans and bottles is a nursery.
- Clean the drain. Pour boiling water down it, or scrub the first few inches with a brush. Skip the bleach-and-vinegar route entirely — never mix cleaning chemicals.
- Wring out sponges and dishcloths and let them dry fully between uses.
- Wipe down counters and check under appliances for old spills.
How to Keep Fruit Flies From Coming Back
- Buy only the produce you'll eat within a few days, and refrigerate anything ripening fast.
- Rinse fruit when you bring it home to wash off any eggs hitching a ride.
- Empty kitchen trash frequently in warm months, when flies breed fastest.
- Keep drains clean with an occasional boiling-water flush.
Once you know the pattern — fermenting food in, flies follow — prevention becomes automatic. For more quick fixes like this, browse our Kitchen & Food guides, or tackle another stubborn classic: how to remove sweat stains from shirts.