Pest Control

How to Get Rid of Fruit Flies Fast: 8 Methods That Work

How to Get Rid of Fruit Flies Fast: 8 Methods That Work

Not sure if you have fruit flies or another small fly? Start with our small fly identification guide first.

Fruit flies appear out of nowhere and multiply rapidly — a few flies become hundreds within days. The fastest way to stop an infestation is to eliminate the breeding source first, then set vinegar traps to catch the adults. Most infestations resolve within 48–72 hours once the source is gone.

Key Takeaways

  • Fruit flies breed in organic matter — overripe fruit, drains, damp mops, and recycling bins are the most common sources
  • A female fruit fly lays up to 500 eggs in her lifetime; they hatch in 24–30 hours — an infestation scales fast
  • Traps catch adults but don’t eliminate the breeding source — you must do both
  • Drain flies look similar but need different treatment — check the sink drain if your “fruit flies” don’t respond to standard traps
  • Most infestations are fully resolved within 3–7 days of source removal plus trapping

Quick Answer

Remove or refrigerate all overripe fruit immediately. Clean the sink drain with a brush and hot water. Set an apple cider vinegar trap (ACV + dish soap in a cup, covered with cling film with small holes). Check recycling bins and compost for fermenting material. Repeat traps daily until activity stops — typically 2–5 days.

Fruit Flies vs Drain Flies — Know Which You Have

Before treating, confirm what you’re dealing with. The methods are different.

FeatureFruit FlyDrain Fly
Size~⅛ inch, tan/brown body~⅛ inch, dark grey/black, fluffy
EyesDistinctive red eyesNo red eyes
Where foundNear fruit, wine, vinegar, recyclingNear sink drains, bathroom drains
Flight patternActive, dartingSlow, moth-like flutter
Primary treatmentACV traps + source removalEnzyme drain cleaner + drain scrubbing

If flies are clustering around your sink drain rather than fruit or recycling, see the drain cleaning section — you may have drain flies, not fruit flies.

Why You Have Fruit Flies

Fruit flies breed in any moist organic matter with fermenting sugars. Common sources that are easy to miss:

  • Overripe or damaged fruit left on the counter
  • Sink drain — organic build-up inside the drain and garbage disposal
  • Recycling bin — empty bottles and cans with residue
  • Damp mop, sponge, or dish cloth left wet
  • Compost bin, especially indoors
  • Forgotten potato, onion, or other root vegetable that is starting to rot
  • Spilled juice or alcohol under a refrigerator or appliance

Finding and removing all breeding sources is the single most important step. Traps without source removal only catch adults while the population continues to grow.

8 Methods to Get Rid of Fruit Flies

Method 1: Apple Cider Vinegar Trap (Fastest, Most Effective)

The ACV trap is the fastest-acting and most reliably effective fruit fly trap. The fermented apple smell attracts flies; the dish soap breaks surface tension so they can’t escape.

How to make it:

  1. Pour 1–2 inches of apple cider vinegar into a glass or jar
  2. Add 2–3 drops of dish soap — do not stir
  3. Cover tightly with cling film secured with a rubber band
  4. Poke 5–8 small holes with a toothpick
  5. Place near the infestation source

Set 2–3 traps in different locations. Replace every 2 days as the ACV loses potency. You should see captures within hours of placement.

Method 2: Remove All Breeding Sources

This must happen alongside trapping — traps alone will not resolve the infestation.

  • Discard or refrigerate all overripe and cut fruit immediately
  • Empty the recycling bin and rinse all bottles and cans before recycling
  • Remove indoor compost and empty it daily during an active infestation
  • Check under appliances and inside cabinets for forgotten rotting produce
  • Rinse and air-dry all mops, sponges, and dish cloths or replace them

Method 3: Clean the Sink Drain

The sink drain is the most commonly overlooked breeding site. Organic matter accumulates inside the drain walls and provides the perfect moist, fermented environment for eggs.

Drain cleaning steps:

  1. Use a drain brush to physically scrub inside the drain opening
  2. Flush with boiling water (safe for most drain types)
  3. Pour ½ cup baking soda followed by 1 cup white vinegar — let fizz for 10 minutes, then flush with hot water
  4. For persistent drain breeding, use an enzyme-based drain cleaner (American Bio-Sciences Drain Gel or similar) — enzyme cleaners dissolve the organic matter flies breed in

Method 4: Wine or Beer Bottle Trap

An almost-empty wine or beer bottle left on the counter works as a passive trap — fruit flies enter through the neck and cannot find their way out. Leave a small amount of wine or beer in the bottle. Add a drop of dish soap for faster kills. Replace every 2–3 days.

Method 5: Red Wine Vinegar or Balsamic Vinegar

Red wine vinegar and balsamic vinegar both attract fruit flies and work in the same trap setup as ACV. Balsamic vinegar is particularly potent. Use this as an alternative if you don’t have apple cider vinegar or want to test which works best in your space.

Method 6: Commercial Fruit Fly Traps

TERRO Fruit Fly Traps, BEAPCO Traps, and similar commercial options use a pre-loaded attractant. They are cleaner and more convenient than DIY traps and work well for ongoing prevention after an active infestation is resolved. Not significantly more effective than ACV traps during an active infestation — the main advantage is appearance and convenience.

Method 7: Peppermint Oil or Lemongrass Spray

Fruit flies dislike strong essential oil scents. Mix 10–15 drops of peppermint or lemongrass oil in 1 cup of water and spray around countertops, fruit bowls, and sink areas. This works as a deterrent to prevent flies from landing on surfaces rather than as a trap. Useful for keeping the problem from recurring once resolved.

Method 8: Keep Fruit Refrigerated Temporarily

During an active infestation, refrigerate all fruit — even fruit you’d normally leave on the counter. This removes the primary attractant and food source entirely. Once the infestation is resolved (typically 3–7 days), you can return fruit to the counter, storing in sealed containers or bowls with a cover.

48-Hour Action Plan

Hour 1:

  1. Remove or refrigerate all fruit immediately
  2. Empty recycling bin; rinse all bottles and cans
  3. Set 2–3 ACV traps near the infestation zone

Hours 2–4:

  1. Deep-clean the sink drain with baking soda and vinegar flush
  2. Check under all appliances and inside cabinets for forgotten produce
  3. Remove or wash damp cloths and sponges

Days 2–5:

  • Check and replace traps every 48 hours
  • Numbers should decrease visibly by day 2–3
  • If numbers are not decreasing, find the remaining breeding source — there is still one you haven’t found

Prevention Tips

  • Store ripe fruit in the fridge or in sealed containers — fruit in open bowls is the most common cause of recurring infestations
  • Clean the sink drain weekly with an enzyme cleaner during summer months
  • Rinse recycling immediately — don’t leave wine bottles or juice cartons overnight with residue inside
  • Empty kitchen compost daily in summer — indoor compost bins are ideal breeding sites in warm weather
  • Replace kitchen sponges frequently — damp sponges are a common overlooked source

Frequently Asked Questions

Where do fruit flies come from suddenly?

Fruit flies enter homes through open windows, on fruit and vegetables brought in from outside, or hatch from eggs already present on produce. They can also breed year-round indoors in drains and damp organic material. A sudden appearance usually means you brought in infested produce or a breeding source has become active.

How long does it take to get rid of fruit flies?

With source removal plus active trapping, most infestations clear in 3–7 days. If you remove all sources but skip trapping, it can take 2 weeks as adult flies die off naturally. If numbers aren’t decreasing after 5 days, there is still a breeding source you haven’t found.

Does apple cider vinegar actually work for fruit flies?

Yes — it’s the most reliably effective DIY trap. The fermented apple scent specifically attracts Drosophila (fruit flies). Adding dish soap breaks the surface tension so flies that land on the liquid sink and drown. Use the funnel or cling film method to improve trap-and-hold effectiveness.

Why do I keep getting fruit flies even with no fruit out?

The breeding source is almost certainly your sink drain, a forgotten item (potato, onion) in a cabinet, your recycling bin, or a damp sponge or cloth. Fruit flies do not need fruit specifically — any moist, fermenting organic matter will do. Deep-clean all drains and check every cabinet.

Are fruit flies harmful to humans?

Fruit flies are not directly harmful — they do not bite and do not transmit disease directly. However, they can transfer bacteria and yeast from rotting food to surfaces, which is a food safety concern. Their main impact is infesting and spoiling food.

What is the fastest way to get rid of fruit flies overnight?

Set multiple ACV traps (apple cider vinegar + dish soap, covered with cling film with small holes) in different locations before bed. Remove all fruit and organic waste. You will catch significant numbers overnight. Continue for 2–3 more days alongside source removal for full resolution.

Scroll to Top