The most effective mixture for killing fruit flies is a quarter cup of apple cider vinegar with a few drops of liquid dish soap in a jar. The vinegar’s fermented scent draws the flies in, and the soap breaks the water’s surface tension so they sink and drown instead of landing safely on top. But one trap alone won’t solve an infestation, because fruit flies reproduce fast and breed in places you might not expect. A few targeted mixtures, used together, can wipe out both the adults you see and the larvae you don’t.
Why These Mixtures Work
Fruit flies are tiny, weighing almost nothing. Under normal conditions, they can land directly on the surface of a liquid without breaking through, the same way a paperclip can float on water. Dish soap is a surfactant, meaning it disrupts that surface film. When a fruit fly touches soapy liquid, it falls through immediately and drowns. Every effective fruit fly mixture relies on two things: a scent that attracts the flies, and soap (or a physical barrier) that traps them.
The Apple Cider Vinegar Trap
This is the go-to mixture because apple cider vinegar is made from fermented apples, and fruit flies are hardwired to seek out fermenting fruit. Pour about a quarter cup of apple cider vinegar into a glass jar or small bowl, then add two or three drops of liquid dish soap. Stir gently so the soap disperses without creating a layer of bubbles on top. Bubbles can actually warn flies away.
Place the jar near your fruit bowl, compost bin, or wherever flies are congregating. You can leave it open, or cover it with plastic wrap and poke a few small holes with a toothpick. The cover funnels flies in and makes it harder for them to escape, though an open jar works fine in most kitchens. Replace the mixture every two to three days, or sooner if it fills with flies and the vinegar smell fades.
Wine and Beer Traps
Leftover red wine or stale beer works on the same principle as vinegar. Both contain acetic acid and fermentation byproducts that fruit flies find irresistible. Pour a small amount into a jar, add a single drop of dish soap, and set it out. Some people find wine traps pull in flies even faster than vinegar, likely because wine has a stronger, more complex fermented aroma. If you have a nearly empty wine bottle, leave it on the counter with a drop of soap inside. The narrow neck acts as a natural funnel.
Baking Soda and Vinegar for Drains
Fruit flies don’t just breed on countertop fruit. They lay eggs in the slimy organic buildup inside sink drains, garbage disposals, and even shower drains. A single female can lay 50 to 75 eggs per day, and the full lifecycle from egg to adult takes only 10 to 14 days at room temperature. That means a drain you ignore for two weeks can produce hundreds of new flies.
To clean a drain, sprinkle half a cup of baking soda into and around the drain opening, then pour in one cup of white vinegar. It will fizz aggressively. Let it sit for about 10 minutes, then flush with very hot water (not boiling, which can damage PVC pipes). Do this for every drain in your house, including ones you rarely use. Repeat every few days for a week or two to catch larvae that survive the first treatment.
You might be tempted to pour bleach down the drain instead. Bleach kills adult flies on contact, but it cannot penetrate the biofilm, the slimy bacterial layer coating the inside of pipes where larvae actually live and feed. That biofilm has a protective structure that resists chemical penetration, so the larvae survive and new adults emerge within days. The baking soda and vinegar approach is more effective because the fizzing reaction physically loosens organic buildup rather than just trying to chemically sterilize it.
Essential Oil Repellent Spray
Traps kill flies that are already in your kitchen. A repellent spray helps keep new ones from landing on your fruit and countertops. Fruit flies dislike peppermint, lemongrass, and clove. Mix about 10 to 15 drops of peppermint essential oil into a cup of water in a spray bottle, shake well, and mist your fruit bowl, countertops, and the area around your trash can. The oil won’t kill flies, but it makes treated surfaces less appealing. Reapply daily, since the scent fades quickly compared to commercial products that use higher concentrations and slow-release formulas.
Make Sure You’re Targeting the Right Bug
Three common household flies look similar but need different approaches. Fruit flies are less than an eighth of an inch long with rounded bodies and often have red eyes. Drain flies (sometimes called moth flies) are fuzzy, with broad leaf-shaped wings that make them look like tiny moths. Fungus gnats are dark with noticeably long legs and long, segmented antennae, and they hover around houseplant soil rather than fruit.
If your flies are clustered around potted plants rather than the kitchen, you likely have fungus gnats, and vinegar traps won’t attract them as effectively. If you see fuzzy, moth-like insects near bathroom drains, those are drain flies, and the baking soda drain treatment is your primary tool. True fruit flies gravitate toward ripening produce, recycling bins, and anything fermenting.
Stopping the Cycle
No mixture works long-term if the breeding source stays available. A female fruit fly can produce 400 to 500 eggs in just 10 days, so even a small piece of forgotten fruit under a cabinet can fuel weeks of new flies. Refrigerate or cover ripe fruit. Empty kitchen trash cans daily during an infestation. Rinse bottles and cans before putting them in recycling. Wipe down counters where fruit juice or alcohol has spilled.
Run your vinegar traps and drain treatments simultaneously for at least two weeks. That covers a full reproductive cycle, catching adults before they lay eggs while destroying larvae already developing in drains. Most infestations clear up completely within that window once you’ve removed the food sources and set traps in two or three spots around the kitchen.