I’ll be honest with you—I spent three summers fighting a losing battle against mosquitoes, ants, and what I can only describe as an unstoppable silverfish militia before my neighbor glanced at my bare foundation beds and said, “That’s your problem right there.”
She meant the plants. Or rather, the total absence of the right ones. Not just any filler greenery you throw in because the bed looks naked, but specific species that bugs genuinely want nothing to do with. Once I started treating my home’s perimeter like an actual defensive line instead of a decorative afterthought, everything shifted. And I mean everything—we’re talking 80% fewer mosquitoes hovering around our back porch by the second season.
What follows is what I’ve learned, tested, and watched work over a decade-plus of writing about DIY home maintenance and pest control.
1. Lavender
Lavender might be the most underrated pest barrier you can put in the ground. Smells incredible to us, absolutely wretched to moths, fleas, mosquitoes, and even mice—who apparently despise linalool, lavender oil’s primary compound, with a passion that borders on personal.
Plant it in clusters of three or more along south-facing foundation walls where it’ll soak up full sun. English lavender (Lavandula angustifolia) holds up better in northern climates than the Spanish variety, so choose your cultivar based on your zone. I’ve had a row of ‘Hidcote’ along my front walkway pulling double duty as pest barrier and conversation piece for going on six years.
Don’t just stick it in and ignore it. Trim after each bloom cycle and the scent stays potent all season.
2. Peppermint
Mice don’t dislike peppermint. They hate it. There’s a reason so many commercial rodent deterrent sprays are basically concentrated peppermint oil in a bottle—the menthol overwhelms their sensitive olfactory systems, and they’ll actively detour around heavy concentrations of it.
But here’s the catch: peppermint runs. Plant it in containers or buried pots, otherwise it colonizes your entire yard within two seasons. Ask me how I know. Place containers every 4-6 feet around entry points, near garage doors, and at basement window wells. Those are your three biggest rodent entry zones, full stop.
It also repels ants, aphids, and spiders. Not bad for a $3 plant from the garden center.
3. Chrysanthemums
This one surprises people every single time. Chrysanthemums contain pyrethrin—the same compound that gets extracted for use in commercial insecticides. Roaches, ants, ticks, fleas, silverfish, Japanese beetles—all of them would rather be somewhere else.
A 2019 review in the Journal of Economic Entomology confirmed pyrethrin’s effectiveness against over 200 insect species. Two hundred. Plant mums along your foundation in fall (they’re usually on clearance anyway) and they’ll settle their roots before winter hits. Come spring, you’ve got a natural insecticide ring around your house that also happens to look genuinely beautiful.
4. Lemongrass
Lemongrass contains citronella oil—yes, the same stuff in those smoky tiki torches. Except when it’s in a living plant, it releases continuously rather than only when something’s burning. The concentration per square foot of living lemongrass beats a candle handily.
It grows tall, sometimes 4 feet, so position it with some thought. Near patio corners, alongside outdoor seating, or at the corners of your home where mosquitoes tend to stage their little ambushes. It’s tropical, so if you’re in Zone 8 or below, treat it as an annual or haul the containers inside for winter.
5. Rosemary
Rosemary earns its perimeter spot by pulling double duty—you cook with it AND it keeps carrot flies, cabbage moths, and mosquitoes at a respectable distance. The woody, resinous scent comes from camphor and borneol compounds that insects find genuinely offensive.
Plant upright varieties like ‘Tuscan Blue’ near doorways and windows. Creeping varieties work beautifully as ground cover along pathways where you want low-maintenance pest control without sacrificing how the place looks.
So here’s a tip worth remembering: brush against your rosemary when you walk past. Crushing the leaves slightly releases more of the volatile oils and cranks up the repellent effect considerably.
6. Marigolds
Marigolds have been companion-planted for pest control since at least the 1950s, when organic gardeners started documenting their effect on nematodes. French marigolds (Tagetes patula) specifically produce alpha-terthienyl from their roots, which kills soil nematodes and repels whiteflies and aphids above ground.
For perimeter use, plant them in a continuous border—not scattered randomly around like decorative punctuation. A solid line of marigolds 18-24 inches from your foundation creates an actual barrier rather than a handful of islands bugs can simply route around. And they’re cheap. One $2.49 seed packet can give you 40-50 plants.
7. Catnip
Before your cat destroys your entire pest control strategy—yes, catnip. A 2010 Iowa State University study found that nepetalactone (catnip’s active compound) is 10 times more effective at repelling mosquitoes than DEET under lab conditions. Ten times.
Lab versus real world always involves a gap, sure. But the field results are still impressive. Catnip also sends cockroaches running, which is why some pest control companies have been quietly studying it as a commercial product since the early 2000s.
Plant it near windows and vents. Keep it trimmed so it stays bushy and aromatic rather than leggy and useless. And if you have cats? Raised planters. Non-negotiable.
8. Basil
Basil is one of the few plants that repels flies and mosquitoes through continuous passive emission of volatile compounds—you don’t need to touch or crush it for it to work. It just does its thing, constantly, without any help from you.
But it needs warmth and full sun to stay effective. A basil plant struggling in shade produces far fewer of the eugenol and linalool compounds that actually do the work. Position it in your sunniest foundation beds or in containers near outdoor eating areas. Replace it mid-season if it starts bolting—flowering basil loses most of its repellent potency fast.
9. Wormwood
Wormwood (Artemisia absinthium) is the heavy artillery. Not conventionally pretty, but arguably the most broadly effective pest repellent plant you can grow. Slugs, snails, moths, flea beetles, mice—wormwood’s absinthin compound hits a wide range of pests hard.
One important caveat: wormwood releases chemicals that inhibit growth in nearby plants, so keep it well away from your vegetable garden and flowering beds. Along bare foundation stretches or in corner spots where nothing else thrives anyway, though? It’s perfect.
Bottom Line
Here’s something I genuinely haven’t seen other people point out: most homeowners plant these in ones and twos, treating each plant like a standalone fix. The real protection comes from layering. Pair a tall lemongrass at the corner with low-growing marigolds in front of it and peppermint containers at the door, and you create overlapping scent zones that are genuinely harder for pests to navigate around. Think less “individual no-entry signs” and more “fence with no gaps.” That’s the actual difference between the homeowners who swear this stuff works and the ones who tried one plant once and gave up.
Frequently Asked Questions
How close to the house should pest repelling plants for home perimeter placement be?
Most work best within 12-24 inches of your foundation. Beyond 3 feet, scent concentration drops enough that mobile insects can simply avoid the plant and still reach your walls. Keep them tight to the structure.
Do these plants work year-round?
No—and that gap matters. Most are seasonal, which means your pest barrier has real holes in winter. Lavender and rosemary are your best bets for year-round coverage in temperate climates since they’re evergreen in Zones 7 and above.
Can I combine multiple repellent plants in the same bed?
Absolutely, with one exception: keep wormwood isolated from everything else. The other plants on this list are generally compatible with each other, and mixing them actually broadens your coverage since different compounds target different pest species.
How long before I notice results?
Honestly? Budget a full season. One or two plants take a few weeks to establish strong scent output. A properly planted perimeter with multiple species working together usually shows noticeable results—fewer mosquitoes around your porch, fewer ants at entry points—within 4-6 weeks of planting mature specimens.
Photo by Zain Ali on Pexels

