How To Make Homemade Fly Traps | The Best Kitchen Baits

A jar with apple cider vinegar and dish soap creates a simple, effective homemade fly trap — the scent lures them in and the soap breaks the surface.

You probably already have everything needed to clear a fruit fly infestation sitting in your kitchen. The most effective homemade fly trap relies on a simple trick — a single drop of dish soap that turns a sweet bowl of bait into a drowning pool.

The basic concept is straightforward: attract the flies with a scent they love, then prevent them from escaping. Apple cider vinegar is the top choice for bait, but how you set up the container and which soap you use makes the difference between a trap that catches a few and one that clears the problem entirely.

The Basic Jar Trap That Catches the Most Flies

A wide-mouth mason jar is the most common container for a reason. You get easy access to add bait and enough space for fruit flies to gather before they drown.

Punch several small holes in the lid using a hammer and a nail. The holes need to be just large enough for a fruit fly to enter — about 1/8 inch wide. Fill the jar with about 1/4 cup of apple cider vinegar and add a few drops of liquid dish soap. Swirl gently to avoid creating a foam layer that might block the holes.

Place the trap near your fruit bowl, compost bin, or wherever you first spotted the flies. Replace the bait every few days or whenever the liquid looks crowded. The trap loses its pulling power as the vinegar smell fades.

Why the Vinegar Choice Actually Matters

It’s tempting to grab whatever vinegar is in the pantry, but the type you use changes how well the trap works. White vinegar is sharper and less sweet, which fruit flies largely ignore. Apple cider vinegar gives off a fermenting scent that closely mimics the overripe fruit they’re actually after, making it a consistently better lure. This is backed by pest control insights in the apple cider vinegar vs white analysis from Cleggs.

  • Apple cider vinegar: The standard bait for fruit flies. Its natural sugars and fermentation smell attract from across the room.
  • White vinegar: Too pungent and lacking sweetness. Works poorly for fruit flies but may attract some gnats.
  • Red wine vinegar: A solid alternative. Fruit flies are drawn to wine, though red wine vinegar can be slightly less consistent than ACV.
  • Overripe fruit bait: A chunk of banana, peach, or apple works as bait without any vinegar. Pair it with a few drops of water and dish soap.

If you only have white vinegar, try adding a small piece of ripe fruit to compensate for the missing sweetness. The fermentation from the fruit will help bridge the gap.

How Soap Turns a Bowl of Vinegar Into a Trap

Why Dish Soap Works

Vinegar alone just creates a smelly bowl. Fruit flies can land on the surface and drink without issue. The soap is what turns the liquid into a trap.

Liquid dish soap breaks the surface tension of the vinegar. Instead of floating on top, the flies sink the moment they touch the liquid. The soap also clings to their wings and body, making escape nearly impossible.

Any liquid dish soap works — lemon, lavender, or plain unscented. Avoid using too much, as a thick foam layer can sit on top and actually give flies a platform to walk on. A few drops per cup is enough.

Bait Type Attractiveness to Fruit Flies Best Use Case
Apple Cider Vinegar High Standard kitchen trap
White Vinegar + Fruit Medium Backup option
Red Wine Vinegar Medium-High Wine drinkers’ kitchens
Overripe Banana High Fruit bowl area
Beer (stale) Medium Garage or outdoor

The table shows that apple cider vinegar and overripe fruit are the strongest bait options. Pairing either one with dish soap creates a reliable, low-cost trap that targets the source of the problem directly.

Setting the Trap in the Right Location

A well-built trap won’t catch anything if it’s sitting in the wrong spot. Fruit flies stick close to their food source and are weak fliers, so location is half the strategy.

  1. Near the fruit bowl: This is ground zero for most infestations. Place the trap within a foot of the ripest fruit.
  2. Over the compost bin: Fermenting scraps are a magnet. Set the trap on the counter directly next to the bin.
  3. By the sink drain: Fruit flies breed in the film inside drains. A trap sitting on the counter above can catch emerging adults.
  4. Away from competing smells: Keep the trap away from open windows or fans that will blow the scent away from the flies.
  5. Multiple locations: If you’re dealing with an active infestation, set out two or three traps to see which spot gets the most action.

Rotate the bait every few days to keep the scent fresh. A trap left out for a week becomes less effective as the fermentation smell stabilizes.

Alternative Containers and Bait Variations

Container Options

A mason jar is the classic container, but you can use a plastic soda bottle by cutting off the top and inverting it into the base to create a funnel. This method lets you use larger amounts of bait and works well for outdoor spaces.

You can also try the plastic-wrap method: cover a bowl or cup with plastic wrap, poke small holes in the top, and fill the bottom with bait. The wrap acts like a lid, keeping the smell concentrated and the fruit flies inside.

The Kitchn’s tested DIY fruit fly trap guide confirms that the jar-with-holes method consistently catches the most flies in real kitchen conditions. For outdoor areas, try baiting with a bit of rotting meat or fish — this attracts house flies, which ignore the sweet vinegar baits.

Container Best For Ease of Setup
Mason jar Kitchen fruit flies Easy
Soda bottle Larger batches Moderate
Bowl + wrap Quick setup Very easy

The Bottom Line

An effective homemade fly trap uses apple cider vinegar for bait, a few drops of dish soap to break the surface tension, and a container with small entry holes. Place it where you see the most fly activity and change the bait every few days to keep the scent strong.

If the infestation persists beyond two weeks despite traps, a professional pest control service can identify less common breeding sites, like wall voids or garbage disposals, that kitchen traps can’t reach.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.