
Companion Planting Guide: 29 Vegetables and the Best Plants to Grow Beside Them
Companion planting is one of those gardening ideas that sounds almost like a little bit of garden magic.
Put basil beside your tomatoes. Grow carrots near onions. Tuck radishes between slower-growing crops. Add flowers around the vegetable garden and suddenly your backyard becomes a tiny ecosystem buzzing with pollinators and beneficial insects.
But companion planting isn't quite as simple as a list of plants that "like" each other.
A good companion planting plan considers space, sunlight, root systems, growing seasons, water needs, nutrient demands, pest pressure, pollinators, and the overall diversity of your garden.
Some combinations are useful because one plant can attract beneficial insects or provide a living mulch. Others simply make efficient use of garden space because their growth habits complement each other.
And sometimes, the best companion is simply a plant that can share the same growing conditions without competing too heavily.
So let's move beyond the basic "plant this next to that" chart and look at how to actually use companion planting in a productive home garden.
What Is Companion Planting?
Companion planting is the practice of growing different plants near one another because they may provide practical benefits when grown together.
Those benefits can include:
- Attracting pollinators
- Providing habitat for beneficial insects
- Increasing plant diversity
- Making better use of garden space
- Providing shade for shorter crops
- Helping cover bare soil
- Creating living mulch
- Making it harder for pests to find a single crop
- Providing flowers for beneficial insects
- Combining crops with different root depths
- Growing quick crops between slower crops
- Adding herbs and flowers to vegetable beds
It is important to remember that companion planting isn't a guaranteed pest-control system.
Planting basil beside tomatoes doesn't mean tomato pests will magically disappear. Marigolds aren't an all-purpose insect shield, and no companion plant can replace good gardening practices.
Think of companion planting as one tool in your gardening toolbox.
29 Vegetables and Their Companion Planting Partners
Below you'll find 29 commonly grown vegetables along with useful companion plants and ideas for putting them together.
1. Tomatoes 🍅
Good companions:
- Basil
- Carrots
- Lettuce
- Onions
- Garlic
- Parsley
- Marigolds
- Nasturtiums
Why it can work
Tomatoes grow tall and can eventually create shade beneath them. Lettuce and other cool-season greens can take advantage of some of that space early in the season.
Basil and parsley are useful additions to a diverse garden and attract flowering insects when allowed to bloom.
Garlic and onions also make efficient neighbors because they grow differently from tomatoes and occupy different spaces in the soil.
Try this:
Plant tomatoes toward the back or center of the bed with shorter greens around them early in the season. Add basil or parsley nearby and tuck flowers along the edges.
Just remember that tomatoes are heavy feeders. Don't crowd them simply because a companion chart says they can share a bed.
2. Carrots 🥕
Good companions:
- Onions
- Garlic
- Radishes
- Lettuce
- Peas
- Chives
Why it can work
Carrots grow below the soil while many of their companions occupy different spaces above ground.
Radishes are particularly useful in carrot beds because they mature quickly while carrots take much longer.
Try this:
Sow radishes between carrot rows. The radishes mature first, giving you an early harvest while leaving additional space for the carrots to develop.
3. Onions 🧅
Good companions:
- Carrots
- Lettuce
- Beets
- Brassicas
- Tomatoes
- Peppers
- Chives
Onions are compact crops that fit nicely into many vegetable beds.
They can also be planted around slower-growing vegetables to make efficient use of garden space.
Try this:
Use onions as border plants around carrot beds or tuck them into open spaces around larger vegetables.
4. Lettuce 🥬
Good companions:
- Radishes
- Carrots
- Onions
- Cucumbers
- Peas
- Spinach
- Beets
Lettuce is one of the easiest vegetables to incorporate into a companion planting plan.
It grows relatively quickly and doesn't require the same amount of vertical space as larger crops.
Try this:
Plant lettuce between slower-growing crops such as carrots or alongside peas.
In warm climates, give lettuce some afternoon shade when possible.
5. Radishes
Good companions:
- Carrots
- Lettuce
- Spinach
- Peas
- Cucumbers
- Squash
Radishes are excellent space fillers.
Because many varieties mature quickly, they can be planted between rows of slower crops.
Try this:
Sow radishes between carrot rows or around young squash plants. Harvest them before the larger plants need the space.
6. Peas 🌱
Good companions:
- Radishes
- Carrots
- Lettuce
- Spinach
- Cucumbers
Peas are cool-season crops in many regions.
Their vertical growth makes them useful in small gardens because they can grow upward on a trellis rather than taking up large amounts of ground space.
Try this:
Grow peas on a trellis with lettuce, spinach, or radishes beneath them.
7. Beans 🫘
Good companions:
- Corn
- Cucumbers
- Squash
- Carrots
- Radishes
- Beets
Beans can be especially useful in space-efficient gardens.
Pole beans grow vertically, while bush beans stay relatively compact.
Try this:
Use pole beans on a trellis along the northern or western side of a bed so they don't cast excessive shade over shorter vegetables.
8. Corn 🌽
Good companions:
- Beans
- Winter squash
- Cucumbers
- Melons
- Sunflowers
Corn grows tall and can provide a natural structure for climbing plants.
The classic corn, bean, and squash combination is sometimes called the Three Sisters garden and has deep Indigenous agricultural history. It should be understood as a traditional growing system rather than simply a universal companion planting formula.
Try this:
If you have enough space, combine tall corn with climbing beans and sprawling squash. Pay close attention to spacing because all three crops can become vigorous.
9. Squash 🎃
Good companions:
- Corn
- Beans
- Nasturtiums
- Radishes
- Dill
Squash spreads across the ground, making it useful as a living ground cover.
Its large leaves can shade the soil beneath the plants, although dense growth can also create humid conditions where disease becomes a problem.
Try this:
Give squash plenty of room and use the open spaces around young plants for quick crops such as radishes.
Don't let companion planting convince you to overcrowd squash.
10. Cucumbers 🥒
Good companions:
- Dill
- Beans
- Peas
- Radishes
- Lettuce
- Sunflowers
Cucumbers can climb, especially when grown on trellises.
Try this:
Grow cucumbers vertically and use the space beneath or around the trellis for shorter crops.
Allow dill to flower nearby if you want to attract beneficial insects.
11. Potatoes 🥔
Good companions:
- Beans
- Peas
- Horseradish
- Cabbage-family crops
- Marigolds
Potatoes benefit from good soil preparation and consistent moisture.
Beans can make useful neighbors because they occupy a different growth pattern.
Important tip:
Don't rely on companion planting to prevent potato pests or disease. Crop rotation, healthy seed potatoes, proper spacing, and regular garden inspection are much more important.
12. Cabbage 🥬
Good companions:
- Dill
- Celery
- Onions
- Garlic
- Lettuce
- Beets
- Aromatic herbs
Cabbage belongs to the brassica family, along with broccoli, cauliflower, kale, and Brussels sprouts.
Try this:
Grow flowering dill near brassicas to attract beneficial insects.
Keep in mind that cabbage-family crops can attract several pests, so row covers, crop rotation, hand-picking, and regular inspection may be more reliable than companion plants alone.
13. Celery 🌿
Good companions:
- Cabbage
- Broccoli
- Cauliflower
- Tomatoes
- Onions
- Herbs
Celery prefers consistent moisture and fertile soil.
Try this:
Grow celery alongside other moisture-loving vegetables rather than pairing it with plants that prefer very dry conditions.
14. Dill 🌿
Good companions:
- Cucumbers
- Cabbage
- Broccoli
- Cauliflower
- Lettuce
- Other vegetables that benefit from nearby flowering herbs
Dill is less about being a "companion vegetable" and more about its value as an insectary plant.
When dill flowers, its tiny blooms can attract beneficial insects such as hoverflies and other pollinating or predatory insects.
Try this:
Let a few dill plants flower instead of harvesting every plant.
That tiny patch of flowers can become a busy little insect café.
15. Broccoli 🥦
Good companions:
- Dill
- Celery
- Onions
- Garlic
- Lettuce
- Beets
Broccoli takes time and space, so use the open areas around young plants for quick-growing greens or radishes.
Try this:
Plant lettuce or radishes nearby early in the season, then harvest them as the broccoli expands.
16. Spinach 🌱
Good companions:
- Radishes
- Lettuce
- Peas
- Carrots
- Beets
Spinach is a cool-season crop in many climates.
Try this:
Plant spinach alongside other cool-season vegetables so you can harvest several crops from the same bed before summer heat arrives.
17. Peppers 🌶️
Good companions:
- Basil
- Onions
- Garlic
- Carrots
- Lettuce
- Parsley
- Marigolds
Peppers appreciate warmth and generally need plenty of sunlight.
Try this:
Plant peppers with compact herbs and vegetables that won't shade them.
18. Eggplant 🍆
Good companions:
- Basil
- Peppers
- Beans
- Marigolds
- Lettuce
Eggplant is another warm-season crop that benefits from full sun.
Try this:
Use shorter crops around young eggplants early in the season, but avoid overcrowding once the plants become large.
19. Zucchini
Good companions:
- Nasturtiums
- Dill
- Radishes
- Beans
- Corn
Zucchini is productive enough to overwhelm a small garden if you aren't careful.
Try this:
Give zucchini room to spread and consider vertical or compact varieties when space is limited.
Nasturtiums can add flowers and attract pollinators while also making the garden look gorgeous.
20. Green Beans
Good companions:
- Carrots
- Corn
- Radishes
- Cucumbers
- Squash
- Beets
Green beans are excellent candidates for small-space gardening.
Try this:
Choose pole beans when vertical space is available. Choose bush beans when you want compact plants that can be tucked into smaller beds.
21. Artichokes 🌱
Good companions:
- Chives
- Dill
- Parsley
- Lettuce
- Spinach
Artichokes can become large plants, so spacing matters more than squeezing them into a dense companion planting arrangement.
Try this:
Give artichokes their own generous space and use smaller crops around them while the plants are young.
22. Garlic 🧄
Good companions:
- Tomatoes
- Carrots
- Beets
- Lettuce
- Brassicas
- Peppers
Garlic occupies relatively little above-ground space, making it easy to incorporate into mixed beds.
Try this:
Use garlic around the edges of vegetable beds or between larger plants where appropriate.
23. Cauliflower
Good companions:
- Dill
- Celery
- Onions
- Garlic
- Lettuce
- Beets
Cauliflower has similar growing considerations to other brassicas.
Try this:
Use fast-growing lettuce or radishes as temporary companions early in the season.
24. Kale
Good companions:
- Onions
- Garlic
- Celery
- Dill
- Lettuce
- Beets
Kale can remain productive for a long period in favorable conditions.
Try this:
Grow onions and garlic nearby while using lettuce or radishes to fill early-season spaces.
25. Brussels Sprouts
Good companions:
- Onions
- Garlic
- Celery
- Dill
- Beets
- Lettuce
Brussels sprouts need plenty of time and space.
Try this:
Plant quick crops around young Brussels sprouts and harvest those smaller crops before the Brussels sprouts become large.
26. Beets ❤️
Good companions:
- Lettuce
- Radishes
- Onions
- Garlic
- Spinach
- Bush beans
Beets provide both edible roots and nutritious greens.
Try this:
Use beets as a space-efficient crop around larger vegetables.
27. Swiss Chard 🌿
Good companions:
- Beans
- Carrots
- Radishes
- Lettuce
- Onions
- Beets
Swiss chard is an excellent garden crop because it can continue producing leaves over a long harvest period.
Try this:
Use chard as a colorful edible border around larger garden plants.
28. Turnips
Good companions:
- Peas
- Radishes
- Lettuce
- Onions
- Garlic
Turnips are another cool-season crop that can be incorporated into intensive planting.
Try this:
Plant quick radishes nearby and harvest them before the turnips need additional room.
29. Sweet Potatoes 🍠
Good companions:
- Beans
- Radishes
- Lettuce
- Herbs
- Flowers
Sweet potato vines spread aggressively, so companion planting requires planning.
Try this:
Give the vines room to travel rather than trying to squeeze several crops into the same small area.
Don't Forget the Flowers 🌼
One of the biggest upgrades you can make to a companion planting garden is to stop thinking only about vegetables.
Flowers can be some of your most useful garden companions.
Marigolds
Marigolds are popular in vegetable gardens because they provide bright flowers and can support beneficial insects.
They are beautiful around tomatoes, peppers, beans, and other vegetables.
Important: Don't think of marigolds as a magical pest-repellent shield. Their greatest value may be as part of a diverse flowering garden rather than as a standalone pest-control solution.
Nasturtiums
Nasturtiums are excellent garden companions because they're attractive, edible, and useful for adding flowers around vegetable beds.
They can also serve as a trap crop for some pests.
Calendula
Calendula provides cheerful flowers and can attract pollinators and other insects.
Sunflowers
Sunflowers provide height, flowers, seeds, and habitat.
They can also provide a structure that certain climbing plants may use, although heavy vines should not be allowed to pull down young sunflower stalks.
Borage
Borage produces blue flowers that are highly attractive to pollinators.
It can become large, so give it room.
Herbs Make Excellent Garden Companions
Don't overlook the herb garden.
Many herbs produce flowers that attract beneficial insects once you allow them to bloom.
Consider:
- Basil
- Dill
- Parsley
- Cilantro
- Chives
- Oregano
- Thyme
- Sage
- Rosemary
- Fennel
One important exception deserves attention: fennel can behave differently from many other herbs and is often best grown separately because of its allelopathic effects and tendency to attract a wide range of insects.
That is one reason simple companion planting charts can be misleading.
Companion Planting Isn't Just About Pest Control
This is where companion planting gets really interesting.
You don't always need one plant to protect another.
Sometimes the advantage is simply better use of space.
Think vertically:
Tall: Corn, sunflowers, pole beans, cucumbers on trellises
Medium: Tomatoes, peppers, eggplant, broccoli
Low: Lettuce, spinach, radishes, carrots
Ground-covering: Squash, sweet potatoes, nasturtiums
This creates layers within the garden.
Instead of growing one crop across an entire bed, you can combine plants that use different levels of space.
Use Succession Planting With Companion Planting
One of the best tricks for a productive garden is combining companion planting with succession planting.
For example:
Early season
Plant:
- Radishes
- Lettuce
- Spinach
- Peas
Mid-season
As those crops are harvested, replace them with:
- Beans
- Basil
- Cucumbers
- Peppers
Later season
When summer crops begin winding down, plant:
- Spinach
- Lettuce
- Radishes
- Turnips
- Fall peas
This allows one garden bed to produce several different crops throughout the growing season.
Think About Plant Families
Companion planting becomes much easier when you understand plant families.
For example:
Brassicas: broccoli, cabbage, cauliflower, kale, Brussels sprouts
Nightshades: tomatoes, peppers, eggplant, potatoes
Legumes: beans and peas
Cucurbits: cucumbers, squash, pumpkins, melons
Knowing plant families helps with crop rotation as well as garden planning.
If you grow tomatoes in one bed this year, rotating that bed to a different plant family next season can help reduce the buildup of certain pests and diseases.
What Plants Should You Avoid Crowding Together?
Sometimes the question isn't "What grows well together?"
It's:
"What should I keep apart?"
Avoid combining plants simply because a companion chart says they're compatible if their growing requirements conflict.
For example:
- A huge squash plant can overwhelm small herbs.
- Tall sunflowers can shade sun-loving vegetables.
- Large tomatoes can crowd lettuce.
- Fennel is generally better planted separately.
- Vigorous mint can spread aggressively.
- Cucumbers can overwhelm smaller plants if left untrellised.
- Sweet potatoes can cover an enormous amount of ground.
- Brassicas need adequate airflow to reduce disease pressure.
Good companion planting still requires good spacing.
The Best Companion Plant Might Be a Beneficial Insect
One of the most effective ways to improve a garden ecosystem is to grow plants that provide nectar, pollen, shelter, and habitat for beneficial insects.
Consider adding flowering plants such as:
- Dill
- Cilantro
- Parsley
- Yarrow
- Calendula
- Cosmos
- Sunflowers
- Nasturtiums
- Alyssum
- Borage
Allowing some herbs to flower can transform a plain vegetable garden into a busy little habitat.
And that can be far more useful than simply following a chart that says "tomatoes + basil."
Companion Planting for Small Gardens
You don't need a huge garden to use these ideas.
For a small backyard garden, try a layered bed such as:
Back: Tomatoes + trellised cucumbers
Middle: Peppers + basil
Front: Lettuce + radishes + carrots
Edges: Chives + calendula + nasturtiums
This gives you different heights, textures, harvest times, and flowers without requiring a massive amount of space.
For containers, choose plants with similar sunlight and watering requirements.
For example:
Tomato container: Tomato + basil
Salad container: Lettuce + radishes + chives
Pollinator container: Herbs + calendula + nasturtiums
A Simple Rule for Planning Companion Plants
Before placing two plants together, ask five questions:
1. Do they need similar sunlight?
Don't put a shade-loving crop behind a towering sun-loving plant unless you're intentionally creating shade.
2. Do they need similar water?
Plants with completely different moisture requirements can become difficult neighbors.
3. Will one plant overwhelm the other?
Check mature size, not the size of the plants at the garden center.
4. Do they share the same growing season?
Cool-season lettuce and summer squash can share space temporarily, but their ideal growing conditions don't last forever.
5. Are they actually benefiting each other?
If the plants aren't providing a meaningful advantage, they may simply be sharing space.
And that's okay too.
Sometimes the best reason to grow two plants together is simply efficient use of garden space.
Companion Planting Is a Garden Strategy, Not a Magic Formula
There is no perfect companion planting chart that works exactly the same way in every garden.
Your soil, climate, growing season, rainfall, pests, available space, and gardening style all matter.
A combination that works beautifully in one garden may perform differently somewhere else.
That doesn't mean companion planting doesn't have value.
It means your garden gets to be an experiment.
Try a few combinations.
Keep notes.
Watch the plants.
Pay attention to pests and beneficial insects.
Notice which crops become overcrowded.
Record what grows well together.
Then adjust your garden next season.
That's how you turn a companion planting chart into actual gardening knowledge.
And honestly, that's one of the most rewarding parts of growing your own food.
You're not just following a recipe.
You're learning how your particular little patch of earth works. 🌱🌙
Quick Companion Planting Cheat Sheet
| Vegetable | Good Companions |
|---|---|
| Tomatoes | Basil, carrots, onions, garlic, lettuce |
| Carrots | Onions, garlic, radishes, lettuce |
| Onions | Carrots, lettuce, beets, brassicas |
| Lettuce | Radishes, carrots, onions, peas |
| Radishes | Carrots, lettuce, spinach, peas |
| Peas | Radishes, carrots, lettuce, spinach |
| Beans | Corn, squash, cucumbers, carrots |
| Corn | Beans, squash, cucumbers, sunflowers |
| Squash | Corn, beans, nasturtiums, radishes |
| Cucumbers | Dill, beans, peas, radishes |
| Potatoes | Beans, peas, brassicas |
| Cabbage | Dill, celery, onions, garlic |
| Celery | Cabbage, broccoli, onions |
| Dill | Cucumbers, brassicas, lettuce |
| Broccoli | Dill, celery, onions, lettuce |
| Spinach | Radishes, peas, lettuce, carrots |
| Peppers | Basil, onions, garlic, carrots |
| Eggplant | Basil, peppers, beans, flowers |
| Zucchini | Nasturtiums, dill, radishes, beans |
| Green beans | Carrots, corn, radishes, cucumbers |
| Artichokes | Chives, dill, parsley, lettuce |
| Garlic | Tomatoes, carrots, beets, brassicas |
| Cauliflower | Dill, celery, onions, garlic |
| Kale | Onions, garlic, celery, dill |
| Brussels sprouts | Onions, garlic, celery, dill |
| Beets | Lettuce, radishes, onions, garlic |
| Swiss chard | Beans, carrots, radishes, lettuce |
| Turnips | Peas, radishes, lettuce, onions |
| Sweet potatoes | Beans, herbs, flowers, selected quick crops |
Final Thoughts
Companion planting isn't about creating a perfect garden where every plant has one special best friend.
It's about creating diversity and using your garden space intelligently.
Mix vegetables with herbs.
Add flowers.
Grow vertically.
Use quick crops between slower crops.
Rotate plant families.
Give large plants enough room.
Provide habitat for beneficial insects.
And most importantly, pay attention to what happens in your own garden.
The more you observe, the better you become at knowing which combinations work for you.
Your garden doesn't have to follow someone else's perfect chart.
Let it become its own little ecosystem. 🌿🌼🐝
Practical Gardening Note
Companion planting results can vary considerably by climate, soil, rainfall, growing season, pest pressure, and available space. Treat plant pairings as useful starting points rather than guarantees. Always consider mature plant size, sunlight, water requirements, airflow, and local growing conditions when deciding what to plant together.
