How to Get Rid of Fruit Flies

By Martín Golia Last reviewed 6 min read

Set a small jar of apple cider vinegar with one drop of dish soap near the fruit bowl to catch the adults, then remove what they breed in: overripe fruit, a dirty trash can and the slime inside the sink drain. Traps alone never finish the job; cleaning the breeding spots does, usually within one to two weeks.

The EPA’s general advice for household pests is to start with prevention and sanitation (removing food, water and hiding places) before reaching for pesticides. Fruit flies are a perfect example: no spray needed.

Drosophila immigrans side on

Photo: “Drosophila immigrans side on (14412343468)” by John Tann from Sydney, Australia, CC BY 2.0, via Wikimedia Commons (licence).

The 2-minute trap

  1. Pour about 1/2 inch (1 cm) of apple cider vinegar into a small jar or ramekin.
  2. Add one drop of dish soap and swirl. The soap breaks the surface tension, so flies that land sink instead of walking away.
  3. Cover with plastic wrap and poke 4–5 small holes with a toothpick, or roll a paper cone with a small opening and set it in the jar.
  4. Place one trap next to the fruit bowl and one near the sink.
  5. Empty and refill every 3–4 days.

No cider vinegar? A splash of red wine or a piece of overripe banana in the jar works too.

Where they are breeding: the 5 usual spots

Spot What to look for Fix
Fruit bowl Soft bananas, split tomatoes, potatoes or onions going bad Refrigerate ripe produce, toss anything soft or leaking
Kitchen trash Juice at the bottom of the can, no lid Take it out daily for a week, wash the can, use a lid
Recycling Unrinsed bottles, cans, juice cartons Rinse before recycling
Sink drain Dark slime inside the drain pipe Scrub with a drain brush and dish soap, flush with hot water
Under appliances Spilled juice or a forgotten onion Pull out and wipe, especially under the fridge

A quick test for drains: tape a clear plastic bag or a piece of plastic wrap loosely over the drain overnight. If flies are trapped under it in the morning, the drain is a breeding site.

Cleaning the drain properly

Boiling water alone often does not remove the film where eggs are laid. Instead:

  1. Scrub inside the drain as far as you can reach with a long, thin drain brush and dish soap.
  2. Pour a kettle of hot water down slowly.
  3. If your sink has a garbage disposal, clean the splash guard too; see how to clean a garbage disposal.
  4. Repeat daily for a week.

Avoid stacking drain products. Bleach followed by vinegar, or two different drain cleaners, can release toxic gas or splash back. One product, then water. See cleaning products you should never mix.

Why they keep coming back

Fruit flies reproduce quickly in a warm kitchen, which is why a few flies can turn into a cloud within a week. Adults lay eggs in fermenting food and moist organic film; the young feed there before turning into adults. So:

  • Traps catch adults that are already flying.
  • Cleaning removes the eggs and young you cannot see.

Do both every day for about one to two weeks, which covers the next generation. If flies are still appearing after that, there is a breeding spot you have not found yet: check under the fridge, the recycling bin, a houseplant saucer with standing water, and any mop or rag that stays damp.

Fruit fly or drain fly?

Fruit fly Drain fly
Look Tan body, often red eyes Fuzzy, moth-like wings, gray
Where Around fruit and trash On bathroom or kitchen walls near drains
Fix Remove produce, clean trash, trap Scrub drains and overflows; trap works less

Prevention checklist

  • Rinse fruit when you bring it home and refrigerate anything ripe.
  • Take the trash out every day or two in summer.
  • Wipe counters and sink dry at night.
  • Rinse recyclables.
  • Wash dish cloths and replace sponges often (here is how often to wash everything).

Sources

Always follow the label on your product. Labels are the legal use instructions in the US.

Pinterest image: Fruit flies gone: the trap + the 3 spots to clean

Save this for cleaning day. Pin it so you can find it later.

Save to Pinterest
Read next How to Get Rid of That Musty Smell in Towels (and Make Them Fluffy Again)