Flies in the house are not just annoying. They can carry bacteria on their bodies and spread them to food and surfaces. The most effective DIY traps use a simple principle: bait that smells like something flies want, paired with a way to prevent escape. A jar with vinegar and a few drops of dish soap works because the soap breaks the surface tension of the liquid, causing flies that land on it to sink and drown. A plastic bottle cut in half and inverted creates a funnel they can enter but struggle to exit. These traps cost almost nothing and use items you already have.
How To Trap Flies In The House DIY Traps That Work
The best DIY fly traps share three features: a strong attractant, a one-way entry point, and a way to contain the insect. Without all three, you are just leaving out a bowl of smelly liquid.
House flies are attracted to fermenting sugars, rotting organic matter, and certain acids. Apple cider vinegar mimics the smell of fermenting fruit. Add a few drops of liquid dish soap and the surface tension of the liquid drops sharply. Flies that land on the surface break through and drown. This is not a trap in the mechanical sense — it is a lethal landing pad. It works because the soap disrupts the thin film that would normally let a lightweight insect rest on the surface.
A bottle trap uses the same bait but adds a physical funnel. Cut the top third off a plastic bottle, flip it upside down, and place it into the bottom section. Tape the seam if needed. The inverted neck creates a cone that flies can fly into but have difficulty finding their way back out. Bait goes in the bottom. This design works better for larger flies and for catching several at once.
Both designs rely on the same biological reality: flies follow scent. They do not assess risk. A trap that smells stronger than your kitchen garbage will draw them in. That is also its weakness — a trap placed too close to a door or window may pull flies inside rather than catching the ones already there.
What bait works best
Apple cider vinegar is the most commonly recommended bait and has decent results with fruit flies and some house flies. For house flies specifically, a piece of overripe fruit or a spoonful of sugar dissolved in warm water can be more attractive. Some people add a small piece of raw meat or fish to the bottle trap for house flies, but this creates a strong odor and should be placed away from living areas. Honey or syrup smeared inside a jar can also work as a sticky bait, though it is messier to clean.
Yeast and warm water produce carbon dioxide, which some flies find attractive. This is more effective for fruit flies than for house flies. There is no single bait that outperforms all others in every situation. Trial and error in your specific home is reasonable.
Why Do Flies Keep Coming Back After I Trap Them?
Trapping adult flies does not address the source. If flies keep appearing, there is likely a breeding site nearby — either inside or just outside your home.
House flies lay eggs in moist, decaying organic matter. Common indoor sources include overripe fruit, dirty garbage cans, compost bins, and drains with organic buildup. Outdoors, they breed in animal waste, rotting vegetation, and standing water with organic material. A single female can lay hundreds of eggs in her lifetime, and the life cycle from egg to adult can be as short as a week under warm conditions. That means a small breeding site can produce a steady supply of new flies even if you are catching adults daily.
The fix is not more traps. It is finding and removing the breeding material. Check under appliances, inside trash bins, in recycling containers that held food or drink, and in any area where moisture and organic matter accumulate. A forgotten potato in a dark corner or a juice spill behind the fridge can support a generation of flies.
Drains are a frequently overlooked source. Fruit flies in particular breed in the thin organic film inside sink drains and garbage disposals. Scrubbing the drain with a brush and using a drain cleaner appropriate for your pipes can help. Some people pour boiling water down the drain, though this may not reach all areas where the film accumulates and can damage certain pipe materials.
Does Apple Cider Vinegar Really Attract Flies?
Yes, apple cider vinegar attracts fruit flies reliably and house flies to a lesser degree. The acetic acid and trace fermentation products mimic the smell of decaying fruit, which is a natural food source and egg-laying site for many fly species.
Plain white vinegar is less effective because it lacks the residual sugars and fermentation compounds that come from apple cider. Some people add a piece of fruit or a drop of honey to white vinegar to improve results. The addition of dish soap is what makes the trap lethal rather than just a feeding station. Without soap, flies can land on the liquid, feed, and fly away.
One common mistake is using too much soap. A few drops are enough. Excessive soap creates a thick layer that may deter flies from landing at all. Another mistake is filling the container too high. Leave an inch or two of space below the rim so flies have a clear landing zone.
How To Make A Bottle Trap That Actually Catches Flies
The bottle trap is the most effective DIY design for house flies because it combines scent attraction with a physical barrier to escape.
Start with a clean plastic bottle — a 2-liter soda bottle or a 1-liter water bottle both work. Cut the top third off with scissors. Remove the cap. Flip the cut section upside down and insert it into the bottom section so the neck points downward. The two pieces should fit snugly; if not, tape them together with clear tape.
Pour bait into the bottom of the bottle. Apple cider vinegar with a few drops of dish soap is a good starting point. For house flies, add a small piece of overripe fruit or a pinch of sugar. Place the trap near where you see flies, but not directly next to a door or window that opens to the outside. You want to attract flies already inside, not invite more in.
Empty and refresh the trap every few days. A trap full of dead flies loses its effectiveness and starts to smell. Rinse it out and add fresh bait. In warm weather, check it daily.
Placement matters more than bait
A trap in the wrong spot catches almost nothing. Flies tend to gather near food sources, garbage, and warm areas. Place traps near kitchen trash cans, compost bins, or fruit bowls. If you have a specific room with a fly problem, put the trap there rather than in a central hallway.
Avoid placing traps in direct sunlight or near air vents. Heat and airflow can dry out the bait and reduce its attractiveness. Also avoid placing traps where pets or small children can reach them. The bait itself is not highly toxic, but a container of drowning flies is unsanitary and a choking hazard for pets.
What About Sticky Traps And Light Traps?
Sticky fly paper and adhesive traps work by catching flies that land on them. They are effective for monitoring and for catching flies in specific areas, but they do not attract flies from a distance the way a bait trap does. They are best used as a supplement, not a primary solution.
Ultraviolet light traps are sold for indoor use and can catch flies, but their effectiveness varies by species and placement. They work better in dark rooms and should not be placed near windows where competing light reduces their attractiveness. Some studies suggest that light traps catch more flies when used in enclosed spaces with limited natural light. For house flies, bait traps generally outperform light traps in home settings.
Commercial fly traps are also available. Many use the same principles as DIY versions — scent bait and a containment mechanism. There is no strong evidence that commercial traps are dramatically more effective than a well-made DIY trap for typical household fly problems. The main advantage of commercial products is convenience and consistent design.
When DIY Traps Are Not Enough
If flies persist despite traps and cleaning, the problem may be larger than a few adults. A heavy, ongoing infestation suggests a breeding source you have not found or cannot access — such as a dead animal in a wall void, a broken sewer line, or a large outdoor breeding site near your home.
In these cases, a pest control professional can identify the source. This is not overkill. Some fly species, such as drain flies and phorid flies, breed in areas that are difficult to find without experience. Cluster flies and blow flies may indicate a dead rodent or other animal in a wall or attic. These situations require more than traps.
Also consider whether the flies are actually house flies. Fruit flies, drain flies, and fungus gnats look similar to a casual observer but have different breeding habits and require different approaches. Fruit flies breed in overripe produce and fermenting liquids. Drain flies breed in the organic sludge inside drains. Fungus gnats breed in overwatered plant soil. Identifying the fly correctly is the first step to solving the problem.
For any fly problem, the most effective long-term solution is removing breeding sites and preventing entry. Traps manage the adults you already have. They do not stop new ones from emerging.
Frequently Asked Questions
What is the best homemade fly trap?
A plastic bottle trap with apple cider vinegar and a few drops of dish soap is the most reliable DIY option for house flies. The inverted bottle neck creates a funnel that flies can enter but struggle to exit.
Does dish soap really make fly traps work?
Yes, dish soap breaks the surface tension of the liquid, causing flies that land on it to sink and drown. Without soap, flies can rest on the surface and fly away.
Why do I still have flies after setting traps?
Traps only catch adult flies. If flies keep appearing, there is likely a breeding site — such as overripe fruit, a dirty drain, or garbage — that needs to be found and removed.
Are DIY fly traps safe around pets and children?
The bait ingredients are generally low in toxicity, but the container itself poses a risk. Place traps out of reach to prevent pets or children from accessing drowning flies or spilled liquid.

