A DIY mosquito trap can meaningfully reduce the number of mosquitoes in your yard using cheap materials you probably already have. The two most effective homemade designs are a CO2 trap made from a plastic bottle and a fan trap that physically catches mosquitoes against a screen. Both work on the same principle: mimicking the signals mosquitoes use to find you, then trapping them before they get the chance.
How Mosquitoes Find You (and How Traps Exploit It)
Mosquitoes locate their targets primarily through carbon dioxide. The CO2 in your breath activates their flight toward you from surprisingly far away. Once closer, they home in on body heat, moisture, and chemicals on your skin like lactic acid. A good DIY trap hijacks at least one of these signals, pulling mosquitoes toward the trap instead of toward you and your family.
Different mosquito species respond to different lures. CO2 alone is a strong general attractant, but adding chemical lures can boost or reduce effectiveness depending on the species in your area. Research from the University of Florida found that combining CO2 with lactic acid created a strong synergistic attraction in Aedes mosquitoes, the genus responsible for spreading dengue and Zika. Interestingly, some common Culex mosquitoes (the ones that carry West Nile virus) were actually repelled by certain chemical blends and responded best to CO2 alone. The takeaway: a simple CO2 trap is a safe bet for most backyards.
The Yeast and Sugar CO2 Trap
This is the simplest design. Yeast consumes sugar and produces carbon dioxide as a byproduct, creating a slow, steady plume of CO2 that mimics human breath. You need four things: a 2-liter plastic bottle, 1 cup of water, ¼ cup of brown sugar, and 1 gram of yeast (roughly a quarter teaspoon).
How to Build It
Cut the top third off the plastic bottle. Heat the water until it’s warm but not hot, since boiling water kills yeast. Stir the brown sugar into the warm water until it dissolves, then let it cool to roughly body temperature. Pour the sugar water into the bottom section of the bottle, sprinkle the yeast on top without stirring, and invert the cut top piece into the bottle like a funnel. The funnel creates a narrow opening that mosquitoes fly into but struggle to escape from. Wrap the outside of the bottle in dark tape or cloth, since mosquitoes are more attracted to dark surfaces.
The yeast will start producing CO2 within an hour or two and continue for about two weeks before the sugar runs out and the mixture goes flat. Replace the solution every two weeks to keep the trap active throughout mosquito season. One trap covers a limited area, so making two or three and spacing them around your yard will improve results.
The Box Fan Trap
A box fan trap works through brute force: a standard household fan creates an air current strong enough that mosquitoes flying nearby get sucked in and pinned against a mesh screen. This design catches more mosquitoes per night than the bottle trap, and it works regardless of species because it doesn’t rely on any particular chemical attractant.
How to Build It
You need a box fan (a basic 20-inch model works well), a piece of fiberglass window screen, and some Velcro strips or magnets to hold the screen in place. Cut the screen to cover the back of the fan, which is the intake side where air gets pulled in. Attach it with Velcro strips along the edges so you can easily remove it to clear out dead mosquitoes.
Turn the fan on its lowest speed facing outward from where you’re sitting. Mosquitoes approaching from the surrounding yard get pulled into the intake and trapped against the screen. Higher speeds work too, but the lowest setting is usually sufficient and quieter. Adding a strip of UV light (in the 395 to 405 nanometer range) to the fan frame can attract more insects after dark, though CO2 remains a stronger draw for mosquitoes specifically than light alone.
To kill the trapped mosquitoes rather than just holding them, some people add a shallow tray of water with a few drops of dish soap behind the screen. The soap breaks the surface tension so mosquitoes that fall into the water can’t escape. If you use standing water as part of your trap setup, drop in a mosquito dunk, a biological larvicide tablet available at hardware stores. This prevents your trap from accidentally becoming a breeding site, which would defeat the entire purpose.
Where to Place Your Trap
Placement matters more than most people expect. A well-built trap in the wrong spot will catch almost nothing. The goal is to intercept mosquitoes before they reach you, so position traps between where mosquitoes rest and where you spend time outdoors.
Place traps 20 to 40 feet away from patios, decks, and seating areas. The outer edges of your yard are ideal: along fence lines, near shrub borders, or in shaded corners. Mosquitoes dry out quickly in direct sun, so they congregate in shady, humid spots near vegetation. A trap tucked under a tree canopy, beside a shed, or along a dense hedge will consistently outperform one sitting in the middle of an open, sunny lawn.
Low wind matters too. Even a light breeze disperses the CO2 plume from a yeast trap and makes it harder for a fan trap to catch mosquitoes. Sheltered spots near buildings, fences, or tall plantings provide the still air that lets your trap’s attractant signal carry furthest. If you have a choice between a shaded, sheltered corner and an open area closer to your patio, choose the sheltered corner every time.
Making Your Trap More Effective
Color plays a role. Mosquitoes are drawn to dark colors, so wrapping your bottle trap in black tape or placing a dark cloth behind your fan trap can improve catch rates. This is also why wearing light-colored clothing reduces bites.
Combining attractants multiplies effectiveness. Research has consistently shown that CO2 paired with lactic acid produces a much stronger attraction response than either signal alone, particularly for Aedes species. You can add a worn sock or a cloth dabbed with sweat near your trap to provide the lactic acid and skin bacteria scent that mosquitoes associate with a human host. It sounds odd, but the combination of CO2 from yeast plus human scent from a dirty sock genuinely outperforms either one solo.
Timing matters as well. Most backyard mosquito species are most active at dawn and dusk. Running your fan trap during these windows, rather than all day, concentrates your effort during peak activity and saves electricity. The yeast trap runs continuously by nature, but placing it out in the late afternoon ensures the CO2 plume is strongest during the evening hours when mosquitoes are hunting.
What DIY Traps Can and Can’t Do
A single homemade trap will not eliminate every mosquito in your yard. Mosquitoes breed continuously and can fly in from neighboring properties, so traps work best as one layer in a broader approach. Eliminating standing water where mosquitoes breed, even small amounts in plant saucers, clogged gutters, and forgotten buckets, removes far more mosquitoes than any trap. Traps reduce the adult population that’s already flying, while removing breeding sites prevents the next generation entirely.
That said, the combination of a fan trap and a few strategically placed bottle traps can make a noticeable difference in a typical suburban yard. People who use fan traps regularly report catching hundreds of mosquitoes per night during peak season. The bottle trap catches fewer individually but works around the clock with zero electricity, making it useful in garden beds, near compost areas, or in parts of the yard without power access.