Flies may not cause significant damage, but they can be a real nuisance as they buzz against windows and hover around us. Fortunately, numerous home remedies can help you get rid of flies effectively, utilizing common items you probably have in your household, making these solutions both quick and budget-friendly.

Here's a collection of proven strategies from pest control experts to keep flies out of your home.

Home Remedies to Eliminate Flies

Whether you're dealing with fruit flies or pesky gnats, these four practical methods can effectively repel flying insects. However, they work best in conjunction with preventative measures like eliminating food sources to truly keep these bothersome bugs at bay.

1. Maintain a Clean Environment

A person using a cloth and spray to clean a makeup desk

(Image credit: Getty Images)

A straightforward approach to manage flies at home involves maintaining a rigorous cleaning routine. This means promptly wiping up spills, vacuuming crumbs, and regularly deep cleaning to eliminate their food sources. Jim McHale, an entomologist and pest control expert, emphasizes that keeping garbage bins covered and emptied frequently is essential. Regular cleaning of bins helps eliminate any residue that might attract house flies.

2. Eliminate Standing Water

Sage plant in a terracotta pot indoors

(Image credit: KaterynaSednieva / iStock / Getty Images Plus / Getty Images)

Standing water can come from unexpected places. A forgotten glass of water, a plant tray, or even a puddle outside can attract flies. Scott Williams, a pest control professional, advises clients to be vigilant about organic waste and standing water, as these are prime breeding grounds for flies.

3. Plant Repellent Herbs

Rustic indoor potting bench style table with indoor herbs growing in pots

(Image credit: Future)

According to Scott Williams, strategically planting fly-repellent herbs can be very effective. Herbs like basil and mint not only enhance your dishes but also naturally deter flies. He recalls a restaurant in Brooklyn that significantly reduced its fly problem by introducing potted herbs near entrances and outdoor areas, resulting in a 70% decrease in fly numbers within a month.

4. Use Strong Scents as Deterrents

Essential oils, candle, and pots

(Image credit: Quadrille/Jen Chillingsworth)

Essential oils serve various purposes, from freshening up your home to creating homemade bug sprays for repelling flies. Jum Skinner, president of A&C Pest Management, suggests mixing peppermint, lemon, or eucalyptus oils with water in a spray bottle. Apply this mixture generously throughout your home, especially in areas where flies tend to gather. You can also use cucumber as a natural fly repellent.

5. Utilize Citronella Candles

A wooden four-wick candle on a coffee table

(Image credit: Pottery Barn)

Knowing how to effectively use citronella can help keep flies away. Citronella candles release a scent into the air, masking appealing scents like food and preventing flies from settling nearby. They offer a more pleasant alternative to unsightly vinegar pots or sticky traps.

Three citronella candles with three wicks in brightly colored jars

These outdoor citronella candles are crafted from natural soy wax and contain 100% natural citronella essential oil.

6. Implement Sticky Traps for Flies

Yellow fly tape in an orange tree outside

(Image credit: Getty Images)

Fly tape is a staple in many plant care kits, particularly for those with houseplants that attract common pests. Scot Hodges, a certified entomologist, recommends placing sticky traps available at Walmart in high-activity areas like houseplants and drains. Remember to replace these traps regularly to ensure their effectiveness.

7. Install Light Traps

According to Jim McHale, light traps are excellent for hanging outside windows and doors, luring flies into the light where they can be trapped and eliminated instead of entering your home. This method is especially useful for getting rid of cluster flies in significant numbers.

'Install UV light traps near kitchen areas to attract and capture house flies, ensuring that these traps are well-maintained for optimal performance,' he advises.

You can even use a disco ball to harness natural light to deter flies.

A blue light trap with a black cage design.

Designed for both indoor and outdoor use, this light trap effectively eliminates various flying pests around your home.

8. Keep Food Covered

A neutral walk-in pantry with matching glass jars

(Image credit: Plain English Design)

Food is the primary reason flies invade your home. Ensure all food storage is adequate, and cover leftovers to deter flies from lingering. Jim McHale advises storing fruits and vegetables in airtight containers or refrigerating them to avoid attracting fruit flies. Disposing of any overripe or rotting produce immediately is also essential. Promptly clean up spills of sugary liquids or alcohol, especially in bar areas, to prevent attracting flies.

Three large glass storage jars with lids on a white kitchen counter against a white tile wall. Filled with dried food goods.Ideal for dried goods

These three glass containers are perfect for organizing a cupboard or pantry, ideal for storing coffee beans, pasta, nuts, and more.

Three glass storage containers with dividers and purple lockdown lidsPerfect for meal prep

These glass containers come with dividers for efficient meal prep and portion control.

Locknlock Set of (3) 5-Cup Glass Rectangle ContainersSafe for ovens

These versatile glass containers are perfect for meal prep or storing leftovers, suitable for use in the microwave, freezer, or oven.

9. Create a Vinegar and Soap Trap

Drowned fungus gnats in a bottle lid filled with water and syrup

(Image credit: Future/Ruth Hayes)

Combining vinegar with dish soap and water can create an effective fly trap. Pest control expert Eddie Conner recommends using apple cider vinegar, available at Walmart, as it has a sweet scent that attracts flies. The soap reduces the surface tension of the vinegar solution, causing flies to drown when they land on it. Place this trap near where flies are buzzing, such as near sinks, houseplants, or windows, for optimal results.

10. Catch Drain Flies with a Cup and Petroleum Jelly

Kitchen sink, window, curtains

(Image credit: Marin Moore)

Drain flies can be particularly elusive, but Scot Hodges, a pest control expert, recommends coating the inside of a disposable cup with cooking oil or petroleum jelly, such as Vaseline, available in bulk at Amazon. Position the cup over the drain for several days to catch adult flies as they emerge for air. This method also helps identify breeding sites. Afterward, flush out larvae by pouring hot (but not boiling) water down the drain a few times and keep the cup in place until no more flies are caught.


Though flies may seem like a minor annoyance, they can reproduce rapidly. It's essential to address any fly sightings immediately to prevent larger infestations and the need for extensive pest control measures.