Do Marigolds Actually Deter Pests? What Research Shows — Plus 4 More Flowers Your Vegetable Garden Needs
Most gardeners plant marigolds wrong. Here’s what research actually shows — plus 4 companion flowers proven to suppress aphids up to 50 feet.
Walk into any garden center in spring and you’ll find marigolds sold with labels like “natural pest repellent.” The advice repeats in every vegetable gardening book: surround your crops with marigolds and the bugs will stay away.
The research tells a more precise story. Marigolds do protect vegetables — but only against specific pests, under specific conditions, and with a planting method most gardeners never use. I’ve grown French marigolds as a nematode cover crop and can tell you the density requirement alone surprises most people: roughly 289 plants per 100 square feet, growing alone for a full two months before a single vegetable goes into that soil.
Meanwhile, four other companion flowers work through entirely different mechanisms — one suppresses aphids up to 50 feet away, another acts as a deliberate pest magnet you manage rather than repel, and a third attracts the parasitic wasps and syrphid flies that hunt pests before you notice them. This article covers what university research confirms for each flower, and is honest about where the evidence ends and gardening tradition begins.
Three Ways Flowers Actually Help Vegetables
Before choosing what to plant, it helps to know which mechanism a flower uses — because they work very differently and require different planting strategies.

Skip the guesswork — get a pre-planned 4×8 kitchen garden bed
Free printable planting plan: what goes where, when to plant it, and how to keep it alive. Plus two bonus flower bed plans.
Biochemical deterrence releases compounds from roots or leaves that interfere with pests directly. This is the most specific mechanism and the one most often misapplied, because it requires the right species, the right density, and the right timing.
Trap cropping exploits the fact that certain flowers are so attractive to specific pests that insects flock to them instead of your vegetables. You redirect the problem rather than eliminate it — but you have to manage it actively.
Beneficial insect habitat supports the predators and parasitoids that do the actual pest control: syrphid flies, parasitic wasps, green lacewings. This is the most broadly applicable benefit. Several flowers below deliver it even when their other claimed benefits fall short.
Virginia Tech Extension identifies these as core mechanisms within companion planting, alongside the simpler benefit of creating a more complex habitat that is harder for pests to navigate than a monoculture [7]. For a broader overview of which vegetables help each other in the same bed, see the Companion Planting Guide.
Marigolds: What the Research Actually Shows

The honest answer to “do marigolds repel pests?” is: it depends entirely on which pest and how you plant them. Here’s what university research confirms.
| Pest | Evidence | Conditions required |
|---|---|---|
| Root-knot nematodes | Strong (UF/IFAS) | Dense cover crop only; 2+ months before vegetables |
| Greenhouse whitefly | Moderate (PLOS ONE) | Preventive; enclosed/sheltered growing spaces |
| Thrips on tomatoes | Moderate (UMN Extension) | Intercropping with tomatoes |
| Cabbage, carrot, onion pests | None (Rutgers) | No effect found in controlled research |
| Aphids and spider mites | None | These pests attack marigolds themselves |
Nematodes: the one thing marigolds genuinely do
Root-knot nematodes are microscopic worms that attack plant roots underground, causing stunted, yellowing plants that seem to fail for no visible reason. French marigolds (Tagetes patula) suppress 14 genera of these nematodes through a root compound called alpha-terthienyl, which is toxic to nematode eggs [1].
The catch is the planting method. Alpha-terthienyl is only active in living roots in the soil — it breaks down when exposed to UV light outside the ground. Marigold extracts, marigold mulch, and casual interplanting between vegetables don’t work. What does work is a dedicated cover crop of French marigolds grown with no other plants, spaced no more than 7 inches apart (roughly 289 plants per 100 square feet), for a full two months on the exact site where your vegetables will go [1].
That’s more plants and more time than most gardeners allow. But UF/IFAS research confirms it: tomatoes planted after a proper marigold cover crop showed significantly lower root gall counts and higher yields, while tomatoes intercropped alongside marigolds showed no nematode reduction at all [1, 6].
Whiteflies: works, but mainly in enclosed spaces
A 2019 study published in PLOS ONE found that French marigolds significantly reduced greenhouse whitefly (Trialeurodes vaporariorum) populations, with the effect reaching statistical significance by day 34 of the trial (p = 0.013) [2]. The active compound is limonene, which makes up about 24% of the volatile output from marigold flowers and disrupts the whitefly’s ability to locate its host plant.
The study was conducted in an enclosed glass greenhouse in Yorkshire, UK. The authors explicitly note they cannot predict field performance outdoors, where air movement disperses limonene concentrations rapidly [2]. Gardeners with polytunnels, cold frames, or glass greenhouses will see more reliable results. In open beds, marigold intercropping can still reduce thrips on tomatoes [3], but the whitefly evidence is greenhouse-specific.
One consistent finding across studies: marigolds should be in place from the start of the season. Introducing them after an infestation is already established provides minimal benefit [2].
What marigolds won’t do
Rutgers University research found marigolds failed to repel cabbage, carrot, and onion pests [6]. The USDA has documented 15 pests that attack marigolds themselves, including aphids and spider mites — so the plants are neither a force field nor immune to the problems they’re supposed to prevent.
Their dependable benefit is different: marigolds consistently attract hover flies, ladybugs, and parasitic wasps [6]. Those predators hunt other pests throughout the garden, making marigold planting worthwhile even when direct deterrence is limited. For growing tips specific to marigolds, see the Marigold Care Guide.
Four More Flowers That Earn Their Spot

Nasturtiums: the deliberate decoy
Nasturtiums (Tropaeolum majus) don’t repel pests — they attract them deliberately, and that’s the mechanism. Aphids, particularly blackfly, find nasturtiums irresistible. By planting nasturtiums near cabbages, kale, or tomatoes, you give aphids a preferred destination and concentrate the problem in one controllable spot instead of letting it spread across every plant in the bed.
No more companion planting guesswork.
Search two plants — instantly see if they're compatible, which pests they repel together, and the ideal spacing between them.
→ Check Plant CompatibilityUniversity of Minnesota Extension research confirms nasturtiums reduce cabbage looper and imported cabbageworm damage on broccoli and cabbage, and that pairing them with marigolds near squash helps reduce squash bug populations [3]. The mechanism is trap cropping: the nasturtium absorbs the pest pressure so the vegetable doesn’t have to.
One thing to stay on top of: nasturtiums need monitoring. When aphids accumulate on them, knock the insects off with a hose, clip affected growth, or deploy ladybugs directly to the trap plants. Leaving an aphid colony to multiply on nasturtiums without intervening just breeds more aphids, and they will eventually move on to your vegetables anyway.
Sweet alyssum: the 50-foot force field
Of all the companion flowers with research behind them, sweet alyssum (Lobularia maritima) may be the most underused. UC Davis tested 22 candidate insectary plants in commercial lettuce field trials and found sweet alyssum was the most effective at suppressing aphid populations — with suppression extending up to 50 feet from where the alyssum was growing [4].
The mechanism is indirect: sweet alyssum’s tiny, densely packed flowers are accessible to small-bodied beneficial insects that larger blooms exclude. Parasitic wasps, syrphid flies, and green lacewings feed on the nectar as adults, then lay their eggs near aphid colonies so their larvae can feed on them [4]. The insects do the pest control; the alyssum provides their food source.
A 2025 study at Purdue University’s Meigs Horticultural Farm found that strawberries grown alongside sweet alyssum had almost no aphids, while strawberries grown alone carried measurable aphid pressure. Sticky card traps confirmed elevated parasitoid wasp and syrphid fly populations wherever the alyssum was planted [5].
Interplant sweet alyssum between rows rather than confining it to a border. The closer the nectar source sits to where pests live, the faster beneficial insects establish and maintain a presence in that area [4].
Calendula: the long-season multi-tasker
Calendula (Calendula officinalis) works on multiple fronts through a long bloom season. It attracts a wide range of beneficial insects — hoverflies, ladybugs, lacewings, minute pirate bugs — all of which prey on common vegetable pests [9]. Penn State Extension notes that calendula has “been proven to deter aphids” when grown near collards [8], making it a defensible choice for brassica beds.
The aphid-deterrence claim is more limited in scope than its general beneficial-insect benefits (primarily brassicas, primarily aphids), but the flower earns its place through the predator traffic it generates regardless of direct repellence.
Calendula is also one of the simplest companion flowers to establish: direct-sow after last frost, deadhead the spent flowers regularly, and it will rebloom continuously through most of the growing season. It tolerates light frosts at both ends of the season, which extends the beneficial insect habitat window.
Borage: excellent for pollinators, honest about pest control
Borage (Borago officinalis) has a long tradition as a tomato companion, with generations of gardeners crediting it with deterring tomato hornworms. The honest assessment: that pest-deterrence claim is based on gardening tradition and anecdotal observation rather than controlled research.
What borage genuinely delivers is a different but real benefit: it’s an exceptional pollinator magnet, drawing honeybees, bumblebees, and small native bees into the vegetable garden in large numbers. Improved pollination translates directly to better fruit set on tomatoes, peppers, squash, and cucumbers. The blue star-shaped flowers bloom over a long season and the plant self-seeds freely, so one established plant tends to become a recurring garden presence.
Plant borage near tomatoes or squash if you want more pollinators in that zone. If your primary goal is pest control rather than pollination, the other four flowers on this list have stronger evidence behind them.
Making It Work in Practice
Three principles hold true across all five flowers:
Plant preventively, not reactively. The limonene research makes this explicit: marigolds introduced after a heavy infestation showed minimal benefit [2]. The same logic applies to beneficial insect habitat — syrphid flies and parasitic wasps need an established food source before pests arrive, not after the damage is done.
Interplant within the bed, not just at the border. A ring of companion flowers at the edge of a vegetable bed is less effective than rows planted within it. UC Davis data showed aphid suppression from sweet alyssum peaked closest to the plants and extended outward from there — the benefit starts where the flower is, not 10 feet away [4].
Match the flower to the problem. Nematodes in a previous growing season? French marigold cover crop this year. Aphids on brassicas? Nasturtiums as a trap crop plus sweet alyssum for beneficial insect support. Limited pest pressure and mainly wanting pollinators? Borage and calendula. For a visual reference of which flowers and vegetables pair well together, the Companion Planting Chart covers the most common combinations.
Frequently Asked Questions
Which marigold variety actually works for nematode control?
French marigolds (Tagetes patula), specifically cultivars ‘Dwarf Primrose,’ ‘Single Gold,’ and ‘Tangerine.’ Avoid signet marigolds — the small-flowered types sometimes sold as edible garnish — because research shows they are susceptible to root-knot nematodes rather than suppressing them [1]. African marigolds (T. erecta) are also effective, with cultivars ‘Toreador,’ ‘Alaska,’ and ‘Crackerjack’ cited by UF/IFAS as reliable choices [1].
Do I remove the marigold cover crop before planting vegetables?
Yes, but timing matters. Alpha-terthienyl is inactivated by UV light once roots are exposed, so cut or mow the marigolds down just before transplanting and plant promptly. The goal is minimal time between soil disturbance and getting your vegetable roots into the treated zone [1].
How many companion flowers do I actually need?
For sweet alyssum, the UC Davis research found aphid suppression extending up to 50 feet, so even a moderate planting between rows provides meaningful coverage [4]. For marigold nematode control, the density requirement is strict: no more than 7 inches between plants across the full planting area [1]. For nasturtiums as a trap crop, 3–5 plants near a brassica bed is a reasonable starting point — enough to concentrate aphids without overwhelming the space.
Sources
- University of Florida IFAS Extension. “Marigolds (Tagetes spp.) for Nematode Management.” ask.ifas.ufl.edu
- Conboy, N.J.A., et al. (2019). “Companion planting with French marigolds protects tomato plants from glasshouse whiteflies through the emission of airborne limonene.” PLOS ONE. pmc.ncbi.nlm.nih.gov
- University of Minnesota Extension. “Companion Planting in Home Gardens.” extension.umn.edu
- UC Davis. “Aphid Relief from Sweet Alyssum.” ucdavis.edu
- Purdue University Vegetable Crops Hotline. “Observations on the Companion Plant: Sweet Alyssum.” vegcropshotline.org
- Piedmont Master Gardeners. “Magical Repelling Powers of Marigolds — Myth or Fact?” piedmontmastergardeners.org
- Virginia Tech Extension. “Companion Planting in Gardening.” pubs.ext.vt.edu
- Penn State Extension. “Herbs Make Good Plant Partners and Companions.” extension.psu.edu
- Clemson Cooperative Extension. “Attracting Beneficial Insects to Your Vegetable Garden.” hgic.clemson.edu









