Home Care Basics

Home / Kitchen

How to Get Rid of Fruit Flies in the Kitchen

Last checked: 23 November 2026. 2 min.

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

  1. Throw away overripe produce or move it to the fridge.
  2. Empty the bin, wash it out and let it dry.
  3. Rinse bottles and cans before recycling them.
  4. 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.
  5. Wash or replace sponges and cloths.

3. Catch the adults with a vinegar trap

  1. Pour a few centimetres of cider vinegar into a jar.
  2. Roll a sheet of paper into a funnel and set it in the jar, with the narrow end just above the vinegar.
  3. Put the trap where you see the flies. They fly in but struggle to find their way out.
  4. 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

Checked on 23 November 2026. Always follow the care label and the instructions for your product or appliance.