Quick answer
Find and remove what they are breeding in: overripe fruit, a damp spot in the bin, a sink drain or an unrinsed bottle. Then catch the adults with a jar of cider vinegar and a paper funnel. Once the breeding site is gone, the flies usually disappear within a week or two.
Why they keep coming back
Fruit flies lay their eggs on moist, fermenting food. Entomologists at the University of Kentucky and Texas A&M point out that spraying the adults does not solve the problem: unless the breeding site is found and removed or cleaned, new flies keep appearing.
1. Find the breeding site
- Overripe or damaged fruit and vegetables, including potatoes and onions stored out of sight
- Spills and liquid at the bottom of the bin or food waste caddy
- Unrinsed bottles and cans in the recycling
- Sink drains and garbage disposals
- Damp mops, sponges and cloths
To check a drain, tape a clear plastic food bag over the opening overnight. If flies are breeding inside, the adults will be caught in the bag by morning.
2. Clean it out
- Throw away overripe produce or move it to the fridge.
- Empty the bin, wash it out and let it dry.
- Rinse bottles and cans before recycling them.
- Scrub the drain opening and the inside of the pipe with a brush. If the drain is also slow, see how to unclog a drain.
- Wash or replace sponges and cloths.
3. Catch the adults with a vinegar trap
- Pour a few centimetres of cider vinegar into a jar.
- Roll a sheet of paper into a funnel and set it in the jar, with the narrow end just above the vinegar.
- Put the trap where you see the flies. They fly in but struggle to find their way out.
- Refresh the vinegar every few days until no more flies appear.
Traps only catch adults. Without step 1, they will not end the problem.
Keeping them away
- Keep ripe fruit in the fridge, especially in warm weather.
- Wash fruit and vegetables when you bring them home, as fruit flies often arrive on produce.
- Empty the food waste bin often and keep it closed.
- Wipe up juice and drink spills straight away.
Sources
- University of Kentucky Entomology: Fruit flies
- Texas A&M AgriLife: How to get rid of fruit flies in your house
- Cornell University IPM: Fruit flies
Checked on 23 November 2026. Always follow the care label and the instructions for your product or appliance.


