As heat and humidity climb, flies may become more active around homes, especially near kitchens and dining areas. They can carry bacteria and potentially spread disease, making them more than a nuisance. But hot weather alone does not cause an infestation: flies need breeding material, which garbage, pet waste, compost and rotting organic matter can provide. Warm, moist conditions can speed insect development, while flies get inside through open doors and windows or damaged screens.
University of Minnesota Extension and University of California Integrated Pest Management guidance recommends a practical sequence: remove breeding material, block entry, then trap or monitor the adult flies that remain. These steps are more dependable than relying on aromas or plants alone.
Trick 1: Remove the Breeding Material
Fit food-waste bins with tight lids, clean the containers regularly and remove organic waste promptly. Keep garbage bins away from the house where possible, and manage pet waste, compost, lawn clippings and other rotting material. Clean up food and drink spills, and keep food covered. Removing the source addresses the conditions that sustain flies. Simply trying to repel adults does not.
Trick 2: Block Entry
Keep doors closed, seal gaps and repair torn window and door screens. University of Minnesota Extension recommends 14- to 16-mesh screening for doors and windows to reduce fly entry. These physical barriers offer a more reliable first line of defense than scented oils or aromatic plants.
Lavender, eucalyptus, bay leaf and mint oils may provide a temporary scent deterrent, but they are not a proven barrier or a way to eliminate an infestation. Do not spray oils on food or food-contact surfaces, and keep concentrated products away from children and pets. Basil, tomato plants, Venus flytraps and cinnamon sticks are not dependable stand-alone controls for house flies.
Trick 3: Trap Remaining Adult Flies
Sticky flypaper can help manage adult flies, particularly in confined spaces. Hang it out of reach of children and pets, and check and replace traps regularly to keep them clean. Homemade honey-and-water strips may attract flies, but properly placed commercial sticky traps or flypaper have clearer practical backing. Traps supplement sanitation; they do not remove breeding sites.
Prevention: The Most Reliable Defense
Keeping waste containers covered and clean, removing pet waste and rotting organic material, covering food, repairing screens and keeping doors closed reduce the conditions that attract flies and the routes they use to enter. University of California Integrated Pest Management guidance says pesticides are not needed or recommended in most home situations. Insecticides do not provide long-term control when breeding sources remain. If you use a pesticide, follow its product label for permitted locations and safety directions, and avoid applying it near food-preparation areas. For households in Spain and similar climates, sanitation, physical exclusion and carefully placed traps offer a practical approach through the hottest months. Oils and plants, if used, are supplementary rather than the basic defense.