Peter Vogel
Peter Vogel is the founder of GrowPerma, bringing together evidence-based gardening advice with permaculture principles. When he's not writing about companion planting or soil health, he's experimenting in his own garden.
Companion Planting Chart: The Complete Guide for Every Vegetable
What Is Companion Planting companion planting flowers in the vegetable garden complete guide to companion planting herbs and Why Does It Actually Work?
You've heard that tomato companion planting tomatoeses love basil and hate fennel — but is any of it real, or just garden folklore? Companion planting is the practice of growing specific plants together because they help each other through documented biological mechanisms: nitrogen fixation, pest-repelling volatile compounds, beneficial insect attraction, and root-level nutrient sharing through fungal networks. Research from the University of Minnesota Extension confirms that strategic plant pairing reduces pest pressure, improves soil health, and boosts yields — all without synthetic inputs. A 2023 peer-reviewed study found that companion planting significantly altered soil microbial communities, increasing enzyme activity that drives nitrogen availability for crops.
The companion planting chart below distills decades of university research and field trials into a practical reference you can use this planting season. Whether you're working a small raised bed or a quarter-acre vegetable garden, these pairings are backed by science — not just tradition. We'll cover every major vegetable, the mechanisms behind each pairing, and a step-by-step system for planning your companion-planted garden from scratch.
95%+
Pest Reduction
With trap cropping
25–500
Lbs N/Acre/Year
From legume companions
40%
More Pest Parasitism
Near flowering companions
What you'll learn in this guide:
- A complete companion planting chart for 20+ vegetables, herbs, and flowers — with the science behind each pairing
- The four mechanisms that make companion planting work (nitrogen fixation, trap cropping, volatile masking, and mycorrhizal networks)
- How to plant the Three Sisters guild in a 4×8 foot (1.2×2.4 m) raised bed this weekend
- Which plants to NEVER put together — and why fennel really is the garden villain
- A step-by-step plan for converting any vegetable garden to companion planting
Key Takeaway
Companion planting isn't garden folklore — it's a science-backed strategy that uses nitrogen fixation, pest-repelling volatiles, beneficial insect attraction, and mycorrhizal fungal networks to boost yields and reduce pest pressure without synthetic inputs. Start with just one proven pairing (tomatoes + basil) and expand from there.
The Complete Companion Planting Chart for Vegetables
This chart covers the most popular garden vegetables with their best companions and worst neighbors. Every pairing listed here comes from university extension research, peer-reviewed studies, or documented field trials — not just anecdotal gardener reports. The "why" column tells you the biological mechanism so you can make informed decisions for your specific garden conditions.
| Vegetable | Best Companions | Plants to Avoid | Why It Works |
| Tomatoes | Basil, carrots, parsley, marigolds, nasturtiums | Potatoes, fennel, brassicas, corn, dill | Basil volatiles mask tomato scent from hornworms; marigold roots repel nematodes |
| Peppers | Basil, onions, carrots, tomatoes, cowpeas | Fennel, brassicas, kohlrabi | Onion volatiles repel aphids; cowpeas fix nitrogen and provide living mulch |
| Cucumbers | Beans, corn, peas, radishes, marigolds, nasturtiums | Potatoes, sage, fennel, brassicas | Nasturtiums trap cucumber beetles; beans fix nitrogen for heavy-feeding cucumbers |
| Squash companion planting squash and zucchini & Zucchini | Corn, beans, nasturtiums, marigolds, radishes | Potatoes, fennel | Nasturtiums suppress squash bugs by >95%; corn provides windbreak |
| Beans (Bush) | Carrots, squash, corn, cucumbers, celery | Fennel, onions, garlic, chives | Beans fix 50–250 lbs N/acre (23–113 kg); Alliums inhibit Rhizobium bacteria |
| Beans (Pole) | Corn, sunflowers, squash, spinach, radishes | Fennel, onions, garlic, beets | Corn/sunflower provide living trellis; beans fix nitrogen for corn |
| Peas | Carrots, radishes, turnips, cucumbers, corn, mint | Onions, garlic, chives, potatoes | Peas fix nitrogen for neighboring crops; mint may improve pea health |
| Lettuce | Carrots, radishes, onions, strawberries, chives | Celery, parsley | Taller companions provide beneficial shade preventing bolt; onions deter aphids |
| Carrots | Onions, leeks, lettuce, tomatoes, rosemary, peas | Dill, fennel, parsnips | Onion scent masks carrot fly host signals; lettuce shades soil keeping roots cool |
| Onions & Garlic | Carrots, lettuce, beets, tomatoes, peppers, chamomile | Beans, peas, asparagus | Strong Allium volatiles repel aphids, carrot flies, and Japanese beetles |
Sources: University of Minnesota Extension, Farmer's Almanac, Iowa State University Research
| Vegetable | Best Companions | Plants to Avoid | Why It Works |
| Broccoli & Cabbage | Thyme, nasturtiums, onions, celery, beets, rosemary | Tomatoes, peppers, eggplant, corn, dill | Thyme and nasturtiums repel cabbage worm and cabbage looper most effectively |
| Kale | Beets, celery, herbs (thyme, dill), nasturtiums | Tomatoes, peppers, strawberries | Aromatic herbs confuse cabbage moth host-finding; beets use different soil layers |
| Spinach | Peas, beans, strawberries, brassicas, radishes | Potatoes, fennel | Legumes fix nitrogen for leafy growth; spinach provides living mulch ground cover |
| Corn | Beans, squash, peas, cucumbers, melons | Tomatoes, brassicas, fennel | Classic Three Sisters system: beans fix N, squash mulches, corn provides structure |
| Beets | Lettuce, onions, brassicas, garlic, kohlrabi | Pole beans, mustard | Different root depths prevent competition; onions deter pests above ground |
| Radishes | Peas, lettuce, nasturtiums, carrots, spinach | Hyssop, brassicas | Fast-maturing radishes break soil for slower companions; mark rows for slow germinators |
| Celery | Beans, tomatoes, brassicas, leeks | Parsnips, potatoes, corn | Strong celery scent deters white cabbage butterfly from brassica neighbors |
| Basil | Tomatoes, peppers, oregano, asparagus | Sage, rue, common rue | Volatile compounds mask host plant scent; attracts pollinators with flowers |
| Marigolds | Tomatoes, peppers, squash, beans, cucumbers | Beans (some varieties) | Root exudates kill nematodes; bright flowers attract beneficial hoverflies |
| Nasturtiums | Squash, cucumbers, brassicas, beans, tomatoes | Few antagonists | Exceptional trap crop drawing aphids and cucumber beetles away from vegetables |
Sources: Iowa State University Field Trials, UC Master Gardeners, Deep Green Permaculture
Why This Works: The Guild Principle
In permaculture, a "guild" is a group of plants that support each other — one fixes nitrogen, another repels pests, another attracts pollinators. Every row of companion-planted vegetables is a simple guild. When you plant tomatoes with basil, carrots, and marigolds, you're creating a polyculture that mimics natural ecosystems. That's the entry point to permaculture design thinking — and you may already be doing it.
How Does Companion Planting Work? The Four Mechanisms
Understanding the "why" behind companion planting helps you make better decisions when the chart doesn't cover your specific situation. There are four core mechanisms at work, and most successful companion combinations use at least two of them simultaneously.
1. Nitrogen Fixation by Legumes
Beans, peas, and other legumes form a partnership with Rhizobium bacteria in their root nodules, converting atmospheric nitrogen into plant-available forms. According to New Mexico State University research, legumes fix between 25–75 pounds of nitrogen per acre (11–34 kg) annually in natural settings, and up to 250–500 pounds per acre (113–227 kg) in managed systems. That's free fertilizer for neighboring heavy feeders like corn, tomatoes, and squash. However, common garden beans are actually poor fixers — contributing less than 50 pounds per acre (23 kg). For maximum nitrogen benefit, choose cowpeas, fava beans, or clover as companions.
2. Volatile Compound Masking and Pest Repulsion
Pest insects navigate by scent, following specific volatile chemical signatures to locate host plants. Aromatic companions like basil, onions, and rosemary produce strong volatile compounds that mask or overwhelm these host-plant signals. Research published in Frontiers in Plant Science on aphid management documented that garlic planted one month before tobacco delayed the appearance of winged aphids and reduced their peak-season abundance — and decreased tobacco mosaic virus transmission as a result. The same masking effect explains why onions protect carrots from carrot fly: the strong Allium scent disrupts the fly's ability to find its host.
3. Trap Cropping
Trap crops are sacrificial plants positioned to lure pests away from your main vegetables. Research from Lincoln University and Colorado State demonstrated that Blue Hubbard squash functions as an exceptional trap crop for squash bugs, squash vine borers, and cucumber beetles — achieving greater than 95% pest reduction when managed correctly. The critical detail: you must eliminate pests on the trap crop before they reproduce, or it becomes a pest nursery instead.
4. Beneficial Insect Attraction
Parasitoid wasps, ladybugs, lacewings, and hoverflies are your garden's pest control team — but the adults need nectar and pollen to survive. Flowering companions like sweet alyssum, dill, and coriander provide these resources. The University of Wisconsin Extension reports that parasitism of pest insects increased approximately 40% on plants surrounded by flowering companions compared to those without. A single fennel plant at an organic farm in Massachusetts attracted 48 species of parasitoid wasps — tiny insects whose larvae consume garden pests from the inside out.
Key Takeaway
The four mechanisms — nitrogen fixation, volatile masking, trap cropping, and beneficial insect attraction — work together in companion planting. The best companion gardens combine all four: legumes for nitrogen, aromatics for pest confusion, trap crops for pest diversion, and flowers for beneficial insect habitat.
The Three Sisters: America's Oldest Companion Planting System
Long before modern research confirmed companion planting, Indigenous peoples of the Americas perfected the Three Sisters system — corn, beans, and squash grown together in mounds. This isn't romantic history: a peer-reviewed study confirmed that Three Sisters plantings produce two to four times more energy per acre than monocultures of beans or squash alone, generating enough calories to support over 13 people per hectare and enough protein for nearly 16.
Each plant serves a specific function. Corn provides a living trellis for climbing beans. Beans fix atmospheric nitrogen — feeding the notoriously hungry corn. And squash spreads its broad leaves across the soil surface, acting as living mulch that suppresses weeds and retains moisture. Together, these three crops occupy entirely different ecological niches, so they don't compete — they cooperate.
Build Your Mound
Create a flat-topped mound about 12 inches (30 cm) high and 18 inches (46 cm) across. Space mounds 4 feet (1.2 m) apart. Amend with compost — corn is a heavy feeder. Total project time: about 2 hours for a 4×8 foot (1.2×2.4 m) bed with 4 mounds.
Plant Corn First
Sow 4–6 corn seeds per mound after your last frost date. Wait until corn reaches 6 inches (15 cm) tall before adding beans — this gives corn a head start so bean vines don't outpace their trellis.
Add Beans When Corn Is 6 Inches Tall
Plant 4 pole bean seeds around each corn stalk, about 6 inches (15 cm) from the base. Choose a climbing variety — pole beans, not bush beans. The beans will spiral up the corn stalks within two weeks.
Add Squash One Week After Beans
Plant 2–3 squash or pumpkin seeds at the edge of each mound. As vines spread, they'll cover the ground between mounds, shading soil to suppress weeds and retain moisture. Use winter squash for the best ground coverage.
Why This Works: Stacking Functions
In permaculture, "stacking functions" means every element in a system serves multiple purposes. In the Three Sisters, corn isn't just a crop — it's structural support. Beans aren't just food — they're a nitrogen factory. Squash isn't just a harvest — it's a living mulch system. This is how food forests and permaculture gardens are designed: every plant pulls at least double duty.
Which Plants Should Never Grow Together?
Knowing what to keep apart matters as much as knowing what to plant together. Allelopathy — the release of growth-inhibiting chemicals by certain plants — is a real and measurable phenomenon. Research from Frontiers in Plant Science (2025) documented that allelopathic compounds like isothiocyanates disrupt auxin transport, modify membrane permeability, and induce oxidative stress in neighboring plants. Here are the biggest antagonists to avoid:
| Antagonist Plant | What It Inhibits | Mechanism | Safe Distance |
| Fennel | Nearly all vegetables | Allelopathic compounds inhibit growth of most plants | Plant in separate container or isolated bed |
| Black Walnut | Tomatoes, peppers, potatoes, eggplant | Juglone toxin from roots, leaves, and nuts | 50–80 feet (15–24 m) from tree drip line |
| Potatoes + Tomatoes | Each other | Both Solanaceae — share Early and Late Blight pathogens | Different beds with crop rotation |
| Onions/Garlic + Beans/Peas | Legume nitrogen fixation | Allium compounds inhibit Rhizobium bacteria in legume roots | Separate rows or beds |
| Brassicas + Nightshades | Each other's growth | Competitive nutrient uptake; possible allelopathic interaction | Opposite ends of garden or separate beds |
Sources: Frontiers in Plant Science (2025), Deep Green Permaculture
Common Mistake to Avoid
Many gardeners plant tomatoes and potatoes in the same bed because "they're both summer crops." But both belong to the Solanaceae family and share the same devastating diseases — Early Blight (Alternaria solani) and Late Blight (Phytophthora infestans). Planting them together creates a disease reservoir that can wipe out both crops. Always separate them by at least one bed, and rotate both families annually.
Get Our Free Companion Planting Chart
Join 10,000+ gardeners getting weekly tips on what to plant together, soil health, and permaculture techniques.
Send Me the Chart
How to Plan a Companion-Planted Garden in 5 Steps
Converting an existing vegetable garden to companion planting doesn't require a redesign — just smarter plant placement. Here's a practical system that works whether you have a single 4×8 foot (1.2×2.4 m) raised bed or a full backyard plot. Budget about $30–50 for companion seeds and transplants beyond what you'd normally spend.
List Your Must-Grow Vegetables
Start with the 5–8 vegetables you grow every year. Use the companion planting chart above to identify their best companions and worst neighbors. Group compatible plants together and note which families must be separated (Solanaceae, Brassicaceae, Alliums, Legumes).
Map Your Garden Into Companion Zones
Divide your garden into zones by plant family compatibility. Zone A: Nightshades (tomatoes, peppers) with basil, carrots, and marigolds. Zone B: Brassicas (broccoli, kale) with thyme, onions, and nasturtiums. Zone C: Legumes (beans, peas) with corn, squash, and radishes. Keep fennel isolated in a container.
Add Succession Partners
Fast-maturing crops (radishes in 4 weeks, lettuce in 6 weeks) can be planted between slower crops and harvested before the main vegetables need the space. The Chelsea Green interplanting method combines onions, carrots, and lettuce in the same row — each using different root depths and light levels so they never compete.
Include Flowers for Pest Management
Border every bed with at least one flowering companion: sweet alyssum along edges for ground-level beneficials, marigolds at corners for nematode suppression, and one umbellifer (dill, cilantro, or fennel — in a pot) for parasitoid wasp attraction. These cost under $10 for a full garden's worth of seed.
Check Spacing and Root Architecture
Companion-planted beds can be planted 20–30% denser than monoculture beds because companion root systems use different soil layers. Tomatoes need 18–24 inches (46–61 cm), but basil between them needs only 12–18 inches (30–46 cm). Carrots at 2–3 inches (5–8 cm) fit between onion rows at 4–6 inches (10–15 cm). Use the spacing table below as your reference.
Companion Planting Spacing Guide
Getting spacing right matters as much as picking the right companions. Too close and plants compete for light and nutrients; too far apart and you lose the volatile masking and pest-repelling benefits. This table covers the most common companion combinations with intensive raised-bed spacing based on Natural History Museum garden planning data and university extension recommendations.
| Plant | In-Row Spacing | Plants per Sq Ft | Best Companion Distance |
| Tomatoes | 18–24 in. (46–61 cm) | 1 | Basil within 12 in. (30 cm) |
| Peppers | 12–16 in. (30–41 cm) | 1 | Onions within 6 in. (15 cm) |
| Bush Beans | 3–4 in. (8–10 cm) | 4–9 | Between squash rows |
| Carrots | 2–3 in. (5–8 cm) | 16 | Alternating rows with onions |
| Lettuce | 6 in. (15 cm) | 2–4 | Under taller pepper/tomato canopy |
| Onions | 4–6 in. (10–15 cm) | 9 | Between carrot and lettuce rows |
| Basil | 12–18 in. (30–46 cm) | 1 | Interplanted with every tomato |
| Radishes | 1–2 in. (3–5 cm) | 16 | Between any slow-germinating crop |
| Cucumbers (trellised) | 4–6 in. (10–15 cm) | 2 | Nasturtiums at bed edges |
| Summer Squash | 18–24 in. (46–61 cm) | 1 | Beans 6 in. (15 cm) from base |
Sources: Natural History Museum Garden Planning Cards, University of Minnesota Extension
Key Takeaway
Companion-planted beds can be 20–30% denser than monoculture beds because plants using different root depths and light requirements don't compete with each other. The classic combo of carrots (deep taproot), onions (shallow roots), and lettuce (intermediate depth) in the same row uses every soil layer efficiently.
Frequently Asked Questions
What not to plant with tomatoes?
Keep tomatoes away from potatoes, fennel, brassicas (cabbage, broccoli, cauliflower), corn, and dill. Potatoes and tomatoes share susceptibility to Early and Late Blight since both belong to the Solanaceae family — planting them together creates a disease reservoir. Fennel produces allelopathic compounds that actively inhibit tomato growth. Corn and tomatoes are both heavy feeders that compete for the same nutrients. Instead, pair tomatoes with basil, carrots, parsley, and marigolds for pest suppression and improved growth.
What not to plant with peppers?
Avoid planting peppers near fennel, brassicas (broccoli, cabbage, kale, cauliflower), and kohlrabi. Brassicas compete aggressively for nutrients and may produce allelopathic compounds that stunt pepper growth. Fennel inhibits nearly all vegetable neighbors. Peppers thrive alongside basil, onions, tomatoes, carrots, and cowpeas — all of which either repel pests through volatile compounds or fix nitrogen to support pepper growth complete pepper pairing guide.
What to plant with tomatoes to keep bugs away?
Basil is the most research-backed choice — its volatile compounds mask tomato scent from hornworms and other pests. An Iowa State University field trial found that basil and thyme plots showed the best resistance to armyworm damage on tomatoes. Marigolds suppress root-knot nematodes through their root exudates. Nasturtiums serve as trap crops, drawing aphids away from tomato plants. Plant all three around your tomatoes for layered pest protection.
What not to plant with cucumbers?
Cucumbers should be kept away from potatoes, sage, fennel, and brassicas. Sage and aromatic herbs like rosemary can inhibit cucumber growth. Potatoes compete for nutrients and share some pest vulnerabilities. The best cucumber companions are beans (nitrogen fixation), corn (windbreak and partial shade), nasturtiums and marigolds (trap cropping for cucumber beetles), and radishes, which can be interplanted for early harvest before cucumber vines spread.
Does companion planting really work or is it just a myth?
Companion planting is backed by peer-reviewed research across multiple universities. A 2023 study in the National Institutes of Health database documented measurable changes in soil microbial communities and enzyme activity from companion planting. Cornell University research demonstrated over 95% pest reduction using buckwheat trap cropping. While not every traditional pairing has been scientifically validated, the core mechanisms — nitrogen fixation, volatile pest repulsion, and beneficial insect attraction — are well-established agricultural science.
Can you plant broccoli and carrots together?
Yes, broccoli and carrots can be good companions. Carrots have deep taproots that access nutrients from lower soil layers, while broccoli has a shallower, wider root system — so they don't compete underground. Carrots benefit from the partial shade broccoli provides during hot weather. For best results, plant carrots on the south side of broccoli rows so they receive morning sun, and harvest carrots before broccoli reaches full canopy size.
How close together should companion plants be?
Companion plants should be close enough for volatile compounds to provide pest protection — typically within 12–24 inches (30–61 cm) for aromatic herbs like basil near tomatoes. For root-level interactions (nitrogen fixation, mycorrhizal networks), plants need to share soil space with roots within 6–12 inches (15–30 cm) of each other. Interplanted combinations like carrots and onions can be as close as alternating rows at 3–4 inches (8–10 cm) apart because they use completely different root depths.
Ready to Grow Smarter?
Get our free beginner's guide to permaculture gardening — 12 pages of practical tips you can use this weekend.
Download the Free GuideResources
- University of Minnesota Extension — Companion Planting in Home Gardens
- UC Master Gardeners — Better Together: New Science of Companion Planting
- Iowa State University — Companion Planting Field Trials
- New Mexico State University — Nitrogen Fixation by Legumes
- University of Wisconsin Extension — Plant Flowers to Encourage Beneficial Insects
- Cornell Cooperative Extension — Companion Planting and Flower Borders for Pest Management
- University of Missouri Extension — Trap Cropping for Pest Management
- Chelsea Green Publishing — Interplanting and Beyond
vertical food forest structure
global permaculture traditions home composting guide
companion planting peppers companion planting cucumbers