YardSolver app iconYardSolver is now an app —Get it on Google Play· iPhone app coming soon
YardSolver
Know what you need. Buy exactly that.

Companion Planting Chart

Pick a plant and see who it wants beside it — and who to keep away — with the reason and an honest evidence grade for each call. This is YardSolver's own chart data, the same pair lists behind the published chart and the warnings in the 3D Garden Designer. Where our data has no pairing for a plant, this page says so rather than inventing one.

Step 1 · Pick your plant Step 2 · Good neighbours, bad neighbours Step 3 · Lay them out in a bed

The full chart — every plant with pair data

Every row links to that plant's own page in the Plant Library — spacing, sun and sowing dates live there, and companions never cancel spacing. Set the distances with the Plant Spacing Calculator.

VegetableGood companionsKeep apartEvidence

The published chart: 17 vegetables

The reference table from our companion planting chart guide — the one to read once and bookmark. New to the reasoning? Start with Companion Planting Basics.

VegetableGood companionsKeep apartEvidence
TomatoesBasil, marigolds, carrots, lettuce, onions, parsleyPotatoes, fennel, corn (shared pests)Traditional + disease rule
Beans (bush & pole)Carrots, cucumbers, corn, radishes, potatoesOnions, garlic, leeks (alliums)Traditional, widely reported
PeasCarrots, cucumbers, corn, radishes, turnipsOnions, garlic, shallotsTraditional, widely reported
CucumbersBeans, peas, radishes, sunflowers, lettucePotatoes, strong aromatic herbs alongsideMechanism (structure)
CarrotsOnions, leeks, lettuce, tomatoes, radishesDill crowding them, parsnip (shared pests)Mechanism (scent confusion)
Cabbage & brassicasOnions, potatoes, celery, aromatic herbs, beetsStrawberries, climbing beans, tomatoes (competition)Traditional
Onions & garlicCarrots, lettuce, beets, tomatoes, strawberriesBeans, peas, asparagusTraditional, widely reported
PeppersBasil, onions, tomatoes (same care, no shared soil pests of note), carrotsFennel; beans competing in small bedsTraditional
LettuceAlmost everything — carrots, radishes, strawberries, cucumbers— (the universal gap-filler)Mechanism (structure)
PotatoesBeans, cabbage, corn, marigolds, peasTomatoes, cucumbers, squash (disease & competition)Disease rule
Sweet cornBeans (climb it), squash (shades its soil), cucumbersTomatoes (shared earworm pressure)Mechanism (three sisters)
Zucchini & squashNasturtiums, corn, beans, radishesPotatoesTraditional
BeetsOnions, lettuce, cabbage, bush beansPole beans (competition reports)Traditional
RadishesCucumbers, lettuce, peas, carrotsHyssop (traditional)Mechanism (fast filler crop)
KaleHerbs, onions, potatoes, beetsStrawberries, pole beansTraditional
SpinachStrawberries, peas, beans, lettuce— (few reported conflicts)Traditional
FennelNothing in the beds — grow it in its own potTomatoes, beans, most vegetablesMechanism (growth inhibition)

Grades are YardSolver's honest summary of the evidence behind each pairing — mechanisms are real; traditional pairings are low-risk folklore that helps some gardens and harms none. No pairing substitutes for spacing, soil and watering.

How companion planting actually works

Companion effects come from four ordinary mechanisms — no magic — as our Companion Planting Basics guide sets out:

  1. Structure. Tall corn or sunflowers shade lettuce in high summer; trellis crops shelter wind-tender plants; shallow-rooted fillers like lettuce use the spare ground while deep roots feed below.
  2. Scent. Onions and carrots confuse each other's pest flies; aromatic herbs muddle pest searches. Scent pairings need the partners genuinely interplanted, row about — not in separate beds.
  3. Soil. Beans and peas leave nitrogen behind for the next crop, and roots feeding at different depths compete less than roots stacked at the same level.
  4. Flowers. Marigolds, nasturtiums and herbs left to bloom feed the ladybirds and hoverflies that eat aphids — and work in clumps and edges, where a foraging insect finds a worthwhile stop, not as scattered token plants.

Family explains most of the chart before any of this: nightshades (tomato, potato, pepper, eggplant) share diseases and are never companions for each other; legumes dislike the allium family; brassicas are hungry and share cabbage-white butterflies. Family also drives rotation — plan it with the Crop Rotation Helper.

Best pairs worth planting on purpose

The three sisters — corn, beans, squash. The classic designed system: corn provides the trellis, beans climb it and add nitrogen, squash leaves shade the soil and hold moisture. It works because each plant does a different job.

Carrots with onions. The scent pair with a real mechanism behind it — each crop's smell confuses the other's pest fly, and they feed at different depths.

Lettuce under almost anything. The universal gap-filler: shallow roots, fast growth, and it uses ground that would otherwise grow weeds while taller crops mature.

Tomatoes with basil, marigolds, carrots, lettuce, onions and parsley. The classic tomato row from the chart — traditional pest-confusion and flower food for beneficial insects, graded honestly as traditional plus the disease rule that keeps potatoes away.

Worst pairs — the feuds actually worth obeying

Of the hundreds of claimed feuds, three are worth designing around, as the chart guide explains:

Alliums away from legumes. Beans and peas beside onions or garlic are stunted often enough, in enough gardens, that the separation costs nothing to respect.

Tomatoes away from potatoes. Not chemistry but epidemiology — they share blight and several other diseases, and planting them together builds a bridge for both.

Fennel in exile. Fennel inhibits the growth of many vegetables; a pot on the patio gives you the fronds and the seeds with none of the drama.

Everything else on the internet's feud lists is mostly two plants wanting the same light, water and food at the same time — solved by spacing and feeding, not by separation.

Keep going

Date the plantings: the Planting Calendar turns your frost dates into sow and transplant dates for every plant above. Check your seed stock in the Seed Box before you buy. Whole-garden layout, dates and quantities together: the Vegetable Garden Planner.

Questions people ask

What are the best companion plants for tomatoes?
Basil, marigolds, carrots, lettuce, onions and parsley are the classic tomato companions: basil and marigolds are traditional pest-confusers and flower food for beneficial insects, shallow-rooted lettuce uses the spare ground, and carrots feed at a different depth. Keep tomatoes away from potatoes — they share blight and other diseases — and away from fennel and corn.

Which vegetables should never be planted together?
The few pairings with a clear mechanism: onions and garlic beside beans and peas (legume growth is widely reported stunted), tomatoes beside potatoes (shared diseases), and fennel beside almost anything (it inhibits many vegetables and is best in its own pot). Most other 'never' pairings online are folklore — competition for light and water explains most of them.

Does companion planting actually work?
Partly, and this chart is honest about which part. Pairings that work by structure (tall shading short), by flowers feeding pest-eating insects, and by avoiding shared diseases rest on real mechanisms. Many famous scent-based pairings are traditional practice with limited trial evidence — they rarely harm, and the chart grades them as traditional rather than proven. Spacing, soil and watering still matter far more than any pairing.

Where does this chart's data come from?
From YardSolver's own published companion-planting chart and planner data — the same pair lists the 3D Garden Designer warns with as you plant. Where our data carries no pairing for a plant, this page says so instead of borrowing a claim from somewhere else.