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?
- Day 1: refrigerate or discard ripe produce, empty trash and rinse recycling.
- Clean drains with a stiff brush; a drain gel or boiling water helps.
- Set two or three traps near the fruit bowl, sink and bins.
- Days 2 to 7: refresh traps and keep surfaces dry.
- 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.
