Open almost any old gardening book and you'll find a chart of which vegetables "love" each other and which ones "hate" each other, as if your tomatoes are holding a grudge against your cabbage. Some of that is real, tested, and useful. A lot of it is folklore that got copied from one chart to the next for a hundred years. You've only got so many weekends in a season, so here's the version that's been tested.
Most of what follows comes from one source: a University of Minnesota Extension review that went through the research and sorted the companion-planting claims that hold up from the ones that don't. It's worth a read if you like this stuff.
What companion planting can really do
Some plants take the hit for you. That's called trap cropping. Spicy members of the cabbage family, like arugula, mustard and napa cabbage, pull flea beetles away from your main crops, and in the research, planting three or more trap species together worked better than planting just one. In the squash patch, a Blue Hubbard squash draws cucumber beetles, squash bugs and squash vine borers away from the rest of your squash.
Some mixes make your crops harder to find. In an Iowa study, thyme, onion and nasturtium planted with broccoli cut the damage from cabbage loopers and imported cabbageworms. With cabbage, marigold, onion and nasturtium did the same. In the squash bed, nasturtiums and marigolds reduced squash bug and cucumber beetle damage. And basil and marigolds have cut thrips on tomatoes, though UMN is careful to say that's from only a few studies.
Some plants bring in the good bugs. In a Florida study, African marigolds and sweet alyssum planted with squash brought in more of the insects that eat aphids, and yields went up a little. Flowering buckwheat near sweet corn increased the predators and parasites that go after corn earworm. A mix of flowers also brings in hover flies, whose larvae eat a lot of aphids.
Some pairings just share space well. Sow lettuce, spinach or basil early, then set tomatoes or peppers into the same bed. By the time you've harvested the early crop, the later one is filling in. That's not magic. It's just good use of a bed.
What beans actually do for their neighbors
You'll read everywhere that beans "feed" the plants around them. The truth is more interesting. Beans and peas do pull nitrogen out of the air, with help from bacteria on their roots. But that nitrogen stays mostly inside the plant until the plant dies and its roots and leftovers break down. So the real payoff comes after the beans are done: turn them under or leave the roots in the ground, and next season's crop in that bed gets the benefit.
The classic Three Sisters garden, corn and beans and squash grown together, is a traditional Indigenous system that works for its own good reasons. The corn holds up the beans, the beans add nitrogen to the soil over time, and the squash shades the ground to keep weeds down and moisture in.
What to skip
Those big "enemies" charts? Read them with a raised eyebrow. Most "X hates Y" claims never had much evidence behind them, and they won't make or break your harvest. UMN calls out a couple of popular ones directly. Planting marigolds or green onions to keep flea beetles away has little research behind it, and some studies contradict it. Marigolds against Colorado potato beetles? Several studies have shown that doesn't work.
Marigolds for nematodes is a half-truth worth getting right. They can knock back root-knot nematodes, but only when you grow them as a thick planting, like a cover crop, for at least two months before the vegetables go in. A few marigolds dotted among your peppers won't do it.
Five pairings to start with
You don't need the whole chart. Pick a couple of these and watch what happens:
- Tomatoes with basil tucked in between.
- Broccoli or cabbage with thyme, onions and nasturtiums nearby.
- Squash with nasturtiums and marigolds, plus one Blue Hubbard as a trap if squash bugs give you fits.
- A short row of arugula or mustard as a flea beetle trap near your main cabbage-family crops.
- A strip of sweet alyssum or buckwheat along the edge of the bed for the bugs that eat the bugs.
If you only do one thing this year, do the last one. More flowers in and around the garden is the easiest win in this whole post.
Where the moon comes in
Companion planting and moon timing fit together without any trouble, because each plant still gets sown in its own window. Leafy and above-ground crops like basil and broccoli go in while the moon is waxing. Root crops like carrots and onions go in while it's waning, the same rhythm I walked through in Planting by the Moon: Your First Month. Companion planting decides who sits next to whom. The moon decides when each one goes in the ground. Just remember the moon is a rhythm, not a force. When Illinois Extension reviewed the research, it found no consistent evidence of the moon affecting plant growth.
Sources: University of Minnesota Extension, "Companion planting in home gardens" · UF/IFAS Extension ENY-056, "Marigolds (Tagetes spp.) for Nematode Management" · UGA Extension B 1466, "Predicting Nitrogen Release from Cover Crops" · University of Illinois Extension, "Lunar Influence on Gardening"