Every garden has its uninvited guests. Aphids colonising the rose buds, whitefly clouding the tomatoes, carrot fly decimating the root vegetable bed, slugs making overnight raids on the hostas — the catalogue of garden pests is long, and the instinctive response for many gardeners is to reach for a chemical remedy. But there is a more elegant solution, one that has been practised in various forms for centuries and that modern science is now confirming with increasing rigour: growing flowers that actively deter, confuse, or repel the pests themselves.
The principle is not magic, and it would be dishonest to claim that a border of marigolds constitutes an impenetrable pest barrier. But a garden designed with pest deterrence in mind — one that uses aromatic plants to mask the scent of vulnerable crops, flowers that attract the natural predators of common pests, and plants whose chemistry actively repels specific insects — is a garden that requires significantly less intervention, less chemical input, and less frustration than one that ignores these relationships entirely.
This guide covers the most effective and garden-worthy pest-repelling flowers available to British gardeners, explaining the mechanism by which each plant works, the pests it targets, and how to use it most effectively in the garden. Some of these plants are beautiful enough to earn their place on aesthetic grounds alone; others are more modest in appearance but exceptional in their deterrent effect. All of them, grown well, make the garden a healthier, more balanced, and more interesting place.
How Plants Repel Pests: The Science
Plants have evolved a remarkable arsenal of chemical and physical defences against insect attack over millions of years. In the garden, we can harness these same defences in three broad ways.
Aromatic masking is perhaps the most widely applicable principle. Many pests locate their host plants primarily by scent — the carrot fly detects its host by the volatile compounds released by carrot foliage; aphids find their preferred plants by chemical signals in the air. Strongly aromatic plants grown alongside vulnerable crops can mask or overwhelm these signals, making it genuinely harder for pests to locate their targets. Lavender, rosemary, and French marigolds all work in part through this mechanism.
Direct chemical repellence occurs when a plant produces compounds that are actively unpleasant or toxic to specific pest insects. The pyrethrin compounds produced by Tanacetum cinerariifolium (pyrethrum) are the most dramatic example — these natural insecticides are toxic to a wide range of insects on contact. Nasturtiums produce mustard oils that repel some pests while attracting others as a trap crop. Alliums produce sulphurous compounds that deter aphids, carrot fly, and a range of other insects.
Predator attraction is the third and perhaps most sophisticated mechanism. Many pest-repelling flowers work not by directly deterring pests but by attracting the natural enemies of those pests — hoverflies, lacewings, parasitic wasps, and ground beetles — which then predate or parasitise the pests themselves. Phacelia, pot marigold, and sweet alyssum are particularly effective in this role, and a garden rich in these plants can build up populations of beneficial insects that provide ongoing, self-sustaining pest control.
French Marigold (Tagetes patula)
The French marigold is the most widely recommended pest-deterrent plant in the garden, and for good reason: it genuinely works, through several simultaneous mechanisms, against a range of important pests. It is also — a point worth making — a genuinely attractive bedding plant in its own right, available in vivid shades of yellow, orange, mahogany, and bicolour.
The roots of Tagetes patula exude a compound called alpha-terthienyl into the surrounding soil, which is toxic to soil nematodes — microscopic worms that attack the roots of many vegetables — and suppresses their populations significantly. Above ground, the strongly aromatic foliage masks the scent of nearby vegetables from aphids and whitefly. In greenhouse growing, the volatile compounds released by the foliage actively deter glasshouse whitefly (Trialeurodes vaporariorum) — one of the most problematic greenhouse pests — with a reliability that has been confirmed by research at the former Glasshouse Crops Research Institute.
Pests targeted: Whitefly, aphids, soil nematodes, and to a lesser extent carrot fly and asparagus beetle.
Best use: Interplant among tomatoes, peppers, and aubergines in the greenhouse or polytunnel. In the vegetable garden, grow in rows between brassicas and root vegetables. For nematode suppression, plant as a dense cover crop for a full season and dig in at the end of the year.
Growing notes: Sow under glass from March to April and plant out after the last frost in late May. French marigolds are half-hardy annuals that grow easily from seed. They flower from June until the first autumn frosts and need full sun and reasonable drainage. Deadhead regularly to prolong flowering.
Nasturtium (Tropaeolum majus)
The nasturtium occupies a unique position among pest-deterrent plants: it works primarily as a trap crop rather than a repellent — that is, it attracts specific pests so powerfully that it draws them away from more vulnerable plants nearby. Blackfly (Aphis fabae), in particular, find nasturtiums irresistible, colonising them in enormous numbers while largely leaving nearby beans, brassicas, and other crops alone.
This is most useful when the nasturtiums are positioned deliberately on the margins of the vegetable garden and checked regularly — colonies of blackfly on nasturtiums can then be squashed, hosed off, or left to the ladybirds, hoverfly larvae, and blue tits that will find them. Additionally, the mustard oils produced by nasturtium foliage deter some brassica pests — the cabbage white butterfly, in particular, is said to find the volatile compounds confusing.
Nasturtiums have the additional virtue of being among the easiest plants to grow from seed, producing their cheerful orange, yellow, and red flowers with extraordinary freedom from June until the first frosts. Both the flowers and leaves are edible, with a pleasant peppery taste.
Pests targeted: Blackfly (as a trap crop); some deterrence of cabbage white butterfly and aphids on nearby plants.
Best use: Sow around the margins of the vegetable garden, particularly near beans and brassicas. Check regularly for blackfly and remove infested shoots. Allow some to self-seed around the garden for a permanent presence.
Growing notes: Direct sow from April to June — nasturtiums dislike root disturbance and are best sown where they are to grow. They thrive in poor soil; rich conditions produce too much leaf growth at the expense of flowers. Full sun to partial shade.
Lavender (Lavandula angustifolia)
Lavender’s remarkable fragrance — the quality that makes it so beloved in the garden and so commercially important — is the product of a complex mixture of volatile aromatic compounds, primarily linalool and linalyl acetate, that evolved specifically as a defence against insect attack. These same compounds that we find beautiful are actively repellent to a range of pest insects, including aphids, whitefly, moths, and flies.
Grown alongside roses, lavender helps deter the aphids that would otherwise colonise rose buds. Planted at the edges of vegetable beds, its strong scent helps mask the olfactory signals that attract carrot fly, cabbage moths, and other pests that locate their host plants primarily by smell. In the kitchen garden, a lavender hedge along the border of the plot is both ornamental and functional — creating a scented barrier that pests must navigate before reaching the crops.
Lavender is simultaneously one of the most valuable plants in the garden for attracting beneficial insects — bumblebees, honeybees, hoverflies, and butterflies — that serve as both pollinators and, in the case of hoverflies, as predators of aphids.
Pests targeted: Aphids, whitefly, carrot fly (masking), cabbage moth (masking), flies, and moths generally.
Best use: Plant in rows at the edges of vegetable beds and alongside roses. Use as a low hedge around the kitchen garden. Interplant between brassica rows as an aromatic deterrent.
Growing notes: See the full lavender guide for detailed cultivation advice. Full sun and sharp drainage are essential. Prune annually after flowering to maintain compact, productive growth.
Alliums — Ornamental Onions (Allium spp.)
The allium family — which includes not only the ornamental species grown for their spectacular spherical flower heads, but also garlic, chives, and ordinary onions — produces sulphurous volatile compounds that are strongly repellent to a wide range of pests. Aphids, carrot fly, cabbage root fly, and Japanese beetle all avoid the vicinity of alliums; the smell of the foliage when bruised actively confuses pests attempting to locate their host plants by scent.
Chives (Allium schoenoprasum) are the most practical allium for interplanting throughout the vegetable and flower garden — compact, hardy perennials that produce cheerful purple pompom flowers attractive to pollinators from May to July and can be planted directly between rows of carrots, roses, and brassicas. Garlic (Allium sativum) planted among roses is a traditional companion planting combination with a long history; it is said to improve the fragrance of the roses as well as deterring aphids. The tall ornamental alliums — A. giganteum, A. ‘Purple Sensation’, A. cristophii — bring spectacular flower interest to the border while performing the same aromatic deterrent function.
Pests targeted: Aphids, carrot fly, cabbage root fly, and flies generally.
Best use: Plant chives between rows of carrots and at the base of roses. Interplant garlic cloves between rose bushes in autumn. Use ornamental alliums throughout the flower border to combine pest deterrence with outstanding ornamental value.
Growing notes: Alliums grow in any well-drained soil in full sun. Chives are among the easiest perennials to grow, tolerating a wide range of conditions and requiring only an occasional division and cut-back to remain productive. Ornamental alliums are planted as bulbs in autumn.
Phacelia (Phacelia tanacetifolia)
Phacelia is not widely known as a garden ornamental but deserves to be far more popular than it currently is. Its finely cut, fern-like foliage and dense spiralling clusters of vivid violet-blue flowers — produced over a very long season from June through to October — are genuinely beautiful, and it is one of the single most effective plants available for attracting beneficial insects, particularly hoverflies and parasitic wasps, whose larvae are among the most important predators of aphids in the garden.
A border or row of phacelia in or alongside the vegetable garden builds up populations of these beneficial insects to remarkable levels. The hoverfly larvae that emerge from eggs laid by the attracted adults consume aphids voraciously; the parasitic wasps lay their eggs inside aphids, killing them from within. This indirect pest control — recruiting and feeding the natural predators of pests — is self-sustaining and increasingly effective as beneficial insect populations build up over successive seasons.
Pests targeted: Works indirectly by attracting hoverflies, parasitic wasps, lacewings, and ground beetles that predate aphids, caterpillars, and soil-dwelling pests.
Best use: Sow in rows alongside or within the vegetable garden, or in drifts in the flower border. Also valuable as a green manure — dig in before flowering to improve soil structure.
Growing notes: Direct sow from March to July where it is to flower — phacelia grows quickly and dislikes root disturbance. Successive sowings every four to six weeks maintain a continuous flowering display. It self-seeds freely and will return reliably in subsequent years. Full sun to partial shade in any reasonable soil.
Pot Marigold (Calendula officinalis)
The pot marigold is one of the oldest cottage garden annuals and one of the most multi-functional plants available to the British gardener. Its bright orange and yellow daisy flowers, produced from late spring through to the first frosts, are beautiful, edible, and medicinally useful — and the plant works on multiple levels as a pest deterrent and beneficial insect attractor simultaneously.
The sticky resin on calendula stems and foliage physically traps aphids and whitefly, removing them from circulation. The flowers attract hoverflies in exceptional numbers — pot marigolds are among the best single plants for hoverfly attraction — and their open, accessible flower form makes nectar and pollen available to a wide range of beneficial insects. Planted among brassicas, the aromatic foliage helps deter cabbage white butterflies; in the greenhouse, the sticky stems help reduce whitefly populations.
Pests targeted: Aphids (physical trapping on stems); whitefly (trapping and deterrence); cabbage white butterfly (aromatic deterrence); indirect control of many pests through hoverfly attraction.
Best use: Scatter throughout the vegetable garden and flower border. Grow in pots in the greenhouse. Allow to self-seed freely — pot marigolds that self-seed into the kitchen garden provide early season beneficial insect support before the main planting is established.
Growing notes: Direct sow from March to May and again in autumn for early spring flowering. Pot marigolds are hardy annuals that tolerate light frost. They self-seed prolifically and, once introduced to a garden, will return reliably year after year. Full sun in any reasonable, well-drained soil. Deadhead regularly to prolong flowering.
Pyrethrum (Tanacetum cinerariifolium)
Pyrethrum is the source of one of the most effective and widely used natural insecticides in the world. The dried flowers of this daisy-like perennial contain pyrethrin compounds that are toxic to a very wide range of insects on contact — including aphids, whitefly, thrips, leafhoppers, and many others — while breaking down rapidly in the environment and leaving no persistent residue. Commercial pyrethroid insecticides are synthetic compounds derived from the same natural template.
In the garden, pyrethrum works both as a growing plant — its volatile compounds deterring insects in the vicinity — and as a source of homemade spray. Dried pyrethrum flowers can be ground and diluted in water to make a simple contact insecticide. The plant itself is a neat, hardy perennial with attractive white daisy flowers and fine, feathery foliage that earns its place in the border on purely ornamental grounds.
Pests targeted: Broad-spectrum contact insecticide effect against aphids, whitefly, thrips, and many other soft-bodied insects.
Best use: Grow as a border perennial among roses and in the vegetable garden. Harvest and dry flower heads for homemade sprays if desired.
Growing notes: Plant in full sun in well-drained soil. Hardy throughout the UK. Divide clumps every three to four years to maintain vigour. Flowers in June and July; cut back after flowering to encourage a second flush of foliage growth.
Sweet Alyssum (Lobularia maritima)
Sweet alyssum is a modest, low-growing annual that is easily overlooked in favour of showier plants, but it earns its place emphatically in any garden where aphid control is a priority. Its tiny white or pale pink flowers, produced in dense clusters with a faint honey scent from June through October, are among the most attractive to hoverflies of any garden plant — they are particularly effective at attracting the smaller hoverfly species that are specialists in aphid predation.
Sown along the edges of vegetable beds, between rows of brassicas, or at the front of the flower border, sweet alyssum creates a living hoverfly habitat at ground level. The combination of sweet alyssum, phacelia, and pot marigold grown together provides exceptional hoverfly and parasitic wasp attraction across the whole garden.
Pests targeted: Indirect control of aphids and small caterpillars through hoverfly and parasitic wasp attraction.
Best use: Sow in rows along the edges of vegetable beds and at the front of the border. Combine with phacelia and pot marigold for maximum beneficial insect impact.
Growing notes: Direct sow from April to June. Self-seeds freely and will return year after year. Full sun to partial shade; any reasonable soil. Very low maintenance.
Rosemary (Salvia rosmarinus)
Rosemary’s powerful aromatic oils — which give it its culinary value — make it an effective pest deterrent in the garden, particularly against the carrot fly and cabbage white butterfly. The volatile compounds it releases mask the scent of nearby vegetables, making it harder for flying pests to locate their host plants. Planted alongside rows of carrots or at the edges of the brassica bed, it provides a useful aromatic screen.
It is also a valuable early-season plant for pollinators — one of the earliest garden plants to flower, sometimes from January in mild weather, providing nectar for bumblebee queens emerging from hibernation when little else is available. As a garden plant it offers year-round presence, evergreen foliage, culinary utility, and considerable ornamental merit.
Pests targeted: Carrot fly, cabbage white butterfly, bean beetle (aromatic masking).
Best use: Plant at the edges and ends of vegetable rows, particularly beside carrot and parsnip beds. Use as a low informal hedge around the kitchen garden. Grow in pots near the greenhouse entrance.
Growing notes: Full sun and sharp drainage are essential. Tolerates poor, dry soil well. Prune lightly after flowering to maintain a compact habit. Hardy in most parts of the UK but may be damaged in severe winters in exposed gardens.
Six Particularly Garden-Worthy Pest-Repelling Combinations
Tomatoes + French Marigold — The classic greenhouse combination. Plant one marigold for every two or three tomato plants. The marigolds deter whitefly, the tomatoes crop better, and the bed looks considerably more attractive than tomatoes alone.
Roses + Chives + Lavender — A three-way combination that addresses aphids from multiple angles: chives mask the scent, lavender deters with its volatile oils, and both attract the hoverflies and ladybirds that predate aphid colonies.
Carrots + Rosemary + Alliums — Carrot fly navigates by smell. Interplanting with rosemary and chives creates an aromatic barrier that significantly reduces infestation, particularly effective when the carrot foliage is not disturbed unnecessarily.
Brassicas + Nasturtium + Pot Marigold — Nasturtiums attract and trap blackfly, pot marigolds attract hoverflies and deter cabbage white butterflies with their aromatic foliage, and the combination provides a degree of protection from multiple angles simultaneously.
Vegetable Garden + Phacelia + Sweet Alyssum — Grown in strips alongside the vegetable beds, this combination attracts hoverflies and parasitic wasps in exceptional numbers, building up a self-sustaining population of aphid predators across the whole garden.
Fruit Garden + Pyrethrum + Pot Marigold — Around fruit bushes and strawberries, this combination provides both direct deterrence and beneficial insect attraction, reducing aphid, thrip, and whitefly pressure without chemical intervention.
Common Problems, Solved
| Symptom | Likely Cause | Remedy |
| Pest-repelling plants present but pests remain high | Plants not close enough to affected crops; too few plants | Interplant directly among crops rather than at borders only; increase planting density |
| French marigolds not deterring greenhouse whitefly | Wrong species — must be Tagetes patula not T. erecta | Replace with true French marigold (T. patula); plant at ratio of one per two to three crop plants |
| Nasturtiums overwhelmed by blackfly | Working correctly as a trap crop | Remove infested nasturtium shoots; allow predators to build up; replace with fresh plants |
| Beneficial insects not appearing despite flowers | Garden too clean; pesticide use eliminating populations | Stop all insecticide use; allow some leaf litter and wild corners; beneficial insects take time to build up |
| Phacelia self-seeding too aggressively | Natural behaviour | Hoe seedlings when small; leave a proportion to flower for ongoing benefit |
| Aromatic plants losing deterrent effect | Plants stressed, dry, or past their best | Water and feed; prune to stimulate fresh aromatic growth; replace exhausted annuals |
| Slugs and snails unaffected by flowering plants | No flowering plant reliably repels molluscs | Use physical barriers, nematodes, or organic pellets alongside companion planting |
The Pest-Repelling Garden Calendar
| Month | Task |
| January–February | Sow French marigolds and nasturtiums under glass; plan companion planting layout |
| March | Direct sow phacelia, pot marigold, and sweet alyssum; plant chive and allium clumps |
| April–May | Plant out French marigolds after last frost; direct sow nasturtiums outside |
| May–June | Main planting of all companion plants alongside crops; begin monitoring for pest pressure |
| June–August | Peak flowering and pest deterrence season; deadhead regularly; check trap crops |
| July | Harvest and dry pyrethrum flowers if making homemade spray |
| August–September | Allow pot marigolds, phacelia, and sweet alyssum to self-seed for following year |
| September–October | Plant garlic and ornamental allium bulbs among roses and in vegetable beds |
| October–November | Cut back lavender and rosemary lightly; clear annual companion plants after frost |
| November–February | Plan next year’s companion planting; order seed; prepare beds |

在〈Guide to Pest-Repelling Flowers: How to Use Plants to Naturally Protect Your Garden〉中有 0 則留言