Marigolds are one of the best companion plants you can pair with tomatoes. They repel whiteflies through airborne chemicals, suppress harmful nematodes in the soil, and attract beneficial insects that help your garden thrive. The practice has been popular among home gardeners for generations, and research now confirms it works.
How Marigolds Protect Tomatoes From Pests
Marigolds defend tomatoes on two fronts: above ground and below it. The aboveground protection comes from a volatile compound called limonene, which makes up roughly 24% of the chemical output from marigold flowers and 21% from their leaves. Whiteflies, a common tomato pest, are strongly repelled by this compound. In controlled experiments published in PLOS One, tomato plants intercropped with French marigolds had significantly fewer whiteflies settle on them compared to tomatoes grown alone. When researchers tested whitefly behavior in olfactometers (devices that measure insect response to odors), whiteflies avoided marigold-scented air, settling in those zones only about 10.5% of the time compared to 24.7% in untreated controls.
The key finding: marigolds don’t just repel individual whiteflies on contact. Growing them alongside tomatoes throughout the season slows the entire whitefly population from building up. That cumulative effect matters more than any single encounter because whitefly damage comes from sustained feeding over weeks.
Nematode Suppression in the Soil
Below the surface, marigold roots release a compound called alpha-terthienyl that is toxic to root-knot nematodes, microscopic worms that invade tomato roots and cause stunted growth, wilting, and reduced fruit production. This chemical penetrates the outer layer of nematodes and triggers fatal oxidative stress inside their cells. Lab studies found it killed 99% of root-knot nematode juveniles at moderate concentrations, even without sunlight activation.
This effect has real consequences for your harvest. Research from California found that tomatoes grown after marigolds had significantly fewer root galls (the lumpy, swollen roots that signal nematode damage). Those tomato plants also produced longer roots, heavier shoots, and more fruit by both number and weight compared to tomatoes grown without prior marigold planting. If you’ve noticed your tomato plants wilting despite adequate water, or pulled up roots covered in knobby lumps, nematodes may be the culprit, and marigolds are one of the most accessible organic solutions.
For nematode suppression specifically, some gardeners plant marigolds as a cover crop the season before tomatoes, letting the roots thoroughly treat the soil. But interplanting them in the same season still provides meaningful protection.
Effects on Tomato Yield
One concern gardeners sometimes raise is whether marigolds compete with tomatoes for water and nutrients, potentially reducing your harvest. Research from field trials in Ethiopia compared tomato yields in monoculture versus intercropped with African marigolds. The intercropped tomatoes actually produced more marketable fruit: 10.19 tons per hectare compared to just 6.56 tons per hectare for tomatoes grown alone. Unmarketable fruit (damaged or diseased) dropped from 4.37 tons in the solo plots to 1.80 tons in the intercropped plots.
That’s a dramatic difference. The likely explanation is that pest suppression more than compensates for any minor competition between the plants. Fewer pests means less fruit damage and healthier plants overall.
Beneficial Insects Marigolds Attract
Beyond repelling harmful insects, marigolds draw in helpful ones. Hover flies, ladybugs, and parasitic wasps are all attracted to marigold blooms. Hover fly larvae eat aphids. Ladybugs consume aphids, mites, and other soft-bodied pests. Parasitic wasps lay eggs inside caterpillars and other pest insects, keeping their populations in check. Having these predators patrolling your tomato patch reduces the need for any other pest management.
One Risk to Watch For
Marigolds aren’t completely problem-free. They are susceptible to twospotted spider mites, the same pest that also attacks tomatoes. University of Minnesota Extension lists both marigolds and tomatoes among the hundreds of plants these mites target. In hot, dry conditions, spider mites can build up on marigolds and potentially spread to neighboring tomato plants. Keep an eye on the undersides of marigold leaves for tiny specks and fine webbing, especially during dry spells. A strong spray of water from a hose knocks mites off and helps prevent population buildup.
Which Marigold Varieties Work Best
French marigolds (Tagetes patula) have the strongest research backing for whitefly control on tomatoes. These are the compact, bushy varieties that grow 6 to 12 inches tall, with ruffled blooms in shades of yellow, orange, and red. The PLOS One whitefly study specifically tested and confirmed French marigolds as effective companion plants.
African marigolds (Tagetes erecta) are the taller varieties, often reaching 2 to 3 feet. They have the strongest reputation for nematode suppression and were the type used in the Ethiopian yield trials. If root-knot nematodes are your primary concern, African marigolds are a solid choice. If whiteflies are the bigger problem, go with French marigolds. Planting a mix of both covers your bases.
Avoid so-called “scentless” marigold cultivars. The pest-repelling benefits come from the plant’s aromatic compounds, so varieties bred for reduced scent will offer less protection.
How to Plant Marigolds With Tomatoes
For the best results, plant marigolds around your tomatoes at the start of the growing season rather than adding them later. The whitefly research found that protection was strongest when marigolds grew alongside tomatoes from the beginning, giving the limonene output time to establish a repellent zone before pest pressure builds.
Space marigolds about 12 to 18 inches from your tomato stems. Planting too close forces the roots to compete for water and nutrients in the same soil zone. In raised beds, place marigolds along the edges or at the ends of rows rather than directly at the base of tomato plants. If you’re growing in containers, use a separate pot for the marigolds and place it nearby rather than cramming both plants into one container. French marigolds can grow over a foot tall and wide, and they’ll crowd a potted tomato quickly.
Interplanting a marigold every two to three tomato plants provides good coverage. For nematode control, denser marigold planting is better because you want their root systems to permeate as much soil as possible. Some gardeners dedicate an entire bed to marigolds one season, then plant tomatoes there the following year, which gives the most thorough nematode suppression.

