Companion planting isnβt garden folklore. Well, some of it is β but thereβs real science behind the partnerships that work. The trick is separating the evidence-based pairings from the ones your grandmother swore by but nobodyβs actually tested.
This guide covers the pairings that have research behind them, plus the combinations to genuinely avoid.
How Companion Planting Actually Works
There are four mechanisms that make companion planting effective:
Pest confusion. Many pests find their targets by smell. Interplanting aromatic herbs and alliums with target crops disrupts the scent trail. This is well-documented with carrot flies and onions.
Trap cropping. Some plants attract pests away from your main crop. Nasturtiums pull aphids away from brassicas. Blue Hubbard squash lures squash vine borers away from zucchini.
Beneficial insect habitat. Flowers like alyssum, dill, and yarrow attract predatory insects (lacewings, parasitic wasps, hoverflies) that eat your pest insects.
Space and resource optimization. The classic βThree Sistersβ (corn, beans, squash) works because corn provides a trellis for beans, beans fix nitrogen for corn, and squash shades the soil to retain moisture and suppress weeds.
The Companion Planting Chart
Tomatoes
Good companions:
- Basil β Repels whiteflies and aphids. May improve tomato flavor (anecdotal but widely reported). Plant within 18 inches.
- Carrots β Loosen soil around tomato roots. Plant between tomato cages.
- Marigolds β French marigolds suppress root-knot nematodes (proven in university studies). Interplant throughout the bed.
- Borage β Attracts pollinators, repels tomato hornworm. One plant per 4β5 tomatoes.
Bad companions:
- Brassicas (cabbage, broccoli, cauliflower) β Both are heavy feeders; theyβll compete for nutrients.
- Fennel β Inhibits growth of most vegetables. Keep fennel isolated.
- Corn β Both attract the same pest: corn earworm/tomato fruitworm.
Peppers
Good companions:
- Basil β Same benefits as with tomatoes
- Spinach β Low-growing, shades soil, harvested before peppers need the space
- Carrots β Same benefits as with tomatoes
- Onions β Repel aphids
Bad companions:
- Fennel β Growth inhibitor
- Kohlrabi β Stunts pepper growth
Cucumbers
Good companions:
- Radishes β Repel cucumber beetles. Plant radishes around cucumber hills.
- Dill β Attracts beneficial insects that prey on cucumber pests. But harvest dill before it goes to seed, or it can inhibit cucumber growth.
- Sunflowers β Provide a trellis for vining cucumbers and attract pollinators.
- Beans β Fix nitrogen that cucumbers need.
Bad companions:
- Potatoes β Cucumbers increase potato blight susceptibility.
- Aromatic herbs (sage, mint) β Can inhibit cucumber growth.
Beans (Bush and Pole)
Good companions:
- Corn β Classic pairing. Pole beans climb corn stalks. Plant corn first, add beans when corn is 6 inches tall.
- Squash β The third βSister.β Large leaves shade soil.
- Carrots β Both benefit from the association.
- Cucumbers β Beans fix nitrogen, cucumbers benefit.
Bad companions:
- Onions/garlic/chives β Alliums stunt bean growth. This is well-documented.
- Peppers β Compete for the same nutrients.
Brassicas (Cabbage, Broccoli, Cauliflower, Kale)
Good companions:
- Nasturtiums β Trap crop for aphids and cabbage moths.
- Dill β Attracts parasitic wasps that prey on cabbage worms.
- Onions β Repel cabbage maggots.
- Thyme β Deters cabbage worms.
Bad companions:
- Strawberries β Both susceptible to similar fungal diseases.
- Tomatoes β Heavy feeder competition.
Lettuce and Leafy Greens
Good companions:
- Tall crops (corn, sunflowers, tomatoes) β Provide shade that extends the lettuce season by 2β3 weeks.
- Chives β Repel aphids.
- Radishes β Fast-growing markers that break up soil.
Bad companions:
- Few genuine incompatibilities. Lettuce plays well with almost everything.
The Three Sisters: Getting It Right
The most famous companion planting combination needs specific execution to work:
- Build a mound 12 inches high, 18 inches across
- Plant 4β6 corn seeds in the center
- Wait until corn is 6 inches tall, then plant 4 bean seeds around the corn
- Plant 2β3 squash seeds at the edge of the mound
Common mistakes:
- Planting everything at once (beans outpace corn and have nothing to climb)
- Using bush beans instead of pole beans
- Spacing mounds too close (need 4β5 feet between mounds)
- Using sweet corn (too short) β use a tall dent or flour corn variety
Companion Planting Myths to Ignore
βMarigolds repel all pests.β Only French marigolds (Tagetes patula) suppress nematodes, and only when planted densely and turned into the soil at seasonβs end. They donβt create a pest-free force field.
βCarrots love tomatoes.β This is the title of a famous book, but the evidence is thin. They donβt harm each other, but βloveβ is a stretch.
βGarlic keeps everything away.β Garlic repels some soft-bodied insects but stunts beans and peas. Itβs not a universal protector.
Planning Your Companion Planted Garden
The most practical approach: think in terms of guilds rather than individual pairings. A guild groups a main crop with 2β3 companions that serve different functions:
Tomato guild: Tomato + basil (pest repellent) + marigold (nematode control) + carrot (soil loosening)
Brassica guild: Cabbage + nasturtium (trap crop) + dill (beneficial insects) + onion (pest repellent)
Cucumber guild: Cucumber + radish (beetle repellent) + sunflower (trellis) + bean (nitrogen)
Plan these guilds on paper before planting. Sketch your beds and assign each guild a section.