5 Plants That Keep Flies Away Naturally

The warmer months bring a familiar soundtrack to our evenings. You settle into a patio chair, iced tea in hand, ready to unwind. Then you hear it. That low, irritating buzz near your ear. A fly lands on the table, then another. Suddenly, your peaceful moment turns into a swatting contest. Flies do more than annoy us. They can carry bacteria from one surface to another, making them a genuine health concern around food. Reaching for chemical sprays might seem like the easy fix, but those products often contain ingredients you would rather not have near your dinner plate or your children. A better solution exists, one that adds beauty and fragrance to your space while sending flies packing. Certain fly repelling plants can transform your patio, deck, or garden into a fortress against these pests. The best part? These plants look lovely and serve multiple purposes in your landscape.

fly repelling plants

Why Natural Fly Control Matters for Your Outdoor Space

Before we look at specific plants, it helps to understand why these natural options deserve a spot in your garden. Chemical insect repellents often contain compounds like DEET or pyrethroids. While effective, these substances can irritate skin, harm beneficial insects like bees, and linger on surfaces where you prepare food. For families with small children or curious pets who put everything in their mouths, chemical sprays pose an unnecessary risk.

Natural fly repelling plants offer a gentler approach. They release aromatic compounds through their leaves and flowers. These scents confuse or repel flies without poisoning the environment. Many of these plants also attract pollinators, add visual interest, and provide ingredients for your kitchen. You get pest control plus beauty and utility from a single planting.

The key is placement. A single lavender plant tucked in a corner will not shield your entire yard. But a strategic arrangement of pots near seating areas, doorways, and dining tables creates a barrier that flies prefer to avoid. Think of these plants as living repellent dispensers that work around the clock without batteries or refills.

Petunias: The Showy Annual That Bullies Pests

Petunias might be the most surprising entry on this list. These cheerful, billowing flowers are a staple in hanging baskets and window boxes. Their bright colors and long blooming season make them a favorite for gardeners who want instant impact. What many people do not realize is that petunias actively repel flies, mosquitoes, and other garden pests.

How Petunias Deter Flies

The secret lies in the plant’s physical and chemical defenses. Petunia leaves and stems are covered in fine, sticky hairs. When a fly lands on these surfaces, it encounters a tacky trap that makes moving around difficult. The plant also releases a subtle fragrance from its flowers and foliage. While humans find this scent pleasant, flies find it disorienting and avoid it.

This combination of texture and aroma makes petunias effective as a living barrier. Plant them along the edges of your patio or near entry points to your home. Flies approaching from those directions will encounter the sticky leaves and turn away.

Growing Petunias for Maximum Effect

Petunias thrive in full sun and well-draining soil. They perform exceptionally well in containers because the roots stay warm and the soil drains quickly. Choose a pot with drainage holes and fill it with a quality potting mix. Water them when the top inch of soil feels dry to the touch.

The real trick to keeping petunias effective all season is deadheading. As flowers fade, pinch or snip them off just above a set of leaves. This signals the plant to produce more blooms instead of setting seed. With regular deadheading, petunias will flower continuously from spring until the first hard frost. That means months of fly protection and color.

For the strongest deterrent effect, place petunias in hanging baskets near seating areas. The trailing stems create a curtain of sticky foliage that flies must navigate to reach your table. Choose bright varieties like purple, pink, or white to add visual pop while you work.

Basil: Your Kitchen Hero and Fly Fighter

Basil earns its place in every summer garden for its culinary value alone. Fresh pesto, caprese salads, and tomato sauces all benefit from this aromatic herb. But basil does double duty as one of the most effective fly repelling plants you can grow. Its strong, peppery fragrance masks the scents that attract flies to your outdoor dining area.

The Science Behind Basil’s Repellent Power

Basil contains high concentrations of volatile oils, including eugenol, linalool, and citronellal. These compounds give basil its distinctive smell. Flies rely heavily on their sense of smell to locate food sources. When basil is nearby, the powerful aroma overwhelms their ability to detect the odors of meat, fruit, or trash that would normally draw them in. The result is a confused fly that moves on to find a less fragrant location.

Creative Ways to Use Basil Against Flies

Simply growing basil in your garden provides some protection. But you can amplify its effects with a few simple techniques.

Window box barriers. Plant basil in window boxes beneath your kitchen windows or near patio doors. The breeze carries the scent indoors, creating a natural barrier that discourages flies from entering your home. This works especially well if you have open windows during summer months.

Skin application. Pick a fresh basil leaf, crush it slightly between your fingers, and rub it on exposed skin. The oils transfer to your skin and create a personal repellent zone. This technique works for both flies and mosquitoes. The scent fades after about an hour, so reapply as needed during long outdoor gatherings.

DIY basil spray. For broader coverage, make a simple spray. Take a handful of fresh basil leaves and blend them with about a cup of vodka or rubbing alcohol. Let the mixture sit for 24 hours, then strain out the solid bits. Pour the liquid into a spray bottle. Mist this solution around your patio furniture, table legs, and the perimeter of your seating area. The alcohol evaporates quickly, leaving behind the basil scent. Reapply after rain or heavy dew.

Growing Basil Successfully

Basil is one of the easiest herbs to grow. It needs at least six hours of direct sunlight each day and consistent moisture. Plant it in containers or directly in the ground after all danger of frost has passed. Pinch off the top sets of leaves regularly to encourage bushy growth. If you let basil flower, the leaves become bitter and the plant stops producing new growth. Keep harvesting, and the plant will keep producing.

Sweet Italian basil is the most common variety for culinary use. But you can also try lemon basil or cinnamon basil for slightly different scents that still repel flies. Grow several plants near your outdoor dining area for the best coverage.

Lavender: Elegant Fragrance That Flies Detest

Lavender occupies a special place in the garden. Its purple spikes and silvery foliage create a calming aesthetic. The scent is beloved by humans and bees alike. But flies cannot stand it. This makes lavender one of the most pleasant fly repelling plants to incorporate into your landscape.

Why Lavender Works So Well

Lavender contains linalool and camphor, two compounds that give it that signature herbal-floral aroma. These same compounds interfere with the sensory receptors of flies. While we find the scent relaxing, flies perceive it as an irritant and avoid areas where lavender grows.

Unlike some other repellent plants, lavender releases its scent continuously without needing to be touched or crushed. A gentle breeze is enough to carry the fragrance through your seating area. This passive defense makes lavender ideal for placement near pathways, doorways, and relaxation zones where you want protection without active effort.

Maximizing Lavender’s Repellent Period

Lavender blooms in waves throughout the summer. To extend its fly repelling abilities, practice regular deadheading. After the first flush of flowers begins to fade, cut the stems back to just above a set of leaves. This encourages the plant to send up new flower spikes. You can get two or even three bloom cycles from a single plant with consistent deadheading.

For the strongest effect, plant lavender in full sun with excellent drainage. Lavender hates wet feet. Raised beds or terracotta pots work well because they allow excess moisture to evaporate. Space plants about 18 inches apart to allow air circulation, which also helps release their fragrance.

Using Lavender Beyond the Garden

You can extend lavender’s protection indoors as well. Cut several stems when the flowers are fully open but before they begin to fade. Bundle them together and hang them upside down in a dark, dry location. Once dried, the flowers retain their scent for months. Place these dried bundles near windows, doorways, or in rooms where flies tend to gather. The scent continues to repel insects even after the plant has been harvested.

English lavender varieties like Hidcote or Munstead are particularly fragrant and hardy. They tolerate cooler summers better than French or Spanish types. Start seeds indoors about 8 weeks before your last frost date, or purchase established plants from a nursery for faster results.

Rue: The Potent Protector You Handle With Care

Rue is the heavy hitter among fly repelling plants. Its strong, bitter aroma is one of the most effective natural deterrents against flies, Japanese beetles, and other garden pests. But rue demands respect. Unlike basil or lavender, you cannot rub it on your skin or use it in cooking. The plant contains compounds that cause skin irritation in many people, and ingesting any part of it is toxic.

Understanding Rue’s Power and Risks

Rue produces a complex mixture of alkaloids and furanocoumarins. These chemicals give the plant its characteristic sharp smell and make it unpalatable to insects. When flies encounter rue, they get a strong chemical signal that says “stay away.” The effect is so pronounced that rue has been used for centuries as a pest repellent in gardens and homes.

You may also enjoy reading: Cherry Tour: 5 Hidden Gems in Butchart’s Japanese Garden.

However, those same chemicals can cause phytophotodermatitis in humans. If you get rue sap on your skin and then expose that area to sunlight, you may develop a painful rash or blisters. Always wear gloves when handling rue, and avoid touching your face or eyes after working with the plant. Keep rue away from areas where children and pets play, as accidental ingestion can cause serious illness.

Strategic Placement of Rue

Given its toxicity, rue is best used in containers placed strategically around your outdoor space. Plant it in terracotta pots and position them near the edges of your patio, along pathways, or next to seating areas. The scent will drift through the air and create a repellent zone without requiring direct contact.

Rue also works well as a companion plant in vegetable gardens. Its strong aroma confuses pests that would otherwise attack your tomatoes, peppers, or beans. Plant rue near garden entrances or intersperse it among your crops for broader protection.

Drying and Storing Rue for Indoor Use

One of rue’s most useful features is its effectiveness when dried. Cut stems when the plant is in full growth, bundle them, and hang them to dry in a well-ventilated area away from direct sunlight. Once dry, the leaves retain their strong scent for months.

You can use dried rue in several ways. Hang bundles near doorways or windows to discourage flies from entering. Place dried rue in small cloth sachets and tuck them into drawers, closets, or pantry shelves to repel moths and other insects. The sachets also work well in outdoor seating cushions or storage bins where flies might try to nest.

Rue produces delicate yellow flowers that add a cottage-garden charm to your landscape. Despite its tough reputation, the plant is surprisingly easy to grow from seed. It prefers full sun and well-drained soil. Once established, rue is drought-tolerant and requires minimal care. Just remember to keep it contained and handle it with gloves.

Practical Considerations for Using Fly Repelling Plants

Growing these plants is only part of the solution. To get the best results, you need to think about placement, maintenance, and realistic expectations.

How Close Should Plants Be to Seating Areas?

For most fly repelling plants, proximity matters. Place pots or plantings within 3 to 5 feet of where you sit or eat. The scent needs to be concentrated enough to create a noticeable barrier. A single plant on the far side of your yard will not help much. Group several plants together near your gathering spots for cumulative effect.

If you have a large patio or deck, consider creating a ring of plants around the perimeter. This establishes a scent boundary that flies are reluctant to cross. Window boxes and hanging baskets at eye level work particularly well because the scent rises with warm air and surrounds your space.

Do These Plants Repel All Types of Flies?

These plants are most effective against common house flies, fruit flies, and cluster flies. They also deter mosquitoes and gnats to varying degrees. However, no plant can repel every flying insect with 100 percent effectiveness. Horse flies and deer flies are more persistent and may still venture into your space despite the plants. For those tougher pests, combine plant-based repellents with physical barriers like mesh food covers or fans.

Is Just Having the Plant Nearby Enough?

For some plants like lavender and rue, simply having them growing nearby provides ongoing protection. Their scent releases passively into the air. For others like basil and petunias, you get better results when you actively use the leaves or position the plants where breezes carry their fragrance. Crushing a few basil leaves near your dining table releases a burst of repellent oils that lasts for a couple of hours.

The most effective approach combines passive and active methods. Grow the plants for baseline protection, then use quick techniques like rubbing leaves on skin or spraying homemade repellents when flies become persistent.

Supporting Your Plants With Physical Barriers

Even the best fly repelling plants cannot handle every situation alone. A few simple accessories can dramatically improve your outdoor dining experience.

Tabletop fans. Flies are weak fliers. A gentle breeze from a small fan makes it difficult for them to land on food or on you. Position a fan on your table or sideboard, aimed across the eating area. The moving air also helps disperse the scent from your repellent plants, making them more effective. Look for battery-operated or rechargeable fans for flexibility.

Mesh food covers. These collapsible domes fit over plates, bowls, and platters. They create a physical barrier that flies cannot penetrate while still allowing air circulation. Pop them over dishes during lulls in eating, and remove them when you serve. They are lightweight, washable, and store flat when not in use.

Box fans for larger areas. If you host gatherings on a deck or patio, a standard box fan set on low can create a broad zone of moving air. Position it so it blows gently across the seating area. Flies and mosquitoes alike struggle to navigate this airflow. The fan adds white noise that masks outdoor sounds and helps keep the air moving on still, humid evenings.

Bringing It All Together

Creating a fly-free outdoor space does not require harsh chemicals or expensive equipment. A thoughtful combination of fly repelling plants and simple physical barriers can transform your patio, deck, or garden into a comfortable retreat. Petunias bring color and sticky defenses. Basil offers culinary rewards and potent aromatics. Lavender adds elegance and continuous fragrance. Rue provides heavy-duty protection when handled carefully.

Start with two or three of these plants near your most-used seating areas. Add a small fan and a set of mesh covers. Adjust the arrangement based on where you notice flies gathering. Over a few weeks, you will learn which plants work best in your specific space. The result is a healthier, more pleasant environment for you, your family, and your guests. No buzzing. No swatting. Just warm evenings and good company.