How to Eliminate Fruit Flies in Your Kitchen Overnight

Published on June 1, 2026

The Overnight Solution to Your Fruit Fly Problem

It starts with a single piece of overripe fruit, and suddenly your kitchen is overrun by a swarm of tiny, annoying fruit flies. These pests multiply rapidly, making them incredibly frustrating to deal with. Fortunately, you do not need expensive chemical sprays to get rid of them. You can build a highly effective trap using items you already have in your pantry.

What You Will Need

  • Apple cider vinegar: This acts as the bait. Its sweet, fermented aroma is irresistible to fruit flies.
  • Liquid dish soap: Any standard dish soap will work. This breaks the surface tension of the liquid so the flies sink instead of landing on top.
  • A small bowl or ramekin: This will hold your trap mixture.
  • Plastic wrap and a toothpick: This creates a one-way entry for the flies.

Step-by-Step Instructions

Step 1: Pour the bait. Fill your small bowl or ramekin about halfway with apple cider vinegar. If you do not have apple cider vinegar, red wine or beer will also work as substitutes.

Step 2: Add the secret weapon. Add 3 to 4 drops of liquid dish soap to the vinegar. Do not stir it aggressively; a gentle swirl is all you need. The soap cuts the surface tension of the vinegar. When the flies attempt to land on the liquid, they will instantly sink rather than floating on the surface.

Step 3: Cover and seal. Stretch a piece of plastic wrap tightly over the top of the bowl, securing it around the edges. Use a toothpick to poke 5 to 6 small holes in the plastic wrap. The holes should be just large enough for a fruit fly to crawl through.

Step 4: Position the trap. Place the bowl directly in the area where you see the most fruit flies—usually near your fruit basket, trash can, or kitchen sink. Leave it undisturbed overnight.

How It Works and Prevention Tips

The fruit flies are drawn in by the scent of the vinegar and crawl through the holes in the plastic wrap. Once inside, they cannot figure out how to crawl back out, and when they touch the soap-infused liquid, they are trapped. To ensure they do not return, make sure to wash any lingering produce, empty your kitchen trash regularly, and pour boiling water down your sink drain to destroy any hidden eggs.

← Explore more solutions