A single house fly lays 500 eggs in her three-week life, and the math compounds in a single backyard fast. Figuring out what keeps flies away outdoors means thinking like an exterminator rather than a homeowner — kill the breeding source first, deter what is left, and accept that no single tactic owns the problem. The EPA’s integrated pest management approach to nuisance flies sequences four control layers, and a backyard that runs all four sees roughly 80% fewer flies than one that runs just sprays or just traps.
Identify the Fly Species First
Different flies, different fixes. The four common outdoor species:
- House fly (Musca domestica): 1/4 inch, gray, breeds in manure and rotting organic matter.
- Blow fly (green or blue metallic): Breeds in dead animals and dog waste. Active around trash cans.
- Fruit fly (Drosophila): 1/8 inch, tan. Breeds in fermenting fruit and compost.
- Stable fly: Looks like a house fly but bites — confused with mosquitoes by people who have not been bitten before.
If you see metallic green flies on the patio, the source is animal waste or a dead rodent within 100 feet. If you see swarms of small flies around the kitchen door, the trash can or compost bin is fermenting.
Kill the Source — Always Step One
Sprays and traps fail when the breeding source sits 20 feet from the patio. Walk the yard and check seven likely culprits:
- Trash cans — replace damaged lids, rinse weekly with diluted Pine-Sol.
- Compost bins — turn weekly, cover food scraps with leaves or grass clippings.
- Dog waste — pick up daily, not weekly.
- Pet food bowls left outside — empty after each meal.
- Bird baths and standing water — refresh every three days.
- Fallen fruit from yard trees — rake under apple, pear, and citrus trees twice a week in season.
- Grill drip pans — clean after each use.
Eliminate two of the seven and the fly population drops noticeably within ten days.
Fans: The Cheapest Effective Patio Tool
House flies cannot fly in sustained wind over 4 mph. A 20-inch box fan from Walmart ($25) set on medium speed pointed across a patio table clears the area within minutes and keeps it clear as long as the fan runs. This is the single highest-leverage tactic for outdoor dining, period.
Standing oscillating fans cover bigger areas. The Lasko 18-inch Pedestal Fan ($55) covers a 12-by-12 patio. For covered patios with a ceiling, the Big Ass Fan Haiku or any 52-inch outdoor-rated ceiling fan on medium speed clears a 200-square-foot area cleanly.
Plants That Actually Repel Flies
The plant-repellent claims online range from useful to nonsense. Three plants have peer-reviewed evidence for fly deterrence:
Basil contains methyl eugenol and linalool, both fly repellents. A 12-inch pot of sweet basil on each end of a patio table cuts fly landings by roughly 40% in field studies. Replace pots in fall.
Lavender works through linalool too. Plant 3-gallon lavender shrubs along the edge of patios and entry doors. Bonus: it deters mosquitoes.
Citronella geranium (Pelargonium citrosum) is marketed heavily and works moderately well — better than nothing, worse than basil.
Marigold, mint, and rosemary do not have strong research support for fly repellence, despite the Pinterest claims. They are nice plants for other reasons.
Traps That Actually Work
Two trap categories dominate the market.
Disposable bag traps — Rescue Fly Trap is the most common, $6 at Lowe’s. Smells terrible (that is the point), captures hundreds of flies per bag, hangs 25 to 50 feet downwind from your patio. Never hang one near the patio itself; the smell attracts more flies than the trap catches.
UV light traps — Flowtron BK-15D ($60) and Mosquito Magnet style units. Best for covered patios and outdoor restaurants. Run them at dusk through 11 p.m. when fly activity peaks.
DIY apple cider vinegar traps are useful for fruit flies only. Half cup of ACV plus a drop of Dawn dish soap in a mason jar, plastic wrap with pinholes on top. Useless against house flies.
Sprays and Yard Treatments
Cyfluthrin and bifenthrin-based yard sprays (Cutter Backyard Bug Control, $15) treat 5,000 sq ft and last about four weeks. Spray foundation perimeters, fence lines, and shaded grass — fly resting spots between feeding flights.
EPA registration matters. Look for the EPA Reg. No. on the label. Skip “natural” sprays that lack EPA approval; many sell on essential oil scents that flies acclimate to within hours. A licensed pest control treatment from Terminix or Orkin runs $70 to $120 per quarterly visit and combines residual sprays with fly bait stations.
Bait Stations and Granular Treatments
For acreage with persistent problems — barns, kennels, rural properties — granular fly baits like Golden Malrin Fly Bait ($28 for 5 lb) and QuikStrike Fly Abatement Strips ($18) kill thousands of flies cheaply. Place bait stations 25 feet from human-use areas. Keep pets and kids away from bait granules; methomyl is acutely toxic to dogs.
For light residential use, skip the granular baits in favor of fans and source control. The risk-reward only makes sense at farm scale.
What Does Not Work
Three popular tactics that fail under testing:
- Plastic bags of water with pennies: A persistent backyard myth. Studies show no measurable fly reduction.
- Ultrasonic devices: No species of fly responds meaningfully to ultrasound.
- Bug zappers as fly killers: Zappers kill mostly beneficial moths and lacewings. Flies fly past them.
A Layered 30-Day Plan
For a typical suburban backyard, the working protocol is straightforward.
- Week 1: Eliminate breeding sources — trash, compost, dog waste, fallen fruit.
- Week 1: Hang two Rescue bag traps 30 feet downwind from the patio.
- Week 2: Plant basil pots on the patio, lavender at the patio edge.
- Week 2: Run a 20-inch box fan during all outdoor meals.
- Week 3: Spray a perimeter Cutter treatment around foundation and fence.
- Week 4: Reassess and remove tactics that did not move the needle.
Knowing what keeps flies away outdoors is half science and half discipline. The flies will not stay gone unless source control and deterrents both run continuously. Run both, and outdoor dinners look like outdoor dinners again.