🎯 How to Get Rid of Fruit Flies

How to Get Rid of Fruit Flies

How to get rid of fruit flies for good — fast fixes, natural remedies, room-by-room help and a concrete plan that beats the whole generation, not just the flies you can see.

🌱

This is one of our original articles, first published in 2009. We have improved and expanded it over the years — corrected, updated and added new information — but it is the same article, improved rather than replaced.

Getting rid of fruit flies is not really about killing the flies you can see — it is about doing two things at once: removing what they breed in and trapping the adults on the wing. This section gathers every practical method that works, from a two-minute vacuum to a five-day plan, and is honest about the tricks that only waste your time. Do both halves of the job together and a swarm that felt permanent is usually gone within a week or two.

In short

The winning formula
Remove the breeding source and trap/kill the adults, at the same time
Fastest knock-down
A vacuum cleaner — very effective on a hovering swarm
Reliable DIY trap
Apple cider vinegar with a drop of dish soap
Realistic timeline
Usually one to two weeks once the source is gone
What doesn't work alone
Traps by themselves, essential oils, bug zappers

Why removal has two halves

Every fruit fly you swat is one adult from a much larger, mostly invisible population. For each fly hovering over the bowl, eggs and larvae may be developing in a forgotten potato, a damp drain film or a splash under the fridge. That is why trapping alone fails — new adults keep emerging from a source you never found. The reliable approach is always the same: find and destroy the breeding site through hygiene, and catch the surviving adults with traps and a vacuum, in the same push. If you only remember one thing from this hub, make it that. When you want to see it as a routine, follow the 5-day fruit fly plan, and set your expectations with how long it takes.

Hygiene and prevention: shut down the source

The first half is denying the flies anywhere to breed. Clear away food waste and empty the kitchen bin often, refrigerate ripe fruit instead of leaving it on the counter, and rinse cans and bottles before they go in the recycling. A cooler, well-ventilated kitchen slows the whole cycle down, so opening a window and lowering the temperature genuinely helps — the reasoning is in cooling and ventilation. Drains deserve special attention, because the greasy biofilm inside them is a classic hidden nursery; scrub it mechanically rather than trusting bleach to reach it. If you keep houseplants, let the top of the potting soil dry out between waterings to make it inhospitable. A single thorough deep clean that wipes down surfaces and removes eggs at the same time is often the turning point. To hunt down the exact breeding spot, work through how to find the source and the wider sources hub.

Active removal: vacuum, trap and (carefully) spray

The second half is knocking down the adults. The quickest tool is one you already own: a vacuum cleaner is very effective at clearing a hovering swarm in seconds — just empty the canister or bag outside afterwards so nothing crawls back out. Our guide to vacuuming up the swarm covers the technique. Alongside that, set a lure. The classic is a bowl of apple cider vinegar with a single drop of dish soap to break the surface tension so the flies sink; the whole family of homemade options is compared in the traps hub, with the workhorse recipe in the apple cider vinegar trap and the surface-tension trick explained in the dish soap method.

Caution: Insect spray can help in a pinch, but use it sparingly and only as directed. Read the label, ventilate the room, and keep it away from food and food-preparation surfaces — a spray never fixes the underlying breeding source. See fruit fly spray, used safely before you reach for a can.

Natural remedies — the honest version

Plenty of gentle home methods circulate online, and some are genuinely useful while others are wishful thinking. Vinegar and dish soap traps work. Overripe fruit as bait works. Cooling and cleaning work. But essential oils, lemon studded with cloves and shelf herbs like basil or mint only repel flies at best — they may nudge behaviour but will not clear an infestation on their own. We keep it straight in the natural remedies overview, with dedicated looks at essential oils and scents and lemon, cloves and herbs. Treat these as supporting players, never the whole strategy.

Room by room

Where the flies concentrate tells you where the source is. Most infestations begin in the kitchen, around fruit, bins and drains. But damp bathroom drains and overflows host them too, potted houseplants can be a mix of fruit flies and fungus gnats, and forgotten return bottles or produce in the basement, pantry and garage are easy to overlook. Match the fix to the room and you stop chasing symptoms.

When it won't quit

Occasionally a problem outlasts a diligent clean-up. Usually that means a source you cannot reach — a cracked drain, a spill inside an appliance, or, quite often, that the "fruit flies" are actually persistent phorid or drain flies breeding somewhere structural. Before you assume the worst, confirm the insect with the fly identifier tool. If a real fruit fly infestation genuinely resists everything, our guide on when to call an exterminator covers the rare cases where a professional is the sensible next step. Prefer to make sure it never returns? The prevention hub turns these one-off fixes into lasting habits.

Sources

Explore how to get rid of fruit flies

Fast fixes

Natural remedies

Room by room

For good

More methods & products