Get Rid of Fruit Flies in the Kitchen
Reviewed by The Small Crew editorial team against Clarigo's How to Get Rid of Fruit Flies guide and Pest Control Technology's Fruit Fly pest profile.

The problem: tiny flies over the fruit bowl
A few tiny flies hover over the bananas. A day later there are dozens around the sink, the trash, and the fruit bowl. Fruit flies are the fastest-breeding pest in the kitchen: one female can lay up to 500 eggs, and the whole cycle from egg to adult takes as little as 8 to 10 days in a warm kitchen. [1] [2] That is why a couple of flies becomes a swarm in a week — and why swatting the ones you see never ends it. The flies you see are only the adults. The next generation is already growing in the film on a piece of overripe fruit, in the drain, or in the bottom of the trash can.
The short answer
Remove what they are breeding in, then trap the adults that are already flying. Throw out overripe fruit, take out the trash and compost, and scrub the sink drain and garbage disposal. Then set a small jar with a half-inch of apple cider vinegar, one drop of dish soap, and plastic wrap with pinholes on top. Do both parts together — traps alone will not end it, and cleaning alone leaves the flying adults to lay a new round of eggs. Most kitchens clear within about a week. [1]
Why it happens
Fruit flies (Drosophila species) are drawn to the yeast and acids that form as fruit and vegetables start to ferment, and they lay their eggs directly in that film. [1] They often ride into the house as eggs already on produce from the store, so an infestation can start with a bunch of bananas you just bought. [1] Once inside, a female mates within hours of emerging and starts laying eggs about a day later — up to 500 eggs in her life. [1] [2] In a warm kitchen the eggs hatch in about a day, the larvae feed for five or six days, and the adults emerge 8 to 10 days after the eggs were laid. [2] That short cycle is the whole problem: every day you leave a breeding site alone, a new batch is on its way.
The steps that do work
1. Throw out the breeding sites first
Start with the fruit bowl. Toss any overripe or soft fruit, and check the pantry for a forgotten potato or onion — a rotting potato in a storage bin is one of the classic hidden sources. [1] Take out the trash and the compost, and scrub the inside of the trash can and recycling bin where sticky residue collects. [1] Wash produce as soon as you bring it home, before you put it away — that stops eggs that came in from the store. [1]
2. Set a vinegar trap for the flying adults
Pour a half-inch of apple cider vinegar into a small jar, add one drop of dish soap, and cover the opening with plastic wrap poked with a few pinholes. [1] The vinegar smell pulls the flies in; the soap breaks the surface tension of the vinegar, so flies that land on it sink instead of walking away. [1] Set two or three jars near the worst activity — by the fruit bowl, the sink, and the trash — and empty them often.
Put the jars where the flies already are, not where it is convenient for you — by the fruit bowl, the sink, and the trash. A trap across the room from the breeding site catches the flies that happen to wander past; a trap next to the site catches the ones coming out of it. A few drops of red wine or beer in an open cup work the same way, since fermenting alcohol gives off the same smell. [1]
3. Scrub the drains and the garbage disposal
Fruit flies also breed in kitchen drains, garbage disposals, and the grime inside trash cans, so a vinegar jar alone will not solve a widespread problem. [1] Scrub the drain opening with a bottle brush to remove the film of rotting matter, then run the disposal with hot water and dish soap. [1] For a drain that keeps breeding flies, use an enzyme drain cleaner — the kind made for drains, not a spray — because it breaks down the organic film the eggs sit in.
4. Keep the kitchen dry and the fruit cold
Wipe the counters every night during an infestation, and do not leave dirty dishes or a damp sponge sitting in the sink. Once fruit is ripe, keep it in the refrigerator — cold fruit does not ferment, so it stops attracting flies. Empty the trash often, and keep the compost pail closed. If you compost banana peels, bury them under dry leaves or shredded paper instead of leaving them exposed on top. [1]
Keep the traps out for the full week even if the flies seem gone after a few days — the cycle from egg to adult takes 8 to 10 days, so eggs laid before you started cleaning can still hatch.
What doesn't work
A trap on its own. It catches the adults flying now but does nothing about the eggs and larvae in the fruit, the drain, or the trash — a new batch hatches every few days.
Spraying insecticide or bleach around food. Bleach poured down the drain does not clear the eggs in the drain film, and neither insecticide nor bleach belongs near food, produce, or the sink.
Confusing fruit flies with drain flies. Drain flies look similar but breed in the gel-like buildup inside pipes, so a vinegar trap will not touch them — they need the drain scrubbed with a bottle brush and an enzyme cleaner. [1] If the flies are mostly around the drain and the trap stays empty, you probably have drain flies, not fruit flies.
When to call a professional
Call a pest control pro if the flies are still thick after a week of traps plus source removal, or if traps keep filling up after the kitchen is clean — that can point to a cracked drain pipe or a hidden food source behind a wall or cabinet, which is a job for a plumber or a pest control professional. [1] HomeGuide lists professional fruit-fly service at $150–$300. [3]
What you'll need
You do not need a special product for this job. Apple cider vinegar and a drop of dish soap make the trap, a bottle brush cleans the drain, and an enzyme drain cleaner handles a drain that keeps breeding flies. Buy the enzyme cleaner made for drains — not a general spray — and follow the label for how long to leave it in.
The bottom line
Throw out what they are breeding in, scrub the drain and the trash can, and set a vinegar trap for the adults — all three, together. Do that and most kitchens clear within about a week. If the flies are still thick after a week of clean plus traps, or the trap stays empty while flies hover at the drain, call a pro — you may have drain flies or a hidden source.
Frequently asked questions
How do I get rid of fruit flies fast?
Do both parts together — throw out overripe fruit, take out the trash and compost, scrub the sink drain and disposal, then set vinegar traps for the adults. Most kitchens clear within about a week. Traps alone will not end it.
What is the best fruit fly trap?
A small jar with a half-inch of apple cider vinegar, one drop of dish soap, and plastic wrap with pinholes on top. The vinegar smell pulls them in; the soap breaks the surface tension so flies that land sink. Set two or three jars near the worst activity.
Why do fruit flies keep coming back?
Because the next generation is already growing — one female lays up to 500 eggs, and the cycle from egg to adult takes as little as 8 to 10 days in a warm kitchen. Every day a breeding site is left alone, a new batch is on its way.
Are they fruit flies or drain flies?
Drain flies look similar but breed in the gel-like buildup inside pipes, so a vinegar trap will not touch them. If the flies are mostly around the drain and the trap stays empty, you probably have drain flies — scrub the drain with a bottle brush and use an enzyme cleaner.
When should I call a professional for fruit flies?
If the flies are still thick after a week of traps plus source removal, or if traps keep filling up after the kitchen is clean — that can point to a cracked drain pipe or a hidden food source behind a wall or cabinet, which is a job for a plumber or a pest control professional.