How to Make a DIY Fly Trap for Outdoors

A homemade outdoor fly trap can be surprisingly effective using materials you already have in your kitchen. The best designs use a container that’s easy for flies to enter but hard to escape, baited with something that mimics the organic smells flies naturally seek out. Different baits work for different fly species, so your choice of attractant matters more than the trap itself.

How Outdoor Fly Traps Work

Flies locate food sources primarily by smell, following odor plumes of fermenting or decaying organic matter. A good DIY trap exploits this by concentrating a strong scent inside a container with a narrow entry point. Once inside, flies struggle to find their way back out. The two most common designs are liquid traps, where flies drown in the bait solution, and funnel traps, where flies enter through a cone-shaped opening and get stuck in an enclosed space.

Adding a single drop of dish soap to any liquid bait is a small step that makes a big difference. Soap breaks the surface tension of the liquid, so flies sink the moment they land on it instead of walking across the surface and potentially escaping.

Bottle Funnel Trap

This is the most popular DIY design and takes about five minutes to build. Cut a 2-liter plastic bottle roughly one-third of the way down from the top. Flip the top piece upside down so it forms a funnel pointing into the bottom portion, then secure the seam with tape. Flies follow the scent through the narrow funnel opening but can’t navigate back out.

For bait, mix 1 cup of sugar with 1 cup of warm water and 1 teaspoon of baker’s yeast. The yeast ferments the sugar and releases carbon dioxide, which is a known fly attractant. This mixture starts working within an hour as fermentation kicks in and will remain active for several days before needing replacement. You can also use a few inches of apple cider vinegar with a drop of dish soap, which works especially well for fruit flies. For house flies and blow flies, stronger-smelling baits tend to outperform sweet ones.

Choosing the Right Bait for Your Flies

Not all flies respond to the same attractants. House flies are drawn to fermenting organic material like garbage, manure, and decaying fruit. A bait made from overripe fruit scraps, sugar water with yeast, or even a small piece of raw meat in water will pull them in effectively. Commercial fly food attractants use similar organic compounds, and they smell terrible for a reason: the fouler the odor, the better it mimics the materials where house flies naturally lay their eggs.

Blow flies, the metallic green or blue flies you see around trash cans, are strongly associated with protein sources like meat scraps and pet waste. Baits designed for house flies don’t work as well on blow flies because the attractant chemistry is different. If blow flies are your main problem, a small piece of raw fish or chicken skin in water makes a more targeted bait. These protein-based baits will smell significantly worse than sugar baits, which is an important factor when deciding where to place your trap.

Little house flies (the smaller ones that hover in lazy circles under porches and eaves) are a different genus entirely and aren’t attracted to the same baits or trap designs that catch regular house flies. For these, sticky traps or fan-based traps tend to be more effective than scent-based approaches.

Where to Place Your Trap

Placement is the single biggest factor in whether your DIY trap actually reduces flies where you’re trying to enjoy your yard. The goal is to intercept flies before they reach your patio, deck, or doorway. Place traps at least 20 feet from your outdoor living spaces. This distance matters for two reasons: the bait odor is genuinely unpleasant to humans, and you want flies drawn away from where you’re sitting, not toward it.

Hang or set traps near the fly sources themselves when possible. That means close to garbage cans, compost bins, pet areas, or anywhere organic waste accumulates. Sunny spots accelerate fermentation and increase odor output, which boosts attractiveness but also speeds up how quickly the bait breaks down. A partially shaded spot offers a good balance. If you have multiple problem areas, use several smaller traps rather than one large one to cover more ground.

Keeping Bees and Beneficial Insects Out

One legitimate concern with outdoor fly traps is accidentally catching pollinators. A few design choices reduce this risk significantly. First, avoid using sweet, floral-scented baits in open containers. Sugar water on its own can attract bees, but once yeast fermentation is underway and the mixture smells sour or rotten, it becomes far less appealing to pollinators. Protein-based baits like meat or fish scraps hold almost no interest for bees.

Second, place traps away from flowering plants and garden beds. The further your trap sits from natural vegetation, the fewer non-target insects you’ll catch. A funnel-style trap with a narrow opening also helps, since bees are less likely to enter a confined space to reach a scent source than flies are.

Maintenance and Replacement

Yeast-based baits lose their effectiveness after about 3 to 5 days as fermentation slows and the sugar is consumed. Protein baits last a bit longer in terms of odor output but become increasingly foul. Plan to swap out your bait at least once a week, or sooner if you notice the trap has stopped catching flies or the liquid has evaporated significantly in hot weather.

When emptying a trap, seal the contents in a plastic bag before tossing it in an outdoor garbage bin. Dead flies and rotting bait can themselves attract more flies if left exposed. Rinse the trap container with soapy water before rebaiting to remove residue that might repel flies (some decomposition byproducts actually deter new visitors). If you’re using a disposable bottle trap, it’s often easier to just build a new one from another bottle than to clean and reuse the old one.

Getting Better Results

A single trap won’t eliminate every fly in your yard, but a few strategic adjustments can dramatically improve your catch rate. Using two or three traps with different baits covers more species. One sugar-yeast trap and one protein-based trap together will attract a broader range of flies than either alone.

Color also plays a role. Flies are visually attracted to dark surfaces, so painting the lower half of your bottle trap black or wrapping it in dark tape can increase landings. Hanging traps at roughly 3 to 5 feet off the ground puts them at the flight zone where most nuisance flies cruise. Ground-level traps catch fewer flies because most species prefer to hover and land at mid-height.

The most effective DIY approach pairs traps with source reduction. Remove or cover whatever is breeding flies in the first place: uncovered trash, fallen fruit, pet waste, grass clippings left in piles. Traps alone are treating symptoms. Removing breeding material and trapping simultaneously is what actually brings fly populations down to a level where your outdoor space feels comfortable again.