A few flies can make a clean home feel uncomfortable fast. They buzz around your food, land on counters, and seem to reappear just after you’ve chased them away. The good news is that keeping flies out usually comes down to two things: blocking the ways they get inside and removing the smells and scraps that attract them. Here’s how to tackle both—and how to figure out what to do when flies are already indoors.
Table of Contents
Why Flies Come Into Your Home
Flies aren’t looking for a tidy or untidy house. They’re looking for food, moisture, warmth, and places to lay eggs. A ripe banana, an open rubbish bin, a sticky recycling bottle, or a little pet waste can provide enough of a draw to bring them close to your home.
Different flies are attracted to different things. House flies often gather around rubbish, food scraps, or animal waste. Fruit flies are drawn to ripe or fermenting produce and sweet spills. Drain flies tend to breed in the damp organic film inside drains. Identifying the likely source helps you solve the problem instead of just swatting the flies you can see.
Flies can also enter through small openings, including gaps around doors, damaged window screens, vents, and holes where pipes or cables pass through walls. A fly that gets inside may find food and moisture, then stick around. If it finds a suitable place to lay eggs, you may soon see more.
Block the Ways Flies Get Inside
Repair screens and seal gaps
Check window and door screens for small tears, loose corners, or gaps around the frame. Even a small opening can let insects through, so patch damaged mesh and make sure screens fit snugly. Fine mesh is useful for blocking many common flying insects, but the frame and edges need to be in good condition too.
Look at the seals around exterior doors. If you can see daylight beneath a door, or feel air moving around its edges, flies may be able to get through as well. A door sweep or replacement weatherstripping can close that gap. Seal cracks around pipes and cables with a suitable sealant, taking care not to block vents that are needed for safe airflow.
Make it harder for flies to follow you in
Try not to leave exterior doors open for long, especially when food is being served nearby. If you often carry groceries, laundry, or garden tools through a door, a self-closing screen door can help. It gives you a barrier without making everyday trips outside a hassle.
At night, bright indoor lights near an open door or window can attract insects toward the entrance. Closing curtains or switching off lights in rooms with open windows may help reduce that pull. This won’t fix a broken screen, but it can make an open window less inviting.
Remove the Things That Attract Flies
Keep food covered and clean up spills
Put fruit, leftovers, and other food away when you’re not using them. Store food in sealed containers or in the refrigerator, and cover dishes during meals, particularly if you’re eating near an open door. Wipe up juice, syrup, cooking grease, and crumbs promptly; a small sticky patch can keep attracting flies even when the rest of the kitchen looks clean.
Pay attention to the places that are easy to overlook: beneath the toaster, around the bin, under a pet’s bowl, and along the edge of a counter. A quick wipe with a suitable kitchen cleaner removes food residue that might otherwise keep drawing insects back.
Manage rubbish and recycling
Use a bin with a close-fitting lid, and empty it before food waste begins to smell. Rinse the bin when spills or sticky residue build up, then let it dry before putting in a new liner. The liner catches waste, but it doesn’t keep the bin itself clean.
Rinse cans, bottles, and food containers before placing them in recycling, especially if they held juice, beer, or other sweet drinks. If you store recycling indoors, use a lidded container and empty it regularly. In warm weather, even a short delay can give odours time to build up.
Check drains, houseplants, and pet areas
If small flies keep appearing near a sink or shower, clean the drain rather than relying on a room spray. Drain flies can feed and breed in the slimy organic material lining a drain. Scrub the inside of the drain and the area just below the opening with an appropriate brush, then follow the product instructions if you use a drain cleaner. Never mix cleaning chemicals, especially products containing bleach and ammonia or acids.
For tiny flies near fruit or houseplants, check for overripe produce, spilled drinks, and soil that stays constantly wet. Letting the top layer of plant soil dry between waterings can make it less appealing to fungus gnats, which are often mistaken for fruit flies. Remove fallen leaves and avoid leaving standing water in plant saucers.
Pick up pet waste promptly and clean litter areas regularly. Keep pet food covered when it’s not being eaten, and wash bowls often. These simple habits remove food and breeding opportunities that can attract flies indoors and around the entrance.
Use Traps for the Flies That Are Already Inside
Traps can help reduce the number of adult flies, but they work best alongside cleaning and repairs. If you set out a trap without dealing with the source, new flies may keep appearing. Think of a trap as backup, not the main fix.
| Method | Most useful for | What to keep in mind |
|---|---|---|
| Sticky fly paper | Small numbers of flying insects in a room | Hang it away from food, children, and pets, and replace it when full or dusty. |
| Fruit fly trap | Fruit flies near produce or a rubbish bin | Place it near the source, then remove the overripe food or spill attracting them. |
| Electric fly swatter | An occasional larger fly | Use it according to its instructions and keep it away from children and water. |
| Outdoor fly trap | Flies gathering outside near bins or a patio | Place it well away from doors and outdoor eating areas so it doesn’t draw flies closer to you. |
For a simple fruit fly trap, put a little apple cider vinegar in a small container and cover it with a paper funnel, leaving a small opening at the bottom. The smell can attract fruit flies, but the trap won’t solve the problem if ripe fruit, a sticky bottle, or another source remains nearby. Keep homemade traps out of reach of children and pets, and empty and clean them regularly.
Be Careful With Sprays and Other Chemicals
Indoor insect sprays can kill flies on contact, but they don’t prevent more from entering or breeding. If you choose to use one, read the label and follow it exactly. Keep people, pets, food, dishes, and food-preparation surfaces away as directed, and ventilate the room if the product instructions call for it.
Avoid spraying near open flames, hot surfaces, or food. Don’t use outdoor pesticides indoors, and don’t assume that a stronger dose will work better. If flies keep returning despite careful cleaning and sealing, finding the source is usually more useful than applying more spray.
Find the Source When Flies Keep Coming Back
Notice where the flies gather and when you see them. A cluster near fruit suggests a different source from a group hovering over a drain or gathering around a window. Follow the pattern: check nearby rubbish, produce, plant soil, drains, pet areas, and gaps in screens or doors.
If you suddenly see many flies, look for a hidden source such as food waste behind an appliance, a forgotten bag of rubbish, or an animal-related problem in an inaccessible area. If the source isn’t obvious or the infestation continues, a licensed pest professional can inspect the home and help identify where the flies are breeding.
Read more related posts:
- How to stop pipes from banging good
- 10 ways to eliminate damp smells in windowless bathrooms good
- 10 reasons your water heater runs out in the shower what to do
Frequently Asked Questions
What is the fastest way to get rid of flies in the house?
Remove the source first: cover food, empty rubbish, wipe spills, and check drains or plant soil. Then use a fly swatter or an appropriate trap to catch the adults already inside. This combination works better than trapping or spraying alone.
Why do flies keep coming back after I clean?
There may still be an overlooked food or breeding source, such as residue inside a bin, a drain with organic buildup, wet plant soil, or a gap in a screen. Watch where the flies gather and inspect that area closely.
Do vinegar traps get rid of all fruit flies?
No. A vinegar trap may catch some adult fruit flies, but it won’t remove the source attracting them or any eggs and larvae nearby. Get rid of overripe produce, clean sticky containers, and rinse the trap regularly.
Can I pour bleach down a drain to stop drain flies?
Bleach may not remove the organic film where drain flies breed, and it can be hazardous if mixed with other products. Scrubbing the drain is a better first step. If you use a drain-cleaning product, follow its label and never combine it with another cleaner.
Conclusion
To keep flies out of the house, close the gaps they use to enter and remove the food and moisture that make your home attractive. Repair screens, seal door gaps, cover food, clean bins and drains, and keep pet areas tidy. If flies still show up, use their location to track down the source—then use traps as a helpful extra, not a substitute for fixing the cause.