MosquitoesMosquito traps · Area repellers · Personal repellents
Flies & flying insectsFly traps · Insect light traps · Wasp traps
RodentsRodent traps · Rodent exclusion · Smart monitors
Screens & exclusionWindow & door screens · Sweeps & sealing
Ticks & fleasTick prevention · Flea prevention
Garden & wildlifeGarden barriers · Wildlife deterrents
  1. Home
  2. Buying guides
  3. How to Get Rid of Fruit Flies
Fruit flies

How to Get Rid of Fruit Flies: Traps and Sources

Get rid of fruit flies in a week: find the breeding source, set vinegar or sticky traps, clean drains and stop them coming back. Trap types compared.

Quick answer

To get rid of fruit flies, remove what they breed in first: overripe fruit, open trash and recycling, and the film inside sink drains. Then trap the adults with a vinegar trap (cider vinegar plus a drop of dish soap) or a commercial lure trap. Because new flies hatch for several days, keep traps out and the kitchen clean for about a week.

Fruit flies breed fast, so trapping alone rarely ends the problem. The source has to go too.

Where do fruit flies come from?

  • Ripe or damaged fruit and vegetables, including potatoes and onions.
  • Trash, compost bins and unrinsed recycling.
  • Sink and floor drains with organic buildup.
  • Spills under appliances and in mop buckets.

Which fruit fly traps work best?

Trap How it works Pros Watch for
DIY vinegar trap Cider vinegar and dish soap Free, effective Refresh every few days
Commercial lure trap Bait in a sealed container Tidy, long-lasting Ongoing cost
Sticky trap Yellow card or ribbon Catches many flying insects Visible
UV light trap Light and fan or glue board Also catches gnats Best in dim rooms

How do you clear fruit flies in a week?

  1. Day 1: refrigerate or discard ripe produce, empty trash and rinse recycling.
  2. Clean drains with a stiff brush; a drain gel or boiling water helps.
  3. Set two or three traps near the fruit bowl, sink and bins.
  4. Days 2 to 7: refresh traps and keep surfaces dry.
  5. After: store fruit in the fridge for a while and take out compost daily.

Similar small flies that hover around houseplants are often fungus gnats; sticky traps and letting the soil dry help. Light traps for bigger rooms are in the flying insects category. Outdoors, read wasp and yellow jacket traps.

Common questions

Why does dish soap go in a vinegar trap?

It breaks the surface tension, so flies that land on the liquid sink instead of walking off.

Are fruit flies coming from my drain?

Possibly. Tape a clear plastic cup upside down over the drain overnight; flies inside the cup mean the drain is a source and needs scrubbing.