Skip to content
SoilSums

Know exactly how much to buy

Companion planting chart

Companion planting chart

Tomato is Solanaceae. 4 of the 7 pairings below rest on tradition alone.

Plant near tomato

  • BasilTradition onlyTraditional pairing

    A long-standing pairing with no mechanism worth citing. Nothing says not to do it, and the two are in different families so they share no pests — but do not expect it to do anything for the crop.

  • MarigoldSupportedNematode suppression

    Marigolds do suppress root-knot nematodes, but only grown as a dense stand across the ground for a season and then dug in — a few plants dotted beside tomato will not do it.

  • OnionTradition onlyTraditional pairing

    A long-standing pairing with no mechanism worth citing. Nothing says not to do it, and the two are in different families so they share no pests — but do not expect it to do anything for the crop.

  • ParsleySupportedFeeds beneficial insects

    Parsley in flower feeds the hoverflies and parasitic wasps whose larvae eat aphids and caterpillars. It has to be allowed to flower — a plant kept clipped for the kitchen does nothing here.

Keep away from tomato

  • PotatoSupportedShared pests

    Both are Solanaceae. Close relatives share pests and diseases, so planting them together concentrates a problem instead of dividing it, and they belong in different parts of a rotation.

  • Sweet cornTradition onlyTraditional caution

    Named on the usual avoid-lists without a tested mechanism behind it. We show it because you will meet the claim elsewhere; we would not rearrange a bed for it.

  • FennelTradition onlyTraditional caution

    A traditional caution. We have no guide for fennel, so there is nothing here beyond the claim itself.

Supported
A mechanism that has been studied and holds up. Worth planning a bed around.
Plausible
A mechanism that makes sense and has little or no testing behind it. Free to try.
Tradition only
Repeated in garden lore with no mechanism worth citing. We list it because you will meet it elsewhere, not because we can stand behind it.

Generated from the crop data behind every guide on this site, so this chart and the tomato guide can never disagree. Spacing, sun and water do far more for a crop than its neighbours do.

Pick a crop above and you get two lists: what to plant near it, and what to keep away. Every entry carries a reason and a label saying how well that reason is actually supported.

The label is the point. Most companion planting charts are a grid of names with no indication that some pairings rest on studied mechanisms and most rest on nothing at all.

What the three labels mean

Supported — a mechanism that has been studied and holds up. There are only a few, and they are worth planning a bed around:

  • Feeding beneficial insects. Small, shallow, open flowers — the umbels of dill, cilantro and parsley, and the flowers of oregano and thyme — are accessible to hoverflies, parasitic wasps and lacewings, whose larvae eat aphids and caterpillars. The catch, which almost every chart omits: it only works from a plant in flower. A patch clipped for the kitchen all season feeds nobody.
  • Nematode suppression by marigolds. Real, and specific: it needs a dense stand grown across the ground for a season and then dug in, effectively as a cover crop. A few marigolds dotted between tomatoes will not do it.
  • Shared pests within a family. Two plants in the same botanical family host the same pests and diseases. This is the strongest reason to keep two crops apart, and it is why rotation is organised by family rather than by crop.
  • Incompatible watering. Not a pest question at all. A woody Mediterranean herb wants poor, sharply drained soil kept dry; a leafy or fruiting vegetable wants steady moisture and feeding. Whichever regime you follow, one of them suffers. This is the most reliably useful thing on the chart and almost nobody publishes it.

Plausible — a mechanism that makes sense and has little or no testing behind it. Scent masking is the main one: aromatic herbs near brassicas, said to confuse cabbage moth. It costs nothing to try. Nitrogen fixing sits here too, for a reason worth knowing — beans and peas do fix their own nitrogen, but they keep most of it until the plant is dug in, so the crop that follows benefits more than the neighbour standing beside it.

Tradition only — repeated in garden lore with no mechanism worth citing. About two thirds of all the pairings on this chart fall here.

Why we show the weak pairings instead of dropping them

A chart of only the well-supported pairings would be short, honest and useless, because a reader who has met a claim elsewhere and cannot find it here will assume we missed it rather than that we checked. So the traditional claims stay, labelled.

This is the same treatment the marigold-and-beans claim got on our own data. Marigolds were once listed as inhibiting beans, a claim repeated widely and supported nowhere; rather than leave it unmarked or silently delete it, we established it was folklore and removed it from the data with the reasoning recorded. Does companion planting actually work goes through the five mechanisms in detail and is the longer read behind this chart.

How this chart is built

Every row is generated from the companion lists on our crop guides, read directly from the same data file those pages use. Nothing here is typed out by hand, which means the chart cannot drift away from the guides — a hand-maintained grid of 28 crops would be several hundred cells, and every hand-maintained figure in this project has eventually disagreed with its source.

The reasons are derived too, rather than written per pair:

  • Botanical family gives the shared-pest reason, in both directions. Each crop carries its family, so the chart can work out that dill and carrots are both Apiaceae without anyone asserting it.
  • Insectary flowers are a known set of herbs whose flower shape feeds small beneficials.
  • Watering conflict follows from whether one plant is a woody Mediterranean herb and the other is not.
  • Anything left over is tradition, and says so.

A name that has no guide on this site — nasturtium, leek, fennel and a few others — still appears with its claim, without a link. Leaving it out would misrepresent what the guides say.

Using it to plan a bed

The chart answers "what goes next to this", which is a smaller question than "how do I lay out a bed". Two things matter more than any pairing on it:

Spacing. Crowding does more damage than any bad neighbour. The plant spacing calculator works from the same crop data as this chart, and the square foot garden planner lays a bed out crop by crop.

Grouping by need, not by tradition. The single most useful application of this chart is the watering conflict, because it is the one that actually kills plants. Put the woody herbs — lavender, rosemary, sage, thyme, oregano — together at a dry edge, and keep the thirsty vegetables together where you water. Growing herbs covers that contrast, and planning a vegetable garden layout covers the rest of the bed.

Get the spacing, sun and water right and the neighbours barely matter. That is not a popular thing to say on a companion planting page, but it is what the evidence supports.

Common questions

Does companion planting actually work?
Some of it does. Attracting beneficial insects with small open flowers is well supported, and so is the nematode suppression you get from a dense stand of marigolds dug in. Most of the rest — the long lists of plants that supposedly help or harm each other — is traditional lore that has never been tested. This chart labels every pairing so you can tell which is which.
Why label so many pairings "tradition only"?
Because that is the honest label for most of them. Of the pairings across our crop guides, about two thirds have no mechanism worth citing. We show them because you will meet the same claims on every other chart, and a reader who found a pairing elsewhere and not here would assume we had missed it. Marking it is more useful than dropping it.
What is the strongest reason to keep two crops apart?
Shared pests, which follows from botanical family. Two plants in the same family are host to the same pests and diseases, so growing them together concentrates a problem rather than dividing it — dill beside carrots, or potatoes beside tomatoes. That is a real mechanism, and it is also why rotation is organised by family.
Do herbs really protect vegetables from pests?
The scent-masking claim is plausible and thinly tested. What herbs genuinely do is feed beneficial insects, and only while they are in flower — a patch of dill or oregano clipped for the kitchen all season does nothing for the garden. The other real effect is negative: woody herbs want dry, poor soil, so watering them like a vegetable kills them.
Where do these pairings come from?
From the companion lists on our own crop guides, read directly. The chart is generated from that data rather than written out, so it cannot drift away from the guides the way a hand-maintained grid would. The reasons are derived too — from botanical family, from which plants have insectary flowers, and from which crops have incompatible watering needs.
Is this chart complete?
No, and no chart is. It covers the crops that have a guide on this site, and it shows the pairings those guides record. A crop with an empty "keep away" column has no claims against it that we have found, which is different from a guarantee.

Related tools

Read more on this

Keep going

Last updated

Written and checked by Muzamil Ali. Results are estimates — see the disclaimer.