How to Get Rid of Fruit Flies: A Trap That Works and the Fixes That Last
Fruit flies breed in ripe fruit and damp drains. Use an apple cider vinegar trap for the adults, then remove the food and moisture they breed in.

- Time
- 5 minutes to set up
- Difficulty
- Easy
- You need
- Jar, apple cider vinegar, dish soap, paper or cling film
- A trap catches adults, but you must also remove ripe fruit, spills and wet drain gunk where they breed.
- Apple cider vinegar plus one drop of dish soap makes the trap effective, because the soap breaks the surface tension.
- Keep ripe fruit in the fridge or in sealed containers.
- Do not spray insecticide near food.
In this guide
Fruit flies appear out of nowhere, usually around ripe bananas and in kitchens. They do not come from nowhere: they are drawn by the smell of fermenting fruit, and tiny eggs can arrive on produce from the shop. In a warm kitchen, their life cycle from egg to adult can take around a week, which is why a few flies turn into a swarm so quickly.
The trap: apple cider vinegar and soap
- Pour. Put about half a cup of apple cider vinegar in a jar or a glass. A small piece of overripe fruit can make it more attractive.
- Add one drop of dish soap. Soap breaks the surface tension, so flies that land on the liquid sink instead of walking on it.
- Create a funnel. Roll a piece of paper into a cone and put it in the jar, narrow end down, or cover the jar with cling film and poke several small holes with a toothpick. Flies enter easily and struggle to leave.
- Place it near the fruit bowl or the area where flies gather.
- Check daily. Replace the liquid every two or three days, or when it is full.
Our video uses the same combination: apple cider vinegar in a jar with a funnel, and a drop of dish soap.

Remove what they breed in
A trap alone will not finish the job. Fruit flies lay eggs on moist, fermenting material. Take these steps for the next two weeks.
- Clear ripe fruit. Eat, freeze, or throw out overripe fruit, and keep the rest in the fridge or in a sealed container.
- Wipe surfaces. Clean counters, the fruit bowl and the area under the bin. Sticky spills from juice, wine and beer are favourites.
- Take the rubbish out. Empty the kitchen bin and wash it if it is sticky. Close the lid.
- Rinse recycling. Empty bottles and cans, and rinse them before storing.
- Clean the sink and drains. Scrub the drain with a brush and hot water. Organic film in the pipe is a hidden breeding spot. A drain brush is better than pouring chemicals.
- Check the corners. Look for a forgotten potato, onion, or a damp sponge or mop.
How long until they are gone?
If you remove the breeding sites and keep the trap going, the numbers drop within days. Plan on one to two weeks to clear everything, because eggs and pupae that are already present will keep hatching.
What about "other" little flies?
Not every tiny fly in the kitchen is a fruit fly. Drain flies are fuzzy, moth-like and hang around sinks and bathrooms. Fungus gnats live in damp potting soil. The trap works for fruit flies, but drain flies need a thorough drain cleaning, and gnats need drier soil.
Prevention
- Buy only what you will eat in a few days.
- Wash produce when you bring it home.
- Refrigerate ripe fruit.
- Keep the bin lidded and take it out often.
- Dry the sink after use.
Where to put the traps
Place two or three small traps instead of one large one. Good spots are next to the fruit bowl, near the bin, beside the sink, and on a windowsill where flies gather. Keep traps away from food preparation areas, and wash jars with soap and hot water between uses. If the flies keep returning after two weeks, look for a hidden source: a leaking bottle in the cupboard, a wet cloth, a bag of onions at the back of the pantry, or a drain with a build-up of organic matter.
A simple 7-day plan
- Day 1: set traps, clear fruit, empty the bin, wipe counters.
- Day 2: clean the sink and drain with a brush, and wipe the area under the sink.
- Day 3: check and replace the trap liquid.
- Days 4 to 6: keep surfaces dry and food covered.
- Day 7: check the trap. If it is nearly empty, you are done. If not, look for the hidden source again.
FAQ
Why do I get fruit flies even though my kitchen is clean?
They can arrive as eggs on produce, or enter through gaps. Even a small spill or a bit of fruit left in a bag is enough.
Can I use white vinegar instead of apple cider vinegar?
It can catch some, but apple cider vinegar smells more like fermenting fruit and is usually more effective.
Are fruit flies harmful?
They do not bite, but they can carry bacteria from decaying matter onto food. Keep food covered.
Does the soap really matter?
Yes. Without it, flies can land on the vinegar and fly away again.
Read our disclaimer · Spotted a mistake? Email hello@getscenelabs.com and we will fix it.


