8 Pest-Repelling Plants for UK Gardens
- French marigolds are the standout pest-repeller, deterring whitefly and aphids with scent and suppressing nematodes through their roots
- Nasturtiums work as a sacrificial trap crop, drawing aphids away from your beans and roses
- Catnip contains nepetalactone, a genuine natural repellent for mosquitoes, aphids and flea beetles
- Mint and basil mask the scent of your crops, confusing pests that find plants by smell
- Plants are part of a plan, not a miracle cure, and they never replace targeted slug control
Suggested reading: Our natural pest control products guide · 5 natural pest control methods
Every August the same thing happens in UK gardens. The aphids find the runner beans, whitefly drifts up from the greenhouse, and the cabbage whites start circling the brassicas. The instinct is to reach for a spray, but before you do, the plants themselves can do a surprising amount of the work.
Pest-repelling plants have a mixed reputation, and honestly, some of it's deserved. Lavender won't empty your garden of every flying thing, and no plant on this list will stop a determined slug. But several plants genuinely do deter pests through real chemistry, not folklore, and when you position them right they take real pressure off your crops. This guide covers the eight that earn their place in a UK garden, what each one actually does, and the honest limits you should know about.
1. French Marigolds - The Whitefly and Aphid Deterrent
French marigolds (Tagetes patula) are the most studied pest-repelling plant in the UK garden, and the evidence backs them up. Their foliage releases a strong scent that masks the smell of nearby crops, which confuses whitefly and aphids looking for a landing spot. More importantly, their roots release chemicals called thiophenes that suppress root-knot nematodes in the soil, which is why they have been used for generations as a tomato companion.
For a compact, free-flowering pick, Mr Fothergill's French Marigold Dwarf Double Mixed gives you 250 seeds of a classic bedding variety that stays low and bushy. If you want bigger, showier blooms that still do the same job, the Thompson & Morgan 'Colossus' French Marigold produces giant bi-coloured heads. Either way, plant them between your tomatoes, under greenhouse vents, and at the ends of bean rows where whitefly enters.
The honest limit: marigolds deter and mask, they don't kill. Heavy infestations still need a soap spray to knock the population back, but with marigolds in place you'll deal with far fewer of those outbreaks.
2. Nasturtiums - The Sacrificial Aphid Trap
Nasturtiums work on a completely different principle. Rather than repelling pests, they attract them, and that's exactly the point. Aphids prefer nasturtium foliage to almost anything else in the garden, so planting a patch of them near your beans, roses and fruit draws the colony onto the trap plant and away from your crops.
Mr Fothergill's Nasturtium Trailing Mixed covers fences and containers with red and orange flowers while doing its trap-crop job, and the flowers are edible, so you get a salad garnish out of the deal. The Tom Thumb variety stays compact, which makes it the better choice for small veg beds where trailing growth would smother crops.
Check the nasturtiums weekly during peak aphid season. When a stem is visibly crawling, remove that section or squash the colony, because the whole point is that the aphids stay on the trap plant instead of spreading. Our aphid control guide explains the full routine.
3. Catnip - The Genuine Chemical Repellent
Catnip (Nepeta cataria) is the plant on this list with the strongest real-world repellent chemistry. It contains nepetalactone, the compound that drives cats wild, and studies have repeatedly shown the same compound repels mosquitoes, aphids and flea beetles. It's one of the few garden plants where the repellent effect is backed by laboratory evidence rather than gardening folklore.
Just Seed's Catnip supplies 1500 seeds of the true Nepeta cataria species, which has the highest nepetalactone content, and it's a hardy perennial, so one sowing keeps paying off for years. If you want to start smaller, the 50-seed catnip pack is plenty for a couple of pots near the greenhouse door.
One caveat: if the neighbourhood cats discover it, they will flatten it within days. Plant it somewhere you can accept a little cat traffic, or protect the young plants until they establish.
4. Mint - The Scent Masker That Spreads
Mint's strong, sharp aroma is genuinely confusing to pests that find plants by smell, including ants, aphids and cabbage moths. The problem with mint isn't whether it works, it's keeping it contained. Left to itself in a border, mint spreads through underground runners and takes over within two seasons.
That's why the rule is simple: grow mint in a pot. Carbeth Plants' large mint in a 14cm pot is already established and ready to position, so you skip the seed stage entirely. Set it next to your brassicas to confuse cabbage moths, or near the back door where ants trail in. Crush a few leaves regularly to release the scent, because the aroma is what does the work.
Mint pairs with basil in the same masking role, and both are easy to grow on a patio, which makes them the simplest pest-repelling plants to add if you garden in containers.
5. Basil - Pest Protection With a Kitchen Payoff
Basil sits alongside tomatoes in the classic companion pairing, and while it's not going to banish every fly in the garden, its dense, aromatic foliage does mask the scent of nearby crops from flies and mosquitoes, and it attracts pollinators that help your fruit set. The bonus is obvious: you get a constant supply of fresh basil for the kitchen.
Premier Seeds Direct Genovese basil gives you 2000 organic seeds, more than enough for a whole summer of plants, and the Genovese type is the classic pesto variety with large, sweet leaves. The Italian basil 500-seed pack is a good smaller option. Grow several plants, because you'll harvest them constantly, and pinch out the flower spikes to keep the leaves coming.
Basil is half-hardy in the UK, so it lives in a greenhouse, on a windowsill or on a sunny patio from late May, not in open ground before the frosts pass.
6. Lavender - The Moth and Flea Barrier
Lavender earns its place in this list for two reasons. The first is that its essential oil genuinely deters moths, fleas and some flies, which is why lavender sachets have been used in wardrobes for centuries. The second is that it's a magnet for bees and hoverflies, and hoverfly larvae are voracious aphid predators, so lavender pulls in the insects that do your pest control for free.
For the best UK results choose English lavender (Lavandula angustifolia) rather than the French types, because it's fully hardy. Thompson & Morgan's 'Munstead' lavender seeds grow into the classic compact, fragrant plants, or skip the seed stage entirely with six established 'Munstead' plug plants that will flower this year. Edge a path, a herb bed or the base of a greenhouse with them.
Lavender needs full sun and sharp drainage, so if your soil is heavy clay, grow it in pots or raised beds rather than fighting the ground.
7. Garlic Chives - The Carrot Fly Deterrent
Garlic chives bring the allium family's pest-repelling chemistry to the vegetable bed. The onion and garlic scent confuses carrot fly, which finds carrots by smell, and it also deters aphids around nearby crops. Because garlic chives are a perennial, one clump keeps working year after year, and the flat leaves are a proper kitchen herb in their own right.
Meldon Seeds' garlic chives supply 100 seeds of the true Allium tuberosum, enough for a permanent clump and plenty to share. For a bigger sowing, the garlic chives perennial pack covers more ground. Plant a ring of them around your carrot rows, or a clump at the corners of the bed, and let them flower because the white blooms pull in beneficial insects too.
The honest limit: carrot fly deterrence works best when combined with fine netting over the crop. Garlic chives reduce the pressure, but they won't stop a determined carrot fly on their own.
8. A Mixed Herb Border - Rosemary, Thyme, Oregano and Chives
The final pick is a strategy rather than a single plant. A mixed herb border of rosemary, thyme, oregano and chives provides scent masking across a whole bed, and each herb adds its own pest credentials: rosemary and thyme deter carrot fly and cabbage moth, oregano attracts hoverflies, and chives deter aphids. Grouped together, the combined scent is far harder for pests to work around than any single plant.
This nine-herb seed pack covers rosemary, oregano, chives, basil, parsley, mint, thyme, coriander and cress in roughly 2000 seeds, which is everything you need for a working herb border at a fraction of the cost of buying individual packets. Sow them in spring in modules, harden them off, and plant the whole group as a defensive ring around your veg beds.
This is also the entry point if you're new to natural pest control, because even if the pest-deterrent effect is modest, you still end up with a productive herb garden. For the full picture of non-chemical methods, work through our natural pest control methods guide and the best pest control products roundup.
How to Position Pest-Repelling Plants So They Actually Work
Where you put these plants matters as much as which ones you choose, and a few habits make the difference between a border that helps and a border that just looks nice.
- Plant at the entry points, because whitefly and aphids arrive at the edges of the garden first, so place marigolds, catnip and lavender at the entrance to a greenhouse, the ends of bean rows, and along the windward edge of the veg bed.
- Interplant rather than segregate, because a single clump of marigolds at the end of the row protects less than the same plants dotted through the crop, because the scent masking only works close to the pest.
- Crush the foliage occasionally, because scent-based repellents work through aroma, and crushing a few leaves releases the oils when the plant alone isn't enough.
- Keep trap crops separate from crops, because nasturtiums should be near the vegetables but not touching them, or the aphids will simply walk across.
- Combine with methods that kill, because plants deter, they rarely kill. Keep a general organic spray and slug nematodes on the shelf for the pests plants cannot stop.
Frequently Asked Questions
Final Verdict
Pest-repelling plants aren't a replacement for pest control, they are a way to need less of it. French marigolds and catnip bring genuine repellent chemistry to the garden, nasturtiums draw aphids away from your crops, and a mixed herb border makes it harder for scent-finding pests to zero in on your vegetables in the first place.
Start with the plants that give the most return for the least effort: a tray of French marigolds dotted through the veg bed, a pot of mint by the back door, and a patch of nasturtiums near the beans. Then layer in the catnip and lavender once the first three are working. Pair the planting with a soap spray for outbreaks and slug nematodes for the ground level, and you have a genuinely natural defence that keeps the sprays in the shed.
Happy pest-free gardening! 🌿
Plants and Seeds Mentioned in This Guide
- Mr Fothergill's French Marigold Dwarf Double Mixed
- Thompson & Morgan French Marigold 'Colossus'
- Mr Fothergill's Nasturtium Trailing Mixed
- Mr Fothergill's Nasturtium Tom Thumb
- Just Seed Catnip (Nepeta cataria, 1500 seeds)
- Catnip Seeds 50 Pack
- Carbeth Plants Large Mint in 14cm Pot
- Premier Seeds Direct Genovese Basil (Organic)
- Italian Basil Seeds 500
- Thompson & Morgan Lavender 'Munstead' Seeds
- 6x English Lavender 'Munstead' Plug Plants
- Meldon Seeds Garlic Chives
- Garlic Chives Perennial Seeds
- 9-Herb Seed Pack (Rosemary, Thyme, Oregano, Chives + More)
All products independently selected. See our affiliate disclosure How We Review About Us.
Read our related guides: natural pest control products · natural pest control methods · how to get rid of aphids · companion planting
Jake took over a completely overgrown council garden and turned it into a productive, low-maintenance space. Specialises in practical solutions for common UK gardening problems.
As an Amazon Associate we earn from qualifying purchases.
Last reviewed: August 10, 2026 · Evidence-based content · Contains affiliate links