How to get rid of fruit flies fast, and why some traps catch nothing

PUBLISHED ON

|

Updated on

One minute your kitchen is spotless, the next there is a cloud of tiny insects hovering over the fruit bowl. If you want to get rid of fruit flies quickly, the single most effective trick is a simple bowl of apple cider vinegar with a drop of washing-up liquid, which lures them in and traps them within hours. That one trap will handle the flies you can see, but truly getting rid of fruit flies for good means finding where they are breeding and shutting it down, and that is what this guide will walk you through.

Below is exactly how to get rid of fruit flies in your kitchen and the rest of the house: the fastest traps that genuinely work, why some traps catch nothing at all, the hidden hotspot most people forget, how to tell whether they are even fruit flies, and the simple habits that stop the little pests ever coming back.

Quick look

Here is the short version of how to get rid of fruit flies before we dig into the detail.

  • Fastest fix. A vinegar trap: apple cider vinegar plus a drop of washing-up liquid catches the flies you can see within hours.
  • Traps alone are not enough. To get rid of fruit flies for good you must remove what they are feeding and breeding on.
  • Check your drains. The plughole is a common hidden breeding ground, and cleaning it is often the missing step.
  • Act quickly. They breed alarmingly fast, and a single female can lay hundreds of eggs.
  • Still there? They may not be fruit flies at all. Tiny flies that look like moths point to drains, and gnats round houseplants point to damp compost.
  • Prevention is the real cure. Refrigerate ripe fruit, empty bins often and wipe up spills to keep them from ever returning.

What causes fruit flies in your house?

Fruit flies are drawn to anything ripe, fermenting or rotting, which is why the fruit bowl is usually the first place you notice them.

They feed and lay their eggs on the sugary residue of over-ripe bananas, bruised apples, spilled juice and the dregs in the recycling. The reason they seem to appear from nowhere is that they are astonishingly quick to breed. A single female can lay about 500 eggs, and those eggs can become new adults in about a week, according to the University of Kentucky’s entomology department, so a couple of stray flies becomes a swarm before you know it.

  1. Egg
  2. Larva
  3. Pupa
  4. Adult

From egg to adult takes about a week, the University of Kentucky says.

The uncomfortable truth is that the fruit bowl is often only half the story. Fruit flies also breed in the damp organic gunk that builds up inside drains, in the bottom of bins, in recycling that has not been rinsed, in empty bottles and cans, and even in a forgotten mop or dishcloth. They can also arrive as eggs on fruit you bring home, or fly in through an open window, the same Kentucky factsheet says. If you have cleared away every scrap of fruit and the flies are still there, one of these hidden sources is the likely culprit behind your fruit fly infestation, and you will need to deal with it to get rid of fruit flies completely. If they are in a bathroom or bedroom, look for a sink drain, a bin, or a forgotten glass of juice, wine or beer.

What attracts fruit flies?

Fruit flies are attracted to the smell of fermentation, above all yeast growing on ripe fruit, rather than to the fruit itself.

Here is the twist most guides miss. In a 2012 study in the journal Functional Ecology, researchers found that fruit flies were drawn to the smell of yeast fermenting on fruit. Baker’s yeast on its own attracted them and gave them somewhere to lay eggs, while fruit juice that had not fermented attracted fewer flies and fewer eggs, according to Lund University’s record of the study.

That yeast is also what their young live on: in the same study, grapes with no yeast on them could not support the larvae as they grew. It is why fermented things, such as vinegar, wine, beer and fruit that is going off, make such good bait.

Are they actually fruit flies?

Not every tiny fly in the kitchen is a fruit fly. Fruit flies, drain flies and fungus gnats look alike at a glance, but each one breeds somewhere different, so each needs a different fix.

If you have tried everything and the flies keep coming, this is the first thing to check. Here is the line-up, and how to tell the three suspects apart.

No. 1Fruit fly

Looks likeAbout 3 mm long, tan at the front, black at the back, usually with red eyes

Breeds inFermenting food, bins, recycling and drains

FixRemove what they breed on, then trap the adults

No. 2Drain fly

Looks likeA miniature moth with hairy wings held like a roof

Breeds inGunk inside sink, bath and shower drains

FixScrub the drain with a brush, then flush with hot water

No. 3Fungus gnat

Looks likeA tiny dark mosquito with long legs, 3 to 4 mm long

Breeds inDamp compost in houseplants

FixLet the compost dry out, repot in fresh compost, use yellow sticky traps

Descriptions from the University of Kentucky’s factsheets on fruit flies and small flies, and the Royal Horticultural Society’s advice on fungus gnats.

Fruit flies in houseplants? They are probably fungus gnats

If the flies hover over your houseplants rather than the fruit bowl, they are most likely fungus gnats, which thrive in damp compost, according to the RHS. Let the compost dry out between waterings, repot into fresh compost, and use yellow sticky traps to catch the adults.

How do you get rid of fruit flies fast?

The quickest way to get rid of fruit flies is to set a vinegar trap, and it could not be simpler.

Pour a couple of centimetres of apple cider vinegar into a bowl or glass, add a single drop of washing-up liquid, and give it a gentle stir. The smell of the vinegar draws the flies in, while the washing-up liquid breaks the surface tension so that instead of landing and flying off, they sink. Leave it near wherever the flies are gathering and you will usually see results within a few hours.

If you do not have apple cider vinegar to hand, a splash of red wine or beer also works, since it is the fermented smell the flies cannot resist. An even neater version is to cover the bowl with cling film, secure it with an elastic band, and poke a few small holes in the top with a cocktail stick. The flies crawl in through the holes, but they struggle to find their way back out. Set two or three of these traps around the kitchen and you will clear the visible swarm remarkably quickly.

Be realistic about the timing. No trap clears fruit flies overnight or in two minutes. A good trap starts catching them within hours, but eggs that have already been laid keep turning into adults for about a week, so keep a trap going for at least that long.

What is the best homemade fruit fly trap?

The best homemade fruit fly trap is the apple cider vinegar and washing-up liquid combination described above, because it uses ingredients almost every UK kitchen already has and it works reliably.

It is also the easiest way to catch fruit flies without buying anything. That said, a few variations are worth knowing, so you can use whatever is in the cupboard to get rid of fruit flies.

The cling film trap adds a cover with small holes over your vinegar, which speeds things up by making it harder for the flies to escape. The paper cone trap uses a jar baited with a chunk of ripe fruit or a little vinegar, with a rolled-up paper cone placed point-down in the neck; the flies follow the scent down through the narrow tip and cannot work out how to leave. And the old fruit trap simply exploits what the flies already want: pop a piece of over-ripe banana into a jar, cover it with holed cling film, and let their own appetite lead them in. Whichever you choose, the principle is the same, which is to lure them with a smell they love and then make leaving difficult.

Vinegar bowl

The classic. Flies land, sink and stay.

Cling film bowl

Small holes in, no easy way out.

Paper cone jar

A one-way funnel into the bait.

Old fruit jar

Their own appetite does the work.

How to make a DIY fruit fly trap

The cider vinegar trap

Takes about two minutes to make.

You need

  • Apple cider vinegar
  • Washing-up liquid
  • A glass, jar or small bowl
  • Cling film and a cocktail stick

Method

  1. Pour a couple of centimetres of apple cider vinegar into the glass, jar or bowl.
  2. Add one drop of washing-up liquid and stir gently.
  3. Cover it with cling film, poke a few small holes in the top, and set it right next to the fruit bowl, bin or sink. Refresh it every few days.

How do you get rid of fruit flies without apple cider vinegar?

A splash of red wine, the last of a bottle of beer or a piece of fruit that is going off all work as bait, because they all smell of fermentation.

Any of them will do for a homemade fruit fly trap without apple cider vinegar. Going by the yeast study above, a spoonful of fruit juice with a pinch of baker’s yeast, left to start fermenting, is another option.

White vinegar can work too, but the University of Kentucky’s factsheet recommends cider vinegar. If white is all you have, adding a little fruit juice or wine gives it more of the fermented smell the flies follow.

Why isn’t my fruit fly trap working?

A fruit fly trap usually fails for one of five reasons: something better is feeding them nearby, the trap is in the wrong place, they can get back out, the bait has gone stale, or they are not fruit flies.

  • The breeding spot is still there. A trap only catches adults. If a forgotten potato, a dirty drain or an unrinsed bottle is still feeding them, new flies keep hatching however many you catch.
  • It is in the wrong place. Put the trap right next to where they gather, such as the fruit bowl, the bin or the sink, not across the room.
  • They can get back out. Keep the holes in the cling film small, and make sure the tip of a paper cone is narrow. Without the drop of washing-up liquid, flies can land on the vinegar and leave again.
  • The bait has gone stale. Swap in fresh vinegar or fruit every few days so the trap keeps smelling stronger than anything else in the kitchen.
  • They are not fruit flies. Drain flies and fungus gnats breed in different places and need different fixes, so check which fly you have.

How do you get rid of fruit flies in drains and sinks?

If the flies keep coming back no matter how many traps you set, your drains are very often the reason, and clearing them is the step most people miss.

The slimy layer of organic matter that builds up inside a plughole is a perfect nursery for fruit flies, and no amount of trapping the adults will help while new ones are hatching below.

To clear a drain, start by pouring a kettle of boiling water down it to flush out loose debris. Follow that with a good scrub using a long drain brush to break up the film clinging to the sides, since this is where the eggs are laid and where fruit fly larvae feed. For a deeper clean, pour in a couple of tablespoons of bicarbonate of soda followed by a cup of white vinegar, let it fizz for around fifteen minutes, then rinse it through with more boiling water. Doing this to every sink, including the bathroom, removes the breeding ground and is often the single move that finally lets you get rid of fruit flies for good.

Try this tonightNot sure the drain is the problem? Tape a clear plastic food bag over the plughole overnight, a check the University of Kentucky suggests. If flies are breeding down there, some will be caught in the bag by the morning.

If the flies around the plughole look like tiny furry moths, they are drain flies rather than fruit flies, and the same scrubbing and flushing is what clears them.

    Newsletter

    Catch up on the week in one email

    The biggest stories from Daily Tuesday, rounded up every Sunday evening.


    How do you stop fruit flies coming back?

    Getting rid of the flies you can see is only half the battle; keeping them gone is about removing every temptation, so that you get rid of fruit flies permanently rather than on repeat.

    The good news is that a handful of simple prevention habits will make your kitchen deeply uninviting to them.

    Store ripe fruit in the fridge rather than leaving it out on the side, as the cold both slows ripening and keeps it out of reach. Empty your kitchen bin and recycling regularly, and give bottles, cans and jars a quick rinse before they go in, because even a trace of juice or beer is enough to attract a swarm. Wipe up spills straight away, keep your sink clear of food scraps, and do not leave damp cloths or a wet mop lying around. If you keep compost indoors, make sure it has a tightly fitting lid. None of these steps is difficult, but together they remove the food and moisture the flies depend on, and that is what stops them coming back for good.

    An infestation can also start with fruit or vegetables that already have eggs on them, and adults can fly in through unscreened windows, the University of Kentucky notes, so check produce when you bring it home and fit fly screens if they keep coming in. Outside, keep bins and food caddies closed so they do not become a breeding ground by the back door.

    Do natural deterrents and essential oils work?

    Strong herbal smells can deter fruit flies once you have used traps and cleaning to get rid of them, but no fruit fly deterrent will clear an infestation on its own.

    Pest control firm Pest UK suggests hanging small muslin bags of basil, peppermint, eucalyptus, lemongrass, lavender or cloves around the kitchen, because fruit flies do not like the smell. A pot of fresh basil on the windowsill, or a few drops of peppermint or lemongrass oil in a little water spritzed around the kitchen, may also discourage them from settling.

    The important thing to understand is that these are deterrents, not cures. A pleasant smell will never overpower an actual breeding site, so essential oils are best thought of as the finishing touch after you have removed the fruit, cleaned the drains and set your traps. Rely on scent alone and the flies will simply carry on breeding regardless. For a stubborn infestation that will not shift no matter what you try, it is worth speaking to a professional; you can find reputable, vetted companies through the British Pest Control Association.

    The pest in your fruit bowl is a science star

    • Fruit flies were the first animals sent into space. On 20 February 1947 they flew on a V-2 rocket from New Mexico, reached 109 km and came back alive, according to the American Physical Society.
    • About 75% of human disease genes have counterparts in flies, which is why labs use them so much, says the US National Institutes of Health.
    • Britannica files them under vinegar fly, and says the Drosophila group they belong to has about 1,500 species.

    Frequently asked questions about fruit flies

    Why do I suddenly have fruit flies?

    A sudden burst of fruit flies usually means something has started to ripen, ferment or rot, whether that is fruit on the side, a spill you missed, or gunk in a drain. Because they breed so fast, just one or two flies finding that food source can turn into a visible swarm within days.

    What causes fruit flies when there is no fruit?

    Drains, bins, recycling that has not been rinsed, empty bottles and cans, and damp mops or cloths can all breed fruit flies with no fruit in sight.

    Are gnats and fruit flies the same?

    No. Fungus gnats look like tiny mosquitoes and breed in damp houseplant compost, while fruit flies are tan at the front and black at the back, usually with red eyes, and breed on fermenting food. The guide above shows how to tell them apart.

    What smell do fruit flies hate?

    Strong herbal scents such as basil, peppermint, lemongrass, eucalyptus, lavender and cloves are often recommended. They can act as mild deterrents, but they will not clear an infestation on their own if a breeding source is still present.

    How long does it take to get rid of fruit flies?

    A fruit fly infestation lasts as long as something is feeding it. With traps set and the breeding source removed, you should see far fewer within a few days. Keep the traps going for at least a week, as eggs already laid will carry on turning into adults until then.

    Can you get rid of fruit flies in 2 minutes or overnight?

    Not completely. A trap starts catching them within hours, but new adults keep emerging from eggs for about a week after you remove the source.

    Does apple cider vinegar really get rid of fruit flies?

    Yes. Apple cider vinegar is one of the most effective baits because the fermented smell strongly attracts fruit flies. Adding a drop of washing-up liquid is the key step, as it makes the flies sink rather than land and escape.

    Does white vinegar work for fruit flies?

    It can, but cider vinegar is the usual recommendation. If white vinegar is all you have, add a splash of fruit juice or wine to give it more of a fermented smell.

    How do you kill fruit flies?

    What kills fruit flies best is a soapy vinegar trap, which drowns the adults that land in it. A fly spray kills the ones it hits, but neither touches the eggs, and the University of Kentucky says the problem will carry on however often you spray unless the breeding source is found and removed.

    Does bleach kill fruit flies?

    Not reliably. Pest control firm Orkin says bleach rarely stays in the drain long enough to deal with the slime fruit flies breed in. A stiff brush and hot water do more.

    How do you get rid of fruit fly larvae?

    The larvae feed near the surface of whatever the eggs were laid in, such as fermenting fruit or the slime in a drain, the University of Kentucky says. Throw the food away, and scrub drains, bins and recycling to remove the rest.

    How do you dispose of a fruit fly trap?

    Tip the liquid down the toilet and flush, then wash the bowl or jar in hot soapy water. Bag up used sticky traps before they go in the bin.

    Can you get rid of fruit flies humanely?

    Yes. Use a paper cone trap baited with fruit and no washing-up liquid, then release the flies outside, well away from the house.

    Why are fruit flies called vinegar flies?

    The tiny flies in your fruit bowl belong to the Drosophilidae family, which Britannica calls small fruit flies or vinegar flies, as opposed to a family of larger fruit flies. The name fits, as they are drawn to vinegar and other fermenting things.

    Are fruit flies harmful?

    Fruit flies are not dangerous in the way a bite or sting would be, but they can carry bacteria from bins and drains onto your food and surfaces. In a US Department of Agriculture study, fruit flies carried E. coli onto clean, cut apples, so they are worth getting rid of promptly.

    The bottom line

    To get rid of fruit flies for good, you need to do two things at once: trap the adults you can see with a simple bowl of apple cider vinegar and washing-up liquid, and cut off whatever is feeding and breeding them, which usually means clearing the fruit bowl and cleaning out your drains. Keep a trap running for about a week, tidy up the temptations that drew them in, and the swarm will be gone. Stick to the prevention habits afterwards and you will not have to think about how to get rid of fruit flies again any time soon.

    You might also like