Lawn by Season

Companion Planting Chart for Vegetables

Published: April 21, 2026

Companion planting — tomatoes, basil and marigolds growing together in a garden bed

Companion planting is the practice of growing specific plants together because they benefit each other — through pest deterrence, pollinator attraction, nitrogen fixation, or physical support. The technique predates modern agriculture by thousands of years; the Three Sisters method (corn, beans, and squash) was practiced by Indigenous peoples across the Americas long before European contact.

Not every “companion” pairing holds up under scientific scrutiny. The most reliable benefits come from specific, well-documented combinations: basil repelling whitefly from tomatoes, marigolds killing soil nematodes, alliums deterring carrot fly. Generic rules like “always plant herbs with vegetables” are less reliable than these vegetable-specific pairings. The chart below focuses only on pairings with real mechanism-based benefits.

The four main benefit categories to look for: pest control (chemical repellents and trap crops), pollinator attraction (flowers that bring bees and hoverflies), soil improvement (legumes that fix nitrogen), and space efficiency (layering fast crops between slow ones, or using trellising plants like corn for beans).

Master Companion Planting Chart

VegetableBest CompanionsAvoid
TomatoBasil, Marigold, Carrot, ParsleyPotato, Fennel, Mature Dill
PepperBasil, Tomato, Carrot, MarigoldFennel, Brassicas
CucumberRadish, Nasturtium, Dill, Bush BeansAromatic Herbs, Potato, Sage
SquashCorn, Bush Beans, Nasturtium, MarigoldPotato, Fennel
LettuceCarrot, Radish, Strawberry, ChiveFennel, Celery
CarrotTomato, Onion, Leek, RosemaryDill, Parsnip, Anise
Green BeanCarrot, Cucumber, Summer Savory, MarigoldOnion, Garlic, Fennel
BroccoliOnion, Garlic, Dill, RosemaryTomato, Pepper, Strawberry
GarlicTomato, Rose, Carrot, CucumberBean, Pea, Parsley
OnionCarrot, Tomato, Lettuce, BeetBean, Pea, Asparagus
ZucchiniCorn, Bush Beans, Nasturtium, MarigoldPotato, Fennel
BasilTomato, Pepper, Marigold, OreganoSage, Fennel, Thyme
PotatoBean, Corn, Marigold, HorseradishTomato, Pepper, Cucumber
Sweet PotatoBush Bean, Pea, Dill, ThymeSquash, Tomato, Sunflower
PeaCarrot, Radish, Cucumber, CornOnion, Garlic, Chive
WatermelonCorn, Radish, Nasturtium, MarigoldCucumber, Potato, Fennel
PumpkinCorn, Bush Bean, Nasturtium, MarigoldPotato, Summer Squash, Zucchini
Sweet CornBush Bean, Pumpkin, Squash, CucumberTomato, Celery
KaleOnion, Garlic, Beet, CeleryTomato, Strawberry, Bean
SpinachPea, Strawberry, Radish, LettuceFennel
BeetOnion, Garlic, Lettuce, BrassicasPole Bean, Mustard
BeanCorn, Cucumber, Carrot, RadishOnion, Garlic, Fennel
CauliflowerOnion, Celery, Dill, BeetTomato, Strawberry, Pepper
CabbageOnion, Dill, Celery, BeetTomato, Strawberry, Pepper
EggplantPepper, Bean, Basil, MarigoldFennel, Brassicas
Brussels SproutOnion, Celery, Dill, BeetTomato, Strawberry, Pepper
RadishLettuce, Carrot, Pea, CucumberHyssop, Grape
OkraPepper, Eggplant, Basil, MarigoldFennel, Cucumber
AsparagusTomato, Basil, Parsley, DillOnion, Garlic, Potato
Collard GreenOnion, Garlic, Dill, CeleryTomato, Strawberry, Bean
Swiss ChardBean, Onion, Cabbage, KohlrabiCucumber, Melon
TurnipPea, Mint, Rosemary, ThymePotato, Radish

How Companion Planting Works — 4 Mechanisms

1. Pest Deterrence

Some plants release volatile compounds that repel or confuse specific insect pests. Basil's essential oils mask the scent of tomato plants from whiteflies and aphids. Marigold roots release thiophenes that kill soil nematodes within a 2-foot radius. Allium family plants (onions, garlic, chives) emit sulfur compounds that deter carrot fly and cabbage moths. These are measurable, repeatable effects documented in agricultural research.

2. Pollinator Attraction

Many vegetables — especially squash, cucumbers, zucchini, and melons — depend on bees to pollinate female flowers. Planting flowering companions like borage, dill, sunflowers, and nasturtiums increases bee visits dramatically. Borage in particular is famous for pulling pollinators into a bed; one borage plant can increase nearby tomato and strawberry fruit set by 15 to 25 percent through improved pollination.

3. Nitrogen Fixation

Legumes (beans, peas, and their relatives) host soil bacteria on their roots that pull atmospheric nitrogen out of the air and convert it to plant-available form. Nitrogen leaked from these bacteria feeds neighboring plants within about 12 inches. The Three Sisters planting (corn + beans + squash) uses this directly — beans feed corn, which has no such bacterial partner.

4. Physical Support & Space Efficiency

Taller plants can serve as trellises for climbing plants. Corn holds pole beans without the gardener needing to add stakes. Sunflowers do the same for cucumbers. Low-growing plants like lettuce and spinach work as living mulch under taller plants, conserving moisture and shading out weeds. Interplanting fast crops (radish, 30 days) between slow crops (tomato, 75 days) uses the same bed space twice.

The Three Sisters — The Oldest Proven Companion System

Growing corn, beans, and squash together dates back at least a thousand years across Indigenous Americas. Corn provides a trellis for the beans. Beans fix nitrogen that feeds corn and squash. Squash's broad leaves shade the soil, suppress weeds, and deter raccoons with prickly stems. Modern research confirms the combination out-yields monoculture plantings of any single crop.

→ Read the full Three Sisters planting guide

Companion Planting in Raised Beds

Raised beds are ideal for companion planting because spacing is controlled, soil quality is uniform, and there is no path compaction to interfere with root zones. A standard 4×8 raised bed can support one main crop plus 3 to 4 companions without overcrowding, with marigolds and herbs at the perimeter and taller plants on the north end.

→ See layout guides for 4×4 and 4×8 raised beds

Companion Planting Guides by Vegetable

Frequently Asked Questions

Does companion planting really work?

Yes, for specific pairings backed by research. The most reliable mechanisms are pest deterrence (basil repels whitefly, marigolds kill soil nematodes), pollinator attraction (borage, dill flowers bring bees), and nitrogen fixation (legumes feed heavy feeders like corn). General 'good vibes' pairings are less reliable — specific vegetable-plus-companion combinations listed below have the best evidence.

What is the best companion plant for tomatoes?

Basil is the most widely-backed tomato companion — it repels whiteflies, aphids, and spider mites and may improve tomato flavor. Marigolds are a close second, with root secretions that kill soil nematodes. Plant basil 12 to 18 inches from tomato stems and marigolds at bed corners.

What should you never plant together?

The most harmful pairings are tomatoes with potatoes (share blight), any vegetable near fennel (allelopathic chemistry that kills neighbors), beans or peas with onion family (alliums stunt legume nitrogen fixation), and basil with sage, rosemary, or thyme (inhibits basil growth). See the master chart below for the full list.

How close do companion plants need to be?

Pest deterrent companions (basil, marigolds, herbs) work within 12 to 18 inches of the main plant. Nitrogen-fixing legumes work at 18 to 24 inches. Trap crops like nasturtiums need to be far enough away (18+ inches) that pests congregate on the trap rather than the main crop. See each vegetable's individual guide for exact spacing.

Can I use companion planting in raised beds?

Raised beds are ideal for companion planting because spacing is controlled and soil conditions are uniform. A standard 4×8 bed can support one main crop (e.g. tomatoes) with 3 to 4 companion species interplanted around it. See the raised-beds guide below for specific 4×4 and 4×8 bed layouts.

Related Guides

Get alerted when restrictions change

Free email alerts for your city – know before you water.

No spam, ever. Unsubscribe anytime.