Natural Pest Control Plants: What Works and What Doesn’t

Quick Answer
Plants control garden pests through three mechanisms that hold up in research: feeding beneficial predators and parasitoids with shallow-nectar flowers such as sweet alyssum, dill, fennel and yarrow; trap cropping, where a more attractive plant such as nasturtium or blue Hubbard squash draws pests away from the crop; and disrupting host-finding, where dense interplanting makes it harder for a pest to locate its target plant.
The fourth mechanism, the one every chart is built on, is chemical repellency. It mostly does not work at garden scale. Marigolds are the clearest example, and UC’s Integrated Pest Management program says so directly.
Marigolds do not repel insect pests. UC IPM is explicit about it. French marigolds can suppress some root-knot nematodes, but only when grown as a dense solid stand for a full season and then turned into the soil. A few marigolds dotted through a tomato bed do nothing for nematodes and nothing for aphids, whitefly or hornworms.
Why Most Repellent Claims Fail
A compound that repels an insect in a laboratory assay is being used at a concentration a living plant never releases. A few basil plants next to your tomatoes do not saturate the air with enough volatile oil to change what an aphid does.
Field trials generally confirm this. Interplanting sometimes reduces pest damage, but when researchers work out why, the mechanism usually turns out to be physical rather than chemical: the pest had a harder time finding the host plant among the clutter, or a predator population had somewhere to live.
That distinction matters, because it changes what you plant and how. If the effect is chemical, a few scattered plants would work. Since it is mostly physical and ecological, you need density, continuity of bloom, and patience across seasons.
Our companion planting guide covers the wider evidence in companion planting myths vs facts.
Strategy 1: Feed the Predators
The highest-return approach, and the one with the strongest support behind it.
Ladybirds, lacewings, hoverflies and parasitoid wasps eat enormous numbers of aphids, caterpillars and scale. Adults of most of these species feed on nectar and pollen, not on prey. No nectar means no adults, which means no eggs laid near your aphids.
The constraint is flower shape. Parasitoid wasps and hoverflies have very short mouthparts and cannot reach into a deep tubular flower. They need small, shallow, open flowers, usually in flat clusters.
The Plants That Work
| Plant | Family | Attracts | Notes |
|---|---|---|---|
| Sweet alyssum (Lobularia maritima) | Brassicaceae | Hoverflies, parasitoid wasps | The single best insectary plant. Low, long-flowering, tucks between crops |
| Dill (Anethum graveolens) | Apiaceae | Parasitoid wasps, hoverflies, lacewings | Let it flower. Also a swallowtail host plant |
| Fennel (Foeniculum vulgare) | Apiaceae | Parasitoid wasps, hoverflies | Check invasiveness locally before planting |
| Coriander / cilantro | Apiaceae | Parasitoid wasps, hoverflies | Bolting is the point, not a failure |
| Yarrow (Achillea millefolium) | Asteraceae | Ladybirds, hoverflies, parasitoids | Perennial, drought tolerant, long season |
| Cosmos | Asteraceae | Hoverflies, lacewings, bees | Easy from seed, flowers until frost |
| Buckwheat | Polygonaceae | Hoverflies, parasitoid wasps | Fast nectar in six weeks, good gap filler |
| Phacelia | Boraginaceae | Hoverflies, bees | Exceptional nectar producer |
How to Deploy Them
Aim for 5–10% of bed area, distributed rather than banked in one corner. Most parasitoid wasps forage over a few metres, so a single flower strip at the end of a plot leaves the far end unprotected.
Keep something in flower from early spring to autumn. Beneficials need continuous food or they leave. A single flush in June means no population when aphids peak.
Let herbs bolt. A bolting coriander plant is a better insectary plant than a tidy one. Plant more and let a portion flower on purpose.
Stop spraying, including organic sprays. Insecticidal soap, pyrethrin and spinosad kill ladybird larvae and hoverfly larvae as readily as they kill aphids. Building a predator population and then spraying resets you to zero.
Wait. Predator populations lag prey populations. Aphids arrive, then predators build over two to three weeks. Gardens usually see the benefit in the second season, not the first month.
Strategy 2: Trap Cropping
Plant something the pest prefers, let it take the hit, then deal with it there.
This works because it exploits an actual preference rather than an assumed aversion. It is the most reliable way to protect a specific crop from a specific pest.
Nasturtium for aphids. Black bean aphid strongly prefers nasturtium over beans. Plant it nearby, let it load up, then remove and destroy the infested plants. Leaving them in place just breeds aphids.
Blue Hubbard squash for cucumber beetles and squash vine borer. Plant a perimeter row a couple of weeks ahead of the main squash. Beetles concentrate on it and you can treat or remove that row alone.
Radish for flea beetles. Sacrificial radishes take flea beetle damage that would otherwise land on brassica seedlings, which are most vulnerable in their first few weeks.
Marigolds for slugs, which is a genuine and under-appreciated use. Slugs prefer marigold foliage to many vegetables, so a ring of marigolds around a hosta or lettuce concentrates them where you can collect them at dusk.
Chervil for slugs and snails, likewise.
The rule that decides success: a trap crop you never manage becomes a nursery. Pull, treat or destroy the trap plants once they are loaded. Otherwise you have raised the pest population on your own plot.
Strategy 3: Disrupt Host-Finding
Most pest insects locate host plants by a mix of sight and smell, landing repeatedly and testing what they land on. Dense mixed planting increases the proportion of wrong landings and reduces the number that settle.
Interplant rather than block-plant. Alternating rows of onions and carrots outperforms separate blocks against both carrot fly and onion fly, and the mechanism is confusion rather than repellency.
Undersow with a living mulch. Clover or a low groundcover under brassicas reduces cabbage root fly and aphid colonisation, because the green background makes the crop harder to distinguish from above.
Break up monoculture rows. A 6-metre row of one brassica is easy for a cabbage white to work along. The same plants split into three patches with something else between them are harder.
Use physical barriers where the pest is serious. Fine insect mesh over brassicas and carrots stops cabbage white and carrot fly outright. No planting arrangement matches a physical barrier, and the honest advice is to use mesh where the crop matters.
Strategy 4: Give Predators Somewhere to Live
Nectar feeds beneficials. Habitat keeps them.
Leave perennial cover. Ground beetles, which eat slug eggs and soil-dwelling larvae, need undisturbed ground and leaf litter. A permanently planted border beside a vegetable plot is worth more than an annual flower strip that gets cleared each autumn.
Skip the autumn tidy in part of the garden. Lacewings and ladybirds overwinter in hollow stems and leaf litter. Cutting everything to the ground in October removes the population that would have handled April’s aphids.
Add water. A shallow dish with stones gives predators and pollinators somewhere to drink.
Tolerate some aphids. A garden with zero aphids supports zero aphid predators. When aphids arrive, the predators are elsewhere. Early aphid colonies on a tolerant plant are how the system starts.
What About Aromatic Herbs?
Basil, rosemary, mint, sage, thyme and lavender appear on every repellent chart. The realistic position:
As insectary plants, they are useful, provided you let them flower. Flowering thyme, oregano and mint are excellent nectar sources for small parasitoid wasps.
As repellents, the field evidence is weak. Some studies find reduced damage on interplanted crops, but the effect is inconsistent and generally smaller than the yield you lose to competition for water, light and root space.
Plant them because you want to eat them, in a position where they flower for part of the season. That is a defensible reason and it delivers the real benefit.
Matching Plants to Your Actual Pest
| Pest | What actually helps |
|---|---|
| Aphids | Sweet alyssum, dill, fennel for hoverflies and parasitoids; nasturtium as a trap crop; tolerate early colonies |
| Cabbage white caterpillars | Fine insect mesh, plus dill and alyssum for parasitoid wasps |
| Carrot fly | Mesh or a 60cm barrier; interplanting alternate rows with onions |
| Slugs and snails | Marigold and chervil as traps, beetle habitat, evening collection |
| Cucumber beetle | Blue Hubbard squash perimeter trap crop |
| Flea beetle | Sacrificial radish, mesh over seedlings |
| Whitefly | Encarsia parasitoid habitat, yellow sticky traps, airflow |
| Spider mites | Raise humidity, avoid drought stress, stop broad-spectrum sprays |
| Root-knot nematode | French marigold as a full-season solid cover crop, then turned in |
Oregon State Extension’s companion planting overview and University of Minnesota Extension’s companion planting for home gardens both take the same evidence-led line.
Building It Into a Garden
Year one: add insectary flowers at 5–10% of bed area, spread through the beds. Stop spraying. Mesh anything that matters.
Year two: add a perennial border for overwintering habitat. Add trap crops for the specific pests that hurt you last year.
Year three onwards: the predator population becomes self-sustaining and intervention drops. This is the timescale, and it is why people who try it for a month conclude it does not work.
If you want to see how a mixed insectary planting looks in your beds before committing, run the layout through an AI garden design from a photo.
Frequently Asked Questions
The Bottom Line
Skip the repellent charts. Plant sweet alyssum and let your coriander bolt, put nasturtiums where aphids can find them and then pull them, mesh the brassicas, and stop spraying.
Give it two seasons. The gardens where this works are the ones where the predators moved in and stayed, and that takes longer than a growing season.
For the wider evidence on which pairings hold up, see companion planting myths vs facts.
Sources & Further Reading
- Marigolds — UC Integrated Pest Management
- Companion Planting in Home Gardens — University of Minnesota Extension
- Practice a Good Neighbor Policy in the Garden: Try Companion Planting — Oregon State University Extension
- Good Neighbors Make Good Gardens: Companion Planting — Penn State Extension



