Companion Planting Chart: What Vegetables Grow Well Together

A complete companion planting chart and guide showing which vegetables help each other grow, which pairings to avoid, and how to plan a garden around these relationships.

Share this guide Facebook X Pinterest WhatsApp
Practical guide Beginner-friendly steps
Quick answer

Companion planting pairs vegetables that benefit each other, such as tomatoes with basil, carrots with onions, and beans with corn and squash, while keeping incompatible pairs like beans and onions apart. Good pairings can deter pests, improve pollination, fix nitrogen in the soil, and use garden space more efficiently.

Best Overall Pair Tomatoes and basil
Classic Trio Corn, beans, and squash (Three Sisters)
Top Pest-Repelling Plant Marigolds
Pairs to Avoid Beans near onions or garlic
Best Nitrogen Fixer Beans and peas
Before you start

What you will need

Garden planning notebook or app
Graph paper
Plant labels
Measuring tape
Stakes and string
Your progress 0 of 6 steps
1
Step 1

Understand the Science Behind Companion Planting

Marigolds planted next to vegetables
Companion planting relies on natural pest control, shade sharing, and soil benefits.

Companion planting works through several proven mechanisms rather than folklore alone. Some plants release compounds through their roots or foliage that repel or confuse insect pests, some attract beneficial predatory insects and pollinators, some fix atmospheric nitrogen in the soil for their neighbors, and some provide physical structure, shade, or ground cover that other plants benefit from.

Marigolds are one of the best-documented examples: their roots release compounds that suppress root-knot nematodes in the soil, which is why they're so commonly planted alongside tomatoes, peppers, and other nematode-susceptible crops.

Legumes like beans and peas host nitrogen-fixing bacteria in nodules on their roots, pulling nitrogen from the air and converting it into a form plants can use. When those roots break down after harvest, that nitrogen becomes available to whatever is planted nearby or afterward, which is why legumes are so often paired with heavy feeders like corn and leafy greens.

Some pairings work simply through physical space efficiency rather than any chemical interaction. Fast-growing radishes planted between slower carrots, for example, use space that would otherwise sit empty while the carrots mature, and are pulled out of the way before they compete seriously for nutrients.

2
Step 2

Pair Classic, Time-Tested Vegetable Combinations

Corn, beans, and squash growing together
Some combinations have been used across generations of gardeners because they simply work.

Tomatoes, basil, and marigolds form one of the most reliable trios in vegetable gardening. Basil is widely believed to improve tomato flavor when grown nearby and its strong scent can help confuse pests like aphids and hornworm moths, while marigolds guard the root zone below against nematodes.

The Three Sisters method, developed by Indigenous farming traditions in North America, plants corn, pole beans, and squash together in the same mound. Corn provides a natural living trellis for the beans to climb, the beans fix nitrogen that feeds the heavy-feeding corn and squash, and squash's broad leaves shade the soil surface, suppressing weeds and helping retain moisture for all three plants.

Carrots and onions make an excellent pair since onions' strong sulfur scent can help mask the smell carrots give off that attracts carrot rust flies, while carrots' growth habit loosens soil that benefits the onion bulbs forming nearby.

Cucumbers grow well alongside beans, corn, and radishes, all of which either provide structure, share space efficiently, or help deter cucumber beetles through scent confusion. Nasturtiums are also a popular cucumber companion, acting as a trap crop that draws aphids away from the main vegetable.

3
Step 3

Know Which Vegetables Should Be Kept Apart

Separated vegetable garden rows
Not every pairing is beneficial; some plants actively hinder their neighbors' growth.

Beans and peas generally don't grow well near onions, garlic, leeks, or other alliums, since compounds released by alliums can inhibit the growth and nitrogen-fixing ability of legume roots. Keep these two families in separate beds or at opposite ends of the garden.

Tomatoes and corn compete for many of the same soil nutrients and can also attract the same damaging pest, the corn earworm, which is the same insect known as the tomato fruitworm in its other host plant. Growing them in different sections reduces the risk of a single pest outbreak affecting both crops.

Fennel is best grown alone, well away from most other vegetables, since it releases allelopathic compounds from its roots that can suppress the growth of many neighboring plants, including tomatoes, beans, and peppers.

Potatoes and tomatoes, both members of the nightshade family, are best kept apart as well, since growing them near each other increases the risk of shared diseases like early and late blight spreading between the two crops.

4
Step 4

Use Companions for Natural Pest Management

Nasturtiums as a trap crop
Strategic companion planting can meaningfully reduce your reliance on pesticides.

Trap cropping is a specific companion planting strategy where a highly attractive plant is used to lure pests away from your main crop. Nasturtiums are a classic trap crop for aphids, drawing them away from beans, cucumbers, and brassicas.

Aromatic herbs like dill, cilantro, and fennel, when allowed to flower, attract beneficial predatory insects such as parasitic wasps and hoverflies, which then help control aphid and caterpillar populations throughout the garden, not just near the herb itself.

Interplanting strongly scented herbs like sage, thyme, and rosemary among brassicas such as cabbage and broccoli can help disguise the scent cues that cabbage moths use to locate their host plants.

5
Step 5

Plan Your Garden Layout with Companions in Mind

Garden layout planning sketch
A little planning before spring goes a long way toward a healthy, productive garden.

Sketch your garden beds on paper before planting season begins, grouping compatible vegetables together and noting each group's sun and water requirements so beneficial companions don't end up competing for different resources.

Group plants with similar water and sunlight needs together, even when they're excellent pest-control companions, since a mismatch in basic growing requirements can undermine the benefits of the pairing.

Leave room in your plan to rotate companion groupings each year alongside your regular crop rotation. Repeating the exact same layout in the same spot every season allows pest and disease pressure to build up regardless of how good the companion pairings are.

6
Step 6

Adapt Companion Planting for Small Spaces and Containers

Mixed container garden with companions
Limited space doesn't mean you have to give up companion planting strategies.

In containers, choose one main vegetable and one or two compatible companions rather than trying to replicate an entire in-ground pairing system, since root competition is more intense in a confined space.

A large container with a tomato plant, a basil plant, and a few marigolds works particularly well and is one of the most popular container companion combinations for patio gardeners.

For small raised beds, prioritize pairings that save space, like fast-maturing radishes interplanted with slower carrots, or lettuce grown in the partial shade cast by taller trellised crops like pole beans.

Troubleshooting

Common problems and fixes

Problem Likely cause What to do
Companion plants aren't reducing pest damage Pest pressure may be too high for companion planting alone, or the companion wasn't planted close enough to be effective. Plant companions within a foot or two of the target crop and combine the strategy with other pest control methods like row covers for heavier infestations.
One companion is outcompeting the main crop Mismatched growth rates or aggressive spreading habits, such as mint overtaking a smaller neighboring plant. Choose companions with compatible growth speeds, or contain aggressive spreaders like mint in their own pot even within a shared bed.
Interactive

Gardener's checklist

Quick knowledge check

Test what you learned

Which three crops make up the traditional Three Sisters planting method?

Answer: Corn, beans, squash

Which vegetable should generally be kept away from beans?

Answer: Onions

What is a 'trap crop' used for in companion planting?

Answer: Luring pests away from the main crop

Frequently asked questions

Common questions

Does companion planting really work?

While not every traditional claim is backed by formal research, many companion planting combinations have well-documented benefits, such as nitrogen fixing by legumes, pest deterrence from strongly scented herbs and flowers, and trap cropping to lure pests away from valuable crops.

Can I companion plant in raised beds and containers?

Yes, companion planting works well in raised beds and large containers as long as there's enough space for each plant's mature size and root system, though it's best to limit container pairings to one or two companions to reduce root competition.

How far apart should companion plants be to be effective?

Most companion effects, especially pest deterrence and trap cropping, work best within a foot or two of the target plant, since scent-based and physical interactions weaken significantly with distance.

Final takeaway

Companion planting is a simple, low-cost way to improve pest control, soil health, and yields by grouping vegetables that genuinely help each other grow, and it becomes more effective the more deliberately you plan your layout around it.

Frequently asked questions

How often should a vegetable garden be watered?

Frequency depends on weather, soil and plant size. Check the soil rather than watering on a rigid schedule.

Is compost enough fertilizer?

Compost improves soil and provides nutrients slowly. Heavy-feeding crops may still need additional feeding.

About the author

The Sproutstead Editorial Team

We create clear, practical gardening and homesteading guides designed for real homes and beginner growers.

View author profile →