Guides

What Not to Plant Together: Vegetables to Keep Apart (Chart)

Which vegetables should not be planted together, why, and where extension sources disagree, with an easy plant-family shortcut.

Updated Oct 2026 · 4 min read · Extension-sourced

Short answer

The pairs most often listed as poor neighbors are onions or garlic with beans, peas or lettuce; tomatoes with potatoes, corn, fennel or cabbage-family crops; and potatoes with squash or cucumbers. Our chart below lists all 16 keep-apart pairs we track.

Companion planting usually gets explained as "who grows well together." The other half of the question is often more useful when you only have one or two beds: which vegetables should not be planted together? Here is the list, grouped so it is easy to remember, plus the reasons where they are known.

Onions and garlic vs. beans, peas and lettuce

The onion family causes the most conflicts in a small garden because onions and garlic are listed as companions for so many other crops (tomatoes, carrots, peppers, cabbage) yet as poor neighbors for legumes and lettuce.

PlantKeep away fromNotes
BeanOnionOnion family is listed as incompatible with beans.
BeanGarlicGarlic is listed as incompatible with beans.
PeaOnionOnion family is listed as incompatible with peas.
PeaGarlicOnion family is listed as incompatible with peas.
LettuceOnionOnion family is listed as incompatible with lettuce.
LettuceGarlicGarlic is listed as incompatible with lettuce.

Full chart: vegetables to keep apart

PlantKeep away fromNotes
PeaPotatoListed as incompatible.
BeanBeetBeets are listed as incompatible with pole beans.
TomatoPotatoSame family; attacked by the same pests and diseases.
TomatoCornListed as incompatible.
TomatoFennelListed as incompatible.
TomatoCabbage familyListed as incompatible.
PotatoSquash / zucchiniListed as incompatible.
PotatoCucumberListed as incompatible.
CarrotDillListed as incompatible.
Cabbage familyStrawberryListed as incompatible.

Why some of these pairs clash

  • Shared pests and diseases. Tomatoes and potatoes are both nightshades and share blights. Corn earworm and tomato fruitworm are the same insect.
  • Competition. Sprawling squash and cucumber vines crowd potatoes, which need room to hill and dig.
  • Different seasons. Cabbage-family crops are cool-season plants; tomatoes are warm-season. Sharing a bed often means one is struggling or in the way.
  • Reasons unknown. For some listed pairs the source gives no mechanism. We include them because the source lists them, but treat them as cautions, not rules.

Where sources disagree

A few pairs are listed as good by one extension service and bad by another. If you like the combination, try it and watch.

PlantPartnerWhat the sources say
CarrotRadishUMD suggests sowing them together and pulling radishes early; VCE lists radish as incompatible with carrots.
Cabbage familyDillPSU: dill deters cabbageworm egg-laying; VCE lists dill as incompatible with cabbage family.
Cabbage familySpinachVCE lists spinach as a cabbage companion in one row and cabbage as incompatible with spinach in another.

Think in plant families

A handy shortcut: plants in the same family tend to share pests and diseases, so most gardeners rotate by family, moving each group to a different bed every year.

FamilyCommon crops
NightshadesTomato, pepper, eggplant, potato
CucurbitsCucumber, squash, zucchini, melon, pumpkin
BrassicasCabbage, broccoli, kale, cauliflower, radish
AlliumsOnion, garlic, leek, chives
LegumesBean, pea
Carrot familyCarrot, dill, fennel, parsley, cilantro

What matters more than any list

  1. Sun.

    Most vegetables want 6–8 hours of direct sun. Put tall crops on the north side so they do not shade short ones.

  2. Spacing.

    Crowding causes more trouble than bad companions: it cuts airflow and invites disease.

  3. Black walnut trees.

    Juglone from black walnut roots and leaves harms tomatoes, peppers, potatoes and eggplant. Keep sensitive crops well away.

  4. Rotation.

    Do not plant the same family in the same spot year after year.

Planning a specific bed? See what to plant with tomatoes, our raised bed layouts, or the full companion planting chart.

Companion checker

Pick your plants and spot every keep-apart pair before you plant.

Open it

Sources

Pairings are summarized in our own words from extension-service guidance. Research support for many companion effects is limited, so treat them as good habits, not guarantees.

Related guides