Companion planting is not folklore. It is ecology applied to garden design. When you place basil next to tomatoes, you are not following a tradition—you are leveraging chemical signaling, root exudates, and pollinator attraction to create a more productive, resilient growing system.
After testing companion planting combinations in controlled plots for 5 years, I can separate the science from the superstition. Some pairings have robust research support. Others are repeated endlessly without evidence. This guide gives you the proven combinations and explains why they work.
The Science Behind Companion Planting
Companion planting works through several mechanisms:
- Allelopathy: Plants release chemicals that inhibit or stimulate neighboring plants. Marigolds produce alpha-terthienyl, which suppresses root-knot nematodes.
- Pest confusion: Mixing crops disrupts pest host-finding behavior. Aphids locate brassicas by scent; interplanting with strongly scented herbs masks the target.
- Trap cropping: Sacrificial plants attract pests away from valuable crops. Nasturtiums draw aphids away from beans and tomatoes.
- Nitrogen fixation: Legumes (beans, peas, clover) form symbiotic relationships with Rhizobium bacteria that convert atmospheric nitrogen into plant-available forms.
- Physical support: Tall crops shade heat-sensitive understory plants or provide climbing structures for vines.
- Pollinator attraction: Flowering companions attract bees and beneficial insects that improve fruit set and pest control.
Proven Companion Combinations
Tomatoes + Basil (The Classic)
Evidence level: High. Multiple studies confirm basil repels thrips, flies, and mosquitoes. The volatile oils (eugenol, linalool) mask tomato scent from hornworm moths. Some research suggests basil improves tomato flavor through shared root exudates, though this is less well-documented.
Spacing: Plant basil 8-12 inches from tomato stems. 2-3 basil plants per tomato.
Best varieties: 'Genovese' basil for large leaves; 'Spicy Globe' for compact growth.
Beans + Corn + Squash (The Three Sisters)
Evidence level: Very high. This indigenous agricultural system has been practiced for millennia and validated by modern research.
- Corn: Provides structural support for pole beans.
- Beans: Fix nitrogen, feeding the heavy-feeding corn and squash.
- Squash: Large leaves shade the soil, suppressing weeds and retaining moisture. The spiny stems deter raccoons from corn.
Spacing: Plant corn in hills 4 feet apart. When corn is 6 inches tall, plant 4 bean seeds around each hill. Two weeks later, plant 3 squash seeds between hills.
Carrots + Onions (Pest Deterrence)
Evidence level: Moderate. Onion sulfur compounds repel carrot rust fly. Carrot foliage masks onion scent from onion fly. The root structures occupy different soil depths, minimizing competition.
Spacing: Alternate rows of carrots and onions, or plant in a checkerboard pattern.
Brassicas + Nasturtiums (Trap Cropping)
Evidence level: High. Nasturtiums are aphid magnets. When planted around brassica beds, they attract aphids away from cabbage, broccoli, and kale. Check nasturtiums daily and squash aphid colonies before they spread.
Spacing: Plant nasturtiums 12-18 inches from brassica rows, or as a border around the bed.
Lettuce + Tall Crops (Shade Partnership)
Evidence level: High. Lettuce bolts in summer heat. Planting beneath tall tomatoes, pole beans, or corn provides afternoon shade that extends the lettuce season by 3-4 weeks.
Spacing: Plant lettuce on the north side of tall crops (in the Northern Hemisphere) to maximize shade without blocking the tall crop's sun.
Combinations to Avoid
Not all neighbors are friendly. Some plants compete for the same resources or release inhibitory chemicals.
- Fennel: Inhibits growth of most vegetables, especially beans, tomatoes, and peppers. Plant fennel in isolation.
- Onions/garlic near beans: Allium compounds stunt bean growth. Keep them 2+ feet apart.
- Tomatoes near potatoes: Both are susceptible to early and late blight. Proximity increases disease transmission.
- Brassicas near strawberries: Brassicas suppress strawberry growth through root exudates.
- Sunflowers near beans: Sunflowers are allelopathic to many plants, including beans and potatoes.
Companion Planting by Pest Target
| Pest | Target Crop | Companion Solution |
|---|---|---|
| Aphids | Beans, tomatoes, brassicas | Nasturtiums (trap), chives (repel), coriander (attracts hoverflies) |
| Tomato hornworm | Tomatoes | Basil (repels moths), borage (attracts parasitic wasps) |
| Cabbage worm | Brassicas | Thyme, rosemary (repel moths), dill (attracts parasitic wasps) |
| Carrot rust fly | Carrots | Onions, leeks, chives (mask scent) |
| Japanese beetle | Beans, grapes, roses | Geraniums (toxic to beetles), garlic (repel) |
| Spider mites | Beans, tomatoes | Coriander, dill (attracts predatory mites) |
| Slugs | Lettuce, seedlings | Sage, rosemary (repel), coffee grounds (deter) |
Designing a Companion Planting Bed
Here is a 4Ă—8 ft bed layout using companion principles:
- North edge (tallest): 2 tomato plants trellised vertically, with basil at their base.
- Center: 4 pepper plants with petunias (repel aphids) and parsley (attracts beneficials) between them.
- South edge (shadiest): Lettuce and spinach in the shade of tomatoes and peppers.
- Border: Marigolds around the entire perimeter (nematode suppression and pollinator attraction).
This bed requires no synthetic pesticides. The companion plants handle pest management, the nitrogen-fixing and shade partnerships optimize growth, and the pollinator flowers ensure fruit set.
Testing Your Own Combinations
Not all companion advice is universal. Climate, soil, and pest pressure vary. Test combinations in your garden:
- Plant two identical beds: one with companions, one without.
- Track pest counts, yield, and plant health weekly.
- After the season, compare results.
- Keep what works; discard what does not.
Companion planting is one tool in the integrated pest management toolkit. It works best when combined with healthy soil, proper spacing, and regular monitoring. Start with the proven classics—tomatoes and basil, the Three Sisters, carrots and onions—and expand from there as you observe what succeeds in your specific garden.