Homemade fruit fly trap: what does it catch, and what doesn't it?
Kevin
Share
In brief
Does a homemade fruit fly trap work? The honest answer: partly. And it depends on what you expect from it.
What's true. Vinegar with a drop of washing-up liquid really does catch fruit flies. The smell is right — the KAD, the Dutch Knowledge and Advisory Centre on Animal Pests, names vinegar and alcohol in so many words — and that one little drop is the difference between a trap and a birdbath.
What isn't. That it will solve an infestation. A trap catches the adults that are there now. The eggs on the skin and the film in the drain don't notice a thing. And it works worst exactly when you need it most, because a rotting pear on the worktop is direct competition.
We'll be selling traps ourselves from 2027. They won't clear away that pear either.
Fruit flies aren't drawn to fruit but to fermentation. The KAD puts it plainly: they're attracted by the smell of a weak solution of alcohol or vinegar. Fresh, undamaged fruit they leave alone. With a splash of vinegar in a dish, you're imitating exactly what they're looking for.
How strongly that works has been measured. In a wind tunnel experiment with Drosophila melanogaster — the common household fruit fly — 62 per cent of the flies tested came to the smell of vinegar within a quarter of an hour. Two caveats belong with that. It was a laboratory, not a kitchen. And the flies were hungry: only starved flies responded so reliably.
That second point is more practical than it sounds. A fruit fly with a full bowl of overripe bananas at its disposal is not starving.
The same study yields something else useful. Acetic acid attracts them on its own too, and two other substances from vinegar — 2-phenylethanol and acetoin — strengthen that effect when they're present. They're fermentation products; you'll also find them in wine. So a splash of wine or a piece of overripe fruit in your vinegar isn't superstition.
Why that drop of washing-up liquid makes all the difference
This is the step most often skipped, and it's exactly where a trap succeeds or fails.
Water has surface tension. A fruit fly three millimetres long is light enough to land on it, drink and fly away again. A dish of plain vinegar is therefore a drinking trough with a nice smell.
Soap is a surfactant. It breaks the tension of the water's surface, so insects sink in and drown — that's how the agricultural extension service of the University of Georgia describes the mechanism. One drop is enough; it's about the tension of the surface, not the amount of soap.
Give it a quick stir, or the drop will just sit on top as a blob.
How to make a fruit fly trap: the recipe
A shallow, wide dish or a glass. A splash of apple cider vinegar, or ordinary vinegar with a dash of apple juice or wine. One drop of washing-up liquid. Stir. Put it where you see them.
Wide is better than tall: the larger the surface of the liquid, the more smell comes off it.
Refresh it every few days. That's not cleaning advice but catching advice: in the same wind tunnel study, geosmin — the musty smell of mould — actually reduced the attraction of vinegar. A forgotten dish going mouldy behind the bread bin is no longer a trap. It's a repellent.
What about cling film with holes in it?
You see it everywhere, the reasoning being that they can get in but not out again. We haven't found any research comparing the cling film version with an open dish, not for the household fruit fly and not for any other species. So we won't claim it works better.
What we can say: with the washing-up liquid in it they sink anyway, so the escape route is already cut off. Cling film mainly keeps everything together if someone knocks into it. It only costs a bit of cling film, so feel free to try it. Just don't expect a breakthrough.
Where to put it
At the source. Fruit flies find their way over a distance by smell — that's exactly what the wind tunnel experiment shows — but in practice a trap mostly catches whatever passes by. So put it where you see them hanging around: by the fruit bowl, by the bin, by the sink. If you see them in two places, put down two.
The bottom of the bin, under the bag, is one of the places most often overlooked. A trap catches what flies past, so put it where they hang around.
What a homemade trap doesn't do
It doesn't reach the eggs
A fertilised female lays four hundred to nine hundred eggs, and from egg to fly takes roughly eight to eleven days. Egg, larva and pupa live in the same material the adult flies feed on: the skin, the gunk in the drain, the bottom of the food waste caddy.
Your trap has no grip on any of that. As long as the source stays put, there'll simply be a new batch a week and a half later. That's not your trap's fault. A trap just can't do that.
It loses out to your fruit bowl
You rarely read this anywhere. Your trap has to compete with everything else fermenting in the kitchen, and in that competition it often comes off worst.
This has been researched, although with a related species from fruit growing and in a laboratory set-up. The result: with accessible fruit nearby, the trap caught 64 to 88 per cent fewer flies than when there was only water. When the same fruit was made harder to reach, that loss fell to between zero and 51 per cent.
Translated to your own worktop: clearing away the rotting pear does two things at once. It stops producing new fruit flies, and your trap suddenly has the field to itself.
It isn't pest control
The KAD sums it up in one sentence: without good preventive measures, control won't give a lasting result. A trap is the finishing touch, not the starting point. Which places to check first is explained in how to get rid of fruit flies.
What about a shop-bought trap?
We have to be honest here, because we have an interest in it. Trapmo will be selling fruit fly traps from 2027.
A shop-bought trap works on the same principle as your dish of vinegar: the same smell, the same way of catching. Most of the difference is convenience — a container that doesn't tip over, and no smell of vinegar on your worktop.
But one difference is more than convenience, and we don't want to make it smaller than it is. A homemade trap starts to go mouldy after a few days, and the same wind tunnel study shows that this very musty smell reduces the attraction of vinegar. So a forgotten dish doesn't just catch less — it drives them away. A bait that stays stable for longer doesn't have that problem. Whether ours lives up to that we can only say once it exists; until then it's a design goal, not a promise.
What a shop-bought trap doesn't do either is clear away that pear. That's still your job, and if you do it you may not need a trap at all. If you have a dish and a drop of washing-up liquid at home, you don't need us for this. We'd rather say that now than after you've ordered something.
The KAD says so too: control with biocides isn't necessary for fruit flies, and if they're a nuisance, special fruit fly traps can be used.
What doesn't work
A dish of vinegar without washing-up liquid
The best-known home remedy of all, and it only half works. The smell is right, they come, they land on the rim and fly off again. Mostly you end up with a kitchen that smells of vinegar.
The same trap for fungus gnats
A fruit fly trap is built to lure with fermentation. For fungus gnats — those small dark flies that come out of the potting compost — the Royal Horticultural Society (RHS) advises something quite different: yellow sticky traps near the plant, and letting the compost dry out. If you're not sure what you have, look first at small black flies in the house: which one is it?
A trap instead of clearing up
See above, twice. It's the heart of this whole piece.
Frequently asked questions
Apple cider vinegar or ordinary vinegar?
The KAD only mentions "a weak solution of alcohol or vinegar" and makes no distinction. What we do know: acetic acid attracts on its own, and fermentation substances strengthen that. Apple cider vinegar contains both. Ordinary vinegar with a dash of apple juice or wine comes close. We haven't found a hard comparison between the two for the household fruit fly, so use whatever you have.
Why am I not catching anything?
Three possibilities. It isn't a fruit fly but, for example, a fungus gnat or a scuttle fly. There's something more attractive next to your trap. Or the liquid is too old and starting to go mouldy, and then it drives them away rather than luring them in.
How long should I leave it out?
Until you stop seeing new ones in it, and then a few more days. Once the source has gone, you're usually rid of them in a week or two: that's how long the last batch needs to hatch.
Do the flies drown in it?
Yes, they drown. If that bothers you, the only route that does work is removing the source. Without anything fermenting in the house they won't come, and then there's nothing to catch.
Does this work for drain flies too?
No. Drain flies come out of the drain and don't respond to fermentation; you deal with them at the U-bend. See bugs in the bathroom.
Use biocides safely. Always read the label and product information before use.
That fruit flies are attracted by the smell of a weak solution of alcohol or vinegar, the number of 400 to 900 eggs, the development time of about 8 to 11 days, that egg, larva and pupa live in the same material the flies feed on, that fresh and undamaged fruit is not affected, and that control without good preventive measures gives no lasting resultKennis- en Adviescentrum Dierplagen (KAD), the Dutch Knowledge and Advisory Centre on Animal Pests, knowledge base Fruitvliegen (Drosophila spp.), in Dutch, accessed 26 November 2026view the source
That control with biocides is not necessary for fruit flies and that special fruit fly traps can be used if they are a nuisancethe same KAD page
That the smell of vinegar attracted 62 per cent of the fruit flies tested within a quarter of an hour and that the flies had to be hungry for this, that acetic acid also attracts on its own, that 2-phenylethanol and acetoin strengthen the effect of acetic acid, and that geosmin (a musty mould smell) actually reduces the attraction to vinegarP.G. Becher, M. Bengtsson, B.S. Hansson and P. Witzgall, Flying the fly: long-range flight behavior of Drosophila melanogaster to attractive odors, Journal of Chemical Ecology 36(6), 2010, accessed 26 November 2026view the source
That a trap caught 64 to 88 per cent fewer flies when accessible fruit was nearby, and 0 to 51 per cent fewer when the same fruit was made harder to reach (notethis study concerns Drosophila suzukii in a laboratory set-up, not the household fruit fly): S. Singh, J. Huang and M.J. Grieshop, The Presence and Accessibility of Competitive Resources Affect Trapping Efficiency of Spotted-Wing Drosophila (Diptera: Drosophilidae), Journal of Economic Entomology 114(1), 2021, accessed 26 November 2026view the source
That soap breaks the surface tension of water so that insects sink in and drownP. Pugliese, University of Georgia Cooperative Extension, Insecticidal Soap, 4 March 2024, accessed 26 November 2026view the source
That for fungus gnats the advice is yellow sticky traps near the plants and letting the compost dry outRoyal Horticultural Society (RHS), Fungus gnats (sciarid flies), accessed 3 December 2026view the source
Not substantiated, and therefore not presented as fact in the textwhether cling film with holes catches more than an open dish, and whether apple cider vinegar works better than ordinary vinegar for the household fruit fly
How we write these pages, and what we do when we cannot back something up, is explained on How our advice pages are made.
Choosing a selection results in a full page refresh.