Key steps
You don’t need to spend loads of money to keep flies away, just remember these 3 simple steps:
- 1
Populate your house interior and garden with plants that repel flies.
- 2
Create your own homemade fly repellent with vinegar.
- 3
Prevent flies in your home by cleaning and disinfecting thoroughly.
Flies can be more than a nuisance; they can also carry diseases. They can bring illness-causing pathogens, including viruses, bacteria, fungi, and parasites.[1]. So, the last place you want to see them is inside your home – especially in the kitchen, where everything should be kept clean and hygienic.
Never fear! Cleanipedia has come up with the following top tips for how to repel flies, whether inside or out. This way, you can keep them out of your home for good.
The golden rule is, don’t leave dirty dishes in the sink or let rubbish accumulate in the bin!
How to keep flies away inside
To banish flies from your home, try these 3 methods:
1. Add plants that repel flies
Flies dislike certain plants. So, if you're struggling with flies, why not try buying a pot of mint? This method can be a great option when you’re learning how to get rid of house flies naturally. Not only will it smell delicious to you, the plant will also deter pesky flies. Besides, you can also use a sprig or two when cooking! Have a look at some of our other suggestions for plants to help you eliminate flies inside the home:
- ✦
Mint
- ✦
Venus flytrap
- ✦
Basil
- ✦
Marigolds
- ✦
Lavender
- ✦
Rosemary
- ✦
Citronella
You can use a selection of these plant to repel flies inside the home. But that's not the only benefit they might have. Certain plants have the ability to purify indoor air.[2]

2. How to repel flies inside the home with cleaning
The best way to prevent flies from being drawn into the house is to keep your home and kitchen clean.
- ✦
Wash dishes immediately after you use them.
- ✦
Don’t leave food out on the countertop for long periods of time.
- ✦
Clean the kitchen thoroughly after preparing food.
- ✦
Keep on top of cleaning your indoor bins, especially your food bin, and don't let them become too full.
If you are facing an infestation of flies, the first thing you need to do is clean your house thoroughly. Vacuum and wash all surfaces with a disinfectant spray or wipes to get rid of any fly eggs. Moreover, clean behind furniture and everywhere that might not be easily accessible at first – that’s where flies like to hide. To get more tips, we recommend reading our guide on cleaning, sanitizing, and disinfecting kitchens.

3. Make a homemade fly repellent
Flies can be easily repelled with white vinegar. Even the smell of boiling vinegar can be an easy-to-make DIY fly repellent on its own.
- ✦
Pour some cider vinegar into a pot or jar to start making your fly repellent.
- ✦
Add one drop of dishwashing liquid.
- ✦
Cover the pot with cling film and pierce it in several places.
- ✦
Leave in areas where you have seen flies.
Another homemade fly repellent you can easily make uses a jar, some sugary water, and a paper cone. The sugar attracts the flies, while the jar and cone make it impossible for the flies to escape once they are trapped.
Pro Tip: You can also use this DIY repellent to get rid of fleas and mosquitoes in your home.
With these methods, you can finally wave goodbye to these bothersome and uninvited guests.
How to keep flies away outside
Is your house clean on the inside, but you can still see a swirling cloud of flies in your garden or around your patio? Yep. It’s a common issue and here’s why: flies love laying their eggs in moist surfaces. Though you can’t see them during the rainy season, it’s only because the larvae are just babies and are not yet ready to fly.
To get tackle the problem, follow this guide:
- 1
The larvae feed on organic matter (food leftovers are their favorite dish!). So it’s very important to keep your outdoor bins in a dry area and your garden waste dry.
- 2
Disinfect your bins with a good disinfectant such as Domex.
- 3
Cleanse the outdoor area with camphor fumes or light up citronella candles which deter flies. Never leave a lit candle unattended for safety.
- 4
Get yourself a selection of plants that keep flies away - place them inside and outside your home, focusing on doors and windows.

Now that you have the flies under control, you’ll want to make sure your home is also mosquito-proof! For tips on mosquito control, keep on reading Cleanipedia.
Warning
Read the instructions on your cleaning product before use. Wear gloves at all times and ensure that the area is well ventilated. Test all solutions on a small area first.
Personal fly protection
Personal fly protection is essential, especially in outdoor settings. Here's how to shield yourself and your pets from these pesky insects:
- 1
Repellent Clothing: Wear long-sleeved shirts, long pants, and socks to minimize exposed skin. Tuck pants into socks for added protection. Consider clothing treated with insect repellent or use a bug-repellent spray on your clothes.
- 2
Use Repellent Creams or Sprays: Apply insect repellent on exposed skin areas, particularly during outdoor activities. Choose a repellent with ingredients like DEET, picaridin, or oil of lemon eucalyptus for effective fly protection.
- 3
Head Nets: When flies become a nuisance, especially around the face, consider using a fine mesh head net to keep them at bay.
- 4
Fly-Safe Pet Products: Protect your pets with fly repellent products specially designed for animals, including fly sprays, collars, and fly masks for horses.
- 5
Avoid Perfumes and Bright Colors: Flies are attracted to strong scents and bright colors, so opt for unscented personal care products and wear muted clothing when in fly-prone areas.
By implementing these measures, you can minimize the annoyance and potential health risks associated with flies during outdoor activities.
How to repel flies naturally using a DIY air freshener
As we’ve mentioned, certain scents can keep the flies away from your home. As such, we recommend creating a DIY air freshener using natural ingredients. Here are the steps:
- 1
In a spray bottle, pour a cup of distilled water.
- 2
Add three drops of lemongrass and peppermint oils.
- 3
Shake the bottle to mix the ingredients.
- 4
Spray the solution in areas around your home that usually attract flies.
References:
1. Khamesipour, F., Lankarani, K. B., Honarvar, B., & Kwenti, T. E. (2018). A systematic review of human pathogens carried by the housefly (Musca domestica L.). BMC public health, 18(1), 1049. https://doi.org/10.1186/s12889-018-5934-3
2. El-Tanbouly, R., Hassan, Z., & El-Messeiry, S. (2021). The Role of Indoor Plants in air Purification and Human Health in the Context of COVID-19 Pandemic: A Proposal for a Novel Line of Inquiry. Frontiers in molecular biosciences, 8, 709395. https://doi.org/10.3389/fmolb.2021.709395
3. house fly - Musca domestica Linnaeus. (n.d.). https://entnemdept.ufl.edu/creatures/urban/flies/house_fly.htm
