Skip to main content

Companion Planting: What Works & What Doesn't [Chart Inside]

9 min read
gardeningcompanion-plantingvegetable-gardeningpaliurus

Companion planting is the practice of growing certain plants near each other so one helps the other, and it is one of the most loved-and-debated topics in vegetable gardening. Some claims are centuries-old folklore, a few have real research behind them, and others are simply myths. This guide sorts out what companion planting actually does for a vegetable garden, what pairings genuinely help, and which ones you should skip.

Quick Answer: Companion planting works best as a supporting tactic, not a fix-all. The reliably useful pairings attract beneficial insects with flowers, use trap crops to lure pests away, and interplant for space and pest confusion. Skip flavor claims like “basil makes tomatoes taste better” and avoid plants with chemical inhibition like fennel and black walnut (juglone), which genuinely harm neighboring vegetables.

At a Glance

| Fact | Detail | | Best-supported benefit | Flowering plants attracting beneficial insects that eat pests | | Trap crops | Sacrificial plants pests prefer, like nasturtiums for aphids | | Nitrogen fixing | Beans and peas enrich soil for the following season’s crops | | Flavor claims | Little to no solid evidence (e.g., basil near tomatoes) | | Pairings to avoid | Fennel (inhibits neighbors) and black walnut trees (juglone) | | How close to plant | Interplant in the same row or adjacent rows, about 12-24 inches apart | | Best use | Part of an overall pest and soil strategy, not a replacement for it |

What Companion Planting Is (and Isn’t)

At its core, companion planting works through three mechanisms. Pest effects: some plants attract predators, confuse pests, or lure them away from your crop. Nutrient partnerships: legumes fix nitrogen that other plants can use. Physical benefits: taller plants shade or support shorter ones, and interplanted beds leave less bare soil for weeds.

What it is not: a magical system where specific “friends” and “enemies” guarantee outcomes. Much of the classic companion planting chart has never been tested, and extension services urge gardeners to treat most claims with skepticism (Source: Iowa State University Extension).

What Actually Works: Evidence-Based Pairings

Flowers That Attract Beneficial Insects

This is the most reliable benefit. Flowering herbs and blooms-dill, yarrow, alyssum, and other small-flowered plants-provide nectar for parasitic wasps, lacewings, and syrphid flies whose larvae eat aphids and caterpillars. Interplant these among vegetables and the predators do your pest control for free. French marigolds do not repel most pests, contrary to legend, but their root exudates are documented to suppress some root-knot nematodes, and their flowers draw pollinators to cucumbers and squash. Pair your pest management with the vegetable garden pest guide for best results.

Trap Crops That Really Work

A trap crop is a plant you grow specifically because pests prefer it to your vegetables. Nasturtiums reliably attract aphids away from beans and brassicas-pull and discard infested leaves weekly. Cucurbits are the classic case: plant blue hubbard squash at the garden edge and squash bugs and cucumber beetles will concentrate there instead of on your zucchini, a method documented by Cornell research (Source: Cornell Vegetables). Check trap crops weekly-unmanaged, they become pest nurseries.

Nitrogen-Fixing Beans and Peas

Beans and peas partner with soil bacteria to fix nitrogen from the air. Most of that nitrogen becomes available when the plants decompose, so the real payoff comes the next season: follow beans with leafy greens or corn, or chop the spent bean vines into the soil in fall. Within the same season, beans climbing corn (the “three sisters” system) genuinely work as a space arrangement-corn supports the beans, and squash shades the soil-but do not expect the beans to feed the corn in the same year. The soil preparation guide explains how to put that nitrogen to work.

Interplanting for Space and Pest Confusion

Fast, low crops sown between slow, tall ones use space and keep bare soil covered: radishes between carrots, lettuce between young tomatoes, greens between transplants. This “pest confusion” idea has real merit-when host plants are scattered among non-hosts, small pests like flea beetles spread more slowly and find fewer concentrated plants (Source: University of California IPM). It is modest, but free.

Basil Near Tomatoes: The Honest Answer

The claim that basil makes tomatoes taste better has little scientific support; extension services say so plainly. What is real: intercropping herbs like basil among tomatoes diversifies the habitat, which can slightly reduce pest pressure, and basil takes up space that would otherwise be bare. Plant them together because it works for your garden; do not expect sweeter tomatoes. Our tomato growing guide covers everything else tomatoes need.

What Does Not Work: Pairings to Avoid

Allelopathy: Plants That Inhibit Neighbors

Some plants release chemicals that suppress growth in neighboring plants-allelopathy-and two cases are worth planning around.

Black walnut (juglone): Walnut roots and leaves produce juglone, which wilts and kills juglone-sensitive vegetables including tomatoes, peppers, eggplant, potatoes, beans, and asparagus. The toxic zone extends well beyond the canopy along the root spread, so do not plant a vegetable bed near a walnut tree, and do not use walnut leaves in compost or mulch (Source: Penn State Extension).

Fennel: Fennel is allelopathic and reliably inhibits tomatoes, beans, and many other vegetables. It belongs in its own bed, away from the main garden.

Garden Myths to Stop Believing

  • “Marigolds repel everything.” They do not. They attract pollinators and suppress some root-knot nematodes; fencing and row covers handle rabbits and beetles.
  • “Radishes loosen the soil for carrots.” Radishes do not help carrots grow; the two are simply both small and fast enough to share a row.
  • “Herbs planted nearby keep every beetle away.” Aromatic herbs have weak, inconsistent repellent effects at best; rely on row covers and handpicking for real pest pressure, as covered in the pest control guide for beginners.

| Vegetable | Good neighbors | Bad neighbors | Notes | | Tomatoes | Basil, carrots, onions, asparagus | Fennel, black walnut, potatoes (share blight risks) | Basil benefit is pest-pressure, not flavor | | Beans | Corn, carrots, cucumbers | Fennel, onions, black walnut | Fix nitrogen for next season’s crops | | Squash and cucumbers | Nasturtiums, marigolds, beans, corn | Potatoes | Nasturtiums and hubbard squash make excellent trap crops | | Brassicas | Nasturtiums, dill, aromatic herbs | Strawberries, black walnut | Row covers beat companion herbs for cabbage worms | | Carrots | Tomatoes, onions, lettuce | Dill (attracts carrot rust fly) | Interplant fast radishes to mark rows | | Lettuce and greens | Radishes, carrots, tomatoes | None serious | Thrive in shade of taller plants |

Treat this chart as a starting point, not a promise-most entries are gardener folklore, and where research exists it is noted above (Source: Royal Horticultural Society). Then fit the pairings into your vegetable garden layout planning just like any other spacing decision.

Common Mistakes

  • Letting companion plants replace real pest control. No pairing replaces rotation, row covers, or handpicking. Use companions to support those habits.
  • Planting fennel or mint in the main bed. Fennel inhibits neighbors, and mint takes over. Give them their own containers or beds.
  • Believing flavor claims. “Tastier tomatoes,” “sweeter carrots” pairing claims are unproven; choose pairings for space, pest, and pollinator benefits instead.
  • Crowding plants to make pairings fit. Spacing rules still apply; crowding invites mildew and disease and defeats the purpose.
  • Leaving trap crops unmanaged. An aphid-laden nasturtium you never check is just a pest delivery system. Scout them weekly and remove infested foliage.
  • Skipping rotation because you added companions. Companion plants do not break soilborne disease cycles; keep your 3-4 year rotation.

Seasonal Troubleshooting

In spring, interplant fast radishes and greens to cover bare soil and confuse early flea beetles. In summer, check trap crops weekly and replace them after heavy infestations. Cool spring weather slows flowering companions, so sow hardy annuals like alyssum early if you want predator-attracting blooms by June. In fall, chop spent bean vines into the soil to bank nitrogen for next spring’s heavy feeders.

Frequently Asked Questions

Q: Do marigolds keep rabbits and deer away?

A: No reliable evidence exists for either. Their scented foliage may confuse a few insects, but animals ignore them; fencing is the answer.

Q: Is the three sisters (corn, beans, squash) a real method?

A: Yes, as a space system: corn supports beans, beans fix nitrogen, and squash shades the soil. It needs full sun and generous spacing-about 12 inches between corn plants in blocks-and it works best in the right climate.

Q: Will basil really make my tomatoes taste better?

A: No solid science backs the flavor claim. The pairing is still fine because basil diversifies the planting and can slightly reduce pest pressure; grow it for that, not for flavor.

Q: How close do companion plants need to be to work?

A: Close enough to share space-same row or an adjacent row, roughly 12-24 inches apart depending on the plants. Do not violate either plant’s spacing or light needs.

Q: Can I garden near a black walnut tree?

A: Avoid it for juglone-sensitive vegetables within the root zone, which extends well past the canopy. Raised beds with a barrier liner and clean raised bed soil are the common workaround; otherwise choose a different site.

Q: Does companion planting actually control pests?

A: The best-documented benefits are beneficial-insect attraction, trap crops, and slowed pest movement through habitat diversity. Those help, but they work alongside, not instead of, the controls in our vegetable pest guide.

Q: Are any vegetables allelopathic?

A: Yes-fennel and sunflower are the ones home gardeners most often meet, and both inhibit neighbors. Keep them in separate beds, and collect sunflower debris in fall, since it can suppress spring germination.

Sources & References

Frequently Asked Questions

Tomatoes with basil, carrots with onions, and cucumbers with sunflowers are proven companions. They deter pests, improve pollination, and maximize space. Avoid planting carrots near dill, which stunts growth.

Some combinations work well - like basil repelling tomato hornworms - while others are garden myths with no science. Focus on proven pairings that deter pests or fix nitrogen, not on anecdotal folklore.

Do not plant tomatoes near potatoes, fennel or mature dill. They share blight diseases or inhibit growth. Keep tomatoes separate from Brassicas like cabbage, which compete for nutrients.

Ilisa Beurg — Lead Gardening Writer & Editor

Ilisa Beurg has been growing food and flowers for over a decade, from a tiny balcony herb garden to a full kitchen-garden plot. Her guides are built on hands-on experience and are checked against university extension research before publication.

Disclaimer: The information on Paliurus.com is for general gardening guidance only. Results may vary by climate, soil type, and plant variety. Always check your local growing conditions.Read our full disclaimer →