This article is for informational purposes only. DIY repairs involve risks including personal injury and property damage. Always use appropriate safety equipment and consider consulting a licensed professional for plumbing, electrical, or structural work.
How to Get Rid of Fruit Flies
Fruit flies appear seemingly out of nowhere — one day your kitchen is fine, the next there is a cloud of tiny flies hovering over the fruit bowl. They are annoying, they multiply quickly, and they always seem to find the one piece of overripe fruit you forgot about.
The good news: you can usually clear them out in a few days with simple traps and a quick cleanup.
Why Fruit Flies Show Up
Fruit flies are attracted to anything fermenting or decaying:
- Overripe or damaged fruit (bananas, peaches, tomatoes, berries)
- Uncovered food left on counters
- Dirty drains and garbage disposals
- Trash and recycling that hasn’t been taken out
- Damp sponges, mops, and towels
- Open drinks — especially juice, wine, and beer
A single female fruit fly can lay hundreds of eggs on the surface of fermenting fruit. Those eggs hatch within 24–30 hours, and the new adults can start laying eggs a day later. That’s why an infestation can explode so fast.
What to Do First: Remove the Breeding Source
Traps help, but they won’t solve the problem if the breeding source is still there.
- Check fruit. Throw away anything overripe, bruised, or mushy. Store the rest in the refrigerator.
- Take out the trash and recycling. Rinse bottles and cans before putting them in recycling.
- Clean the sink drain. Scrub the drain and disposal with hot water, dish soap, and a bottle brush. Biofilm in drains is a common hidden breeding site.
- Wipe down surfaces. Countertops, the stove, and any area where food residue may have splashed.
- Wash sponges and dishcloths or replace them.
This alone removes the conditions fruit flies need to reproduce.
Method 1: Apple Cider Vinegar Trap (Most Effective)
This is the easiest and most widely recommended DIY trap.
- Pour apple cider vinegar into a small bowl, cup, or jar (about 1/2 cup).
- Add a drop of dish soap. Swirl gently — the soap breaks the surface tension so flies sink instead of landing and flying away.
- Cover with plastic wrap and poke a few small holes with a toothpick or fork (flies fly in but have trouble getting out). Alternatively, leave the bowl uncovered — it still works.
- Place near the problem area — on the counter near fruit, by the sink, or next to the trash.
- Replace the solution every 2–3 days until flies are gone.
You can also use red wine or beer in place of apple cider vinegar — any fermented liquid works.
Method 2: Wine or Beer Trap
- Leave a small amount of red wine or beer at the bottom of a bottle.
- Add a drop of dish soap.
- Leave the open bottle on the counter overnight. Flies crawl in through the narrow neck and can’t easily escape.
Method 3: Fruit + Jar Trap
- Put a piece of overripe banana or peach in a jar.
- Cover the opening with plastic wrap and poke small holes.
- The strong fruit smell attracts flies through the holes. Empty and replace daily.
Method 4: Store-Bought Traps
If DIY traps aren’t enough:
- Pre-made fruit fly traps (often shaped like small apples) use the same principle with a non-toxic attractant.
- Sticky traps placed near the infestation can supplement vinegar traps.
These are inexpensive and usually available at grocery or hardware stores.
Cleaning the Drain (If Flies Persist)
If you still see flies after cleaning up food and setting traps, check the drain:
- Scrub the drain walls with a bottle brush and dish soap — pouring liquid alone doesn’t remove biofilm.
- Pour boiling water down the drain afterward.
- Repeat daily for 2–3 days if needed.
Avoid pouring bleach down the drain as a first resort — it rarely removes the biofilm where eggs are laid, and scrubbing is more effective.
How to Prevent Fruit Flies from Coming Back
- Refrigerate ripe fruit — especially bananas, berries, and stone fruits.
- Wash fruit soon after bringing it home to remove any hitchhiking eggs.
- Take out trash frequently and keep the bin clean and lidded.
- Clean drains weekly if you’ve had infestations before.
- Wipe up spills and crumbs the same day.
- Don’t leave dirty dishes sitting in the sink.
- Replace sponges regularly.
When to Worry
Fruit flies themselves don’t bite and aren’t considered a health hazard like some other pests. The main concern is food hygiene — they can transfer bacteria from decaying matter to clean surfaces. If you keep kitchen hygiene consistent, they rarely become a recurring problem.
The Bottom Line
Remove the food source, set a vinegar-and-soap trap, and clean the drain. For most kitchens, this combination clears fruit flies within a few days. Keeping fruit refrigerated and surfaces clean is the best way to make sure they don’t return.