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

Guides · Companion planting · Published November 8, 2026

Companion Planting Chart: Best and Worst Vegetable Combinations

An overhead plan of a vegetable bed planted in companion groups: tomatoes with basil and marigolds between them, carrots beside onions, beans on a trellis

A companion planting chart is only useful if it is honest. The pairing charts copied around the internet mix four real mechanisms — shade and structure, scent confusion, soil and roots, flowers that feed pest-eaters — with folklore repeated so often it hardened into fact. This is the complete YardSolver chart for 17 vegetables: the good companions worth planting, the combinations to keep apart, and a plain grade for each claim, so you can see which advice rests on evidence and which is tradition. New to the reasoning behind pairings? Start with Companion Planting Basics — this page is its reference table, the one to bookmark for planting day.

What this companion planting chart is (and is not)

Step 1 — Start with families — they predict the chart

Vegetable plants grouped by family on trays: tomato and potato as one family, cabbage and kale as another, beans and peas as a third
Step 1 — Step 1 — Family explains most of the chart: relatives share appetites, pests and diseases.

Read any companion chart by family and most of it explains itself. Nightshades (tomato, potato, pepper, eggplant) share diseases — never companions for each other, however friendly the folklore sounds. Legumes (beans, peas) add nitrogen and dislike the allium family. Brassicas (cabbage, kale, broccoli) are hungry and share cabbage-white butterflies. Alliums (onion, garlic, leeks) are the scent family — useful beside carrots, unwelcome beside legumes. Family also drives the rotation that keeps soil-borne problems down: plan it with the Crop Rotation Helper.

Step 2 — The complete chart: 17 vegetables

Use the chart row by row as you lay out a bed: pick your crop's companions from its row, then set the actual distances with the Plant Spacing Calculator — companions never cancel spacing. The Evidence column is the honest part most charts skip: Mechanism means the pairing works by a known process (structure, flowers for beneficial insects, nitrogen, shared-disease avoidance); Traditional means generations of gardeners report it and trials are thin — plant it if you like, expect a nudge, not a miracle.

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.

A gardener holding a large paper chart with simple plant icons in a grid while looking at an empty raised bed, planning the layout
Step 2 — Step 2 — Work down your planting list: companions from the chart, spacing from the calculator.

Step 3 — Plant the pairings so the mechanisms can work

Hands planting a small basil seedling beside a tomato plant in a raised bed, marigolds blooming along the bed edge
Step 3 — Step 3 — Companions are placed on purpose: flowers in clumps, herbs at edges, fillers in the gaps.

Pairings fail when they are scattered token plants. Flowers meant to feed pest-eating insects — marigolds, nasturtiums, herbs left to bloom — work in clumps and edges, where a foraging insect finds a worthwhile stop, the same principle as the pollinator corner in Native Plants for Pollinators. Scent pairings (carrots with onions) need the partners genuinely interplanted, row about, not in separate beds. Shade pairings need the tall partner on the north side so it shelters without stealing the sun — sketch it in the Garden Planner before the seeds come out.

Step 4 — Keep the genuine feuds apart

Two raised beds separated by a path: onions and garlic in one, beans and peas in the other, and a fennel plant growing alone in its own pot
Step 4 — Step 4 — Three feuds are worth obeying. Everything else is negotiation.

Of the hundreds of claimed feuds, three are worth designing around. 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: this one is 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 and is the one plant experienced growers genuinely quarantine — 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

The reasoning, in full: Companion Planting Basics — this chart's companion page.

Lay the pairings out in real beds: the Garden Planner · Keep the pollinators fed: Native Plants for Pollinators.

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.

Share this page

Found it useful? Pass it on to a fellow gardener.

Comments & ratings

No comments yet.

Be the first to share your experience.

Comments appear publicly only after approval. No email is asked for, and nothing you write here is shared anywhere else.