A Beginner’s Guide to Companion Planting in the Vegetable Garden

Being strategic about which plants grow together and which ones don’t can make a real difference in the garden. I’ve watched it play out in my own raised bed season after season.

The right neighbors mean fewer pests, better yields, and a garden that works a little harder for you without extra effort on your part.

Here’s what you need to know to get started.

peach colored nasturtiums and tomatoes planted together in the garden

What Is Companion Planting?

vegetables and tomatoes growing in the raised beds

Companion planting is the practice of growing different crops near each other for mutual benefit, while keeping certain plants separated so they can all thrive. It’s been used for centuries, and for good reason. When you pay attention to plant relationships, the garden tends to take care of itself more.

The Three Sisters Planting Method

The Three Sisters is one of the most well-known examples of companion planting. Used for generations by Native American farming societies, it’s a system that works because each plant does something the others need.

  • Corn stalks serve as natural supports for pole beans.
  • Pole beans stabilize the corn and fix nitrogen back into the soil.
  • Squash spreads low to the ground, shading out weeds and holding moisture in.

A Quick note about my garden

  • Location: Pacific Northwest; about 60 miles southwest of Seattle, Washington
  • Growing Zone: USDA Zone 8b
  • Average Last Frost: Mid-April (give or take a little PNW spring moodiness)

Most of the flowers I share here are grown from seed in our greenhouse and planted in raised beds and containers throughout our cottage garden.

Benefits of Companion Planting

Once you start thinking about plant relationships, the list of benefits adds up quickly.

Deterring Pests and Repelling Insects

fuchsia cosmos and yellow marigolds growing in the cut lower garden

Some of the most effective pest control in the garden doesn’t come from a spray bottle. It comes from planting the right things next to each other.

  • Basil repels thrips and, when planted near tomatoes, can reduce egg-laying armyworms.
  • Cucumbers keep raccoons away. They dislike the smell.
  • Flowers like sunflowers, zinnias, calendula, and cosmos help repel pests throughout the vegetable garden.
  • Garlic deters aphids, onion flies, and Japanese beetles. Plant it near potatoes, fruit trees, lettuce, and cabbage.
  • Marigolds have a strong fragrance that helps keep deer away from tomatoes and other vulnerable plants.
  • Mint detours aphids and ants, but plant it in a pot. It will take over a bed without one.
  • Nasturtiums act as a trap crop, drawing aphids, caterpillars, and blackflies away from plants you actually want to protect.
  • Sage repels carrot flies and helps deter cabbage moths.

Attracting Pollinators and Beneficial Insects

orange colored dahlia with bee pollinating in the garden

Flowering crops like tomatoes, beans, and squash need pollinators to produce well. Growing nectar-rich flowers and herbs nearby brings the bees and beneficial insects in.

  • Basil and borage pair well with tomatoes, drawing in pollinating bees.
  • Dill attracts ladybugs, which feed on aphids and spider mites.
  • Parsley brings in beneficial insects that protect and pollinate tomatoes.
  • Sunflowers, zinnias, calendula, and cosmos are reliable pollinator magnets throughout the growing season.

Improved Soil Fertility

raised bed garden with flower and vegetable seedlings growing

Legumes like beans and peas fix nitrogen in the soil, benefitting the plants growing nearby. Beet leaves break down and add minerals, including significant amounts of magnesium. Small things that add up over a season.

Shade Regulation

yellow sunflowers growing in the garden

Tall plants like corn and sunflowers provide natural shade for heat-sensitive crops. Lettuce, spinach, and Swiss chard all benefit from some relief during the hottest part of summer.

Bush beans handle corn’s shade well, and their root systems don’t compete at the same soil depth.

Natural Supports

rows of sunflowers growing in the garden

Corn and sunflowers also double as trellises. Cucumbers and peas can climb them instead of needing separate structures.

Weed Suppression

cinnamon basil in the garden with zinnias

Interplanting different crops reduces bare soil and helps distinguish fast-germinating plants from slower ones. Less open ground means fewer weeds moving in.

Let’s Plan Your Dream Garden With Our

Gardening Planner

Unlock Your Garden’s Potential.

Companion Planting Mistakes to Avoid

tomatoes and yellow marigolds growing in raised beds

Not every plant combination works. Some neighbors actively hurt each other, and it’s worth knowing the common pitfalls before you start planning.

As a general rule, avoid planting crops with similar needs directly next to each other. When they’re competing for the same resources, nobody wins. The similarities that tend to cause the most conflict include:

  • Similar nutrient needs
  • Overlapping root systems at the same soil depth
  • Identical water or sunlight requirements
  • Susceptibility to the same diseases and pests
  • Aggressive above-ground growth patterns

One plant worth calling out specifically is fennel. It’s a poor companion for almost everything in the vegetable garden and should be planted well away from other crops, or left out of the vegetable bed entirely.

Companion Planting Chart for Common Vegetables

vegetables and flowers seedlings growing in the raised beds

Use this chart as a quick reference when planning your beds. The ‘Keep Away From’ column is just as useful as the companion list.

PlantCompanion PlantsKeep Away FromNotes
AsparagusAsters, Basil, Cilantro, Marigolds, Nasturtiums, Oregano, Parsley, Peppers, Sage, Thyme, TomatoesOnion, Garlic, PotatoesRepels flies, mosquitoes, and thrips. Improves flavor in tomatoes.
BasilAsparagus, Oregano, Peppers, TomatoesSageRepels flies, mosquitoes, and thrips. Improves tomato flavor.
BeansCabbage, Carrots, Cauliflower, Corn, Cucumber, Marigolds, Nasturtiums, Rosemary, SunflowersChives, Leeks, GarlicImproves nitrogen levels in the soil.
BeetsBush beans, Broccoli, Cauliflower, Corn, Garlic, Leeks, Lettuce, Mint, Onion, SagePole beansBeet leaves add minerals; composed of 25% magnesium.
BroccoliCelery, Dill, Onion, Oregano, Potatoes, Rosemary, HyssopStrawberries, Tomatoes 
CabbageBeets, Celery, Chamomile, Garlic, Nasturtiums, Onion, Potatoes, SageEggplant, Strawberries, Tomatoes
CarrotsBeans, Chives, Leeks, Lettuce, Onion, Peas, Rosemary, Sage, TomatoesDill, ParsnipAvoid planting near other carrot family members to prevent cross-pollination.
CornBeans, Cucumber, Dill, Peas, Potato, Pumpkin, Spinach, SunflowersTomatoes 
CucumberCelery, Dill, Lettuce, Nasturtiums, Oregano, Pea, Radishes Basil, Cauliflower, Potatoes 
GarlicBeets, Carrots, Cole crops, Cucumbers, Eggplant, Lettuce, Peppers, Potatoes, Tomatoes 
LettuceBasil, Beets, Carrots, Chives, Garlic, Onions, Radishes, Strawberries Beans, Parsley 
MelonBroccoli, Corn, Garlic, Radishes 
OnionsBroccoli, Cabbage, Lettuce, Marigolds, TomatoesBeans, Peas 
PeasAlyssum, Beans, Carrots, Chives, Corn, Cucumbers, MintGarlic, Onions  
PeppersBasil, Beans, Carrots, Catmint, Cilantro, Marjoram, Oregano, Parsley, TomatoesFennel
PotaotesBeans, Cabbage, Catmint, Cilantro, Corn, Eggplant, Lettuce, Peas, Radishes, SpinachCucumber, Pumpkin, SunflowerOften used as trap crops for flea beetles.
RadishesBeans, Beets, Carrots, Nasturtiums, Peas, SpinachCabbage, Cauliflower, Brussels Sprouts 
SpinachBeans, Brassicas, Cilantro, Eggplant, Leeks, Lettuce, Oregano, Peas, Radishes, Rosemary, StrawberriesParsnips, Potatoes
TomatoesAsparagus, Basil, Beans, Bee Balm, Borage, Calendula, Carrots, Celery, Chives, Cucumbers, Dill, Garlic, Lettuce, Marigolds, Mint, Nasturtium, Onions, Parsley, Peppers, Squash, ThymeBrassicas, Corn, Dill, Fennel, Potatoes Potatoes spread blight to tomatoes. Corn attracts harmful pests.
Winter Squash / PumpkinsCalendula, Corn, Oregano, Nasturtium Potatoes 
ZucchiniBeans, Corn, Nasturtium, Oregano, Peas, Radishes, Zinnias   

Best Herbs for Companion Planting

chives and lavender in the garden with purple flowers and birdbath

Herbs earn their place in the vegetable garden. They repel pests, attract beneficial insects, and most of them are easy to tuck into corners and edges without taking up much room. These are the ones worth prioritizing:

  • Basil
  • Borage
  • Chives
  • Cilantro
  • Lavender
  • Mint (keep it in a pot)
  • Oregano
  • Rosemary
  • Sage
  • Thyme
LET’S GO SHOPPING FOR

Garden Supplies and Tools

Check out my favorite garden supplies and tools for the growing season. Whether you’re looking for potting soil or deer repellent, you’ll find what I use in my own garden.

Companion Planting FAQ

What Are the Best Companion Plants for Tomatoes?

peach colored nasturtiums planted with tomatoes

Basil, marigolds, and borage are the most commonly recommended. Basil may help deter thrips and armyworms. Marigolds discourage deer and some pests.

Borage attracts bees and is said to improve tomato flavor. Parsley, chives, and nasturtiums are also good choices. Keep tomatoes away from potatoes (blight spreads between them), corn, fennel, and brassicas

Can You Plant Tomatoes and Peppers Together?

vegetables growing in the raised bed garden

Yes, tomatoes and peppers are generally good companions. They have similar growing requirements and don’t compete heavily with each other. Basil works well planted near both.

What Should You Never Plant Next to Each Other?

pole tomatoes growing on the trellis in the garden

A few pairings to avoid: tomatoes and potatoes (both are susceptible to blight and can pass it to each other), beans and onions or garlic (onions inhibit bean growth), mint in almost anything (it spreads aggressively unless contained), and fennel with just about everything.

Does Companion Planting Actually Work?

orange marigolds and white petunias in the garden bed

Some of it is well-supported, some of it is gardening folklore passed down through generations. The Three Sisters method has solid documented history. Marigolds as pest deterrents have some research backing.

Other combinations are based on observation rather than hard science. That said, most companion planting combinations involve plants that won’t hurt each other, so there’s little risk in trying. The worst outcome is usually neutral.

What Flowers Should I Plant in My Vegetable Garden?

fall colored zinnias growing in the garden

Marigolds, zinnias, calundula, nasturtiums, and cosmos are all excellent choices. They attract pollinators, confuse or repel pests, and make the garden a nicer place to spend time.

I plant zinnias in and around my vegetable gardens every year without fail.

A Few Final Thoughts

white and apricot cosmos are growing in the garden

Companion planting doesn’t have to be complicated. Start with a few well-known pairings, like tomatoes or basil, or beans with corn and squash, and pay attention to what happens.

Keep notes if you can. The garden teaches you more over time than any chart will. If you have combinations that have worked well in your own garden, I’d love to hear about them in the comments.

Until next time,

Happy Gardening!

I’m a self-taught hobby gardener. Everything I share on my blog is my opinion and what has worked for me.

Follow Me for More Inspiration

A Beginner's Guide to Companion Planting graphic for Pinterest

Similar Posts

3 Comments

  1. This post is so helpful Kim! I’ve just pinned it and will definitely share it on Friday too. I know a lot of people are getting started with their vegetable and herb gardens since the weather seems to have stabilized just a bit. I never realized how much one plant could help another plant out like this, that is so cool. Love your gorgeous gardens and all your helpful tips! Big hugs, CoCo

Leave a Reply

Your email address will not be published. Required fields are marked *