🌿 Companion Planting Guide 2026

Companion Planting Ideas40 Combinations That Actually Work

The best companion planting combinations for pest control, pollinator attraction, and higher yields — including which plants to never put together.

Design Your Garden Layout →

🌽Classic Companion Planting Combinations

The Three Sisters (Corn + Beans + Squash)

The most famous companion planting system, used for centuries by Native Americans. Corn provides a trellis for beans. Beans fix nitrogen that feeds corn and squash. Squash leaves shade the ground, preventing weeds and retaining moisture. Plant corn first (1 ft apart), beans 2 weeks later around corn stalks, squash in the outer ring.

Ancient MethodNitrogen FixingWeed Control

Tomatoes + Basil

The most popular companion planting pair — and it actually works. Basil may repel thrips and spider mites; some studies show tomatoes near basil have fewer pest issues. Practical bonus: they taste great together. Plant basil 12–18" from tomato plants. Don't crowd — basil needs airflow.

Pest DeterrentClassic PairFlavor Combo

Roses + Garlic

Plant garlic cloves at the base of rose bushes to deter aphids, Japanese beetles, and black spot fungal disease. Garlic's sulfur compounds are antifungal. Space garlic bulbs 4" apart around rose base. Harvest garlic in summer; replant in fall. Used for centuries in French rose gardens.

Aphid DeterrentAntifungalRose Gardens

Carrots + Onions

Classic pest-deterrent pairing. Onion smell confuses carrot root fly; carrot smell confuses onion fly. Interplant in alternating rows — onions every 6", carrots every 2". Both grow slowly, so they don't compete. Harvest onions first, giving carrots more space to size up.

Pest ConfusionAlternating RowsSpace Efficient

Marigolds + Vegetables (General)

French marigolds (Tagetes patula) secrete a substance from their roots that kills nematodes in the soil — the most scientifically documented companion planting benefit. Plant marigolds throughout the vegetable garden. Also deter whiteflies from tomatoes and attract pollinators. Widely considered the best companion planting plant overall.

Kills NematodesWhitefly DeterrentBest All-Round Companion

Nasturtiums + Squash/Cucumbers

Nasturtiums act as a 'trap crop' for aphids — aphids prefer nasturtiums over vegetables, drawing them away. Also attracts predatory insects that eat aphids. Let nasturtiums sprawl around squash plants. Bonus: flowers and leaves are edible with a peppery taste.

Aphid Trap CropEdibleAttracts Predators

🍅Tomato Companion Plants

Tomatoes + Borage

Borage is the most recommended tomato companion. It may deter tomato hornworm (conflicting research), but definitively attracts bumblebees that pollinate tomatoes, and the star-shaped blue flowers are edible. Borage self-seeds freely — plant once and it returns every year.

Attracts BumblebeesEdible FlowersSelf-Seeds

Tomatoes + Carrots

Carrots loosen the soil around tomato roots, improving drainage and aeration. Tomatoes shade carrots, which prefer cooler root environments. Some evidence that tomato roots produce compounds that improve carrot flavor. Space 12" apart — they coexist without competing.

Soil AerationFlavor BoostSpace Efficient

Tomatoes + Parsley

Parsley attracts beneficial insects including parasitic wasps that attack tomato hornworm eggs. Plant parsley near the base of tomato plants. Let some parsley bolt (go to seed) — the flowers attract the most beneficials.

Attracts Parasitic WaspsHornworm ControlLet It Bolt

Avoid: Tomatoes + Fennel

Fennel is allelopathic to most plants — it releases root compounds that inhibit growth of nearby plants, including tomatoes, peppers, and beans. Grow fennel in its own isolated container or away from the vegetable garden entirely.

AVOID THIS COMBOAllelopathicKeep Isolated

Avoid: Tomatoes + Brassicas

Brassicas (cabbage, broccoli, kale, kohlrabi) compete heavily with tomatoes for nitrogen and calcium. They may also harbor some shared pests. Keep a 3-ft separation minimum, or grow in different beds.

AVOIDNitrogen CompetitionShared Pests

🌸Flowers as Companion Plants

Lavender as General Deterrent

Lavender's strong scent deters deer, rabbits, aphids, and many flying insects. Plant at the edges of vegetable beds or throughout perennial borders. Also attracts pollinators intensely — planting lavender near squash can dramatically increase fruit set.

Deer DeterrentPollinator MagnetStrong Fragrance

Phacelia (Bee Friend)

One of the most powerful companion plants for attracting pollinators — studies show phacelia attracts 10× more pollinators than average flowering plants. Blue tansy-like flowers. Annual — sow directly in spring. Excellent near any fruiting vegetable.

10× PollinatorsDirect SowBest Pollinator Plant

Sweet Alyssum as Ground Cover

Low-growing alyssum with honey-scented white flowers attracts hoverflies and parasitic wasps that eat aphids, caterpillars, and whiteflies. Let it sprawl between vegetable plants. Self-seeds readily. Blooms continuously until frost.

Hoverfly AttractorGround CoverSelf-Seeds

Dill + Fennel (Near Herbs Only)

Dill attracts beneficial wasps and is a host plant for swallowtail butterfly caterpillars. BUT: dill near vegetables can become allelopathic when it matures. Best near other herbs (cilantro, parsley, chives) or as a dedicated beneficials-attracting patch away from main crops.

Beneficial WaspsButterfly HostKeep Near Herbs

Chamomile as Calcium Accumulator

Chamomile accumulates calcium from deep soil, bringing it up into its leaves. When leaves decompose, they release calcium to neighboring plants. This makes chamomile an excellent companion for calcium-hungry plants (tomatoes, peppers, brassicas). Also deters flying insects and attracts hoverflies.

Calcium AccumulatorDeters Flying InsectsHoverfly Attractor

🌿Vegetable + Herb Companions

Cabbage + Dill/Thyme/Mint

Brassicas (cabbage, broccoli, kale) benefit from aromatic herb companions that deter cabbage moths and cabbage loopers. Thyme and dill both repel these pests. Mint confuses imported cabbageworm moths. Plant mint in containers (it spreads aggressively) near brassica beds.

Cabbage Moth DeterrentKeep Mint ContainedAromatic Deterrent

Beans + Summer Savory

Summer savory deters bean beetles and improves bean flavor — one of the most reliably proven herb-vegetable companion pairs. Plant savory between bean rows. Harvest savory as it blooms for best flavor. Both German and Italian companion planting traditions use this pairing.

Bean Beetle DeterrentFlavor EnhancementProven Pairing

Squash + Tansy

Tansy (Tanacetum vulgare) deters squash bugs, cucumber beetles, and cabbage worms. Contains pyrethrin-like compounds. Plant at the base of squash plants. Note: tansy is toxic if ingested — keep away from children and pets. Spreads aggressively — control with containers.

Squash Bug DeterrentToxic — Use CarefullyKeep Contained

Strawberries + Borage

Borage is said to enhance strawberry flavor and disease resistance. Also attracts pollinators that increase strawberry fruit set. Interplant borage freely throughout strawberry patches. Borage self-seeds — remove plants that crowd strawberries.

Flavor EnhancementPollinator BoostDisease Resistance

Cucumbers + Sunflowers

Sunflowers provide a natural trellis for climbing cucumbers. The tall stems support 2–3 cucumber vines each. Plant cucumbers 6" from sunflower base after the sunflower is established. Sunflower attracts pollinators that pollinate cucumbers.

Natural TrellisSpace EfficientPollinator Attraction

🐛Companion Planting for Pest Control

Four O'Clocks as Tomato Hornworm Trap

Tomato hornworms love four o'clocks — but the plant contains toxic alkaloids that kill the caterpillars when eaten. This makes four o'clocks a 'death trap' for hornworms. Plant around the perimeter of the garden to draw hornworms away from tomatoes.

Death Trap for HornwormsPest ManagementPerimeter Planting

Catnip for Japanese Beetles

Nepetalactone (the compound cats love in catnip) deters Japanese beetles, aphids, and other insects. Plant catnip in containers near affected plants — it spreads aggressively if not contained. Studies show nepetalactone is more effective than DEET as an insect repellent.

Japanese Beetle DeterrentKeep in ContainersMore Effective Than DEET

Pennyroyal for Ants/Aphids

Pennyroyal mint (Mentha pulegium) deters ants, which farm aphids. No ants = fewer aphids. Strong spearmint-like scent. CAUTION: toxic to dogs and cats. Plant in containers; keep away from pets and children. Aggressive spreader.

Ant + Aphid ControlTOXIC to PetsContain It

Rue for Slugs

Rue (Ruta graveolens) has a bitter, pungent scent that deters slugs, beetles, and aphids. Also deters cats. Plant around the base of plants vulnerable to slug damage (lettuce, hostas, strawberries). Note: rue can cause skin irritation — wear gloves when handling.

Slug DeterrentCat DeterrentWear Gloves

📊 Companion Planting Quick Reference

PlantGood Companions ✅Bad Companions ❌
TomatoBasil, Borage, Carrots, Parsley, MarigoldsFennel, Brassicas, Corn
PeppersBasil, Carrots, Parsley, MarigoldsFennel, Kohlrabi
CucumbersBeans, Dill (young), Marigolds, Sunflowers, NasturtiumsSage, Potatoes
BeansCarrots, Marigolds, Summer Savory, Corn, SquashOnions, Garlic, Fennel
CarrotsOnions, Leeks, Rosemary, Sage, TomatoesDill (mature), Fennel
Cabbage/BrassicasDill, Thyme, Mint (contained), Sage, OreganoStrawberries, Tomatoes, Garlic
SquashNasturtiums, Beans, Corn, Tansy (careful)Potatoes, Fennel
LettuceChives, Garlic, Radishes, Carrots, StrawberriesCelery, Parsley

❓ Companion Planting FAQs

Does companion planting actually work?

Some combinations are well-proven; many are traditional wisdom without strong scientific backing. The most evidence-based benefits: (1) Marigolds kill soil nematodes (documented). (2) Phacelia and borage massively increase pollinator visits (documented). (3) Nasturtiums as aphid trap crops (documented). (4) The Three Sisters yield benefits (documented). Pest-deterrent claims from scent are more variable — some work, some are gardener mythology. The safest approach: companion planting rarely hurts and often helps.

What's the easiest companion planting to start with?

Start with these three: (1) Plant marigolds throughout your vegetable garden — they're proven nematode killers and general pest deterrents. (2) Plant basil near tomatoes — practical culinary pairing, possible pest deterrent, definitely attracts pollinators. (3) Plant nasturtiums on the perimeter — they sacrifice themselves for aphids (trap crop) and look beautiful. All three are cheap, easy annuals that also improve your garden's appearance.

What plants should never be planted together?

Worst combinations: (1) Fennel + almost anything — it's allelopathic and inhibits most vegetable growth. (2) Tomatoes + brassicas — compete for calcium and nitrogen. (3) Onions/Garlic + Beans/Peas — alliums inhibit legume root nodules (nitrogen fixing). (4) Potatoes + tomatoes — share diseases (blight, viruses). (5) Sunflowers + potatoes — sunflowers release allelopathic chemicals from their roots.

How close should companion plants be?

It depends on the mechanism: For scent-based deterrents (basil, mint, thyme), plant within 12–24" of the target plant. For root-based effects (marigold nematode control), plant marigolds throughout the bed, not just at the edge. For trap crops (nasturtiums), plant in a ring around the perimeter of the garden or interspersed throughout. For nitrogen-fixing legumes (beans, clover), they need to be in the soil of the same bed.

Can I companion plant in raised beds?

Yes — raised beds are ideal for companion planting because you control the entire soil zone. Mass plant marigolds in the corners of each bed. Include one herb (basil, dill, parsley) in each bed. Line bed edges with sweet alyssum. For the Three Sisters, you need a larger bed (at least 4×4 ft) for the corn to grow tall enough to support beans.

Plan Your Garden Layout

Upload a photo of your yard or garden and see what it could look like with the right plant combinations — including cost estimates and a full plant list.

Generate My Garden Design →