7 Plants That Kill Aphids and Pests Naturally

Companion garden bed with plants that kill aphids interplanted among tomatoes and herbs

You have tried the sprays. You have tried the treatments. And the pests keep coming back anyway. Here is what most gardeners never find out: the problem is not what you are putting on your garden — it is what you are not planting in it. There are seven plants that pests genuinely hate, not because of folklore, but because of real chemistry researchers have studied, tested, and confirmed. And one plant at the end of this list is the actual source of compounds that insecticide companies extract and sell in bottles.

Below are seven plants that kill aphids, whiteflies, ants, mealybugs, caterpillars, spider mites, thrips, and more — naturally. For each one you will get the real science, the mistake most gardeners make, and exactly how to use it for maximum protection.

1. Marigold — The Underground Nematode Killer

The marigolds sold at most garden centers — the big fluffy French and African varieties — are beautiful, but they are not the most powerful pest-repelling marigolds you can grow. The most potent is a scrappy, small-flowered type sometimes called Mexican marigold or tall marigold. It grows tall, smells aggressively strong, and has been used in South American farming for generations as a living pesticide.

The mistake: distance

Most gardeners plant marigolds as a border decoration, then wonder why the aphids are still on their tomatoes. Marigolds need to be interplanted — woven throughout your beds, close to the plants you are protecting. Companion planting research has shown that French marigolds planted among tomato plants (not around them) reduce whitefly populations significantly by disrupting host-finding behavior. Plant them 3 to 5 feet away and the effect drops dramatically.

The science

Marigolds produce sulfur-containing compounds called thiophenes in their roots, leaves, and flowers. These are toxic to root-knot nematodes — one of the most destructive soil pests a gardener can face. Planting marigolds densely for a full season, then tilling them into the soil, suppresses nematode populations for the following year. Above ground, their scent masks the chemical signature of nearby plants and attracts hoverflies and parasitic wasps that eat aphids and caterpillar eggs. For more on these beneficial bugs, see our guide to natural aphid predators.

How to use them

  • Plant every 12 to 18 inches throughout vegetable beds, not just at the edges.
  • Give them full sun — at least 6 hours a day.
  • Water moderately; overwatering reduces scent output.
  • For nematode suppression, grow a dense planting all season, then till in before winter.

2. Basil — The Neurological Disruptor

The same compounds that make basil smell extraordinary to us are neurologically disorienting to insects. Pests land near basil, detect the volatile output, and redirect — their ability to locate host plants breaks down completely.

The mistake: letting it bolt

Basil’s volatile output is highest when the plant is actively growing, warm, and not yet flowering. The moment basil bolts, pest deterrence weakens. The fix: pinch flower heads the moment they appear, every week. This keeps the plant vegetative and keeps volatile output high. If you are already fighting leaf issues, our post on brown spots on basil covers common troubleshooting.

The science

Basil produces linalool, eugenol, estragole, and 1,8-cineole. Linalool has documented repellent effects on aphids, thrips, and spider mites by disrupting insect olfactory receptors. Eugenol shows direct insecticidal activity against certain mite species. Estragole is particularly effective against whiteflies. Thai basil and holy basil tend to have higher eugenol content than Genovese and work better as companions. For context on whitefly biology, the University of Missouri Extension’s whitefly guide is a solid starting point.

How to use it

  • Plant 12 inches apart directly among tomatoes and peppers.
  • Give it 6 to 8 hours of sun — less sun means less volatile production.
  • Keep soil consistently moist; heat-stressed plants bolt faster.
  • Pinch flower heads weekly.

3. Mint — The Ant Pheromone Breaker

Mint might be the most aggressive plant on this list, and that aggression is exactly what makes it useful. The entire plant — roots, stems, and leaves — is saturated with menthol, and it pushes those compounds into the surrounding soil and air constantly.

The mistake: planting it loose

Left unchecked, mint spreads by underground runners and takes over a raised bed in two seasons. Plant it in a 6 to 8 inch pot, then sink the pot into the ground or set it beside vulnerable plants. You get the volatile output without the takeover.

The science and the ant trick

Mint’s menthol triggers cold receptors in insect sensory systems, creating a chemical confusion response. For ants specifically, menthol at ground level interferes with the pheromone trails they use to navigate. Break a trail by scattering a handful of bruised fresh mint leaves along the path — the foragers lose their route completely. If ants are a chronic issue, our deeper list of plants that repel ants expands on this strategy. Beyond menthol, mint produces pulegone, menthone, carvacrol, and limonene, all of which register as threatening to a wide range of insects.

How to use it

  • Grow in a container; repot every 1 to 2 seasons.
  • Partial to full sun; keep soil consistently moist.
  • Peppermint has the highest menthol content and strongest deterrent effect.
  • Harvest regularly to keep plants bushy and volatile-rich. Need preservation tips? See our guide on how to freeze mint.

4. Lemongrass — The Citral Factory

Lemongrass is the plant on this list that gets the most underestimated and the most misused. The compound that gives it its citrus scent is citral — the same compound extracted and used commercially in natural insect repellents and citronella products. Lemongrass produces citral in concentrations higher than almost any other cultivated plant.

The mistake: wrong placement

Most gardeners put lemongrass at the edges of the property as a barrier. The volatile compounds dissipate too quickly in open air. For maximum effect, lemongrass needs to be within 5 to 8 feet of your target plants, ideally positioned upwind of the prevailing breeze so volatiles drift through the growing area.

The science

Lemongrass produces citral (a mix of geranial and neral), geraniol, and myrcene. Citral has been extensively studied as an insect repellent and shows activity against mosquitoes, aphids, thrips, and spider mites by masking the chemical profiles of nearby host plants. Geraniol has demonstrated repellency against whiteflies and has been studied against varroa mites in beekeeping.

How to use it

  • One large clump covers roughly 4 to 5 square feet — do not underplant.
  • Full sun, heat, and deep but infrequent watering.
  • Zones 9–11: perennial. Zone 8 and below: grow as an annual or overwinter indoors.
  • In containers, use a pot of at least 15 gallons.

5. Rosemary — The Evergreen Fumigant

Raised garden beds with lavender, chives and nasturtiums grown as natural pest-repelling plants

Rosemary was historically used not just as a culinary herb but as a fumigant. Medieval households burned rosemary branches to purify air and repel insects. Modern research has confirmed what those old-world gardeners knew: rosemary’s volatile output is persistently high, long-lasting, and effective against a wide range of pests.

The overlooked value

Rosemary is evergreen in mild climates, which means its volatile output continues year-round — including early spring when young transplants face the first wave of aphid and thrips emergence. There is also a pruning trick worth knowing: freshly pruned rosemary releases a concentrated burst of volatiles. Scatter trimmings among cabbage, tomato seedlings, or at the base of fruit trees as a short-term aromatic deterrent.

The science

Rosemary produces eucalyptol, camphor, alpha-pinene, and borneol. Eucalyptol is one of the most studied natural insect deterrents in the scientific literature, with documented repellency against aphids, whiteflies, spider mites, thrips, and moth larvae. At higher concentrations it inhibits a key insect nervous-system enzyme — the same target class as organophosphate pesticides, but through a far less toxic plant-derived pathway. For a broader academic look at how aphid companion planting is studied, this peer-reviewed review on companion plants for aphid management is worth bookmarking.

How to use it

  • One established bush covers a 6 to 8 foot radius.
  • Full sun; water sparingly; well-drained, slightly alkaline soil.
  • Prune regularly — but never cut into old woody growth.
  • Place fresh prunings directly among seedlings after each session.

6. Nasturtium — The Trap Crop

Nasturtium is the most strategically interesting plant on this list because it works in two completely opposite ways. Most gardeners know it repels certain pests. Almost no one knows about the trap-crop strategy — one of the most powerful passive pest-management tools in companion planting.

How the trap crop works

Nasturtiums are so attractive to black bean aphids and cabbage aphids that a well-placed planting will pull colonies off your valued plants and concentrate them in one location. You see the problem, you know exactly where it is, and you can hose it off with water, release ladybugs, or pull the whole plant and compost it. The trap-crop strategy only works if you plant nasturtiums 3 to 5 feet away from your main beds, not directly among them — otherwise aphid colonies migrate to neighbors. For broader design ideas, the Utah State Extension companion planting guide is a practical reference.

The dual action

At the same time nasturtiums attract aphids, they repel whiteflies, squash bugs, and woolly aphids from non-nasturtium plants. The repellent compound comes from a glucosinolate that breaks down into benzyl isothiocyanate — a powerful chemical irritant to many insects.

How to use them

  • Plant in clusters 3 to 5 feet from main beds.
  • Full sun to partial shade; water sparingly.
  • Do not fertilize — rich soil produces leaves instead of flowers.
  • Let a few go to seed for a self-maintaining trap crop next year.

7. Chrysanthemum — The Living Pesticide Factory

This is the plant I have been building toward. Most people think of chrysanthemums as a fall porch decoration. The truth is that one specific variety — the Dalmatian chrysanthemum — is the source of pyrethrin, one of the most widely used natural insecticides in the world. The pyrethrin extracted from its flowers is the active ingredient in hundreds of commercial organic and conventional pesticide products.

Not all mums are equal

Ornamental mums bred for autumn color have been selected for appearance, not pyrethrin content. Their pest-deterrent value is minimal compared to the Dalmatian variety, which looks like a simple white daisy with a yellow center. For sourcing timing on ornamental versus functional mums, see our breakdown of when to buy mums.

The science

Pyrethrins are a class of six related compounds produced in the flower’s glands and most concentrated just before full bloom. They work by opening sodium ion channels in insect nerve cells, causing repetitive firing, paralysis, and death. They are effective against aphids, whiteflies, thrips, spider mites, caterpillars, beetles, and fungus gnats — and because they degrade rapidly in sunlight and do not accumulate in soil, they are approved for certified organic production.

Homemade chrysanthemum spray

  1. Soak 100 g of dried Dalmatian chrysanthemum flowers in 1 liter of water for 24 hours.
  2. Strain through cloth.
  3. Apply immediately in early morning or evening — pyrethrins degrade quickly in light.

Important: Pyrethrins are toxic to fish and to bees at direct-contact concentrations. Never spray near ponds, water features, or during peak pollinator activity.

Key Takeaways

You do not have to plant all seven today. Start with two. Put marigolds among your tomatoes. Set a pot of mint beside your most pest-prone plant. Give it a season and the results will speak for themselves.

  • Interplant, do not border. Distance kills the effect for marigolds, basil, and lemongrass.
  • Keep aromatics vegetative. Pinch basil, prune rosemary, harvest mint — volatile output drops once plants flower or go woody.
  • Use nasturtium as a decoy, planted 3 to 5 feet away from the crops you are protecting.
  • Grow Dalmatian chrysanthemum, not ornamental mums, if you want real pyrethrin content.
  • Think of your garden as a system, not a collection of individual plants. Each of these species evolved its chemistry over millions of years — we are just finally using it on purpose.

The garden that defends itself is not built in a weekend. It is built one intentional planting at a time. Start with two of these this season, pay attention to what changes, and let the system do the work your spray bottle has been failing at.


If you want to turn all this growing effort into more local food on your table, browse Shopifarm to find nearby farms, nurseries, and growers across the U.S. It’s a practical way to source starts, compare seasonal offerings, and support the producers keeping fresh food close to home.