
You clear the fruit bowl, wipe down the kitchen worktops and empty the bin, yet those tiny flies are back the following morning. Sound familiar?
The problem with fruit flies is that most of the insects you see are only part of the infestation. Their eggs and larvae may still be developing inside a forgotten potato, a sticky recycling bin or even your kitchen drain.
The best way to get rid of fruit flies is to remove whatever they’re breeding in and catch the remaining adults using a homemade trap. Apple cider vinegar and washing-up liquid work well, but there are other options if you don’t have vinegar in the cupboard.
Where Do Fruit Flies Come From?
Fruit flies can enter your house through open doors and windows or arrive on fruit and vegetables carrying eggs that are too small to notice.
The common fruit fly (Drosophila melanogaster) measures roughly 2.5–4mm and usually has a yellowish-brown body with red eyes. You might also hear them called vinegar flies or beer flies.
They’re attracted to the yeast and fermentation products found in ripening and decaying food. A split grape or a little juice left at the bottom of a glass can be enough to attract them.
Some of their favourite breeding spots include:
- Bruised apples and overripe bananas
- Rotting potatoes and onions
- Empty beer and wine bottles
- Food waste caddies
- Kitchen drains containing food deposits
- Leaking bin bags
- Damp cloths containing food residue
- Forgotten milk bottles
According to Washington State University, a female fruit fly can lay up to 500 eggs. Under suitable conditions, those eggs can develop into adult flies in about a week.
That’s why seeing two or three flies on Monday can turn into a much bigger problem by the weekend.
How to Get Rid of Fruit Flies in the Kitchen
Start with the area where you see the most flies. If they’re hovering around the fruit bowl, check your produce first. If they keep appearing beside the sink, investigate the drain.
1. Remove Food That’s Starting to Ferment
Take everything out of your fruit bowl and check for damaged skin, soft patches and leaking juice. Discard rotten produce and refrigerate suitable ripe fruit until the flies have gone.
Don’t overlook vegetables stored inside cupboards. Onions and potatoes can begin rotting underneath perfectly healthy-looking ones.
Wash the containers and shelves where you’ve been storing them. If food regularly gets forgotten at the back of your cupboards, our guide to organising your kitchen larder offers some practical storage ideas.
2. Make an Apple Cider Vinegar Fruit Fly Trap
Apple cider vinegar attracts fruit flies because its smell resembles fermenting fruit. Adding washing-up liquid makes the trap harder for the insects to survive.
What you’ll need:
- A small glass or jar
- Enough apple cider vinegar to cover the bottom
- One or two drops of washing-up liquid
- Cling film and an elastic band (optional)
Pour the vinegar into the glass and stir in the washing-up liquid. You can leave the glass open or cover it with cling film and make a few small holes in the top.
Place the trap close to the area where you’ve noticed the flies.
The washing-up liquid reduces the liquid’s surface tension. Instead of resting on the surface, flies that land in the mixture can sink and drown.
Replace the vinegar every two or three days. There’s no need to fill an entire glass with it.
3. Catch Fruit Flies With a Paper Funnel
A funnel trap is worth trying if you have an overripe banana but no apple cider vinegar.
Put a small piece of banana inside a jar. Roll a sheet of paper into a cone with a small opening at the pointed end.
Place the cone inside the jar, making sure it doesn’t touch the fruit. Seal any gaps around the rim.
The flies follow the smell of the fruit through the opening but have difficulty finding their way back out.
Check the jar daily. You can seal it and place it in the freezer overnight to kill the trapped insects before disposing of the bait. Leaving the banana inside for several days could give the flies another place to breed.
4. Check Whether Fruit Flies Are Breeding in Your Sink
If flies keep appearing around the kitchen sink despite removing all exposed food, the drain deserves a closer look.
The University of Kentucky’s entomology department recommends a simple overnight test to investigate suspected breeding sites.
Before going to bed:
- Dry the area surrounding the plughole.
- Tape a clear plastic food storage bag over the drain opening.
- Leave the sink unused overnight.
- Check the bag for trapped flies the following morning.
Flies appearing inside the bag suggest that they’re emerging from the drain.
Remove the sink strainer and scrub away any accessible food deposits using a cleaning brush. Clean around the plughole and overflow where possible.
An enzyme-based drain cleaner suitable for your plumbing may help remove organic build-up further inside the pipe.
Never mix bleach with vinegar or other drain-cleaning chemicals.
5. Clean Your Food Waste and Recycling Bins
A bin can attract fruit flies even after you’ve emptied it. Juice from discarded fruit often leaks through bin liners and collects underneath them.
Wash the base, inside walls and underside of the lid with warm, soapy water. Let the container dry before putting in another liner.
Rinse drinks cans and bottles before recycling them, particularly those containing cider, beer, wine or fruit juice.
Outdoor bins can become a separate breeding site for other types of flies. We’ve covered this problem in more detail in our guide to maggots in wheelie bins during hot weather.
If you’re waiting for your rubbish to be collected, keep bin lids firmly closed. Readers living in Leeds can also check our guide to bin collection dates in Leeds.
6. Look Behind Your Kitchen Appliances
Still finding fruit flies? Check the fridge drip tray, the cupboard beneath the sink and the floor underneath movable appliances.
A small spill behind the fridge may remain unnoticed long enough for several generations of flies to develop.
Check damp mop heads and cleaning cloths, too. If they’ve picked up food residue and haven’t dried properly, they may support breeding.
Remove the deposits rather than simply spraying air freshener or disinfectant over them.
How to Get Rid of Fruit Flies Without Apple Cider Vinegar
Several foods and drinks contain the smells that attract fruit flies. You can use leftovers rather than buying a bottle of vinegar specifically for trapping them.
| Alternative bait | How to use it |
|---|---|
| Red wine | Pour a little into a glass with a drop of washing-up liquid. |
| Beer or cider | Use a small amount inside a funnel trap. |
| Ripe banana | Place a piece inside a jar with a paper funnel. |
| Fruit juice | Use a small quantity as liquid bait with washing-up liquid. |
| Baker’s yeast | Mix a little yeast with sugar and water to produce a fermenting bait. |
White vinegar may also attract some fruit flies, although a fruit-based or fermenting bait is generally a better choice.
Avoid leaving traps filled with fruit or sugary liquids for too long. Empty them regularly and wash the containers between uses.
Why Are There Fruit Flies in My House With No Fruit?
Fruit flies don’t depend exclusively on fruit. They can reproduce wherever they find suitable moist, fermenting material.
Where the flies gather can help you narrow down the problem.
| Location | Possible source |
|---|---|
| Kitchen sink | Food residue inside the drain |
| Pantry | Decaying vegetables |
| Living room | Spilt fizzy drinks or unfinished wine |
| Utility room | Dirty mop heads and buckets |
| Under the fridge | Drip tray or forgotten spills |
| Recycling bin | Fermenting drink residue |
| Flower vase | Stagnant water containing decaying stems |
Put traps in different locations and compare where you catch the most flies. This can help you decide which area needs further inspection, although it won’t necessarily pinpoint the exact breeding site.
Are You Dealing With Fruit Flies or Something Else?
Small flies around the house aren’t always fruit flies. Using the wrong treatment can leave you dealing with the same insects for weeks.
| Type of fly | How to recognise it | Where it breeds |
|---|---|---|
| Fruit flies | Brownish body, often with red eyes | Fermenting food and drinks |
| Drain flies | Hairy, moth-like wings | Organic deposits inside drains |
| Fungus gnats | Dark, slender body with long legs | Damp houseplant compost |
| Phorid flies | Humped back, often seen running across surfaces | Decaying organic material |
If tiny black flies emerge whenever you water a houseplant, they’re probably fungus gnats.
The Royal Horticultural Society explains that these insects are associated with damp compost. Reducing excessive watering, where suitable for the plant, can help manage their numbers.
Persistent phorid flies, particularly near damaged pipes or drains, may require a professional inspection.
How Long Do Fruit Flies Live?
The British Pest Control Association reports that adult fruit flies can live for approximately 40–50 days under favourable conditions.
Their development from egg to adult can take around seven days at 28°C, although it takes longer in cooler environments.
After hatching, the larvae feed on decaying material before moving into the pupal stage. Adult flies then emerge and begin searching for food and breeding sites.
This explains why you may continue seeing new flies for several days after throwing away the infested fruit. Some of the insects may have already developed into pupae.
Do Fruit Flies Bite?
Common household fruit flies don’t bite humans or pets. If you’re waking up with itchy insect bites, fruit flies aren’t the likely cause.
There is still a hygiene concern. Flies moving between decomposing food and kitchen surfaces may transfer microorganisms, although this does not mean every fruit fly carries harmful bacteria.
Wash intact fruit under running water before eating it, discard visibly infested produce and clean food preparation surfaces.
How to Kill Fruit Flies Quickly
A vacuum cleaner can remove groups of adult flies resting on walls or cupboards. Homemade liquid traps can catch others throughout the day.
Fly sprays may kill exposed adults, but they won’t necessarily reach the developing insects inside their breeding material.
If you decide to use an insecticide, choose one authorised for the intended indoor use in the UK and follow its label. Keep it away from uncovered food, children and pets.
For most household infestations, removing the source and trapping the adults should be the first choice.
How Long Does It Take to Get Rid of Fruit Flies?
You may notice a reduction in adult fruit flies overnight after cleaning and setting traps. Getting rid of the entire infestation can take longer.
Continue checking for flies over the following week or two rather than removing the traps as soon as the kitchen looks clear.
If the numbers aren’t falling, consider three possibilities:
- There’s still a breeding site somewhere in the house.
- New flies are entering from outside or arriving on produce.
- You’re dealing with a different species of fly.
A persistent infestation with no obvious source may need a professional pest-control inspection.
How to Stop Fruit Flies Coming Back
Fruit flies are particularly troublesome in warm kitchens, but a few changes to your usual routine can make them less likely to return.
Buy fresh produce in quantities you’re likely to use. Refrigerate suitable ripe fruit, keep opened drinks sealed and avoid leaving glasses with sugary or alcoholic residue on the worktop overnight.
During warmer weather, empty your food waste caddy frequently and wash away any liquid that collects underneath the liner.
Keep kitchen cloths clean and allow them to dry between uses. If you regularly leave windows open in summer, insect mesh can help reduce the number of flies entering the house.
Frequently Asked Questions
How do you get rid of fruit flies overnight?
Remove spoiled food, clean the bin and leave an apple cider vinegar trap beside the affected area. You may catch many adult flies overnight, but remaining eggs and pupae can take longer to eliminate.
Can fruit flies lay eggs on fresh fruit?
Yes. Fruit flies generally favour damaged, ripe or fermenting produce. Examine fruit for splits, bruises and soft patches before storing it.
Does white vinegar kill fruit flies?
White vinegar alone isn’t a reliable insect killer. It may serve as a trap bait, particularly when combined with a fruit-based attractant and washing-up liquid.
Why is my fruit fly trap not working?
Other food sources may be attracting the flies away from your trap. The bait may also need replacing, or the insects could be drain flies or fungus gnats.
Will fruit flies go away on their own?
They should gradually disappear once they lose access to suitable food and breeding material. As long as something in the house supports reproduction, however, the infestation can continue.





