Companion planting means growing crops next to neighbours that help them: by masking their scent from pests, attracting insects that eat pests, or sharing space without competing for the same light and roots. Classic good pairings are tomatoes with basil, carrots with onions and corn with beans. Classic bad pairings are beans with onions and potatoes with tomatoes. The companion planting chart below covers 20 common vegetables. Below it are the pairings and bed combinations that are easiest to copy.

Companion planting chart

Use the chart to find good neighbours for the crops you grow most, and to see what to keep apart. Much of companion planting comes from long gardening tradition rather than controlled trials, so watch how pairings do in your own beds and adjust.

CropGood companionsAvoid planting near
TomatoesBasil, carrots, onions, parsley, marigolds, lettucePotatoes, fennel, corn
PeppersBasil, onions, carrots, spinach, marigoldsFennel
EggplantBeans, peppers, marigolds, thymeFennel
PotatoesBeans, corn, cabbage, peas, marigoldsTomatoes, eggplant
CucumbersBeans, peas, radishes, corn, dill, nasturtiumsPotatoes, sage
Zucchini / squashCorn, beans, radishes, nasturtiumsPotatoes
CornBeans, squash, peas, cucumbersTomatoes
Beans (bush and pole)Corn, squash, cucumbers, carrots, potatoesOnions, garlic, leeks, chives
PeasCarrots, radishes, turnips, corn, cucumbers, beansOnions, garlic
CarrotsOnions, leeks, chives, lettuce, peas, radishes, rosemaryDill, parsnips
Onions and garlicCarrots, beets, lettuce, cabbage family, tomatoesBeans, peas, asparagus
LeeksCarrots, celery, onionsBeans, peas
LettuceCarrots, radishes, beets, onions, strawberriesNo major conflicts
SpinachStrawberries, peas, radishes, cabbage familyNo major conflicts
Cabbage, broccoli, kaleOnions, beets, celery, dill, rosemary, sage, nasturtiumsStrawberries
BeetsOnions, lettuce, cabbage family, Swiss chardPole beans
Swiss chardOnions, cabbages, beetsNo major conflicts
RadishesCucumbers, peas, lettuce, carrots, spinachNo major conflicts
StrawberriesLettuce, spinach, onions, thyme, borageCabbage family
AsparagusTomatoes, parsley, basilOnions, garlic

To check pairings for a whole bed in one go, use our interactive companion planting chart tool. Pick your crops and it flags good and bad neighbours. For specific pests, try the pest-repelling plant finder.

Pairings that work, and why

These pairings come up again and again because they make sense for practical reasons, not just tradition.

Tomatoes and basil. The classic. Both like heat, full sun and steady watering, and basil fits under a staked tomato without competing for light. Basil’s strong scent is traditionally thought to put off some flying pests. More tomato advice is in our 10 tips for growing tomatoes.

Tomatoes near cabbages. Strong-smelling tomato foliage is traditionally used to mask cabbages from the moths whose caterpillars chew brassica leaves. Plant cabbages around the base of caged tomatoes. Some gardeners find the two compete for space and nutrients, so give each plenty of room.

Onions and leeks with carrots. Carrot flies find carrots by smell, and the sharp scent of onions and leeks helps hide them. Alternating rows or squares of each is the traditional layout.

Radishes with cucumbers and squash. Radishes are sown around cucumber hills to deter cucumber beetles. They’re ready to pull within a month, before the vines need the space.

Radishes as a trap crop for spinach. Leaf miners will often choose radish leaves over spinach. The radish root underground is unaffected, and the spinach stays cleaner.

Lettuce with summer radishes. Lettuce shades the soil and keeps it cool and moist. Radishes grown in hot, dry soil turn woody and very peppery.

Corn, beans and squash (the “three sisters”). A traditional Indigenous American planting. Corn gives the beans something to climb, the beans are legumes that host nitrogen-fixing bacteria in their roots, and squash leaves shade the ground and smother weeds.

12 companion planting combinations to copy

Each combination below is built around one main crop, with the companions that are traditionally grown around it. They suit a single bed, a row or a block of squares in a square foot garden.

  1. Beetroot with broccoli, Brussels sprouts, cabbages, Swiss chard and onions
  2. Cabbages with Brussels sprouts, tomatoes, broccoli, spinach, Swiss chard and kale
  3. Carrots with cabbages, leeks, onions, peas, lettuce and radishes
  4. Potatoes with cabbages, corn, squash, peas and beans
  5. Tomatoes with broccoli, onions and cabbages
  6. Onions with parsnips, carrots, lettuce, beetroot and cabbages
  7. Radishes with peas, spinach, parsnips, lettuce, carrots and cucumbers
  8. Swiss chard with onions, cabbages and beetroot
  9. Peas with turnips, corn, beans, radishes, carrots and cucumbers
  10. Cucumbers with corn, cabbages, beans and radishes
  11. Lettuce with radishes, carrots, beetroot and parsnips
  12. Parsnips with onions, radishes and lettuce

The same few names turn up in almost every list: onions, radishes, carrots and lettuce. They’re small, fast or strongly scented, so they slot into gaps without crowding the main crop.

Plants that shouldn’t be grown together

Some pairings are best avoided:

  • Onions, garlic and leeks with beans or peas. Alliums are widely reported to stunt legumes. Keep them in separate beds or at opposite ends of a bed.
  • Potatoes and tomatoes. Both are nightshades and both get late blight. Growing them side by side makes it easier for blight to spread between them. Separate them and rotate them every year.
  • Corn and tomatoes. The corn earworm and the tomato fruitworm are the same insect, so growing both together can feed one pest twice.
  • Fennel with almost anything. Fennel is often reported to hold back the growth of plants around it. Grow it in its own corner or in a pot.
  • Carrots and parsnips. Both attract carrot fly, so growing them together just gives the pest a bigger target.
  • Tomatoes and brassicas. Advice is split: some traditional combinations pair them, other guides keep them apart. If you have space, give them separate beds and see what works in your garden.

Does companion planting actually work?

Some of it is well supported, some of it is tradition. The strongest evidence is for:

  • Attracting beneficial insects. Flowering herbs such as dill, along with flowers like sweet alyssum, feed ladybirds, hoverflies and parasitic wasps that eat aphids and caterpillars.
  • Trap crops. Nasturtiums and radishes draw certain pests away from a main crop.
  • Physical partnerships. Tall crops shade lettuce in summer, climbing beans use corn for support, and spreading squash suppresses weeds.
  • Diversity. A bed of mixed crops is harder for specialist pests to find and spread through than a long single row.

Claims that one plant makes another taste better, or that two plants “dislike” each other, are mostly anecdotal. They’re worth trying, but don’t rely on them alone. For plants that are grown mainly to keep insects away, see our chart of plants that repel bugs.

How to plan a companion-planted bed

  1. Start with your three most-used crops. Look them up in the chart and note their good companions.
  2. Put the big plants in first. Tomatoes, squash and brassicas get their spots, then fill the gaps with small companions such as onions, lettuce, radishes and herbs.
  3. Keep the “avoid” pairs at least a bed apart, not just a row apart.
  4. Add a flower strip. Marigolds, nasturtiums, dill or alyssum along the bed edges attract helpful insects.
  5. Rotate each year. Moving crop families to a new bed each season matters as much as who they’re next to. It slows the build-up of soil diseases.

The raised bed gardening guide covers bed sizes and soil if you’re starting from scratch. More planning guides are on our gardening hub.

Frequently asked questions

What should not be planted next to tomatoes?

Avoid potatoes (shared blight), corn (shared fruitworm) and fennel. Many gardeners also keep tomatoes away from cabbage-family crops, though some traditional combinations pair them.

What grows well with cucumbers?

Beans, peas, radishes, corn, dill and nasturtiums. Radishes and nasturtiums are used to deter or distract cucumber beetles, and dill attracts insects that prey on aphids.

Can you companion plant in a square foot garden?

Yes. Treat each square as its own small planting and put good companions in neighbouring squares, such as onions next to carrots or basil next to tomatoes. Keep “avoid” pairs on opposite sides of the bed.

What is the three sisters planting method?

Corn, climbing beans and squash are grown together in one patch. The corn supports the beans, the beans host nitrogen-fixing bacteria, and the squash covers the ground to hold moisture and shade out weeds.

What should not be planted near onions?

Beans and peas are the main ones, because alliums are reported to stunt them. Asparagus is also usually kept away from onions and garlic.

Some links on this page may be affiliate links — if you buy through them we may earn a small commission at no extra cost to you. We only link to gear we'd genuinely use ourselves.