Garden Planner BETA
Companion planting

Companion planting chart for vegetables and herbs

Good and bad neighbours for 26 common vegetables, herbs and flowers, in one chart you can search. Use it to decide what goes next to what in a bed – and read below which pairs have real evidence behind them and which are garden tradition.

Plan your beds – free Free plan, free forever. No card needed.

The chart

Type a plant’s name to find it, or tap a neighbour to jump to its own row. Each pair is shown on both plants.

Showing 26 of 26 plants

PlantGood neighboursKeep apart
TomatoBasil, parsley and marigolds draw helpful insects; carrots use the soil under it. Potatoes share its blight, and cabbages, sweetcorn and fennel compete with it.
PepperBasil fills the gaps and brings pollinators; onions and marigolds are said to keep pests away. Fennel holds back most vegetables.
EggplantBeans add nitrogen; basil and marigolds bring helpful insects. Potatoes are its close relatives and share its beetles and diseases.
PotatoBeans, marigolds and nasturtiums are traditional partners. Keep tomatoes and eggplants away (same family, same blight), and squash and cucumbers, which are hungry and share diseases.
CucumberDill brings hoverflies and wasps that eat aphids; corn gives shade and something to climb. Potatoes compete and share diseases.
Squash and zucchiniPart of the Three Sisters with corn and beans; borage brings bees to the flowers. Keep it away from potatoes – both are hungry feeders.
SweetcornBeans and squash or cucumbers are the classic Three Sisters. Tomatoes are hungry too and share the corn earworm.
BeansThey add nitrogen for hungry neighbours like corn, squash and eggplant. Onions, garlic, leeks and fennel are said to hold them back.
PeasGood with carrots, radishes and lettuce, which use the space around them. Like beans, they are kept away from the onion family and fennel.
CarrotOnions and leeks are said to confuse carrot fly; radishes mark the slow rows. Dill is a close relative and shares its pests.
BeetrootShares a bed well with lettuce, cabbages and the onion family, with roots at a different depth.
No common conflicts
RadishQuick and small: it marks slow rows, comes out before its neighbours need the room, and is said to deter cucumber beetles.
No common conflicts
LettuceShallow roots pair well with deep ones like carrots and beetroot; it fills gaps between strawberries and peas.
No common conflicts
SpinachCovers the soil between strawberries and peas, and is harvested before they spread.
No common conflicts
Cabbage familyDill and coriander bring wasps that eat caterpillars; nasturtiums lure aphids and cabbage whites away; onion smell is said to hide it. Keep it apart from tomatoes and strawberries.
Onion and garlicIts smell is said to confuse carrot fly and cabbage pests, so it is a good neighbour for many crops – but not for beans and peas.
LeekThe classic partner of carrots, and fine with beetroot and cabbages. Like onions, kept away from beans and peas.
StrawberryLettuce and spinach cover the soil between plants; borage brings bees to the flowers. Cabbages crowd it out.
BasilIts flowers bring pollinators, and it fills the gaps around tomatoes, peppers and eggplants that need the same warmth.
No common conflicts
DillIts flowers bring hoverflies and wasps that eat aphids and caterpillars. Keep it away from carrots: they are relatives that cross and share pests.
ParsleyLeft to flower, it draws hoverflies and small wasps, which helps the tomatoes next to it.
No common conflicts
CorianderIts flowers bring hoverflies and parasitic wasps for the cabbages; it shares a cool-season bed with spinach. It stops fennel setting seed.
FennelUsually grown on its own at the edge of the garden: it is said to hold back most vegetables, and it crosses with dill.Best on its own
MarigoldFrench marigolds are planted around tomatoes, peppers, eggplants and potatoes to bring helpful insects and against soil nematodes.
No common conflicts
NasturtiumA decoy plant: aphids and cabbage whites go to it first, away from squash, cucumbers, potatoes and cabbages.
No common conflicts
BorageOne of the best bee plants: it brings pollinators to strawberries, squash and tomatoes.
No common conflicts

What has real evidence behind it

Much of companion planting is garden tradition, passed on from book to book, and has never been tested in a trial. A few ideas have been tested and hold up:

Flowers that bring pollinators and pest-eating insects

This is the best-supported part. Flowers with open, shallow blooms – dill, coriander, fennel, alyssum, phacelia, borage – feed hoverflies, lacewings and tiny parasitic wasps, whose young eat aphids and caterpillars. Studies of flower strips beside crops find more of these helpers and often fewer pests, and bee plants help squash, cucumbers and strawberries set fruit.

Keeping relatives apart

Plants of the same family share pests and diseases. Tomatoes and potatoes both catch late blight, and cabbages, broccoli and kale share the same caterpillars and root diseases. Mixing families and rotating beds each year is a well-founded reason for the “keep apart” column.

Beans and corn (the Three Sisters)

Growing a grain with a legume is one of the best-studied mixtures in farming: together they often give more food from the same ground than each alone. Beans make most of their nitrogen for themselves, so the boost for neighbours is modest and comes mostly after their roots break down.

Marigolds against nematodes

French marigold roots release a substance that harms root-knot nematodes, but trials show it works when marigolds are grown densely over a whole season, as a cover crop – not from a few plants beside the tomatoes.

Decoy plants

Nasturtiums do draw aphids and cabbage whites, but a decoy only helps if you check it and remove the pests; otherwise it can become a nursery for them.

What is mostly tradition

Claims such as basil making tomatoes taste better, onions stunting beans or fennel poisoning its neighbours come from experience and old books, not from trials. They are harmless to follow – just don’t expect them to fix a bed.

Sun, water, soil and spacing matter far more than neighbours. A crowded bed in the shade will struggle whatever is planted beside what.

Check your beds as you plant them

The vegetable garden planner uses the same idea: as you place each vegetable in a bed, it points out the neighbours that help it and warns about the ones gardeners keep apart, so you can move a crop before it goes in the ground.

See the vegetable garden planner

Questions about companion planting

What is companion planting?

Growing plants side by side so they help each other – flowers that bring pollinators and pest-eating insects, herbs whose scent is said to confuse pests, tall crops that shade low ones – and keeping apart the ones that compete or share diseases.

Does companion planting really work?

Partly. Flowers that bring pollinators and predatory insects, keeping plant families apart, and growing beans with corn have good evidence behind them. Many other pairings are tradition that has never been tested. Sun, water, soil and spacing matter more than any neighbour.

What should not be planted next to tomatoes?

Potatoes, because both catch late blight; cabbages and their relatives, and sweetcorn, which compete with tomatoes for food; and fennel, which is said to hold back most vegetables.

What grows well with tomatoes?

Basil, parsley, marigolds and borage, which bring pollinators and helpful insects, and carrots and onions, which use the soil around them without crowding them.

How far apart should bad companions be?

No trial gives a set distance. Putting them in different beds, or at least a metre apart, avoids root competition. For shared diseases such as blight, distance helps little – mixing families and rotating beds each year helps more.

Can the planner check companions for me?

Yes. In the vegetable garden planner, as you place a vegetable in a bed, it points out good neighbours and warns about the ones to keep apart.

Read more

Plan who grows next to whom

Draw your beds to scale and plant them square by square – the planner shows good and bad neighbours as you go.

Plan your beds – free