Loading…
Loading…

Written by David Rodgers — Updated September 2026
Strategic plant pairings that deter pests, improve yield, and support soil health — based on what the research actually shows works.
Companion planting sits at the intersection of gardening tradition and plant science — some combinations have strong research support, others are garden folklore passed down without scrutiny, and distinguishing between them helps gardeners invest their space in pairings that actually deliver results. The Three Sisters combination of corn, beans, and squash is among the most well-documented: corn provides a trellis for nitrogen-fixing beans, while squash leaves shade the soil to retain moisture and suppress weeds — a functional polyculture that indigenous farmers in North America practiced for centuries. Tomatoes and basil are frequently cited together; while basil makes an excellent kitchen companion to tomatoes, the evidence for direct pest-repelling effects in the garden is mixed — but the combination is still worth planting simply because basil thrives in similar conditions. This guide separates the mechanisms with real evidence behind them from the folklore, and gives you a practical framework for planning a companion-planted garden.
Every genuine companion planting effect traces back to one of a handful of real mechanisms — scent confusion, trap cropping, nitrogen fixation, physical structure sharing, or allelopathy. Understanding which mechanism is at play for a given pairing tells you whether it will actually work in your garden, or whether it is folklore that happened to get repeated often enough to sound authoritative.
| Mechanism | How It Works | Example | Evidence Strength |
|---|---|---|---|
| Scent confusion / masking | Strong-smelling plants disrupt a pest’s ability to locate its host plant by scent | Onions and garlic confusing carrot rust fly | Well-supported |
| Trap cropping | A more attractive plant is sacrificed to draw pests away from the main crop | Nasturtiums drawing aphids away from beans; radish drawing cucumber beetles | Well-supported |
| Nitrogen fixation | Legume roots host bacteria that convert atmospheric nitrogen into soil-available forms | Beans and peas feeding nearby heavy feeders like corn or squash | Well-supported (soil chemistry, not folklore) |
| Physical structure sharing | One plant provides a trellis, shade, or windbreak for another | Corn stalks trellising climbing beans; tall crops shading lettuce in summer | Well-supported (mechanical, not biochemical) |
| Beneficial insect attraction | Flowering plants draw in predatory or parasitic insects that prey on pests | Dill and fennel flowers attracting parasitic wasps that parasitize cabbage worms | Well-supported |
| Allelopathy | A plant releases chemical compounds through roots or leaf litter that suppress germination or growth of neighbors | Fennel and black walnut suppressing many nearby plants | Well-supported as a reason to avoid pairings |
| Improved flavor / general vigor | Claimed but mechanistically unexplained improvement in a neighbor’s taste or growth | Basil "improving" tomato flavor; chamomile as a "physician plant" | Anecdotal — plant in the garden for other reasons, not this one |
When you read a companion planting claim, ask which mechanism it relies on. "Deters pests through scent" or "fixes nitrogen" are testable, well-documented effects. "Improves flavor" or "makes a good neighbor" with no stated mechanism is usually inherited folklore — harmless to try, but don’t plan your garden layout around it.

The Three Sisters — corn, pole beans, and winter squash or pumpkins — is the best-documented companion planting system in North American horticulture, developed and refined by Indigenous farmers over centuries. Each plant performs a distinct, complementary function: corn grows tall and provides a living trellis so beans don’t need a separate structure; beans climb the corn and fix nitrogen in the soil that benefits both the corn and the following season’s crops; squash sprawls along the ground between the corn stalks, its broad leaves shading the soil to suppress weeds and retain moisture, while its prickly stems and leaves discourage raccoons and other animals from raiding the corn.
The Three Sisters is a nutrient-balanced system, not just a space-saving trick: corn is a heavy nitrogen feeder, beans replace nitrogen in the soil, and squash needs relatively little of either — the three crops divide the garden’s resources instead of competing for the same ones.
Other classic polycultures follow the same "different needs, complementary functions" logic. A "living mulch" pairing — a low, spreading crop like lettuce, radish, or bush beans planted beneath a taller crop like tomatoes or corn — shades the soil and suppresses weeds while producing a second harvest from the same bed footprint. Interplanting fast-maturing crops (radish, lettuce, spinach) between slow-maturing ones (broccoli, tomatoes, peppers) lets you harvest the quick crop before the slow one needs the space, effectively doubling a bed’s productivity during the season’s early weeks.

Two distinct strategies fall under "pest control" companion planting: repelling pests with scent, and sacrificing a trap crop to draw pests away from the plant you actually want to protect. Both work, but they work differently and are planted differently.
| Protected Crop | Companion | Strategy | Placement Note |
|---|---|---|---|
| Carrots | Onions, garlic, chives | Scent masking | Interplant directly within carrot rows for the strongest effect |
| Beans, brassicas | Nasturtiums | Trap crop for aphids | Plant upwind or along the bed perimeter, not mixed into the main crop |
| Cucumbers, squash | Radish, blue hubbard squash (for larger farms) | Trap crop for cucumber beetles | Plant a border row slightly ahead of the main crop so it matures first |
| Tomatoes | Marigolds (French) | Root secretions reduce root-knot nematodes | Interplant throughout the bed, or grow as a full-season cover the prior year |
| Brassicas (broccoli, cabbage, kale) | Dill, fennel, cilantro (allowed to flower) | Attracts parasitic wasps that parasitize cabbage worms | Let a portion of the herb bolt and flower near the brassica bed |
| Squash | Nasturtiums | Trap crop for squash bugs | Plant densely around the squash hill perimeter |
| Corn | Marigolds, minimal effect documented for corn earworm | Weak evidence — physical row covers work far better | Not a primary strategy for corn pests |
A trap crop only works if the pest actually prefers it over your main crop, and if you monitor and remove the trap crop (with its pest load) before the pests multiply and spread back to your protected plants. An unmonitored trap crop can become a pest nursery instead of a sink.

The pairings below cover the most common vegetables and herbs grown in home gardens, organized by the crop you’re planning around. This is the same underlying data that powers the site’s interactive Companion Planting Checker tool — use that tool to check any two specific plants, or use this table as a quick planning reference while laying out a bed.
| Plant | Good Companions | Avoid |
|---|---|---|
| Tomato | Basil, carrot, onion, garlic, chives | Corn, cabbage, broccoli, fennel, mature dill |
| Carrot | Onion, garlic, chives, lettuce, peas | Dill (same family, cross-pollinates and competes) |
| Corn | Pole beans, pumpkin, zucchini | Tomato (shares corn earworm/tomato fruitworm) |
| Green bean | Corn, pumpkin, zucchini, cucumber, carrot | Onion, garlic, chives, fennel |
| Peas | Carrot | Onion, garlic, fennel |
| Cabbage | Dill, chamomile | Tomato, broccoli (same family — concentrate pests/disease), fennel |
| Broccoli | Dill | Tomato, cabbage (same family), fennel |
| Kale | Dill | Fennel |
| Cucumber | Radish, green bean | — |
| Lettuce | Carrot, chives | — |
| Bell pepper | Basil | — |
| Hot pepper | Basil | — |
| Eggplant | Green bean | — |
| Radish | Spinach, cucumber (as trap crop) | — |
| Beet | Onion, cabbage | — |
| Onion, garlic, chives | Carrot, tomato, cabbage, beet | Beans, peas (alliums stunt legumes) |
For a pairing not listed here, the site’s Companion Planting Checker tool covers additional relationships and honestly reports "no documented relationship" for pairs with no established interaction — that’s a genuinely useful answer, not a gap in the data. Plants without a strong documented relationship can usually be grown near each other without concern.

Most "bad companion" claims fall into one of three real categories: allelopathy (chemical suppression), shared pest and disease pressure (planting family members or pest-sharing crops together concentrates the problem instead of diluting it), and genuinely competing nutrient or water demands. Knowing which category applies tells you whether the concern is serious or minor.
Fennel is the classic vegetable-garden allelopath — it releases compounds from its roots and leaf litter that inhibit the germination and growth of most nearby vegetables, tomatoes and beans especially. Give fennel its own bed, well away from the main vegetable garden, or grow it in a large container. Black walnut trees are the most extreme allelopathic example in the home landscape (though not a vegetable garden companion issue) — their roots release juglone, which is toxic to tomatoes, peppers, and many other plants for a substantial radius around the trunk.
Onions, garlic, and chives are widely reported to stunt the growth of beans and peas when planted in the same bed — the reverse of the beneficial relationship alliums have with carrots and tomatoes. Keep the allium family and the legume family in separate beds or at opposite ends of the same bed.
Companion planting and crop rotation solve overlapping problems and work best used together. Rotation moves a plant family to a different bed each year so soil-borne pests and diseases specific to that family don’t build up; companion planting arranges what grows next to what within a single season. A garden that rotates families year to year but ignores companion relationships within the season is still vulnerable to the pest-concentration and allelopathy issues covered above.
| Plant Family | Members | Rotation Note |
|---|---|---|
| Solanaceae (nightshades) | Tomato, pepper, eggplant, potato | Avoid replanting in the same bed for 3–4 years — shared soil-borne diseases |
| Brassicaceae | Cabbage, broccoli, kale, Brussels sprouts, radish | Rotate to break the clubroot and flea beetle cycle |
| Cucurbitaceae | Cucumber, squash, pumpkin, melon | Rotate to reduce cucumber beetle and squash vine borer carryover |
| Fabaceae (legumes) | Beans, peas | Plant where a nitrogen-hungry crop grew the prior year to take advantage of soil-building |
| Apiaceae | Carrot, dill, fennel, parsley, cilantro | Rotate; also watch for cross-family allelopathy from fennel regardless of rotation |
| Alliaceae | Onion, garlic, leek, chives | Rotate away from legume beds the following year |
A simple, effective rotation-plus-companion approach: follow a legume bed with a heavy feeder (corn, brassicas, or tomatoes) the next season to use the nitrogen the legumes left behind, then follow the heavy feeder with a light feeder (root vegetables or herbs) before returning to legumes.
Planning a companion-planted garden works best as a layered process: start with your main crops, then layer in nitrogen fixers, pest deterrents, and trap crops around them, and finally check the whole layout against the "avoid" list before you plant.
For an exact plant-count and spacing plan once your bed layout is set, use the site’s Plant Spacing & Square Foot Garden Planner — it doesn’t account for companion relationships directly, but combined with the pairing table above it lets you place companions precisely within a square-foot grid.

| Mistake | Why It Backfires | Fix |
|---|---|---|
| Planting an unmonitored trap crop | Pests build up on the trap crop and spread back to the main crop once it’s exhausted | Check trap crops regularly and remove them (with pests) once they’ve done their job |
| Mixing fennel into the main vegetable bed | Allelopathic compounds suppress germination and growth of most neighbors | Grow fennel in its own bed or a large container, away from other vegetables |
| Planting beans and onions in the same row | Alliums are reported to stunt legume growth | Keep the allium and legume families in separate sections of the garden |
| Assuming every "companion" pairing has a mechanism | Some folklore pairings (like basil "improving" tomato flavor) have no demonstrated effect beyond compatible growing conditions | Plant folklore pairings for their other genuine benefits (shared conditions, kitchen use) rather than expecting a magic effect |
| Ignoring family grouping when planning companion beds | Densely grouping the same plant family concentrates family-specific pests and diseases even if companion herbs are interspersed | Combine companion planting with basic crop rotation and family spacing, not as a replacement for it |
Companion planting rewards a season or two of observation more than any fixed formula — track what actually reduced pest pressure or improved a harvest in your own garden, and treat these pairings as a well-grounded starting point rather than a rulebook.
🌿 Get Seasonal Gardening Tips
New guides, planting reminders, and growing tips — straight to your inbox.
No spam. Unsubscribe anytime.

David Rodgers is the Founder & Head Gardener of Planting Atlas. With over 40 years of hands-on gardening experience in Oklahoma's Zone 7 climate, he researches, writes, and personally tests every guide on the site.
David draws from real backyard trials, soil testing, and trusted sources like Oklahoma State University Extension and USDA data to deliver practical, zone-specific advice that actually works.
Read more about David and Planting Atlas →