10 ingenious ways to keep flies out of a garage
Keep pesky pests at bay with these expert-approved tips

- 1. Regularly empty your trash
- 2. Cover your bins with a well-fitting lid
- 3. Clean your trash cans in-between regular trash cycles
- 4. Consider double bagging your bins
- 5. Rinse out cans and bottles before throwing them away
- 6. Reduce physical entry points
- 7. Keep outdoor lights off
- 8. Use fly tape
- 9. Clean up pet waste promptly
- 10. Call a professional
- FAQs

Struggling to keep flies out of your garage? Flies are a well-known nuisance, and just because they’re not necessarily in your house, having flies in your garage can be just as inconvenient, unclean, and annoying.
Your garage is a hot spot for all sorts of flies, providing shelter, water, and often food, meaning keeping it fly-free can feel like a constant battle. Even non-biting flies, such as house flies, can be bothersome: they are responsible for transmitting diseases and contaminating food.
So, how do you keep flies out of a garage? We talked to pest control experts to learn their simple tricks for preventing full-blown pest invasion.
How do I keep flies away from my garage?
'It's important to keep flies away outside and out of our homes to protect our health,' says Dr. Jim Fredericks, board-certified entomologist and SVP of public affairs at the National Pest Management Association. 'These pests can contaminate food and carry more than 100 pathogens, including E. coli, salmonella, and campylobacter, some of the main causes of food poisoning.
‘The most common species invading garages are filth flies like house flies or lesser house flies and cluster flies. Fruit flies can be problematic, too.'
So, if you’ve been wondering how to get rid of fruit flies, or how to keep flies out of the house or garage, use this expert guide.
1. Regularly empty your trash
No one likes taking the trash out. But, not doing it often enough could be contributing to the flies in your garage, so staying on top of it is one of the simplest ways to get them gone for good.
'Flies in the garage typically come from upkeep on cleanliness,' says Kyle Sebach, Director of Operations at All U Need Pest Control. 'Most people keep their trash or receptacles within the garage. This is typically an attractive point for flies as they can smell and like to harborage within food sources. Keeping on top of a regular schedule will help reduce flies.'
This way, you effectively remove the source of the issue and reduce any attraction for flies to your garage.
2. Cover your bins with a well-fitting lid
As flies are primarily attracted to scents and odors, keeping your trash well-covered will prevent them from gathering in your garage.
'Flies may well be attracted to trash or garbage cans stored in the garage, so keep them covered with a well-fitting lid to reduce odors that are attractive to flies,' says Fredericks.
3. Clean your trash cans in-between regular trash cycles
Ironically, cleaning your trash cans is one of the most overlooked household tasks when it comes to weekly chores, particularly those in your garage which you probably don't use as regularly. It might seem unnecessary, but deep-cleaning them will not only keep flies at bay but will also prevent them from festering.
'Most importantly, it comes to cleanliness and sanitation,' says Sebach. 'In between regular trash cycles, you will want to maintain cleanliness within the trash receptacles by using an all-purpose cleaner, or bleaching out any remnants that may have fallen out of the trash bags.'
Shannon Harlow-Ellis, Associate Certified Entomologist at Mosquito Joe recommends: 'A little rinse with bleach and water- it will work wonders,' she says. 'Trash juice is a serious breeding site.'
4. Consider double bagging your bins
Carrying heavy bin bags through your garage can often lead to bad smells and breakages, both of which will attract unwanted flies.
'If you are bringing trash into the garage that has heavy food products, you might want to consider double bagging it to ensure the smell stays within the bags to reduce the exposure to flies,' recommends Sebach.
5. Rinse out cans and bottles before throwing them away
Remnants of any kind of sugary drink will attract flies, so rinsing out your cans before recycling them can help to drastically reduce numbers.
'Fruit flies are especially attracted to juice, soda or beer cans in recycling bins, so rinse out cans and bottles before tossing them in the bin,' says Fredericks.
This will also help prevent bad odors from forming in your garage.
6. Reduce physical entry points
Sealing up entry points to your garage will prevent flies from becoming a nuisance.
'Keeping flies out of the garage also has to do with IPM methods,' says Sebach. 'By making sure you have no inclusions, this will help by reducing the physical entry points that the flies can intrude the garage.'
'Making sure the weatherstripping on the bottom of the garage door is intact will typically be your best solution,' he recommends, so make sure to repair any gaps.
'You can also make sure there is no other inclusion points on the sides of the garage doors, side, entry doors to the garage, or any other holes or entry points in the garage.'
Also, make sure you keep windows and doors closed.
'To reduce the likelihood of house fly invasions, keep garage doors and windows shut,' says Fredericks. 'Flies can sometimes get caught on air currents and become trapped inside garages,' leading to infestations.
7. Keep outdoor lights off
As flies are attracted to lights, keeping outdoor home and garage lights off as much as possible at night will deter them.
'Keep outdoor lights off when possible and close window shades and blinds at night to keep flying insects from being attracted to the light,' says Harlow-Ellis.
8. Use fly tape
If you already have flies in your garage, using fly-tape can be an effective and efficient way to get rid of them quickly.
'Some homeowners like the idea to keep a strip of fly tape in the garage in the summer months,' says Sebach. 'The fly tape catches them while they’re flying around.'
Harlow-Ellis recommends keeping any fly tape away from windows or doors, as fly traps often use attractants, so you want to prevent any more from entering.
'Sometimes, flies are coming from areas outside of our control, like neighboring homes or dumpsters,' she says. 'In these cases a fly trap can be utilized, but, if you have to do it, keep it as far away from the doors and windows as you can. Remember these traps use attractants and we don’t want to bring them to the area we are trying to avoid them getting into.'
9. Clean up pet waste promptly
'Pet owners have an extra responsibility,' says Harlow-Ellis. 'Pet waste is probably the number one residential attractant for not just flies; but rodents as well.' Therefore, ensure pet waste is cleaned up and disposed of quickly to remove a main attractor for flies.
'Promptly clean up any pet waste to prevent potential fly breeding sites from developing near the building,' says Fredericks.
10. Call a professional
In more extreme circumstances, it might become necessary to call a professional to deal with the problem.
'Certainly, controlling flies can be overwhelming,' says Harlow-Ellis. 'If you are unsure how to address your fly control concerns, call a professional. They can provide you with a great Integrated Pest Management program that will help you figure out what measures you should take as a resident and what additional steps they can provide to help alleviate fly problems.'
FAQs
Does vinegar keep flies away?
Contrary to popular belief, vinegar will actually attract flies instead of deterring them. In order to make a repellent using vinegar, mix it with dish soap and place in the affected area in a container.
This will lure the flies in, while the dish soap will trap the flies, preventing them from flying out again.
How to get rid of drain flies
The most natural way to get rid of drain flies for good is to use boiling water. Simply flush the drain with freshly boiled water and clean with a drain pipe brush- no chemicals needed.
So, if you've been wondering why you have so many flies in your house or garage, these expert-approved tips should equip you with all you need to know to fight the flies for good.
Sign up to the Homes & Gardens newsletter
Design expertise in your inbox – from inspiring decorating ideas and beautiful celebrity homes to practical gardening advice and shopping round-ups.

Ottilie joined Homes & Gardens last year, after finishing a Master's in Magazine Journalism at City, University of London. With previous contributions in Livingetc and Motorsport Magazine, she produces content for the Solved section on the website, focusing on clever tips and tricks to keep your home beautiful, organized and clean. She also has a Master's degree in English Literature and History of Art from the University of Edinburgh, where she developed a love for inspiring interiors and architecture.
-
How to harvest butter lettuce – an expert grower reveals 2 ways to get multiple pickings from your plants
Discover the ideal time to pick, plus harvesting tips for a top yield
-
DJ Khaled's new mattress costs $1 million – known as the 'Rolls-Royce of beds,' it begs the question: is luxury sleep the latest status symbol?
The music producer sleeps on the world's most expensive bed, demonstrating that sleep has become more than a matter of where you lay your head
-
Why are there so many cicadas? If your home feels under attack in 2025, you're not being paranoid – it technically is
Multiple regions in the US are seeing an end-of-life-cycle surge
-
Do I need to worry about the deadly Massachusetts mosquito virus in 2025? Doctors urge caution and reveal tips to keep your household safe this summer
It’s easy to keep you and your home safe, experts assure
-
I live in the countryside surrounded by farms, and people say the Zevo Flying Insect Trap is the answer to my pest-busting prayers
The Zevo Flying Insect Trap and its refills were bought 130,000 times in the last month alone
-
Say goodbye to ants by spraying this 1 natural repellent around your home – and no, it's not vinegar
It's a cheap, non-toxic and eco-friendly solution, but it does have drawbacks, says our pro
-
Pest control pros reveal this cheap grocery store staple will stop flies from invading your home – and you can grab it in the fruit and veg aisle for less than $1
The uses for this salad item go beyond your evening meal
-
7 surprising things attracting pests to your home – and what to do right now to ward off summer infestations
A clean home might still attract pests if you make these mistakes
-
I'm a board-certified entomologist and this is the one rodent infestation control mistake I urge you to avoid at all costs – you'll regret it deeply
Don't put your health or home at risk
-
5 non-toxic mothball swaps that work – ditch chemicals and that horrible odor with these simple but effective alternatives
They'll protect your clothing and closets from moths without harsh chemicals