This site is privately owned and the information provided is free of charge. Learn more here.
Flies are among the most common household pests, with over 120,000 species existing worldwide. The most frequent visitors to homes are fruit flies, drain flies, and house flies. Understanding their behavior helps explain why homemade traps are effective.
Free Guide to Home Depot Penny Deals and Clearance Shopping →
Fruit flies are attracted to fermenting fruits and vegetables. A single fruit fly can lay up to 500 eggs in just a few days, which is why infestations develop so rapidly. They're particularly problematic during warmer months when fruit ripens faster. House flies are drawn to food sources, garbage, and organic matter. Drain flies breed in the buildup inside drains and pipes, thriving in moist environments.
Flies locate food sources through their sense of smell, which is extraordinarily sensitive. They can detect odors from up to a mile away. Once they find a food source, they land on it and taste it through their feet before eating. This behavior pattern is what makes homemade traps so effective—they exploit the fly's natural instinct to seek out attractive odors and food sources.
Traps work by luring flies toward a specific location where they become stuck or trapped. Unlike chemical sprays, traps don't poison the air or leave residue on surfaces. This makes them particularly useful in kitchens, dining areas, and around food preparation spaces. The traps described in this guide use materials found in most homes and cost just a few cents to construct.
Practical Takeaway: Before building traps, identify which type of fly you're dealing with. Fruit flies hover around kitchen areas and overripe produce. Drain flies emerge from bathroom and kitchen sink drains. House flies are larger and land on walls and windows. Knowing the fly type helps you choose the most effective trap location and bait.
The apple cider vinegar trap is the most widely used homemade fly trap because it's highly effective and uses ingredients most people already have in their kitchens. Apple cider vinegar contains natural fermentation byproducts that powerfully attract fruit flies and other small flying insects.
Get Your Free Home and Gym Thigh Workout Guide →
To create this trap, you'll need a small jar or glass, apple cider vinegar, a drop of dish soap, and either plastic wrap or a paper cone. Fill the jar about halfway with apple cider vinegar. Add one drop of liquid dish soap—this is crucial because it breaks the surface tension of the vinegar, causing flies to sink rather than land and escape. The dish soap doesn't have a strong smell that deters flies; instead, it chemically changes the liquid's surface properties.
Next, cover the jar's opening. If using plastic wrap, stretch it tightly across the top and poke several small holes (about the size of a pencil tip) through it. Flies will crawl through these holes toward the vinegar smell but will have difficulty finding their way back out. Alternatively, roll a piece of paper into a cone shape, tape it closed, and insert the narrow end into the jar's opening. The cone creates a one-way entry point.
Place the trap near where you've noticed the most fly activity—typically near fruit bowls, compost bins, or kitchen counters. Research indicates that apple cider vinegar traps can catch dozens of fruit flies within 24 hours during an infestation. You may see dead flies at the bottom within hours of setting up the trap. The vinegar will become less effective after a few days as flies are caught and the liquid becomes contaminated, so replace it every three to five days during heavy infestations.
Practical Takeaway: Make multiple apple cider vinegar traps and place them throughout your kitchen, not just in one location. Flies spread out looking for food sources, so having traps in multiple spots catches more insects. Set up traps on counters, near sinks, and under cabinets where flies tend to congregate.
If you don't have apple cider vinegar on hand, a wine-based trap works equally well for fruit flies. Any fermented beverage attracts flies, and wine contains both alcohol and fermentation byproducts that are extremely appealing to them. This trap method uses red wine, white wine, or even beer as the attractant.
Free Guide to Home Cannabis Growing Laws and Basics →
To make this trap, pour about two inches of wine into a shallow bowl or cup. Add a few drops of dish soap, stirring gently to mix it in. The soap serves the same purpose as in the vinegar trap—it prevents flies from escaping once they land on the liquid's surface. Unlike the vinegar trap, you don't need to create a hole-punched covering for this version.
Instead, place the bowl in an area where flies congregate. The open design allows flies to land directly on the wine surface. Once they touch down, the dish soap causes them to sink into the liquid. This method is particularly effective because flies can see into the bowl and are attracted to what they perceive as a food source they can access easily.
Wine and beer traps may be less selective than vinegar traps—they can attract other insects like gnats and even mosquitoes in some cases. The advantage is that they work very quickly. Many users report seeing flies trapped within 15 to 30 minutes of setting out the trap. Because the liquid is visible and accessible, flies don't need to navigate through holes or cones to reach it.
The main drawback is that these traps require slightly more monitoring. As the wine sits, it may evaporate, reducing its effectiveness. You may need to add more wine every day or two during active infestations. Also, wine and beer have shorter shelf lives than vinegar once opened, so this method works best if you already have a bottle available.
Practical Takeaway: Combine wine and vinegar traps for maximum coverage. Use vinegar traps in areas where you prepare food and wine traps in less sensitive areas like near trash cans or compost. This dual approach catches flies using different attraction methods and increases overall success rates.
Drain flies are distinctly different from fruit flies and require a different trapping approach. These small, fuzzy flies breed inside sink drains and shower drains where organic buildup provides food and moisture. Unlike fruit flies that live 8 to 10 days, drain flies have a life cycle of just 7 to 10 days, meaning infestations can multiply rapidly if the breeding ground isn't addressed.
Your Free Guide to Making Bracelets at Home →
A drain trap works by covering the drain opening and monitoring for flies trying to emerge. To create one, place clear plastic wrap or tape over the drain, securing it tightly around the edges. Leave it in place overnight. In the morning, small flies will have emerged and become trapped under the plastic, confirming that your drain is the source of the infestation. Once you've identified the problematic drain, you can take action to eliminate the breeding site.
To eliminate drain flies, you must clean the inside of the drain pipes where they breed. Pour boiling water down the drain followed by a cup of baking soda. Then pour a cup of white vinegar down after it. Cover the drain for 15 minutes to contain the chemical reaction inside the pipe. This combination dislodges the organic buildup that drain flies feed on. Repeat this process once daily for three to five days.
For stubborn infestations, a drain brush or plumbing snake can mechanically remove buildup from drain pipes. These tools physically scrape away the slimy organic material lining the pipes. After mechanical cleaning, repeat the baking soda and vinegar treatment. Some people also pour a cup of salt followed by boiling water down the drain, which can help dislodge debris.
Prevention involves maintaining drain cleanliness. Once a week, pour boiling water down drains to prevent buildup. Don't let standing water sit in sinks for extended periods. Clean sink strainers regularly. These maintenance steps prevent drain fly infestations from starting in the first place.
Practical Takeaway: Never assume drain flies are coming from your kitchen sink—they often originate in bathroom shower drains or basement floor drains. Test each drain with plastic wrap to identify the source before starting treatment. This targeted approach is more effective than trying to treat all drains simultaneously.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.