Gardening

What Is Companion Planting and Does It Work?

Key takeaways

  • Companion planting is the practice of growing specific plants together so they help each other, and it is part ancient tradition, part modern marketing.
  • The science supports a few pairings: marigolds as a nematode cover crop, trap crops like nasturtium, and flowers that feed beneficial insects.
  • The famous claims, like basil making tomatoes taste better, have failed repeated tests. Distance and timing matter more than charts suggest.
Orange French marigolds blooming in a garden
Orange French marigolds blooming in a garden

French marigolds have documented effects on root-knot nematodes, but only when grown as a cover crop, not as a border. Photograph: George Chernilevsky/Wikimedia Commons

Image Credits: Wikimedia Commons

Companion planting is the idea that certain plants grow better next to specific neighbors. Every gardening forum circulates charts of "friends" and "enemies": basil loves tomatoes, marigolds protect everything, carrots and onions are inseparable.

Some of this is real, documented science. Some of it is folklore that has been photocopied for a century, and telling the two apart decides whether you get fewer pests or just a crowded bed. This article explains companion planting, including how it is supposed to work, what the science actually supports, the famous Three Sisters system, what counts as folklore, and how to try it without wasting a season.

What is companion planting?

The practice is simple: grow two or more plants near each other so that one benefits, or both benefit. It dates back centuries and appears in gardens on every continent. The most famous version is the Three Sisters garden, pioneered by Native Americans, where corn, pole beans, and winter squash grow together in the same mound.

Modern gardeners usually adopt companion planting for one of three reasons: pest control without chemicals, better soil or higher yields, or more efficient use of a small bed. All three goals are legitimate. The question is which plant combinations actually deliver them.

How is it supposed to work?

Companion planting claims rest on a handful of mechanisms.

  • Some plants feed the soil: legumes like beans and peas fix nitrogen through root bacteria, which helps heavy feeders like corn.
  • Some act as bodyguards: aromatic herbs are said to confuse or repel pests with their scent.
  • Some serve as decoys: trap crops lure pests away from the crop you care about.
  • Some are living mulch: low, sprawling plants shade the soil and suppress weeds.
  • Some feed the good guys: flowering plants provide nectar for predators like lady beetles and parasitic wasps.
Raised vegetable garden beds with mixed plantings
Raised vegetable garden beds with mixed plantings

Mixed plantings work best when each plant's contribution maps to a real mechanism, not a folklore chart. Photograph: PralineCoffee/Wikimedia Commons

Image Credits: Wikimedia Commons

Every one of these mechanisms exists in nature. The question is whether arranging them in a backyard bed produces a measurable effect. That is where the evidence gets interesting, and uneven.

What the science actually supports

Start with the strongest case: marigolds versus nematodes. Plant-parasitic nematodes are microscopic worms that damage vegetable roots, and the southern root-knot nematode is a major home-garden pest in warm regions. Marigold roots produce compounds that are toxic to these nematodes, and nematodes that enter marigold roots cannot establish a feeding site and die.

But the details matter enormously: according to the LSU AgCenter, French marigolds (Tagetes patula) are more effective than African types, while Signet types lack the resistance entirely. The catch that breaks most garden charts is that simply planting marigolds alongside tomatoes does not work, because the nematodes find the susceptible crop's roots anyway. What does work is growing marigolds as a cover crop for three to four months before the susceptible crop, though the effect lasts only about one season.

The insect evidence is mixed but real in places. Mississippi State University Extension reports that biochemicals from African and French marigolds killed root-feeding nematodes only after the spent plants were tilled into the soil, and that basil and marigolds together reduced thrips in both greenhouse and field tomatoes. Another study found that marigold, nasturtium, and onion reduced populations of cabbage looper and imported cabbageworm in cabbage.

Trap cropping has some of the clearest support. Fairfax County's gardening publication notes that nasturtium planted with zucchini decreased squash bugs and reduced squash damage, and that it may work similarly against cucumber beetles. Sweet alyssum, a low flowering plant, attracts lady beetles, hoverflies, parasitic wasps, and green lacewings, whose larvae feed on numerous garden pests.

A New Scientist review of seven papers on aromatic herbs grown with tomatoes found that herbs like marigolds and some basil varieties cut infestations of nematodes and whitefly, likely thanks to volatile compounds such as limonene. Some studies reported yield boosts of up to 59 percent, but growing tomatoes next to peppermint cut yields by 6.7 percent, because the vigorous mint competed for nutrients, light, and water. A companion that steals resources is worse than no companion at all.

The Three Sisters: the best-tested example

The Three Sisters system deserves its reputation: corn provides a living trellis for climbing beans, the beans fix nitrogen in the soil, and the squash spreads broad leaves that shade the soil, conserve moisture, and suppress weeds. Each plant's contribution maps to a real mechanism.

Researchers tested it directly in a 2025 study published in the journal Plants, People, Planet. Across 21 raised beds, they compared monocultures of Catawba maize, Dutch Fork squash, and Blue Lake pole beans against the Three Sisters arrangement. It is one of the few head-to-head trials of the traditional system, and it reflects a pattern: the system works because of structure, nitrogen, and ground cover, not because of mystical plant chemistry.

A corn field under a wide sky
A corn field under a wide sky

Corn, one of the Three Sisters, provides the living trellis that climbing beans need. Photograph: Paranoid/Wikimedia Commons

Image Credits: Wikimedia Commons

What is folklore

Now the debunking: the most repeated claim in companion planting is that basil improves the flavor of tomatoes grown beside it, but three studies measuring sugar, acidity, and blind taste-test scores found no appreciable difference. Fragrant herbs may protect tomatoes and even raise yields, but they do not make the fruit taste better, as the New Scientist review summarized. Joseph Masabni, a vegetable specialist with Texas A&M AgriLife, says basil has no connection to the taste of tomatoes.

Basil still earns its place next to tomatoes, for honest reasons: it shares the same sun, water, and soil needs, and its flowers feed pollinators. Its scent may affect how some insects locate host plants, and research has found lower thrips populations in basil-intercropped tomatoes in some systems. Plant it because it is useful and delicious, not because it is magic.

Two more myths worth retiring. Marigold fragrance does not repel aphids; laboratory studies have not supported it, though marigolds are fine plants with real benefits elsewhere. And companion plants do not need to touch each other: Masabni advises that plants in adjacent rows or beds, even up to five feet apart, still count.

How to try companion planting without wasting a season

If you want to experiment, stack the odds with what the evidence supports.

Start with the proven mechanisms.

  • Use marigolds as a cover crop the season before nematode-susceptible vegetables, not as a border around them.
  • Plant nasturtiums near squash as a trap crop.
  • Tuck sweet alyssum under vegetables to feed beneficial insects.
  • Try a Three Sisters mound if you have the space.

Keep the geometry honest. A companion five feet away in the next bed still counts. Vigorous plants like mint will compete with your crops, so give them their own container.

Watch the timing. Masabni warns that companion plants do not protect crops all season. They must be in season and actively growing to offer their benefits, so a dead border of marigolds is decoration, not defense.

And treat charts as hypotheses, not recipes. The honest version of companion planting is smaller than the folklore but still useful: a few proven pairings, diversity for its own sake, and realistic expectations.

Frequently asked questions

Does planting basil next to tomatoes make them taste better?

No. Three studies measuring sugar, acidity, and taste-test scores found no appreciable flavor difference. Basil is still a good tomato neighbor for pollinators, compatible growing needs, and possible insect effects, but not for flavor.

Do marigolds really repel insects?

Their fragrance has not been shown to repel aphids in lab studies. Their documented strength is against root-knot nematodes, and only when grown as a cover crop for several months before the susceptible crop, not planted alongside it.

How close do companion plants need to be?

They do not need to touch. Texas A&M's vegetable specialists say plants in adjacent beds, up to about five feet apart, can still function as companions. Avoid alternating them in the same row, which can complicate care.

Can companion planting replace pesticides?

No. Even the documented effects are partial. Companion plants can reduce pest pressure and support beneficial insects, but they do not offer full-season protection, and they work best as one part of healthy garden practices like rotation, sanitation, and good soil.

The bottom line

Companion planting works, but in a narrower way than the charts promise. Marigolds as a nematode cover crop, nasturtiums as a trap crop, alyssum for beneficial insects, and the Three Sisters system all have real evidence behind them. The flavor claims and the scent-based pest shields do not, so the practical move is to use the proven pairings, give them room and time to work, and enjoy the diversity for its own sake.

Tags: companion planting, vegetable gardening, pest control, soil health, organic gardening

Rive News is the research desk behind these explainers, writing evidence-based answers to everyday questions.

Latest in gardening

Subscribe for one evidence-based explainer in your inbox every morning.

Rive News publishes corrections transparently. Spot an error? We review every report.