This recipe is for a simple, highly effective fruit fly attractant that you can mix in under five minutes using pantry staples. The key is matching the scent of overripe fruit (which draws the flies in) with a trapping mechanism they can't escape, like a soapy film that breaks the surface tension of the liquid so they sink instead of float.
Ingredients
- 1/4 cup apple cider vinegar (or red wine vinegar)
- 1 teaspoon liquid dish soap (any brand, but a citrus or unscented one works best)
- 1 tablespoon sugar (optional, but speeds up fermentation and attracts more flies)
- 1/4 cup warm water (to help dissolve the sugar, if using)
- 1 small jar or bowl (wide-mouthed, like a jam jar or a ramekin)
- Plastic wrap (for the funnel method) OR a paper cone (for the cone method)
- A toothpick or skewer (to poke holes, if using the plastic wrap method)
Instructions
- Mix the attractant base. In your jar or bowl, combine the apple cider vinegar, warm water, and sugar (if using). Stir until the sugar is completely dissolved.
- Add the dish soap. Add the liquid dish soap to the mixture and stir gently. Do not over-stir—you don't want a lot of foam. The soap is the critical ingredient: it reduces the surface tension of the liquid, so when a fruit fly lands to drink, it immediately sinks and drowns instead of being able to walk on the surface.
- Choose your trap lid. You have two options:
- Plastic wrap method: Cover the jar tightly with a piece of plastic wrap. Secure it with a rubber band. Use a toothpick or skewer to poke 5-6 small holes (each about 1/8 inch wide) in the center of the wrap. The holes need to be big enough for a fruit fly to crawl through, but small enough that they can't find their way back out easily.
- Paper cone method: Roll a piece of paper (like a 4x4 inch square) into a cone shape, leaving a small opening at the tip (about 1/4 inch). Tape the edge to keep it from unrolling. Place the cone upside down in the jar, with the tip pointing down into the liquid. The cone should sit above the liquid, not touching it. Tape the cone to the rim of the jar if needed.
- Place the trap. Put the trap in the area where you see the most fruit flies—near a fruit bowl, trash can, compost bin, or sink drain. For best results, place it out of direct sunlight but in a spot where you actually see flies flying around.
- Wait and monitor. Fruit flies are attracted by the fermentation smell and will find the trap within a few hours. You'll see them buzzing around the outside, then crawling through the holes or down the cone. Once inside, they'll land on the liquid and drown.
- Empty and refresh. After 2-3 days, or when the trap is full of dead flies, dump the contents down the drain. Rinse the jar, and refill with the same recipe. Repeat until you no longer see fruit flies in the area.
Tips
- Use vinegar, not juice. Apple cider vinegar works best because it smells exactly like fermenting fruit. Plain fruit juice also attracts flies, but it's sweeter and stickier, and without the soap, they can land and lay eggs in it. Stick with vinegar.
- Don't skip the soap. The dish soap is non-negotiable. Without it, the fruit flies can easily walk on the surface of the liquid and fly away. A single drop per cup of liquid is enough.
- Place multiple traps. One trap is rarely enough for a serious infestation. Set up 2-3 traps in different locations—kitchen counter, near the sink, and near the trash can—to cover more ground.
- Eliminate the source. The attractant only catches adults. To stop the cycle, you must also remove the breeding grounds: overripe fruit, damp sponges, empty bottles, and drain scum. Clean your drains and take out the trash regularly.
Serving Suggestions
This isn't a dish to serve—it's a trap to deploy. Place it prominently in your kitchen, but not directly on a food prep surface where it could be knocked over. A windowsill or the back corner of a counter works well. If you're dealing with flies near your indoor herb garden or compost bin, place a trap there too. Replace the trap every 2-3 days until you notice a significant drop in fly activity, usually within a week.
Variations
- Red wine trap: If you have a half-empty bottle of red wine, leave a small amount in the bottom (about 1/4 cup), add a drop of dish soap, and cover the opening with plastic wrap and holes. The wine's bouquet is irresistible to fruit flies.
- Banana peel trap: Place a ripe banana peel in a jar, add 1/4 cup water and a drop of soap, then cover with plastic wrap. This works well if you don't have vinegar on hand, but it takes longer to attract flies because it needs to ferment.
- Drain fly trap: For flies breeding in sink drains, use the same vinegar-and-soap mixture but pour it directly down the drain at night. The soap breaks down the organic film in the pipe, and the vinegar attracts and kills the adults that emerge. Leave it overnight, then flush with hot water in the morning.
Storage and Reheating
This attractant is not meant to be stored or reused. The vinegar and soap mixture will lose its potency after a few days as the vinegar's aroma fades. You can keep the unused vinegar and soap in their original containers indefinitely, but once mixed, use it within 3 days. If you want to store a batch for later, mix the vinegar and water (without soap) and keep it in a sealed jar at room temperature for up to a week. Add the soap just before placing the trap. Do not refrigerate—cold temperatures reduce the vinegar's evaporation, making it less attractive to flies.
Frequently Asked Questions
Why aren't my fruit flies going into the trap?
If they're not entering, the holes might be too small, or the trap is placed too far from where the flies are active. Move it closer to the source. Also, make sure the vinegar is fresh—old vinegar loses its strong smell. If you're using the cone method, ensure the tip is not touching the liquid, as flies can crawl back out if they land on the cone's inner surface where it meets the liquid.
Can I use white vinegar instead of apple cider vinegar?
Yes, but it's less effective. White vinegar has a sharper, less fruity smell. If that's all you have, add a small piece of overripe fruit (like a strawberry or a slice of banana) to the mixture to boost the fruity aroma. The soap is still essential.
How long does it take for the trap to work?
You should see flies around the trap within 2-4 hours. The first flies to arrive are usually the scouts; they'll leave a pheromone trail that attracts more. Within 24 hours, you should see a noticeable number of dead flies in the liquid. If not, check that the holes are large enough and the liquid is still aromatic.
Is it safe to leave this near food?
Yes, the ingredients are all food-safe (vinegar, water, sugar, and dish soap). However, the dish soap is not meant for consumption, so keep the trap away from open food containers and wash your hands after handling it. The trap itself is not toxic, but it's best to place it where children and pets can't knock it over.
Why do I still see flies after a week?
You're likely catching adults but not stopping new ones from emerging. Fruit flies lay eggs in moist, fermenting organic matter. Check for hidden sources: a potato left in the pantry, a damp mop head, or a recycling bin with sticky soda cans. Clean these areas, and keep your trap refreshed until the population dies out. The full life cycle is about 8-10 days, so it can take up to two weeks to fully clear an infestation.
Can I use this outdoors?
Yes, but it's less effective because outdoor airflow disperses the scent quickly. If you're dealing with fruit flies near a compost bin or outdoor trash, place the trap inside the bin or right next to it, and check it daily. You'll likely need to replace it more often due to rain and wind.