Companion Planting, Explained

By GardenPlanner Team · July 17, 2026

Companion planting is the practice of placing certain plants near each other because they help one another — and keeping other pairs apart because they don’t. Some of it is well-documented agricultural practice; some of it is garden folklore passed down with no controlled study behind it. Worth knowing the difference before you rearrange a whole bed around a pairing.

The well-established pairings

The Three Sisters (corn, beans, and squash) is the clearest example with real mechanism behind it: corn gives climbing beans a stalk to grow up, beans fix nitrogen in the soil that both corn and squash use, and squash’s broad leaves shade out weeds and hold in soil moisture. Indigenous agricultural traditions across North America developed this pairing over centuries, and it holds up.

Nitrogen fixers next to heavy feeders is straightforward soil chemistry, not folklore: beans and peas host bacteria that pull nitrogen from the air into the soil, which benefits nitrogen-hungry neighbors like corn, cucumbers, and squash.

Trap cropping is a documented pest-management technique: planting something pests prefer even more than your main crop, away from it, to draw them off. Nasturtiums as an aphid trap crop near squash, or radishes as a cucumber-beetle trap crop, both fall in this category.

The folklore-adjacent pairings

Claims like “basil improves tomato flavor” or “marigolds repel pests” are widely repeated but thin on controlled evidence — that doesn’t mean they’re wrong, just that the case is softer than the Three Sisters. We still include these in our companion data because gardeners report good results and there’s no real downside to trying them, but we’re not going to overstate the evidence.

What to actually avoid

The clearer, better-evidenced rule is the negative one: don’t plant alliums (onions, garlic) next to beans or peas — the alliums measurably suppress the nitrogen-fixing bacteria beans depend on. Don’t crowd members of the same disease-prone family (tomatoes, potatoes, peppers) together season after season in the same spot.

Use it without overthinking it

Our Garden Designer checks every placement against this data automatically — it’ll warn you if you put antagonists next to each other, and its “suggest a companion nearby” button will fill an open square with a documented good pairing. Every plant’s companion page lists the specific reason behind each pairing, so you can judge for yourself how strong the evidence is.