Niwa garden planner app iconNiwa
Companions

Companion planting chart for vegetables

Here is the chart. But a chart tells you about pairs, and a bed is a two-dimensional arrangement, which is why most people read one and plant nothing differently.

7 min readUpdated August 2026By Gabriele Pala, maker of Niwa

This is the chart people search for. It is below, and it is accurate, because I have removed the pairings I could not find a mechanism for, which is a meaningful fraction of what circulates online.

But read the section after it too, because a companion planting chart has a structural problem: it describes pairs, and you plant beds.

The chart

CropGood neighboursKeep away from
TomatoBasil, marigold, borage, chives, garlic, parsley, carrot, lettuce, nasturtium, asparagusBrassicas, potato, corn, fennel
PotatoBeans, corn, cabbage, horseradish, marigoldTomato, cucumber, squash, sunflower
Pepper & chilliBasil, onion, carrot, tomato, marjoramFennel, brassicas
CarrotOnion, leek, chives, rosemary, sage, lettuce, peas, tomatoDill (once flowering), fennel, parsnip
Onion & garlicCarrot, beetroot, lettuce, brassicas, tomato, strawberryBeans, peas, asparagus
Beans (bush & pole)Corn, squash, carrot, cucumber, celery, potato, marigoldOnion, garlic, chives, leek, fennel
PeasCarrot, radish, cucumber, corn, beans, turnipOnion, garlic, chives
Broccoli & cabbageOnion, garlic, dill, beetroot, celery, nasturtium, thymeTomato, pepper, strawberry, fennel
KaleBeetroot, onion, herbs, nasturtiumTomato, strawberry, fennel
LettuceCarrot, radish, cucumber, strawberry, onion, tomato (for shade)Brassicas (competition), fennel
SpinachStrawberry, beans, peas, brassicasFennel
CucumberBeans, peas, corn, radish, sunflower, dill, nasturtiumPotato, aromatic herbs (mild), fennel
Courgette & squashCorn, beans, nasturtium, marigold, boragePotato, fennel
BeetrootOnion, brassicas, lettuce, bush beansPole beans, fennel
RadishCarrot, cucumber, lettuce, peas, nasturtiumHyssop, fennel
CornBeans, squash, cucumber, peas, melonTomato
StrawberryLettuce, spinach, onion, borage, thymeBrassicas
AubergineBeans, marigold, pepper, tarragonFennel
AsparagusTomato, parsley, basil, marigoldOnion, garlic, potato
BasilTomato, pepper, aubergine, asparagusRue, fennel
MintBrassicas, tomato (in a pot)Everything, if planted loose
FennelNothing. Grow it alone.Everything

Why the good pairings work

Four mechanisms account for essentially every pairing above that holds up:

  1. Aromatic masking. Pests find host plants by smell. Strongly aromatic neighbours raise the noise floor. This is why basil, chives, garlic and marigolds appear so often, and why quantity matters more than proximity. One basil plant in a corner does nothing.
  2. Beneficial insect support. Small shallow flowers (dill, parsley, coriander umbels, alyssum, borage) feed the parasitic wasps and hoverflies whose larvae eat aphids and caterpillars. Letting a couple of herbs bolt is a deliberate tactic, not neglect.
  3. Space complementarity. Deep roots with shallow roots, tall with low, fast with slow. Carrots under tomatoes. Radishes between slow carrots. The most reliable mechanism and the least exciting.
  4. Allelopathy. Chemical effects, usually negative. French marigold suppressing root-knot nematodes is the useful positive case; fennel and black walnut are the destructive ones.

The three sisters

Corn, beans and squash: the traditional Indigenous American polyculture, and the best-documented companion system there is. Each element does a job:

  • Corn provides the vertical structure the beans climb, saving the cost of a trellis.
  • Beans fix atmospheric nitrogen, feeding corn, which is a heavy nitrogen user.
  • Squash covers the ground with large leaves, suppressing weeds and holding soil moisture, and its prickly stems deter some mammals.

It needs space. Plant corn first in a block of at least 3×3 for wind pollination, add beans when the corn is 15cm tall, and squash a fortnight later. Not a small-bed technique, but a genuine demonstration that the principle works when the mechanisms are real.

What I removed and why

Pairings that appear on most charts and have no identifiable mechanism: beans and beetroot, lettuce and celery, peppers and beans, cucumbers and sage, tomatoes and cucumbers. Each traces back to mid-century books that offered no evidence, and each has been copied forward ever since.

The test is simple: if a claimed conflict has no stated mechanism, treat it as folklore. Real conflicts have reasons: a chemical, a shared pest, a nutrient collision, or a physical one. More on this in what not to plant together.

The problem with charts

Look at the table again. To use it on a real bed you would have to check every adjacent pair of plants against it. A thirty-two square bed has over fifty adjacencies, and each cell of the chart lists eight or nine relationships.

That is why the honest outcome of reading a companion planting chart is usually: screenshot it, feel informed, plant exactly as you were going to. The information is fine. The format is the problem.

Garden bed grid in the Niwa app showing companion markers between adjacent plants
Companion relationships rendered on the layout, checked as you place each plant.

Companions on the bed

The fix is not a better chart. It is putting the relationship where the decision happens: on the bed, at the moment you place a plant.

For the most-searched case specifically, see what to plant with tomatoes.

Niwa garden planner app icon

A chart you never have to read.

Niwa shows companion and combative relationships on your actual bed layout, as you place each plant.

Download Niwa free Free on the App Store · iOS 18+ · Works fully offline · No tracking