February 28, 2026

Companion Planting Chart for Vegetables

Companion planting is one of those gardening topics where folk wisdom and actual science mix together in confusing ways. Some pairings are backed by solid research. Others have been repeated in gardening books for decades without much evidence. I'll give you the chart first, then break down what we actually know and what's just tradition.

The quick reference chart

VegetableGood companionsKeep apart from
TomatoesBasil, carrots, parsley, marigoldsFennel, brassicas, corn
PeppersBasil, onions, spinach, carrotsFennel, kohlrabi
BeansCorn, squash, carrots, beets, cucumbersOnions, garlic, chives
CornBeans, squash, peas, cucumbersTomatoes
Squash/PumpkinsCorn, beans, radishes, marigoldsPotatoes
CucumbersBeans, corn, peas, radishes, sunflowersPotatoes, aromatic herbs (sage)
LettuceCarrots, radishes, strawberries, chivesNone well-documented
CarrotsOnions, leeks, rosemary, lettuce, tomatoesDill (attracts carrot fly)
Onions/GarlicCarrots, beets, lettuce, tomatoes, peppersBeans, peas
Broccoli/CabbageOnions, garlic, beets, celery, dillStrawberries, tomatoes
PeasCarrots, turnips, radishes, cornOnions, garlic
PotatoesBeans, corn, horseradish, marigoldsTomatoes, squash, cucumbers

What companion planting actually does

The science behind companion planting falls into a few categories:

Pest management

This is where the strongest evidence exists. Certain plant combinations genuinely reduce pest problems:

Nitrogen fixing

Legumes (beans, peas, clover) pull nitrogen from the air and fix it in the soil through symbiotic bacteria in their root nodules. This is real, measurable, and significant. But here's the catch: most of that nitrogen becomes available after the legume dies and decomposes, not while it's actively growing.

The Three Sisters planting (corn, beans, squash) works partly because of this — though the bigger benefit is structural. Corn provides a trellis for beans, beans fix nitrogen, and squash shades the ground to suppress weeds and retain moisture. For more details, see our guide on How to plan a vegetable garden.

Space efficiency

Some companion planting is just smart use of space: For more details, see our guide on USDA hardiness zone map explained.

What to be skeptical about

Some companion planting claims are repeated everywhere but lack solid evidence:

Practical companion planting layouts

Here are three garden bed layouts that apply companion planting principles:

Bed 1 — The Classic Kitchen Garden (4'x8'):

Bed 2 — Three Sisters (4'x8'):

Bed 3 — Cool Season (4'x8'):

Once you've figured out your layout, use the planting calendar to time everything correctly. And for help figuring out what to grow in the first place, check out our vegetable garden planning guide.

Plan your garden with the right timing →

Open the Planting Calendar