SceneLabs Tips

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.

Two cartoon frames from a SceneLabs video: bananas swarmed by tiny fruit flies, and calm bananas after a vinegar trap was set.
Time
5 minutes to set up
Difficulty
Easy
You need
Jar, apple cider vinegar, dish soap, paper or cling film
Key takeaways
  • 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
  1. The trap: apple cider vinegar and soap
  2. Remove what they breed in
  3. How long until they are gone?
  4. What about "other" little flies?
  5. Prevention
  6. Where to put the traps
  7. A simple 7-day plan
  8. FAQ

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

  1. 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.
  2. Add one drop of dish soap. Soap breaks the surface tension, so flies that land on the liquid sink instead of walking on it.
  3. 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.
  4. Place it near the fruit bowl or the area where flies gather.
  5. 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.

Cartoon fruit flies around a funnel jar of vinegar
Vinegar in the jar, paper funnel on top.

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.

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

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

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.