How to Get Rid of Flies Outside and Keep Them From Coming Back

Controlling outdoor fly populations can enhance the enjoyment of your yard and minimize the number that invade your home. 1 Flies thrive in places with food and organic waste like garbage cans, compost, and pet droppings. Eliminating their breeding grounds by removing food and moisture sources is the most effective way to reduce flies. Additionally, using traps or repellents can help temporarily decrease their numbers.

Signs of Outdoor Fly Infestations
A couple of flies is likely not an infestation, but it can turn into one quickly. Look for other signs that might point to flies outside your home:
- Clusters of small, pinhead-sized spots (flyspecks): These spots may be a sign of fly excrement, usually found near the food source or nesting spot.
- Swarms or higher numbers of flies: Swarms will occur near a significant food source or potential nest.
- Maggots: Female flies lay their eggs in garbage cans , rotting food, and manure. Favorite spots include food on outdoor tables, trash bins, compost piles, and pet waste.
- Other pests: Yellow jackets and wasps also feed on flies so be on the lookout for these pests hanging around your home.
What Causes Flies Outdoors?
Flies are most common from spring to fall. Flies appear in outdoor locations wherever there are food sources and moisture. Dark areas also encourage breeding, while warm areas like open doors or vents attract flies preparing for hibernation. Here are the most common sources of fly infestations outside:
- Food sources: Scraps left outdoors, plant fertilizer with compost, decomposing organic matter
- Moisture: Bird baths, pooling water
- Breeding areas: Trash cans, pet waste, compost piles
Want more cleaning and organizing tips? Sign up for our free daily newsletter for the latest hacks, expert advice, and more!
How to Get Rid of Flies Outdoors
Eliminate Food Sources and Breeding Areas (Most Effective)
Clean up or eliminate any sites that can attract flies for feeding or breeding:
- Clean trash bins regularly.
- Use sealed food containers.
- Pick up pet waste regularly, keep outdoor pens clean, and clean spilled food or water.
- Remove any dead or decaying plants.
- Eliminate pooling areas, stagnant water, and other excessive moisture around the yard.
- Keep compost piles far from the house to keep flies to a minimum. 2
Use Fly Traps
- Use commercial inverted cone fly traps with food attractants. The attractants can be very foul-smelling, so place traps away from your home.
- Hang ultraviolet light traps in alleyways, beneath trees, or around compost piles to attract and kill flies. 1
Try Fly Paper
Place fly paper on the inside of garbage can lids, near outdoor tables, on tree branches, or along railings to attract and eliminate flies. Replace fly paper regularly to remove insect waste and keep the scent strong.
Use Natural Repellents
- Add fly-repelling plants to your outdoor space, like lemongrass, basil, mint, or lavender.
- Make DIY fly-repellent strips by soaking strips of cloth with scented oils, such as clove, lavender, lemongrass, citronella, eucalyptus, rosemary, or mint.
Light Candles
Surround your patio or porch with citronella candles , which include essential oils like lemongrass, to repel both flies and mosquitoes. The candle’s smoke will also repel most flying insects. Light several candles to repel flies effectively. 1
Encourage Natural Predators
Many birds and most bats feed heavily on flying insects, such as houseflies. Birds also eat maggots and fly larvae.
- Place a few bird and bat houses and a birdbath around your property to encourage fly-eating birds and bats.
- Welcome frogs and other small amphibians into your garden, which also consume adult flies and their larvae. 2
Seal Cracks and Crevices
- Seal cracks around windows and doors where flies may enter your house, shed, garage, or other buildings. 2
- Use small-mesh screens that are well-fitted and maintained on all doors and windows.
Use Fans
Set up an oscillating fan near your grill or picnic table. Flies don’t maneuver well in strong breezes, so this method keeps them at bay. An outdoor ceiling fan is also a great option overhead.
Make DIY Apply Cider Vinegar Fly Traps
Set out a bowl of apple cider vinegar with a few drops of dish soap to attract flies. The acetic acid in vinegar creates the same fermentation smell as decomposing fruits. The vinegar lures the flies, and the dish soap causes them to sink. Use these ingredients in an inverted cone trap or an empty soda bottle trap .
Common Types of Flies Outdoors
- Common house flies are dull gray insects about 1/4-inch long, with four dark stripes in the middle section of their bodies.
- Cluster flies are larger than a housefly (almost 1/2-inch long) with silvery-black checkered bodies and golden hairs on their lower bodies.
- Fruit flies ( Drosophila melanogaster ) are tiny (1/8-inch long) with yellowish-tan bodies, transparent gray wings, and dark gray rings around their abdomen.
How to Prevent Flies Outdoors
The best way to prevent flies outside your home is to remove the food and moisture sources they need for reproduction. Use additional methods like traps, natural predators, and repellents to keep populations under control. Ensure all exterior trash is stored in clean, sealed receptacles, and consider changing outdoor white lights to insect-resistant yellow bulbs.
Using Pesticides
Flies are also resistant to many pesticides and insecticides, so chemical control is not recommended. Chemical pesticides will also kill beneficial insects like pollinator bees, so use this as a last resort. In addition, wind and air patterns make these sprays challenging to control in outdoor locations. 2
As a temporary measure, consider a fogger insecticide to repel flies and stinging insects if applied an hour or so before a picnic or outdoor gathering.
When to Call a Professional
Flies can spread diseases like cholera, salmonella, and typhoid fever, so don’t delay in removing the problem. 3 If home techniques aren’t effective, a pest management professional can find the source of the infestation and remove the flies in your space using commercial-use-only residual pesticides on areas where flies rest, such as the outside surfaces of homes or overhangs.
Frequently Asked Questions
How long do flies live?
Standard houseflies typically live between 15 and 25 days.
What’s the fastest way to get rid of flies outdoors?
A combination of methods, such as using fly traps , a fogger, and removing standing water and food scraps in your yard, can quickly get rid of flies outdoors.
What scents do flies dislike?
Flies have an intense sense of smell and steer clear of certain fragrances like lavender, lemongrass, cinnamon, eucalyptus, citronella, mint, clove, and rosemary.
Source: https://www.thespruce.com/getting-rid-of-flies-outdoor-2656268