Companion Planting Chart for Raised Beds

Good neighbors and pairs to keep apart for common raised bed vegetables, herbs and flowers, in one table you can scan.

Companion planting is the habit of placing crops that seem to help each other side by side, and keeping apart pairs that seem to struggle together. Most of it comes from generations of garden experience rather than lab trials, so treat this chart as a set of sensible defaults. Sun, water, soil and spacing matter far more than which plant sits next to which.

In a raised bed, “next to” means touching squares. The raised bed layout planner checks every square against its eight neighbors using the pairs below and flags conflicts as you plant.

Companion planting chart

PlantGood neighborsKeep apart from
BasilPepper, Tomato (staked)—
BeetBush bean, Lettuce, Onion (bulb)Pole bean
BroccoliDill, Nasturtium, Onion (bulb)Strawberry, Tomato (staked)
Bush beanBeet, Cucumber (trellised), Eggplant, Potato, Strawberry, Swiss chardChives, Fennel, Garlic, Leek, Onion (bulb), Scallion
CabbageCelery, Dill, Nasturtium, Onion (bulb)Strawberry, Tomato (staked)
CarrotChives, Lettuce, Onion (bulb), Pea (trellised), Radish, Scallion, Tomato (staked)Dill, Fennel
Cauliflower—Strawberry, Tomato (staked)
CeleryCabbage, Leek—
ChivesCarrot, Lettuce, Tomato (staked)Bush bean, Pea (trellised), Pole bean
Cilantro—Fennel
Cucumber (trellised)Bush bean, Dill, Nasturtium, Pea (trellised), Radish, Sweet cornPotato, Sage
DillBroccoli, Cabbage, Cucumber (trellised), KaleCarrot, Fennel, Tomato (staked)
EggplantBush beanFennel, Potato
Fennel—Bush bean, Carrot, Cilantro, Dill, Eggplant, Kohlrabi, Pepper, Pole bean, Tomato (staked)
GarlicTomato (staked)Bush bean, Pea (trellised), Pole bean
KaleDill, Nasturtium, Onion (bulb)Strawberry, Tomato (staked)
Kohlrabi—Fennel, Tomato (staked)
LeekCeleryBush bean, Pea (trellised), Pole bean
LettuceBeet, Carrot, Chives, Radish, Scallion, Strawberry—
MarigoldPotato, Tomato (staked)—
Melon (trellised)Sweet cornPotato
NasturtiumBroccoli, Cabbage, Cucumber (trellised), Kale, Winter squash, Zucchini / summer squash—
Onion (bulb)Beet, Broccoli, Cabbage, Carrot, Kale, PepperBush bean, Pea (trellised), Pole bean
ParsleyTomato (staked)—
Pea (trellised)Carrot, Cucumber (trellised), Radish, TurnipChives, Garlic, Leek, Onion (bulb), Scallion
PepperBasil, Onion (bulb)Fennel
Pole beanSweet corn, Winter squash, Zucchini / summer squashBeet, Chives, Fennel, Garlic, Leek, Onion (bulb), Scallion
PotatoBush bean, MarigoldCucumber (trellised), Eggplant, Melon (trellised), Tomato (staked), Winter squash, Zucchini / summer squash
RadishCarrot, Cucumber (trellised), Lettuce, Pea (trellised), Spinach—
Sage—Cucumber (trellised)
ScallionCarrot, LettuceBush bean, Pea (trellised), Pole bean
SpinachRadish, Strawberry—
StrawberryBush bean, Lettuce, Spinach, ThymeBroccoli, Cabbage, Cauliflower, Kale
Sweet cornCucumber (trellised), Melon (trellised), Pole bean, Winter squash, Zucchini / summer squashTomato (staked)
Swiss chardBush bean—
ThymeStrawberry—
Tomato (staked)Basil, Carrot, Chives, Garlic, Marigold, ParsleyBroccoli, Cabbage, Cauliflower, Dill, Fennel, Kale, Kohlrabi, Potato, Sweet corn
TurnipPea (trellised)—
Winter squashNasturtium, Pole bean, Sweet cornPotato
Zucchini / summer squashNasturtium, Pole bean, Sweet cornPotato

The patterns behind the chart

Using it with square-foot spacing

Lay out the bed by size first, using the square foot spacing chart, then swap squares around to break up any warned pairs. If a conflict is hard to avoid, a single square of a flower or herb between the two crops is a simple buffer. For worked examples, see the 4x8 raised bed layouts, which have no flagged pairs.