Home Guide

Stop the Invasion: How to Get Rid of Fruit Flies

Apple cider vinegar1/2 cup
Dish soap2–3 drops
Plastic wrap holes5–6 pinholes
Replace the trapEvery 2–3 days
8 days

That's roughly how fast a fruit fly goes from egg to flying adult, which is why the trap catches today's flies while tomorrow's are already hatching somewhere you haven't found yet.

1
Find the source

Check the drain, the recycling bin, the trash, and the fruit bowl before you do anything else.

2
Clean it out

Scrub the drain, empty and rinse the recycling and trash bins.

3
Set the trap

Vinegar in a jar, a few drops of soap, plastic wrap poked with tiny holes on top.

4
Give it a week

Swap the trap every 2–3 days until you go two full days without seeing one.

My mother keeps a bowl of fruit on the counter year round, and every August without fail it turns into a fruit fly convention. I spent a few summers just swatting at them before I sat down and actually figured out what gets rid of them for good, not just for an afternoon.

01 · Where they're breeding

The Spot You Haven't Checked Yet

The fruit bowl gets blamed for all of it, but half the time it's not even the main problem. Fruit flies lay eggs anywhere there's a film of something sweet or rotting, and that's a longer list than most people think.

Overripe fruit & vegetables
the classic
Most common
Why it matters: one soft peach, tomato, or onion sitting out is enough to start the whole cycle, since females lay eggs right on the skin.
Kitchen and bathroom drains
the one people miss
Often overlooked
Why it matters: the gunk that builds up inside a drain is basically a nursery. Run a finger around the inside at night. If it comes back sticky and sour-smelling, that's it.
Recycling bin
sticky cans and bottles
High
Why it matters: a rinse isn't the same as a wash. Any residue of juice, beer, wine, or soda left in a can or bottle keeps drawing them in.
Trash can and disposal
food scraps
High
Why it matters: peels, cores, and coffee grounds sitting in a warm kitchen are exactly what they're after. Take it out more often than feels necessary.
Damp rags, mop buckets, plant trays
the quiet ones
Low but sneaky
Why it matters: anything damp that sits for days, including the tray under a houseplant, can host them without anyone noticing for weeks.
02 · Trap options

If the Vinegar Trap Isn't Cutting It

The vinegar and soap trap works for most kitchens, but a bad infestation or a specific room sometimes calls for something else alongside it.

Overnight

Red Wine Trap

Leftover red wine in a glass, plastic wrap with a few holes poked in it. Works especially well if the flies seem drawn to the wine rack or the recycling bin.

No mess

Store-Bought Sticky Trap

Good for a pantry or a spot near the stove where you don't want a liquid trap sitting out for days at a time.

Fastest

Vacuum Sweep

When they're clustered on a window or the ceiling, a quick pass with a handheld vacuum knocks down a bad swarm while the trap does the slower work underneath.

03 · The drain fix

Clearing Out a Drain Infestation

If you've cleaned the fruit bowl and the trash and they're still around, especially near a sink, the drain is worth a closer look before you assume the trap just isn't working.

1
Pour it hot
Run boiling water down the drain to flush loose gunk before you scrub.
2
Scrub the walls
A bottle brush or old toothbrush with baking soda and vinegar breaks up the buildup coating the pipe.
3
Seal it overnight
Cover the drain with tape or plastic wrap before bed. Flies stuck to the underside by morning confirm that drain was the source.
04 · Common mistakes

What Keeps Them Coming Back

Most people don't have a fruit fly problem so much as a "gave up two days too early" problem.

×
Giving up on the trap after one day
It takes closer to a week to catch the whole life cycle, not just the flies you can see right now.
×
Using bleach on the drain
Bleach kills flies on contact but doesn't touch the film underneath they're breeding in, so they're back within days.
×
Leaving one piece of fruit out "just for today"
It only takes one soft banana or tomato to keep the whole cycle going.
×
Rinsing the recycling bin but not drying it
Leftover moisture sitting in a closed bin is close to ideal breeding conditions.
×
Skipping the plastic wrap on the trap
Open vinegar alone doesn't trap much. The wrap with tiny holes is what actually funnels them in and keeps them there.
One more thing

Keep This One Around

This shows up again in my kitchen every summer like clockwork, so I stopped trying to remember the ratio and just keep this page handy instead.