Getting rid of flies in your garage starts with removing what attracted them in the first place. Flies don’t wander in randomly. They follow odors from trash, pet waste, decaying organic matter, or moisture, and a garage with an open door is an easy target. The fix involves cleaning up breeding sites, trapping the flies already inside, and sealing or guarding entry points so they stop coming back.
Figure Out Which Flies You Have
The type of fly tells you where to look for the source. House flies are the most common garage invader, drawn to garbage cans, pet waste, and anything rotting. They’re gray with four dark stripes on the back. Fruit flies are tiny, tan or brown, and cluster around fermenting fruit, recycling bins with old cans or bottles, or damp mops and rags left in a corner. Blow flies are metallic green or blue and almost always signal a dead animal (a mouse in a wall void or a bird that got trapped) or rotting meat in the trash.
Cluster flies look similar to house flies but are slightly larger with golden-yellow hairs that give them a subtle sheen. They behave differently from other species. In late summer, they stop reproducing and start looking for sheltered spots to spend the winter. Garages, wall voids, and attics are prime real estate. They aggregate in loose clusters (hence the name) and stay dormant until spring. If you’re seeing sluggish flies on warm winter days near your garage windows, cluster flies are the likely culprit.
Remove What’s Attracting Them
Flies need moisture and organic material to breed. A female house fly seeks out a moist place with the right smell to lay eggs, and the options in a typical garage are plentiful: garbage cans with food waste, bags of pet food, grass clippings left in a pile, cat litter, or even soil soaked with water from hosing out a trash bin. Soured milk in a recycling bin is an especially powerful attractant.
Start by taking inventory. Pull out your trash cans and look underneath them. Check corners where moisture collects. Look for forgotten bags of organic waste, old pet food, or damp rags. If you store recyclables in the garage, rinse cans and bottles before tossing them in the bin. Phorid flies (tiny, hump-backed flies that run across surfaces rather than flying) breed in diverse organic matter, so finding their source sometimes takes real detective work. Check floor drains, cracks in the slab where moisture seeps through, and any spot where organic gunk could accumulate out of sight.
One detail most people miss: fly specks. When flies rest on walls, rafters, and ceiling beams, they leave behind brown to cream-colored specks that have a strong fly-attracting odor. These spots keep drawing new flies even after you’ve cleaned up the original source. Wash them off with a mild borax and water solution or any odor-eliminating cleaner.
Deep-Clean Your Trash Cans
If you’ve found maggots in or around your garbage cans, empty the can completely first. Then choose your weapon. Boiling water kills maggots on contact. Pour it directly over any visible larvae, making sure to hit each one. Once it cools, bag the dead maggots in a sealed plastic bag and disinfect the can.
A vinegar rinse works well for cans that are infested but not crawling. Mix one part white vinegar with three parts hot water (at least 140°F), pour it into the trash can, close the lid, and let it sit for 30 minutes. The heat kills the larvae while the vinegar deodorizes the can, making it less attractive to future flies. Rinse, then spray down the can again with the same vinegar solution.
For a dry approach, cover the maggots and surrounding area with a generous layer of table salt and leave the can in direct sunlight for about an hour. The combination of heat and salt dehydrates them. Diatomaceous earth (the food-grade powder, not the pool filter type) works similarly: spread an even layer over the infested area, wait several hours, then sweep up and dispose of everything in a sealed bag. Going forward, wipe out your trash cans with a cleaning solution every few weeks. Even small amounts of “trash juice” at the bottom of a bin are enough to start a new cycle.
Trap the Flies Already Inside
Once you’ve eliminated breeding sites, you still need to deal with the adult flies buzzing around. For fruit flies and house flies, a simple vinegar trap is surprisingly effective. Fill a jar with about a quarter cup of apple cider vinegar and add a few drops of liquid dish soap. The vinegar’s sweet fermentation smell draws flies in, and the soap breaks the surface tension so they sink instead of landing and flying away.
You can boost the trap’s catch rate by funneling flies in. Roll a piece of paper into a cone and set it point-down in the jar opening, leaving a small hole at the tip. Flies follow the scent in through the narrow opening but struggle to find their way back out. Alternatively, stretch plastic wrap over the jar, secure it with a rubber band, and poke a few small holes with a fork. Both methods work on the same principle. Place two or three of these traps around the garage, especially near trash cans and any windows where flies tend to congregate. Refresh the vinegar every few days.
For larger flies like house flies and blow flies, sticky fly ribbons or commercial fly traps hung from the ceiling or rafters are more practical. Vinegar traps are most effective for the smaller species.
Block Entry Points
A garage door that stays open for hours is an obvious entry point, but flies also squeeze through surprisingly small gaps. Check the weatherstripping around your garage door, especially at the bottom and along the sides. Inspect the seals around windows, vents, and any pipes or conduits that pass through the walls. Caulk or foam-seal cracks and crevices, paying particular attention to where the garage meets the house.
For cluster flies specifically, timing matters. They begin moving into buildings for winter shelter in late August, with most settling in during September. Any sealing work needs to happen by mid-August, and certainly no later than Labor Day, to beat their migration. Once they’re inside your wall voids, sealing the exterior just traps them in the building.
If you like keeping your garage door open for airflow or while working, an air curtain is worth considering. These fan units mount above the door opening and blow a continuous, broad stream of air downward, creating an invisible barrier that flying insects have trouble crossing. Air curtains typically block 60 to 80% of insects from entering. Many residential models have variable speed controls so you can dial up the airflow when bugs are bad and lower it the rest of the time. A simpler (and cheaper) alternative is a magnetic screen that attaches to the garage door frame and lets you walk through while keeping flies out.
When to Use Insecticides
Chemical control is a supplement, not a substitute, for sanitation. If you spray without removing breeding sources, you’ll kill a round of flies and have a new batch within days. That said, a residual insecticide applied to cracks and crevices on the garage exterior in late summer can help intercept cluster flies before they settle in for winter. Products containing pyrethroids (synthetic compounds modeled after natural chrysanthemum extracts) are commonly used for this purpose. When applied indoors near a window in controlled testing, one common pyrethroid retained 60% of its effectiveness after 20 days on surfaces.
For immediate knockdown of flies inside the garage, aerosol sprays containing natural pyrethrins kill flies on contact but leave little residual protection. They’re useful for clearing a swarm but won’t prevent the next wave. If you go the insecticide route, read the product label thoroughly. Use the product only in the manner and locations specified, and ventilate the garage well during and after application. Store insecticides away from pets, children, and food items.
A Simple Maintenance Routine
Most garage fly problems come back because the conditions that caused them were never fully resolved. A few habits make a noticeable difference:
- Bag trash tightly and use cans with secure lids. Double-bag anything with meat, fish, or dairy before it goes in the bin.
- Rinse recyclables before storing them. A few drops of old beer or soda residue in a can is enough to attract fruit flies.
- Clean up pet waste promptly. Droppings that stay damp from humidity or rain can breed large numbers of maggots.
- Don’t let grass clippings pile up in or near the garage. Rotting plant material is a breeding ground.
- Manage moisture by fixing leaky faucets, ensuring floor drains work properly, and improving ventilation if the garage stays humid.
- Wash trash cans every few weeks with a vinegar solution or disinfecting cleaner, and let them dry completely before putting a new bag in.
Flies reproduce fast. A house fly can go from egg to adult in as little as seven to ten days in warm conditions. That means a small problem left unaddressed can become a serious infestation within a couple of weeks. The upside is that the reverse is also true: remove the breeding material and the population crashes quickly, because adult flies only live a few weeks on their own.