← Back to all guides
Home & Kitchen · 4 min READ

How to Get Rid of Fruit Flies in the Kitchen and Keep Them From Returning

How to Get Rid of Fruit Flies in the Kitchen and Keep Them From Returning guide illustration

Find the food or residue where fruit flies breed, clean it away, and use a simple vinegar trap to track whether the problem is shrinking.

Quick note

Follow these steps at your own pace. Check product terms and prices directly with providers before purchasing.

Quick Answer

Start with the source: overripe fruit, a forgotten potato, a sticky bottle or residue beneath a bin liner can support a whole crop of flies. Remove the source and clean the area. A simple vinegar trap can catch adults while you search, but fresh flies will keep appearing as long as wet, fermenting material remains.

1. Watch where the flies gather

Stand still for a moment before wiping the counter. Note where the tiny tan or brown flies settle when disturbed. A cluster on bananas, a wine bottle or a jar of starter points toward fruit flies. Fuzzy, moth-like flies around a drain or delicate black flies over damp houseplant soil may call for a different treatment. Check the place the insects return to.

2. Inspect the places you do not see from the counter

Empty the fruit bowl and look underneath it. Check the onion and potato basket, reusable grocery bags, the bottom of the pantry and the recycling bin. Look for a split tomato, spilled juice or a soft vegetable hidden behind a bag. Seal and discard spoiled produce, and refrigerate sound ripe fruit that tolerates refrigeration while you work through the outbreak.

3. Remove the residue as well as the food

Empty the compost container, rinse bottles and cans, and wash the inside, lid and rim of the bins with soapy water. Dry them before adding a new liner. Wipe beneath small appliances where a splash can dry on top while staying wet underneath. If you find buildup on a removable sink strainer or drain lip, scrub the accessible surface with a brush and soapy water.

4. Set a monitoring trap near the busiest spot

Put a little cider vinegar in a small jar. Add a paper funnel with a narrow opening just above the liquid and seal its rim to the jar. Keep it upright on a stable surface, away from food preparation and out of reach of children or pets. Check the trap daily. Catching adults tells you where they are active, but an empty trap does not prove the breeding material is gone.

5. Follow the trend for the next week

Count roughly how many flies you see around the same time each day. Remove food scraps promptly, keep the bin clean, and rinse drink containers before storing them. A few stragglers after cleaning are common. If numbers stay level or rise, repeat the source search in the next room, beneath the bin, around mop buckets and behind stored produce.

Match the activity to a likely source

Where they gatherInspect first
Fruit bowl or pantry shelfBruised fruit, a soft onion or potato, and the shelf underneath.
Recycling or compost binBottle dregs, a dirty lid, leaked liquid and the area beneath the liner.
Mostly on damp potting mixCheck identification for fungus gnats before treating the kitchen.
Fuzzy flies mainly at a drainCheck for drain flies and organic buildup around the drain.

Know when the cleanout worked

A steadily falling number of adults is a better sign than one successful trap. If new groups continue to appear and you cannot locate a source, seek identification from your local extension office.

University of Kentucky Extension fruit fly guidance · Cornell Integrated Pest Management on fruit flies

SHARE THIS GUIDE

Know someone who could use this?

DISCUSSION

Comments

Read or join the discussion.