Plants That Repel Flies and Mosquitoes Safe for Dogs (Natural Pest Control Guide)
running around without a care in the world. That’s the picture we all have in mind. But then reality shows up… and so do mosquitoes and flies. One minute it’s peaceful, the next you’re swatting the air like you’re in some kind of losing battle you never signed up for.
And if you’re a pet owner, the frustration hits differently. You start asking the same question many others quietly wonder too: is there actually a natural way to keep insects away without exposing your dog to anything harmful?
That’s where certain plants quietly step in. Not miracle cures, not some “instant bug-free garden” promise—but surprisingly effective, natural helpers. Some plants release strong aromatic oils that mosquitoes and flies simply don’t like being around. And the good part? A lot of these plants are generally considered safe—or at least low-risk—when used properly in a normal home garden.
So instead of guessing or relying on chemical sprays, let’s break it down properly—what actually works, why it works, and what you can realistically expect when you build your garden around these plants.
Table of Contents
How plants actually repel mosquitoes and flies
Before listing plants, it helps to understand what’s really going on. Mosquitoes don’t randomly bite people—they track signals like carbon dioxide, body heat, and natural skin scent, while flies mainly rely on smell and environmental cues. Certain plants release strong natural compounds, such as citronellal, linalool, menthol, and eucalyptol, which don’t kill insects but instead confuse or overwhelm their sensory system. In simple terms, your garden stops smelling like “you” and starts smelling like herbs, citrus, or strong floral oils, which insects naturally tend to avoid. This is also where placement becomes important—because a plant hidden in a corner won’t do much, but grouped near doors, patios, or seating areas, the effect becomes much more noticeable.
Now that we understand how it works, let’s look at the plants that actually do this best in a real garden setting.
Lavender: the classic garden favourite

Lavender is one of the most popular plants used in gardens for keeping mosquitoes under control, especially across Europe and North America where ornamental and functional gardening often go hand in hand. It has a strong, calming floral fragrance that people generally find relaxing, but mosquitoes and flies tend to avoid it because of the natural aromatic oils present in the plant. These oils become more noticeable in warm weather, especially when the plant is placed in sunny, open areas, which makes lavender a practical choice for patios, walkways, and garden edges where people actually spend time outdoors.
From a pet safety point of view, lavender is generally considered safe for dogs in normal garden conditions, although eating large amounts can occasionally lead to mild stomach upset. That said, most dogs simply ignore it when it’s planted outdoors. One of its biggest advantages is that it’s low maintenance and drought-tolerant, meaning it thrives even with minimal care once established. It also attracts pollinators like bees, which helps improve overall garden health while still contributing to a naturally balanced, insect-reduced outdoor space.
Basil: simple, practical, and surprisingly effective

Basil is one of those everyday kitchen herbs that quietly pulls double duty in the garden. While most people grow it for cooking, it also works surprisingly well at keeping mosquitoes and flies away due to its strong natural oils. These aromatic compounds become more noticeable when the leaves are brushed, warmed by sunlight, or lightly crushed, releasing a scent that insects tend to avoid. Because it grows well in pots and small spaces, basil fits easily into patios, balconies, and kitchen gardens where people actually spend time outdoors, making it both a practical and functional plant for pest control.
Basil is also non-toxic to dogs, which makes it a comfortable choice for pet-friendly households. It grows quickly in warm weather and can be harvested regularly, which encourages fresh growth and stronger aroma release. Many gardeners keep multiple pots near doors or seating areas for continuous protection.

Rosemary: strong scent, strong garden presence
Rosemary is a hardy, woody herb that has been used in gardens for centuries, not just for cooking but also for its natural ability to repel insects. Its strong, pine-like aroma comes from essential oils that mosquitoes and flies tend to avoid. In warmer conditions, especially when planted in sunny areas, rosemary releases a more noticeable scent that helps create a subtle protective zone around patios, pathways, and outdoor seating spaces. It grows well in dry soil and doesn’t require much maintenance, which makes it ideal for low-effort gardens that still want functional benefits.
From a pet safety perspective, rosemary is generally considered safe for dogs in normal outdoor environments. It also has the advantage of being evergreen in many climates, meaning it provides year-round structure and usefulness in the garden.
Marigold: bright flowers with hidden benefits

Marigolds are widely used in gardens not just for their bright, cheerful appearance but also for their ability to naturally discourage insects. Their distinctive scent, which comes from natural compounds in the flowers, is known to repel mosquitoes, flies, and even some garden pests that affect vegetables. Because they bloom for long periods and grow easily in different climates, marigolds are often planted along borders, pathways, and vegetable gardens to create both visual appeal and functional pest control in one.
Marigolds are generally considered safe for dogs, although like many plants, eating large amounts is not ideal and may cause mild digestive discomfort. They also pair well with vegetables and herbs, making them a popular companion plant in organic gardening setups.
Lemon Balm: fast-growing and highly aromatic

Lemon balm is a fast-spreading herb that produces a strong citrus-like aroma, which is one of the key reasons mosquitoes tend to avoid it. It belongs to the mint family and grows very easily in both garden beds and containers, although many gardeners prefer pots because of how quickly it spreads. The lemony scent becomes more noticeable when the leaves are touched or brushed, making it especially effective when placed near entrances, patios, or outdoor sitting areas where air movement helps distribute the aroma.
Lemon balm is generally considered safe for dogs and is often recommended in pet-friendly gardens. It also attracts pollinators, adding ecological value while contributing to a naturally fresher-smelling outdoor space.
Citronella Grass: the well-known mosquito plant

Citronella grass is one of the most recognized natural mosquito-repelling plants, often associated with candles and outdoor repellents. The plant itself produces a strong citrus-like aroma that helps mask human scents, making it harder for mosquitoes to locate people. It grows best in warm climates and is often planted in clusters or large pots around outdoor seating areas to create a stronger scent presence in the surrounding air.
In garden form, citronella grass is generally considered safe for dogs, although it should not be heavily chewed or consumed. It is important to note that the plant is different from concentrated citronella oils, which are much stronger and require more careful handling around pets.

Mint: powerful scent, fast growth
Mint is a vigorous herb known for its sharp menthol aroma, which naturally repels mosquitoes, flies, and even ants. Once established, it spreads quickly and can take over garden areas if not controlled, which is why many gardeners prefer growing it in containers. Its scent becomes stronger when the leaves are disturbed, making it particularly effective near doorways, patios, and kitchen gardens where regular movement helps release its oils into the air.
Mint is generally safe for dogs in outdoor environments, although eating large quantities may cause mild stomach upset. Its fast growth and strong aroma make it one of the most reliable and easy-to-grow options for natural pest control.

Catnip: surprisingly effective mosquito repellent
Catnip is often known for its effect on cats, but it also contains a compound called nepetalactone, which has been shown to repel mosquitoes effectively. In garden settings, it grows easily and doesn’t require much maintenance, making it suitable for beginner gardeners who want a low-effort natural pest control option. Its mild herbal scent blends well into mixed garden beds without overpowering other plants. It also handles different soil conditions fairly well, which is why you’ll often see it thriving in both structured herb gardens and slightly wilder, cottage-style setups where plants are allowed to grow more freely.
For dogs, catnip is generally considered safe and does not cause harmful effects in normal exposure. It also attracts beneficial insects, contributing to a healthier garden ecosystem overall. One thing gardeners often appreciate is how resilient it is once established—it can tolerate pruning and still bounce back quickly, which helps maintain consistent coverage in mosquito-prone areas. In warmer months, its scent becomes slightly stronger, especially when brushed against, adding a subtle layer of natural insect resistance without requiring any extra effort or maintenance.
Thyme: low maintenance and quietly effective

Thyme is one of those herbs that doesn’t try to stand out, yet it consistently earns its place in a well-planned garden. It stays low to the ground, forms neat little patches, and quietly releases aromatic oils when disturbed. Those oils—especially when the leaves are brushed underfoot or lightly crushed—carry a scent that mosquitoes and flies tend to avoid. It’s not overpowering like mint or citronella, but more subtle, almost like a background layer of protection that builds up when planted in groups. Because it grows close to the soil, it works especially well along pathways, between stepping stones, or around seating areas where movement naturally triggers its scent.
From a practical standpoint, thyme is also one of the easiest herbs to manage, which is why it’s so popular in low-maintenance gardens. It handles dry conditions well, doesn’t need constant watering, and actually prefers a bit of neglect once it’s established. For dogs, it’s generally considered safe in normal outdoor environments, making it a reliable option for pet-friendly spaces. Many gardeners like pairing it with stronger-scented plants so it fills in the gaps, quietly supporting the overall insect-repelling effect without demanding attention or care.
Lemongrass: citrus-scented protection

Lemongrass produces a strong citrus aroma that’s very similar to citronella, which is exactly why it’s so commonly used in natural mosquito control setups. The scent is fresh, sharp, and noticeable even from a distance, especially during warm weather when the plant is actively growing. In many home gardens, it’s placed strategically around patios, walkways, and seating areas so the fragrance naturally spreads through airflow. Because of its taller growth habit, it also works well as a soft “green barrier,” helping define outdoor spaces while quietly discouraging mosquitoes from hanging around.
From a pet safety perspective, lemongrass is generally considered safe for dogs when it’s simply growing in the garden. The main precaution is to prevent excessive chewing, which is good practice with most aromatic plants anyway. Beyond its pest-repelling qualities, it also adds structure and height to garden designs, making it both practical and visually appealing. Many gardeners appreciate that it doesn’t just serve a functional purpose—it also brings a clean, tropical look that elevates the overall feel of outdoor spaces.
Important reality check for dog owners
It’s very easy to hear “dog-safe plants” and assume that means completely risk-free—but in real gardening situations, that’s not exactly how it works. Most of these plants are considered safe in normal outdoor exposure, but that doesn’t mean they’re meant to be eaten freely or in large amounts. Dogs, especially younger ones, are naturally curious. They’ll sniff, chew, dig, and sometimes test things they really shouldn’t.
- Even “safe” plants can cause mild stomach upset if consumed in large quantities
- Puppies and younger dogs are more likely to experiment with chewing plants
- Reactions vary depending on the dog’s size, diet, and sensitivity
- Strong aromatic herbs may be more irritating if eaten in bulk
- Occasional nibbling is usually not a concern, but repeated chewing should be discouraged
- Outdoor exposure is generally safe, but ingestion is where most issues happen
- Monitoring behavior around new plants is always a good habit for pet owners
- Container plants can help reduce unwanted chewing access
Placement becomes just as important as plant choice. Aromatic herbs like mint, citronella, or lemongrass should ideally be positioned in areas where dogs don’t spend all their time digging or chewing. Think of them more as “background garden protectors” near borders, patios, or walkways rather than plants sitting directly in high-activity pet zones.
It’s also worth keeping general pet safety in mind when choosing and placing garden plants, since not all greenery is equally safe for animals. For a reliable reference on plant toxicity and pet safety, you can check the ASPCA’s official plant database.
Ultimately, it’s about balance—creating a garden that works for both comfort and safety without overcomplicating things.
Final thoughts
A natural mosquito- and fly-resistant garden isn’t built with chemicals or complicated systems—it’s built with intention. The real difference comes from how you combine plants and where you place them. When you layer proven aromatic plants like lavender, basil, rosemary, marigold, mint, lemon balm, citronella grass, thyme, and lemongrass, you’re not eliminating insects completely, but you are shifting the environment in your favor. The garden becomes less inviting to mosquitoes and flies, and more balanced for everyday outdoor living. Each plant plays a small role, but together they create a noticeable reduction in irritation, especially around patios, walkways, and seating areas where people actually spend time.
For dog owners, that’s where the real value shows up. Instead of relying on sprays or chemical-based repellents, you’re working with a safer, more sustainable approach that fits into everyday life. It won’t make your garden “bug-free,” and it doesn’t need to—but it does make it more livable, more comfortable, and far less frustrating during warmer months. That balance between effectiveness, safety, and simplicity is exactly why these plants continue to be a trusted choice for pet-friendly homes.
What are the best plants that repel flies and mosquitoes safe for dogs?
Some of the most effective dog-safe options include lavender, basil, rosemary, marigold, mint, lemon balm, citronella grass, thyme, and lemongrass. These plants release natural aromatic oils that help reduce mosquito and fly activity in outdoor spaces.
Are mosquito-repelling plants safe for dogs?
Most mosquito-repelling plants are generally considered safe for dogs when grown in a normal garden setting. However, if dogs eat large amounts of any plant, it may cause mild stomach upset, so placement and supervision still matter.
Does lavender really repel mosquitoes and flies?
Yes, lavender contains natural oils that mosquitoes and flies tend to avoid. While it won’t eliminate insects completely, it can significantly reduce their presence when planted near patios, walkways, or seating areas.
Can plants completely get rid of mosquitoes in a garden?
No, plants alone cannot completely remove mosquitoes. They help reduce activity by masking human scent and creating an environment that is less attractive to insects, but best results come when combined with proper garden maintenance.
Where should mosquito-repelling plants be placed in the garden?
They work best when placed near entry points, patios, seating areas, and walkways. Grouping aromatic plants together also increases their effectiveness compared to scattering them randomly.
