Finding mice in the kitchen, mosquitoes around the patio, or spiders appearing in corners of the house can quickly become frustrating. Many homeowners look for ways to discourage these unwanted visitors without immediately relying on strong chemical pesticides.
One option is to use plants that contain aromatic compounds or natural chemicals that may make certain areas less attractive to particular pests.
However, there is an important distinction: planting an herb or flower does not create an invisible barrier around your home. The effectiveness of plants varies by pest, plant species, concentration of natural compounds, weather, and how the plant is used.
Still, adding certain aromatic plants to gardens, balconies, windowsills, or outdoor seating areas can be a useful part of a broader pest-management strategy.
Here are 9 plants worth considering.

1. Peppermint
Peppermint is one of the most popular plants associated with natural pest deterrence.
Its strong aroma comes largely from compounds such as menthol and menthone. The scent can be unpleasant to some insects, and peppermint is frequently used in household pest-control products.
You can grow peppermint in:
-
Pots near doors
-
Containers on balconies
-
Garden borders
-
Outdoor seating areas
One practical advantage is that peppermint grows vigorously under suitable conditions.
However, that same characteristic can become a disadvantage.
Peppermint can spread aggressively, so growing it in containers is often easier to manage than planting it directly in the ground.
It should also not be assumed that simply having a peppermint plant indoors will eliminate mice or insects. Pest control usually requires addressing food, water, shelter, and entry points as well.
2. Lavender
Lavender is valued for its pleasant fragrance and attractive purple flowers.
Its aroma comes from volatile compounds, including linalool and linalyl acetate, which have been studied for their effects on certain insects.
Lavender can be particularly useful as part of an outdoor garden designed to make patios and walkways less attractive to some flying insects.
Try growing lavender:
-
Near sunny windows
-
Along walkways
-
Around patios
-
In containers near outdoor seating
Lavender generally prefers well-drained soil and plenty of sunlight.
An added benefit is that its flowers can attract pollinators such as bees and butterflies, making it an attractive addition to a garden.
Remember, though, that lavender is not a universal insect repellent. Its presence should be viewed as one element of a larger approach.
3. Lemongrass
Lemongrass is another strongly aromatic plant that is often associated with mosquito control.
It contains citral, a group of compounds responsible for much of its characteristic lemon-like scent.
The plant can work well in warm climates and can be grown in containers or garden beds.
Place containers around outdoor areas where people spend time, such as:
-
Patios
-
Balconies
-
Garden seating areas
-
Near outdoor dining spaces
But there is an important misconception to avoid.
Simply planting lemongrass does not guarantee mosquito-free surroundings.
Mosquito behavior depends on many factors, including standing water, temperature, humidity, wind, and the availability of hosts.
For better mosquito control, eliminate standing water around your property and use appropriate personal protection when mosquitoes are active.
4. Rosemary
Rosemary is a hardy aromatic herb that can serve both culinary and landscaping purposes.
Its strong fragrance comes from several volatile compounds, including 1,8-cineole, camphor, and other aromatic substances.
You can grow rosemary in:
-
Pots
-
Raised beds
-
Herb gardens
-
Sunny areas around patios
It generally prefers plenty of sunlight and well-drained soil.
Growing rosemary has another practical advantage: you can harvest it for cooking.
However, don't assume that a rosemary bush will prevent every insect from entering your home. The plant's scent may discourage certain pests under some circumstances, but it is not a substitute for sealing cracks, using screens, or eliminating breeding areas.
5. Basil
Basil is another useful herb for a home garden.
Its strong aroma comes from essential oils containing compounds such as linalool, eugenol, and methyl chavicol, depending on the variety.
Basil grows particularly well in warm conditions and can be kept in pots near kitchens, balconies, or outdoor eating areas.
Different varieties can have noticeably different aromas, so their effects on pests may also vary.
The biggest benefit may be that basil is easy to incorporate into everyday life.
You can grow it for cooking while also adding aromatic vegetation around areas where you spend time.
Just remember that basil should not be considered a guaranteed mosquito barrier.
6. Marigolds
Marigolds are popular garden flowers and are often promoted as natural pest-repelling plants.
They contain compounds such as pyrethrins in some species, although the amount and practical pest-control effect of a living marigold plant should not be confused with commercially formulated pyrethrin insecticides.
Marigolds are easy to incorporate into:
-
Vegetable gardens
-
Flower beds
-
Containers
-
Walkways
-
Patio areas
Their bright flowers can also add color to outdoor spaces.
Some gardeners plant marigolds around vegetables as part of an integrated pest-management strategy.
But again, planting a row of marigolds does not guarantee that insects will stay away. Their usefulness depends on the specific pest and growing conditions.
7. Catnip
Catnip may look like an ordinary garden herb, but it contains a compound called nepetalactone.
Research has shown that nepetalactone can have repellent activity against certain insects, including mosquitoes, under appropriate conditions.
That makes catnip an interesting plant for people looking for aromatic additions to their gardens.
There is one major consideration, however:
Cats may be extremely interested in it.
If neighborhood cats frequently visit your yard, planting catnip could attract them rather than keep animals away.
Catnip can also spread under favorable conditions, so gardeners should consider growing it in containers if they want greater control.

8. Mint
Peppermint isn't the only member of the mint family worth considering.
Spearmint and other aromatic mint varieties contain volatile compounds that give them their distinctive smell.
These plants can be useful around outdoor areas while also providing fresh leaves for beverages and cooking.
However, mint has a reputation for spreading quickly.
If you plant it directly in the ground, it can become difficult to control.
Containers are often the better option.
Place potted mint near areas where you want aromatic vegetation without allowing the plant to take over the garden.
As with other plants on this list, mint should be considered a potential supporting measure—not a guaranteed pest-control solution.