yardcast
PricingBlogStart Design
Home→Blog→Gardening
Gardening16 min read•Mar 15, 2026

Companion Planting Chart: 50+ Best Plant Combinations (Complete Guide 2026)

Companion planting pairs plants that help each other grow — naturally repelling pests, fixing nitrogen, improving flavor, and maximizing space. Here's every combination worth knowing, with a printable chart.

Companion planting is the art of placing plants together so they help each other — not just coexist. The right plant pairs can slash pest damage without pesticides, fix nitrogen that feeds your heavy feeders, improve flavor, maximize space in small gardens, and attract the beneficial insects that keep your whole garden healthy.

This guide covers the 50+ most valuable companion planting combinations, organized by vegetable, herb, and flower — plus a master chart you can print and take to the nursery.

Why Companion Planting Works: The Science

Some companion planting relationships are ancient wisdom; others are confirmed by university research. Here's what actually drives the benefit:

Chemical pest deterrence. Many plants release volatile compounds through their roots and leaves that repel specific insects. Marigold roots produce thiophenes that nematodes avoid. Basil leaves emit linalool and eugenol that deter thrips and aphids. Alliums (garlic, onions, chives) release sulfur compounds that confuse fungal gnats and aphids.

Insectary planting. Certain flowering plants attract beneficial insects (ladybugs, lacewings, parasitic wasps, hoverflies) that prey on garden pests. Dill, fennel, yarrow, and members of the carrot family (Apiaceae) are the most powerful insectary plants.

Nitrogen fixation. Legumes (beans, peas, clover, vetch) host rhizobium bacteria on their roots that pull nitrogen from the air and fix it in the soil. Plants grown near legumes absorb this nitrogen through root exudates and soil decomposition.

Physical benefits. Tall plants create shade for heat-sensitive companions. Sprawling plants (squash, nasturtium) suppress weeds and conserve moisture. Trellised crops (beans, cucumbers) make efficient use of vertical space that ground crops don't need.

Trap cropping. Sacrificial plants are placed to attract pests away from the main crop. Blue Hubbard squash, for example, is so attractive to squash vine borers and cucumber beetles that it draws them away from valuable summer squash and zucchini.

The Three Sisters: The Original Companion Planting System

The most famous companion planting combination in the world was developed by Indigenous farmers across North America — corn, beans, and squash, grown together in a mutually beneficial polyculture that produces more food per acre than any of the three grown separately.

Corn: provides a living trellis for bean vines to climb, giving them vertical growing space without stakes. Corn is a heavy nitrogen feeder.

Beans: fix atmospheric nitrogen through root nodules, replenishing what corn takes out. They twine around corn stalks without damaging them.

Squash: its large, rough-surfaced leaves shade the soil, preventing moisture evaporation and suppressing weed germination. Squash leaves also deter raccoons and other animals with their prickly texture.

The Three Sisters work together so effectively that Indigenous communities could grow the same plot for decades without rotating crops or adding external fertilizer.

How to plant Three Sisters: Mound soil 12–18 inches high, 3 feet wide. Plant 4–6 corn seeds per mound. When corn is 4–6 inches tall, plant 4–6 bean seeds around it. One week later, plant 2–3 squash seeds at the mound's edge.


Want to design a garden or yard that incorporates companion planting from the start?

Get a free AI landscape design preview — 60 seconds →


Master Companion Planting Chart: Vegetables

Tomatoes

Plant WithBenefitAvoid
BasilDeters aphids, thrips; may enhance flavorFennel
Marigolds (French)Deters soil nematodes, whitefliesBrassicas
BorageDeters tomato hornworm; attracts pollinatorsCorn
ParsleyAttracts predatory insectsPotatoes
CarrotsLoosens soil around roots
GarlicRepels spider mites
AsparagusMutual pest benefit

Basil is the non-negotiable tomato companion. Plant it 12–18 inches from tomato stems. Some growers swear it improves fruit flavor — the mechanism isn't fully understood, but it may relate to volatile compounds shared through root exudates.

Peppers

Plant WithBenefitAvoid
BasilDeters aphids and spider mitesFennel
CarrotsLoosens soilBrassicas
MarigoldsRoot nematode control
BuckwheatAttracts hoverflies
GeraniumsDeters Japanese beetles and leafhoppers

Cucumbers

Plant WithBenefitAvoid
NasturtiumsTrap crop for aphids; edible flowersPotatoes
DillAttracts predatory waspsFennel
RadishesDeters cucumber beetlesSage
SunflowersTrellis + shade for soil
Bush beansNitrogen fixation

Nasturtiums are the most versatile companion plant in the garden. They attract aphids as a trap crop (drawing them away from vegetables), produce edible flowers, fix nitrogen as a groundcover, and deter whiteflies from cucumbers and squash with their peppery scent.

Squash and Zucchini

Plant WithBenefitAvoid
CornThree Sisters systemPotatoes
BeansNitrogen fixation
NasturtiumsDeters squash beetles
BorageDeters squash vine borers
Blue Hubbard squashTrap crop for vine borers
RadishesDeters squash bugs

Beans and Peas

Plant WithBenefitAvoid
CornThree Sisters; beans fix nitrogen for cornAlliums (onions, garlic, leeks)
SquashThree SistersFennel
CarrotsLoosen soil; beans shade carrot seedlings
PotatoesDeters Colorado potato beetle (beans)
MarigoldsNematode control

Critical warning: Alliums (onions, garlic, chives, leeks) stunt bean growth. Keep beans and peas at least 3 feet from any allium family plant.

Carrots

Plant WithBenefitAvoid
TomatoesTomato roots produce chemical that deters carrot fliesDill (once bolted)
BeansNitrogen from beans feeds carrots
ChivesScent confuses carrot fly
RosemaryRepels carrot fly
LeeksMutual protection — carrot fly vs. leek moth
LettuceUses shallow soil while carrots go deep

The carrot + leek combination is famous in European organic gardening: carrot flies avoid leeks, and leek moths avoid carrots. Interplanting them cuts pest pressure on both.

Brassicas (Cabbage, Broccoli, Kale, Brussels Sprouts)

Plant WithBenefitAvoid
DillAttracts parasitic wasps that eat cabbage wormsTomatoes
NasturtiumsTrap crop for aphidsStrawberries
CeleryDeters white cabbage butterflyFennel
ChamomileCalcium accumulator; improves soilPotatoes
ThymeRepels cabbage worms
HyssopDeters cabbage moths

Cabbage worms (Pieris rapae) are the #1 Brassica pest. Dill, thyme, and hyssop all interfere with the cabbage white butterfly's ability to detect host plants. Plant one herb for every 3–4 Brassica plants.

Herb Companion Planting

Basil

Pairs with: tomatoes, peppers, asparagus, oregano

Avoid: sage (inhibits basil's growth when planted in close contact)

Benefit: volatile oils repel aphids, whiteflies, spider mites, and tomato hornworm

Dill

Pairs with: brassicas, cucumbers, lettuce, onions

Avoid: fennel (they cross-pollinate and produce inferior seed for both), tomatoes (once dill bolts, it inhibits tomato growth)

Benefit: insectary powerhouse — attracts lacewings, ladybugs, parasitic wasps, and hoverflies

Garlic

Pairs with: roses, fruit trees, carrots, tomatoes, most vegetables

Avoid: beans, peas (stunts legume growth significantly)

Benefit: sulfur compounds repel aphids, spider mites, Japanese beetles, and fungal diseases

Mint

Pairs with: brassicas, tomatoes, peas

Avoid: plant in containers — mint spreads aggressively and will take over beds

Benefit: intense scent confuses aphids, flea beetles, and ants

Rosemary

Pairs with: beans, carrots, cabbage, sage

Avoid: cucumber (allelopathic effect in some conditions)

Benefit: repels cabbage fly, bean beetles, carrot fly

Flowers as Companion Plants

Marigolds (French — Tagetes patula)

The gold standard of companion planting flowers. French marigolds produce thiophenes from their roots — scientifically proven to repel root-knot nematodes. Their scent also deters whiteflies, aphids, and rabbit browsing.

How to use: Plant in dense groups throughout the vegetable garden — 1 marigold per every 3–4 plants. Interplanted marigolds are more effective than border plantings.

Nasturtiums

Edible, beautiful, and one of the most versatile companion plants available. Use as: trap crop for aphids (sacrifice it to save tomatoes), groundcover (suppresses weeds), nitrogen fixer, pollinator attractor, and cucumber beetle deterrent.

Borage

One of the best companion plants for tomatoes and squash. Its star-shaped blue flowers attract pollinators in enormous numbers. It's also a dynamic accumulator — its leaves decompose to release calcium and potassium into the soil.

Phacelia

Not well known outside of commercial organic farming, but phacelia is one of the most powerful insectary plants in existence. It attracts more beneficial insects per plant than almost any other flower, including many parasitic wasp species that prey on caterpillars and aphids.

Zinnias

Attract hummingbirds, butterflies, and parasitic wasps. Their dense flowering provides habitat for beneficial insects between vegetable rows.

Bad Companion Planting Combinations to Avoid

Avoid PairingReason
Fennel + anythingAllelopathic — inhibits most vegetables, especially tomatoes and peppers
Beans + alliumsGarlic, onion, leeks significantly stunt bean growth
Potatoes + tomatoesShare blight (P. infestans); concentrate disease pressure
Potatoes + cucumbersIncrease blight spread
Sunflowers + potatoesSunflower roots are allelopathic to potatoes
Cabbage + strawberriesCompete for same soil nutrients
Dill (bolted) + tomatoesBolted dill releases compounds that suppress tomato growth
Brassicas + tomatoesBrassicas stunt tomato development
Roses + ornamental grassGrass root competition weakens roses

How to Design a Companion Planting Garden

Step 1: Identify your heavy feeders. Tomatoes, corn, squash, and Brassicas need the most nitrogen. Pair each with a nitrogen fixer.

Step 2: Map your pest problems. If you have aphids every year, prioritize nasturtiums and marigolds. If nematodes are an issue, plant French marigolds heavily.

Step 3: Add insectary flowers throughout. Don't clump them in one corner — scatter dill, fennel (in its own isolated spot), phacelia, borage, and zinnias throughout the garden to ensure beneficial insects patrol every row.

Step 4: Think vertically. Use taller companions (corn, sunflowers, trellised crops) to create microclimates of shade for heat-sensitive plants like lettuce and cilantro.

Step 5: Rotate annually. Companion planting relationships don't override the need for crop rotation. Move plant families to different beds each year to prevent disease buildup.

A well-designed companion planting garden requires intentional spatial planning — which is exactly where AI-assisted garden design shines.

Design your garden layout with AI — free preview →

Get a photorealistic design of your garden or yard with plant placement built in. Upload your yard photos, set your preferences, and see exactly where everything should go — down to specific companion plant pairings for your climate zone.

Frequently Asked Questions

See the FAQ section above for the most common companion planting questions.

Does companion planting really work?

The honest answer: some combinations have strong scientific support (marigolds + nematodes, legumes + nitrogen, allelopathic effects of fennel and black walnut). Others are based on generations of observation without controlled studies. In practice, most experienced organic gardeners find that companion planting measurably reduces pest pressure and soil amendment costs — even if the exact mechanism isn't fully understood for every pairing.

Can you do companion planting in raised beds?

Yes — raised beds are actually ideal for companion planting because you control the layout precisely. The Three Sisters work beautifully in a 4×8 raised bed. Interplanting marigolds and basil throughout a raised bed vegetable garden is one of the simplest and most effective companion planting strategies available to any gardener.

Frequently Asked Questions

What is companion planting?
Companion planting is the practice of growing different plants near each other for mutual benefit — pest control, pollination, nitrogen fixation, shade, or flavor improvement. It's one of the oldest agricultural practices, used by Indigenous farmers (the Three Sisters), organic growers, and modern permaculture designers. Some companion planting benefits are scientifically documented; others are passed down through generations of gardener observation.
What are the Three Sisters of companion planting?
The Three Sisters — corn, beans, and squash — is the most famous companion planting system, developed by Indigenous farmers of the Americas. Corn provides a trellis for beans. Beans fix nitrogen that feeds corn and squash. Squash's large leaves shade the soil, conserving moisture and suppressing weeds. Together, they produce more food per square foot than grown separately, and squash's prickly leaves deter raccoons and other pests.
What should you not plant next to tomatoes?
Avoid planting fennel, Brassicas (cabbage, broccoli, kale), corn (attracts the same pests — tomato fruitworm and corn earworm are the same insect), and potatoes (share blight and other diseases). Keep tomatoes at least 3 feet from any Brassica. Fennel releases chemicals that inhibit tomato growth and should be isolated to its own corner of the garden.
Do marigolds really repel pests?
Yes — with caveats. French marigolds (Tagetes patula) produce thiophenes that repel soil nematodes — scientific evidence is strong for this. They also deter whiteflies and aphids from tomatoes through scent. Mexican marigolds (T. minuta) are even more potent. For pest control, plant marigolds in dense clusters throughout the vegetable garden, not just as a border ornamental.
What are the best companion plants for tomatoes?
Basil is the classic — it may improve tomato flavor and deters thrips and aphids. Marigolds (French) repel soil nematodes and whiteflies. Borage deters tomato hornworm and attracts pollinators. Parsley attracts predatory insects that eat aphids. Asparagus repels nematodes. Carrots loosen the soil around tomato roots. Plant basil every 12–18 inches throughout tomato rows for maximum benefit.
What are the best companion plants for roses?
Lavender planted alongside roses repels aphids and Japanese beetles with its scent. Garlic is even more effective — plant garlic cloves every 6 inches around rose bases. Catmint (Nepeta) attracts beneficial insects that prey on rose pests. Alliums (ornamental onions) deter black spot fungus. Avoid planting roses near other roses in dense monocultures — this concentrates pest populations.
What are bad companion plants?
Fennel is notorious — it inhibits almost every vegetable except dill and other fennel. Keep it isolated. Allelopathic plants like sunflowers, black walnut, and eucalyptus release chemicals that suppress neighboring plants. Potatoes and tomatoes share disease. Onions and beans stunt each other. Cabbage and strawberries compete for the same soil nutrients. When in doubt, research before planting — incompatible combinations can reduce yields significantly.
How close do companion plants need to be?
For pest deterrence through scent (marigolds, basil): within 18–24 inches of the protected plant. For nitrogen fixation (legumes): within 12–18 inches of heavy feeders. For shade and structural support (Three Sisters): direct adjacency. Beneficial insect attraction works at a wider radius — flowers planted anywhere in the garden attract predatory insects throughout. More is generally better for companion planting density.
4.9/5 · 14,300+ designs delivered

See This in Your Yard

Upload a photo of your outdoor space and get 3 AI-generated designs with a full plant list, phased install plan, and contractor-ready PDF — in about 60 seconds.

Design My Yard — Free Preview

Free preview · $12.99 to download · 30-day money-back guarantee

Related Articles

Gardening13 min read

Square Foot Gardening: The Complete Guide to More Food in Less Space (2026)

Learn the square foot gardening method step-by-step: spacing charts, raised bed plans, companion planting combos, and how to grow 5x more food in 20% of the space.

Gardening10 min read

When to Plant Tomatoes: A Complete Zone-by-Zone Planting Calendar

The single biggest mistake home gardeners make is planting tomatoes too early. Use this zone-by-zone calendar to nail your planting dates, soil temperature targets, and transplant timing for a record harvest.

Gardening10 min read

How to Grow Sunflowers: Planting Guide for Beginners (All Varieties)

Everything you need to know to grow giant, dwarf, and cut-flower sunflowers — from seed to towering bloom. Includes variety comparison table, planting dates by zone, and tips for continuous blooms all summer.

Get weekly landscaping tips

Plant guides, seasonal care reminders, and design ideas — delivered free. No spam, ever.

← Back to all articles

Product

Design ToolPricingExamples

Company

For BusinessContactBlog

Legal

PrivacyTerms

Connect

Email Us
yardcast

© 2026 Yardcast. All rights reserved.