Updated: May 12, 2023

Flies are a common pest that can quickly become a nuisance in our homes and businesses. They are not only annoying, but they can also carry diseases and contaminate food. Therefore, it is essential to take measures to prevent an infestation from occurring. In this article, we will discuss some effective ways to keep flies away.

Keep Your Surroundings Clean

One of the most effective ways to prevent a fly infestation is to keep your surroundings clean. Flies are attracted to dirt, garbage, and food scraps, so it is essential to maintain cleanliness both inside and outside your home or business.

Make sure your trash cans have tightly sealed lids and dispose of garbage regularly. Do not leave food scraps lying around, and clean up spills promptly. Regularly sweep and mop floors and wipe down counters and other surfaces.

Outside your home or business, make sure to clean up any pet waste promptly, as this can also attract flies. Keep lawn clippings and other yard debris away from doors and windows. Additionally, clean gutters regularly and fix any leaks or standing water issues that may attract flies.

Use Fly Traps

Fly traps are an effective way to catch flies before they become a problem. There are many different types of fly traps available on the market, including sticky traps and light traps.

Sticky traps work by attracting flies with a sweet scent and then trapping them on a sticky surface. Light traps use ultraviolet light to attract flies, which are then trapped in a container or caught on a sticky surface.

Fly traps should be placed in areas where flies are likely to congregate, such as near doors and windows or in areas where garbage is stored.

Install Screens

Installing screens on windows and doors is another effective way to keep flies out of your home or business. Make sure that all screens are in good condition and free from tears or holes that could allow flies to enter.

Additionally, consider installing door sweeps or weather stripping to seal gaps around doors and windows.

Use Essential Oils

Certain essential oils, such as lavender, peppermint, and eucalyptus, are known to repel flies. These oils can be used in a variety of ways, including diffusing them in your home or business or applying them directly to your skin.

You can also make a natural fly repellent spray by mixing water and a few drops of essential oil in a spray bottle. Spray this mixture around doors and windows or in areas where flies are likely to congregate.

Practice Good Hygiene

Practicing good hygiene is another effective way to prevent a fly infestation. Flies are attracted to sweat, body odor, and other human scents, so it is essential to maintain good personal hygiene.

Bathe regularly and wear clean clothing. Additionally, keep food covered when eating outside and avoid leaving dirty dishes lying around.


Preventing a fly infestation requires a multifaceted approach that includes maintaining cleanliness, using traps and screens, and practicing good hygiene. By following these tips, you can keep your home or business free from flies and the problems they can cause.