
Get Rid of Fruit Flies with a DIY Fruit Fly Trap
This easy solution to get rid of fruit flies in your kitchen takes only a few supplies, and you probably already have them lying around your home.
To build this fruit fly trap you'll need:
- Apple cider vinegar
- A jar or other container, preferably glass
- Dish soap
- Plastic wrap
- Optional: tape or a rubber band
Method:
- Pour a small amount of apple cider vinegar into the jar. You only need enough to cover the bottom.
- Add a drop of dish soap to the vinegar. The soap reduces the surface tension of the liquid, making it harder for flies to escape once they land.
- Cover the jar with plastic wrap and secure it with tape or a rubber band if necessary. Poke a few small holes in the plastic so the flies can enter.
- Set the trap near the area where you are seeing the most fruit fly activity.
That's it! Fruit flies are attracted to fermenting odors, including vinegar, and the trap gives them a way in while making it difficult to escape.
How to Make a Homemade Fruit Fly Trap Without Apple Cider Vinegar
Apple cider vinegar is convenient, but it isn't the only bait that can attract fruit flies. These insects are drawn to fermenting and overripe organic material, so you can make a trap using several common alternatives. Red wine and mashed fruit are among the baits used in homemade fruit fly traps, while yeast and sugar mixtures can also create the fermenting odors that attract these flies.
Some alternatives you can try include:
- Red wine: Pour a small amount into a jar and add a drop of unscented dish soap.
- Overripe fruit: Place a small piece of banana or other ripe fruit in the bottom of a jar and use a paper funnel or perforated plastic wrap over the opening.
- Beer and mashed fruit: A small amount of beer combined with mashed banana can also act as an attractant.
- Yeast and sugar: Combine yeast, sugar, and water to create a fermenting bait. A small amount of unscented dish soap can be added to reduce the liquid's surface tension.
If you are using food as bait, replace it regularly rather than allowing it to remain indefinitely. The trap should attract existing adult flies, not become another long-term source of fermenting material.
How to Make a Water Bottle Fly Trap
An empty plastic bottle can also be turned into a simple fly trap.
- Use a clean plastic water or soda bottle.
- Add a small amount of bait to the bottom. This can be apple cider vinegar, red wine, or another fermenting liquid.
- Make several small entry holes above the liquid level, or cut the top portion off the bottle and invert it into the bottom half to create a funnel.
- Place the trap close to the area where fruit flies are active.
- Check the trap regularly and replace the bait as needed.
Container-style traps work by attracting flies through small openings and making it difficult for them to find their way back out. Similar homemade cup and bottle designs are used in extension guidance for trapping small fruit flies.
Why Is My Homemade Fruit Fly Trap Not Working?
A trap can reduce the number of adult flies you see, but it will not solve the problem if fruit flies still have somewhere to breed.
Check for common sources such as:
- Overripe fruit left on counters
- Food or drink residue in recycling containers
- Open garbage or compost bins
- Spills underneath appliances
- Dirty mop heads or cleaning cloths
- Organic debris around drains
- Forgotten produce in cupboards, bags, or storage areas
Fruit flies lay their eggs in moist, fermenting organic material. Finding and removing that material is therefore the most important part of long-term control. Traps are best used alongside sanitation rather than as the only treatment.
How to Keep Fruit Flies from Coming Back
Once you've reduced the immediate activity, a few simple habits can help prevent another infestation:
- Refrigerate ripe produce where appropriate.
- Dispose of overripe or damaged fruit promptly.
- Rinse bottles and cans before placing them in recycling.
- Empty and clean trash containers regularly.
- Wipe up juice, soda, wine, and other sugary spills.
- Keep drains and garbage disposal areas free from organic buildup.
- Clean areas underneath and behind kitchen appliances where food residue can collect.
- Replace homemade trap bait regularly while activity continues.
When to Call a Pest Control Professional
If fruit flies keep returning despite regular cleaning and the use of homemade traps, it’s time to call a professional. Persistent activity can mean there’s a breeding source that has been missed, such as organic buildup in drains, hidden food residue, or another damp area where flies can develop.
A pest control professional can also confirm whether you are actually dealing with fruit flies, as drain flies and other small fly species can look similar but require different treatment. If the infestation is widespread, has lasted for several weeks, or is affecting a restaurant or other commercial property, professional inspections can help identify the source and prevent the problem from continuing.
If fruit flies are becoming a persistent problem in your home or business, contact Excel Pest Services to schedule a free inspection. Our team can identify the source of the infestation and recommend the right treatment to get the problem under control.



