The fastest way to reduce outdoor flies naturally is to eliminate what attracts them in the first place: exposed food waste, animal droppings, and standing moisture. Flies can complete their entire life cycle in as little as seven days under warm conditions, so a single neglected trash can or compost pile can produce thousands of new flies in a matter of weeks. Combining good sanitation with natural repellents and traps gives you the best results.
Remove Breeding Sites First
A female house fly lays between 350 and 900 eggs over her lifetime, depositing them in clusters of 75 to 150 at a time. She targets moist organic material: fresh animal manure (less than a day old), rotting food scraps, wet hay or straw, and waste grain. The eggs hatch in as few as 8 hours, and larvae can mature through all three growth stages in 3 to 7 days. That speed means prevention always beats reaction.
Start with the basics around your yard:
- Trash cans: Use tight-fitting lids and rinse bins regularly. Even a thin film of food residue at the bottom of a garbage can is enough to attract egg-laying females.
- Pet waste: Pick up dog droppings daily. Fresh manure is the single most attractive breeding material for house flies.
- Compost piles: Bury kitchen scraps well into the center of the pile and cover them with 2 to 4 inches of dry, carbon-rich material like leaves, dry grass, or shredded paper. If you notice larvae building up, turn the compost and mix in dry material. Letting the pile heat above 113°F kills fly larvae.
- Standing water and damp spots: Fix leaky hoses, empty plant saucers, and clear clogged gutters. Flies need moisture to breed successfully.
- Straw bedding: If you keep chickens or other animals, avoid straw as bedding. It’s a preferred breeding material for house flies. Wood shavings are a better option.
Plants That Repel Flies
Certain plants release oils and fragrances that flies find unpleasant enough to avoid. Placing them near outdoor seating areas, doorways, and kitchen windows creates a natural buffer zone. The effect is stronger when leaves are disturbed or crushed, which releases more of the volatile compounds.
Basil is the most widely used fly-repelling plant. Its natural oils produce an earthy, pungent aroma that deters house flies and several other outdoor pests. Keep a few pots on your patio table or near your grill. Crushing a few leaves before you sit down intensifies the scent.
Mint works the same way and is easy to grow, but plant it in containers rather than directly in the ground since it spreads aggressively. Lavender, catnip, and bay laurel are also effective. Bay laurel grows as a dense shrub that can physically block fly access to an area while also releasing repellent compounds. Catnip produces strong-smelling oils that flies avoid, though it will attract neighborhood cats, so keep that in mind if you have garden beds nearby.
DIY Essential Oil Spray
If you want broader coverage than potted plants can provide, an essential oil spray lets you treat tablecloths, chair cushions, porch railings, and other surfaces before outdoor gatherings. Thyme oil has been found to be particularly effective as a natural insecticide against house flies. Lavender, lemon eucalyptus, and tea tree oil also work well.
A simple recipe: combine 15 drops of lavender oil, 10 drops of lemon eucalyptus oil, 10 drops of tea tree oil, and about 6 drops each of lime and bergamot oil. Mix with 2 ounces of distilled water and 2 ounces of white vinegar or apple cider vinegar in a spray bottle. Shake well before each use and spray around your outdoor eating area. The scent fades over a few hours, so plan to reapply before and during longer gatherings.
Homemade Vinegar Traps
Apple cider vinegar traps are especially effective against fruit flies and smaller species that cluster around outdoor fruit bowls, compost bins, and drink stations. Fill a jar about a quarter full with apple cider vinegar and add a few drops of liquid dish soap. Punch small holes in the lid with a nail so flies can enter but struggle to escape. The vinegar’s sweet smell draws them in, and the soap breaks the surface tension of the liquid so their wings get weighed down and they can’t fly back out.
Place traps near the areas where flies congregate most: next to trash cans, compost bins, fruit trees, or wherever you set out food. You can set out several traps across a patio or yard. Replace the vinegar every few days, or sooner if you notice it getting full of dead insects. These traps work best as a complement to sanitation, not a replacement for it.
UV Light Traps for Covered Spaces
For covered patios, porches, and screened-in areas, UV light traps offer a passive, chemical-free option. Flies are strongly attracted to ultraviolet wavelengths between 365 and 395 nanometers, which is the range most commercial UV traps are designed to emit. Weather-resistant models designed for outdoor use can cover spaces up to about 500 square feet.
Position a UV trap 4 to 6 feet above ground level and away from competing light sources like porch lights or string lights, which dilute the trap’s pull. These traps work around the clock but are most effective from dusk onward, when UV light stands out more against the ambient environment. Indoor models aren’t built for moisture exposure, so check that any unit you use outdoors is rated for it.
Parasitoid Wasps for Larger Properties
If you have livestock, a hobby farm, or a large rural property where flies are a persistent problem, parasitoid wasps offer a biological control option that targets flies before they ever become adults. These tiny wasps (most are smaller than a grain of rice) lay their eggs inside fly pupae. The wasp larvae feed on the developing fly from the inside, killing it before it can emerge. The wasps don’t sting humans, don’t bite, and are barely noticeable in the yard.
Commercially available species target house flies and stable flies specifically. The standard approach involves periodic releases throughout fly season, with the number of wasps scaled to the number of animals on the property. This method won’t eliminate every fly, but it reduces populations over time by breaking the breeding cycle at its most vulnerable point. You can order parasitoid wasps from biological pest control suppliers online, and most ship them as ready-to-release pupae.
Combining Methods for Best Results
No single approach eliminates outdoor flies entirely. The most effective strategy layers prevention with active deterrents. Start by removing every breeding site you can find: clean up waste, manage compost properly, and eliminate standing moisture. Then add repellent plants and essential oil sprays to the areas where you spend the most time outdoors. Use vinegar traps or UV traps to catch the flies that still show up. On larger properties, parasitoid wasps handle the flies you’ll never see, the ones developing in manure piles or hard-to-reach organic debris.
Timing matters too. Fly populations build exponentially through warm months because of that rapid life cycle. Taking action early in spring, before the first generation matures, gives you a significant head start over waiting until midsummer when populations have already exploded.