House Fly Trap Types, DIY Options, and Tips

House fly traps work by exploiting the insects’ attraction to ultraviolet light, food odors, or chemical lures to draw them in and kill or contain them. The right trap depends on where you’re using it, how many flies you’re dealing with, and whether noise or hygiene matters in that space. Here’s what actually works and how to get the most out of each option.

How UV Light Traps Work

House flies are strongly attracted to ultraviolet light in the 360 to 370 nanometer range, which is invisible to the human eye but irresistible to flying insects. UV light traps take advantage of this by using fluorescent bulbs that emit in that wavelength range, drawing flies toward the unit from across a room. These traps have been used to manage house flies indoors for decades, both in homes and agricultural settings.

Once a fly reaches the light, the trap either kills it on an electrified grid or catches it on a sticky glueboard. Bulbs labeled “black light” (BL) attract significantly more flies than “black light blue” bulbs, so if you’re buying replacement tubes or comparing units, look for standard black light bulbs rather than the blue-tinted versions. One important detail: UV output drops substantially after 8,000 to 12,000 hours of use, reducing a trap’s pulling power by up to 80%. Even if the bulbs still glow, replace them annually to keep the trap effective.

Electric Zappers vs. Sticky Glueboards

Both types of UV traps catch a similar volume of flies, so the choice comes down to where you’re placing the trap and what trade-offs you’re willing to accept.

Electric zappers use a high-voltage grid (typically 2,000 to 4,000 volts at low amperage) to kill flies instantly on contact. The remains drop into a collection tray you empty periodically. The downside is fragmentation: when a fly hits the grid, body parts, bacteria, and pathogens can scatter up to two meters from the unit. That makes zappers a poor choice near food preparation areas or anywhere hygiene is a priority. They also produce an audible zap each time they make a kill, which some people find satisfying and others find annoying.

Sticky glueboard traps capture flies intact on an adhesive surface coated with a UV-reflective layer. There’s no zapping sound, no fragmentation, and no risk of scattering bacteria. Flies die over minutes to hours after getting stuck. The trade-off is maintenance: you need to replace the glueboard every four to six weeks during fly season, or sooner if it’s covered. The adhesive and reflective coating lose effectiveness over time even if the board isn’t full. Both trap styles run on 10 to 20 watts of electricity, so operating costs are minimal either way.

Baited Traps and Chemical Lures

Not all fly traps rely on light. Baited traps use food odors or synthetic pheromones to attract house flies, and they work well outdoors or in areas where plugging in an electric unit isn’t practical. Commercial baited traps often combine a food attractant with a synthetic version of the female house fly sex pheromone called (Z)-9-tricosene, which draws in both males and females and significantly boosts total catch numbers compared to food bait alone.

The most effective food-based lures use a mix of protein, starch, and sugar combined with a fermenting agent like yeast. Protein-based baits with a fermenting component attract slightly more flies than sugar-only baits, and they’re particularly effective at drawing in female flies, which are the ones laying eggs and driving population growth. Many commercial outdoor traps come pre-loaded with these attractant blends, and you simply add water to activate them.

One thing to keep in mind with baited traps: they can smell unpleasant, especially in warm weather. That’s by design, since the odors that attract flies are the same ones humans find off-putting. Place these traps at least 10 to 15 feet from seating areas, doorways, or windows to avoid drawing flies closer to your living space rather than away from it.

DIY Traps You Can Build at Home

If you need a quick solution with household supplies, a simple liquid trap works surprisingly well. Pour about a quarter cup of apple cider vinegar into a jar and add a few drops of liquid dish soap. The vinegar’s fermentation scent attracts flies, and the soap breaks the surface tension of the liquid so flies sink and drown instead of landing on top and flying away.

To make this more effective, roll a piece of paper into a cone shape and insert it into the jar opening, narrow end pointing down. Flies follow the scent through the wide opening but struggle to find their way back out through the small hole at the bottom of the cone. This funnel design is the same principle behind commercial bottle traps. You can also cut a plastic bottle in half, invert the top portion into the bottom half, and fill the base with your bait liquid for the same effect.

These DIY traps work best for small infestations or as a supplement to other control methods. They won’t match the pulling range of a UV light trap, but they cost almost nothing and can be set up in minutes. Replace the liquid every few days, since the attractant loses potency as it evaporates or becomes saturated with dead insects.

Placement and Maintenance Tips

Where you put a trap matters as much as which type you choose. UV light traps work best mounted at fly height (about four to six feet off the ground) and positioned so the light isn’t competing with windows or other bright light sources. Flies navigating indoors tend to follow walls, so placing traps along wall lines rather than in the center of a room increases catch rates. Avoid positioning UV traps directly above food surfaces, especially zappers, because of the fragmentation risk.

For outdoor baited traps, place them in sunny spots where warmth will intensify the attractant scent, but downwind from the areas you want to protect. The goal is to intercept flies before they reach your patio, door, or barn entrance.

Cleaning and disposal are worth taking seriously. House flies are mechanical carriers of bacteria and other pathogens, picking up microorganisms from the waste and decaying matter they feed on and depositing them wherever they land. A trap full of dead flies is essentially a concentrated collection of those same pathogens. Wear gloves when handling full glueboards or emptying catch trays, and dispose of them in sealed bags. Wipe down the trap housing with a damp cloth to remove any residue.

Traps Work Best With Prevention

No trap will solve a fly problem if you’re not also eliminating what’s attracting them in the first place. House flies breed in decaying organic matter: garbage, compost, pet waste, spilled food, and drain buildup. A single female can lay several hundred eggs in her lifetime, and larvae can develop into adults in as little as a week in warm conditions.

Keep trash cans sealed tightly and empty them frequently, especially in summer. Clean up pet waste daily. Fix or replace torn window screens. Make sure exterior doors close fully and aren’t left propped open. These steps reduce the breeding population and the number of flies entering your space, which means your traps can handle what’s left rather than fighting an endless wave of new arrivals. Used together, traps and basic sanitation can bring a fly problem under control within a few days rather than weeks.