Companion Planting Chart
Pick a crop and see its good and bad neighbors, good neighbors tagged by how much evidence stands behind them, and bad ones with the reason — tap any pairing for the why, and the myths this chart won't repeat.
Pick a crop to see its good and bad neighbors
Keep what's planted where, bed by bed.
The full chart — 19 crops, friends and enemies
| Crop | Good neighbors | Keep apart from |
|---|---|---|
| Tomatoes | BasilR, Onion familyT, CarrotsT, LettuceP, Sweet alyssumC, French marigoldsT | Potatoes, Corn, Fennel, Cabbage family, Black walnut trees |
| Peppers | BasilT, Onion familyT, Sweet alyssumC | Fennel, Black walnut trees |
| Eggplant | BeansT, French marigoldsT, Sweet alyssumC | Potatoes, Black walnut trees |
| Potatoes | BeansT, Cabbage familyT, CornT, HorseradishT | Tomatoes, Squash & cucumbers, Sunflowers, Black walnut trees |
| Beans bush & pole | CornP, SquashP, CucumbersT, RadishesT, Summer savoryT | — |
| Peas | CarrotsT, RadishesT, CucumbersT, LettuceP | — |
| Carrots | Onion familyT, PeasT, LettuceP, RadishesP | Dill |
| Beets | Onion familyT, Cabbage familyT, LettuceP | — |
| Radishes | CarrotsP, PeasT, LettuceP, CucumbersT | — |
| Onion family onions, garlic, leeks, chives | CarrotsT, BeetsT, LettuceT, Cabbage familyT, TomatoesT | — |
| Lettuce | CarrotsP, RadishesP, StrawberriesT, Tomatoes or cornP, Sweet alyssumR | — |
| Spinach | StrawberriesT, PeasP, RadishesP | — |
| Cabbage family broccoli, cabbage, kale, Brussels sprouts, cauliflower | Dill (flowering)T, Leafy companions & aromatic herbsT, Mustard or arugula decoy stripT, NasturtiumsT, BeetsT, Onion familyT, PotatoesT | Tomatoes |
| Squash & pumpkins zucchini too | CornP, BeansP, NasturtiumsR, Sweet alyssumC, Blue hubbard squash (a decoy plant)R, RadishesT | Potatoes |
| Cucumbers | BeansT, CornP, NasturtiumsC, PeasT, RadishesT, SunflowersT | Potatoes |
| Corn | BeansP, Squash & pumpkinsP, CucumbersT, PeasT, PotatoesT | Tomatoes |
| Basil | TomatoesR, PeppersT | — |
| Strawberries | Bush beansT, SpinachT, LettuceT, BorageT | — |
| Melons cantaloupe, muskmelon | CornT, SunflowersT, NasturtiumsC | Potatoes |
Tags: R = Backed by research on this pairing: A published test or review looked at this pairing, or at this plant with this companion, and found an effect. How big it is in your garden is less certain. · C = Based on research on a related crop: The research was done on a related crop, and it might work here, but nobody has tested it on this plant. · P = Practical: A common-sense reason (shade, space, a shared pest). No study. · T = Traditional: Often untested. Some notes say what the research found.
How to read this chart
"Companion planting" covers four different things that get lumped together: confusing the pests (a clutter of green plants can make your crop harder to find), decoy plants (a decoy plant pulls the pests off the one you care about), shade sharing (tall crop shelters heat-shy crop), and flowers that feed the insects that eat your pests.
The tags tell you how much weight each good pairing can hold. Backed by research on this pairing: A published test or review looked at this pairing, or at this plant with this companion, and found an effect. How big it is in your garden is less certain. Based on research on a related crop: The research was done on a related crop, and it might work here, but nobody has tested it on this plant. Practical: A common-sense reason (shade, space, a shared pest). No study. Traditional: Often untested. Some notes say what the research found.
And the honest caveat that outranks the whole chart: sun, water, and spacing matter more than any pairing. A basil plant crammed against a tomato stem helps nobody — work out how far apart to plant them first, then pick the neighbors.
Ideas gardeners lean on, and how well each is tested
Ideas gardeners lean on most, and how well each is tested:
- Flowers that feed the good bugs. Sweet alyssum's little flowers feed hoverflies (small flies that look like bees), and their young eat aphids (tiny sap-sucking bugs). Many organic lettuce growers plant it among their lettuce on purpose. A 2025 Quebec study found 10 of 16 kinds of these flies mostly or only in alyssum strips; aphids were not counted. The research was on lettuce, so the same idea might work next to tomatoes, peppers and eggplant, but nothing we hold tested it there.
- Decoy plants. A blue hubbard squash at the bed edge pulls cucumber beetles away from your other squash-family plants (squash, pumpkins, cucumbers and melons), says Minnesota Extension (the University of Minnesota's gardening service). A strip of mustard, arugula or similar pulls flea beetles off young cabbage-family plants, but that is a common practice, not tested on the cabbage family.
- Dill flowers near the cabbage bed. A common practice: dill flowers draw small wasps that prey on cabbage worms. We hold no test of it on the cabbage family. (Keep mature dill away from the carrot row.)
What not to plant together
The short list with a real reason behind it — a shared disease, a shared pest, a documented chemical, or plain competition:
| Keep apart | Why |
|---|---|
| Potatoes + tomatoes | Same family, same late blight (a fast-spreading plant disease) — it moves both ways. One sick bed infects the other. |
| Corn + tomatoes | Corn earworm and tomato fruitworm are the same moth. Side by side, you set its table twice. |
| Carrots + flowering dill | Both are in the carrot family and both may feed on the carrot rust fly (a pest whose maggots tunnel into carrots), so together they may concentrate the pest. (Not the myth that dill "stunts" carrots — they can't even cross-breed.) |
| Potatoes + squash, cucumbers or melon | Two sprawling, hungry plants fighting for space and water, and mounding soil up around potatoes tears up shallow squash, cucumber and melon roots. Competition — not the chart's shared-disease story (potato blight can't infect them). |
| Fennel + almost everything | In lab tests, fennel's leaf and seed extracts held back nearby plants. The lore overstates it, but the chemistry is real — give it its own pot. |
| Any vegetable bed + black walnut | Walnut roots release a toxin (juglone); tomatoes, peppers, potatoes, and eggplant are all sensitive to it. Keep beds clear of the tree's branch spread and root zone. |
The most famous "never" — onions or garlic next to beans and peas — isn't on this list because the evidence doesn't support it. Pick those crops in the tool above and the myth-check explains why.
Companion planting by crop
Tomatoes. Basil can help with thrips (tiny rasping insects), onions or garlic by tradition, lettuce for the shade trade, alyssum to draw the insects that eat aphids (tiny sap-sucking bugs). The real rules are the don'ts: no potatoes, no corn, no fennel.
Peppers. Same playbook as tomatoes, smaller plant. Basil and onions alongside; alyssum nearby might help the same way (the research was on lettuce).
Squash and zucchini. The Three Sisters ground floor — under corn with beans climbing above. The trick gardeners lean on: one blue hubbard at the edge as a beetle magnet.
Carrots. Some gardeners report fewer carrot rust flies with onions. We hold no test of it. Radishes mark the row and leave early. Keep mature dill out of it.
Beans. Corn is the original natural trellis, squash is a ground cover that shades the soil. And the one rule every chart repeats — no onions or garlic near beans — is a myth: the worst an onion does is out-compete a bean it's crowding, and garlic has actually helped beans and other bean-family crops in tests.
Sources
The pairings and their tags trace to these. When a claim couldn't be sourced, it didn't make the chart.
- West Virginia University Extension — Companion Planting The classic companions-and-incompatibles chart. Most rows tagged traditional trace here.
- University of Minnesota Extension — Companion planting in home gardens The evidence review behind many tags: nasturtium and alyssum around squash, basil reducing thrips (tiny rasping insects) on tomato, a decoy-strip practice for flea beetles (arugula, mustard, rapeseed, napa cabbage), a decoy squash pulling cucumber beetles away from other squash-family plants, and which repellent-plant folklore fails testing.
- Washington State University Extension (L. Chalker-Scott) — The Myth of Companion Plantings The horticulture-science review that finds no scientific basis for the classic keep-apart lists — the citation behind our "myth" entries and the honest wording of traditional rows.
- Mississippi State University Extension — Companion Planting: Myth or Truth? Extension review separating proven pairings from the many that "lack any scientific proof."
- Brock University (An, M.Sc. thesis) — Interactions of onion and yellow wax bean in monoculture and intercropping The controlled onion and yellow wax bean test: growing them together lowered the growth of yellow wax bean modestly while the combined bed stayed productive — the real, mild basis behind the onions-hurt-beans myth.
- Scientific Reports (peer-reviewed) — Response of faba bean to intercropping with garlic against broomrape and root-rot diseases Garlic grown between faba bean plants cut disease and raised yield ~31% — evidence against the general idea that onions and garlic harm beans and peas.
- Penn State Extension — Allelopathy in the Home Garden; Gardening Around Walnuts (walnut toxin) How some plants hold back others with their own chemicals, and the black walnut rule (juglone, a walnut toxin) for which crops are sensitive.
- El-Kenany & El-Darier (study of plants holding back neighbors) — Allelopathic Potential of Fennel (Foeniculum vulgare) In lab tests, fennel fruit and leaf extracts (rich in a compound called trans-anethole) suppressed sprouting and seedling growth across species — the documented chemistry behind the fennel rule.
- Kamal et al. / PMC (research on plants holding back neighbors) — Sunflower allelopathy; allelopathic impact of sunflower on seedlings Sunflowers release plant chemicals that measurably reduce sprouting and growth of sensitive neighbors — the real basis for keeping them away from a potato bed (plus plain competition).
- University of Connecticut Home & Garden Education / IPM — Verticillium Wilt Verticillium wilt is a soil disease that attacks many crops and is managed by multi-year rotation (not growing the same family in the same spot two years running), not row spacing.
- UMass Amherst Center for Agriculture — Strawberry IPM — Verticillium Wilt; Phytophthora Blight Strawberry Verticillium wilt risk after tomato-family, squash and raspberry crops — and why a mustard-type crop grown in the spot before strawberries may help rather than harm (UMass says only that such crops may reduce the carried-over fungus).
- UF/IFAS Extension — Marigolds (Tagetes spp.) for Nematode Management (NG045) French marigold suppresses root-knot nematodes (microscopic worms) through a root compound ONLY as a dense stand grown ~2 months before the crop — tucking a few among the crop does not work.
- Finch, Billiald & Collier (Entomologia Experimentalis et Applicata) — Do aromatic plants disrupt host-plant finding better than non-aromatic plants? A controlled test on cabbage root fly and onion fly (root maggots): aromatic plants did no better than plain green plants at keeping them off the crop. It did not test other pests.
- Ramert & Ekbom (Environmental Entomology) — Intercropping against carrot rust fly A study of mixing other plants into the carrot bed against carrot rust fly (a pest whose maggots tunnel into carrots). It tested carrot with lucerne (alfalfa), not with onion, so it does not back the onion-and-carrot pairing; that pairing is traditional.
- Annals of Botany (Zhang et al.) — Root foraging in the 'three sisters' polyculture Corn, beans and squash grown together gave more total harvest per bed than the same crops grown apart; shared root use is one likely reason (nitrogen mostly benefits the following season, not the same-year corn).
- UC IPM (University of California) — Lettuce aphid Many organic lettuce growers plant fast-blooming annuals, sweet alyssum among them, to feed adult hoverflies (small bee-like flies) whose young eat aphids. It reports no measured drop in aphids.
- USDA Agricultural Research Service (Eric Brennan, Salinas, California) — Lettuce research article, Agricultural Research magazine, January 2014 Growers plant alyssum to attract adult hoverflies (small bee-like flies). Brennan compared alyssum in strips with alyssum mixed in among lettuce and measured the alyssum (weight, flowering, shading of lettuce), not counts of those flies or of aphids. It names no tomato, pepper, eggplant or squash.
- Kalboussi, Dabrowski, Young, Gagnon & Favret (Ecology and Evolution, 2025) — Hoverflies at three Quebec farms: alyssum flower strips and lettuce-only borders Netted hoverflies (small bee-like flies) at three commercial farms in 2022. Ten of 16 kinds (species or genetic groups) were found mostly or only in the alyssum strips; overall variety did not differ much. Aphids were not counted.
- West Virginia University (graduate thesis) — Yield, pest density, and flavor effects of tomato + basil companion planting The 3-year test where tasters did not know which tomatoes were which: no flavor difference from basil, but a real yield gain that depends on planting density — why we tag basil and tomato Backed by research on this pairing, not folklore.
FAQ
What should you not plant together?
The ones with a real reason: potatoes near tomatoes (they share late blight, a fast-spreading plant disease), corn near tomatoes (the same moth eats both), fennel near almost anything (it holds back other plants with its own chemicals), and any vegetable bed under a black walnut (a toxin the roots release). The famous "onions ruin beans" rule is not on this list — it is folklore, not a known enemy pairing.
Does companion planting actually work?
Some of it. Flowers that feed pest-eating insects and decoy plants that pull pests away have research behind them, though some of it was done on a related crop. Strong-smelling herbs are not shown to work: a controlled test found them no better than plain green plants against two root flies (cabbage root fly and onion fly). Sage and thyme cut diamondback moth (a small moth whose caterpillars eat cabbage leaves) in one greenhouse test on Brussels sprouts. Most classic pairings don't — they're tradition, not tests. That's why most pairings in this chart carry a tag telling you which kind it is.
What grows well with tomatoes?
Basil and the onion family are the classic picks. Lettuce is a practical pick — it wants the summer shade a tall tomato throws. Sweet alyssum nearby feeds hoverflies (small flies that look like bees) whose young eat aphids (tiny sap-sucking bugs); the research was on lettuce, so it is a maybe, not proven, for tomatoes. Keep tomatoes away from potatoes, corn, and fennel.
How far apart should companion plants be?
Use the normal spacing for each crop — companion planting means sharing a bed, not crowding. A basil plant still wants its foot of space next to a tomato. The plant spacing calculator works out the numbers for your bed size.