As an Amazon Associate I earn from qualifying purchases. This page may contain affiliate links.

Vegetable gardening companion planting is the practice of placing certain crops near each other so they support one another, whether by deterring pests, attracting pollinators, improving soil, or simply using space more efficiently. By the end of this guide, you will know how to choose compatible neighbors, sketch a layout for a bed or plot, and avoid the pairings that tend to backfire. The method is simple in principle, but the details, including spacing, timing, and crop rotation, decide whether it works in practice.

What Companion Planting Can and Cannot Do

Before you move a single seedling, it helps to set realistic expectations. Companion planting is a useful tool, not a cure-all. Research on specific pairings is uneven, and many of the classic claims come from long-standing garden lore rather than controlled trials. Some effects are well documented, such as a strongly scented herb reducing pest visits or a flowering plant drawing pollinators to a fruiting crop. Others are more anecdotal.

Shopping for one? See our guide: Marigold Seeds for Companion Planting: 8 Best Picks for Vegetable Gardens (2026).

Think of companion planting as one layer of a broader approach that also includes healthy soil, adequate water, crop rotation, and regular scouting for pests. If you rely on companions alone while ignoring those basics, you will likely be disappointed.

The Main Ways Companions Help

  • Pest confusion or deterrence: A strong-smelling plant can mask the scent of a crop that pests target.
  • Pollinator attraction: Flowers such as borage, calendula, and alyssum draw bees and hoverflies, which help fruiting vegetables set.
  • Beneficial insect habitat: Umbellifers like dill and cilantro flowers attract parasitic wasps and lacewings that prey on aphids and caterpillars.
  • Living mulch and ground cover: Low crops shade soil, reduce weeds, and help retain moisture.
  • Trellis and shade support: Tall plants can shelter heat-sensitive greens, while vines climb sturdy stalks.
  • Nitrogen contribution: Legumes such as peas and bush beans fix nitrogen, which benefits heavy feeders planted nearby.

Step 1: Assess Your Space and Goals

Start by deciding what you want from the bed. Are you trying to reduce a specific pest, increase your harvest of one crop, or make the most of a small footprint? Your answer will shape which companions you prioritize.

  1. Measure your bed or plot. A standard raised bed is often 4 feet by 8 feet, which gives 32 square feet of growing area.
  2. Note sun exposure. Most fruiting vegetables need at least six to eight hours of direct sun per day.
  3. List the crops you want to grow and their mature sizes. Tomatoes may spread 2 to 3 feet, while radishes need only a few inches.
  4. Identify problem pests from last season. Flea beetles, squash bugs, and aphids are common culprits in home gardens.
  5. Check your rotation history so you do not plant the same plant family in the same spot two years in a row.

Step 2: Learn the Core Pairings

Several combinations are widely used by home gardeners and extension programs. Below is a practical starting table. Treat it as a guide and watch how your own garden responds.

Crop Good companions Likely benefit Keep apart from
Tomatoes Basil, marigold, carrots, parsley Pest deterrence, improved flavor claims, pollinator support Potatoes, fennel
Carrots Onions, leaf lettuce, rosemary Onion scent may confuse carrot fly Dill (can stunt growth in some reports)
Cucumbers Radish, peas, nasturtium, dill Trap crops and beneficial insect habitat Aromatic herbs such as sage
Beans (bush) Carrots, cucumbers, corn, potatoes Nitrogen fixation benefits neighbors Onions, garlic
Squash Corn, nasturtium, radish Shade and pest distraction Potatoes
Brassicas (cabbage, broccoli) Dill, thyme, chamomile, onions Beneficial insect attraction, pest confusion Strawberries, tomatoes

For more detail on specific crops, see Companion Planting with Tomatoes: Best Partners and Pitfalls and Companion Planting with Peppers: 8 Best Plants and Pairings. If you are working out what the term itself covers, Definition of Companion Planting: What It Means and How It Works offers a useful primer.

Use Trap Crops and Sacrificial Plantings

A trap crop is a plant that pests prefer over your main crop. Nasturtiums are often placed near squash or brassicas to draw aphids and cabbage pests away. Check the trap plant regularly, because it will only help if you remove the pests it attracts before they spread.

Plant Pollinator Strips

Dedicate a small section, even a single row along the bed edge, to flowering annuals. Alyssum, calendula, and cosmos are reliable choices. Start them alongside your main crops so they bloom during key fruiting windows.

Step 3: Plan Timing and Spacing

Companion planting fails most often because of crowding. A pairing that works beautifully at the right density can become a competition for light, water, and nutrients when plants are jammed together. Follow the spacing recommended for each crop, then fill gaps with fast-maturing companions such as radishes or lettuce.

  • Sow fast crops like radishes every two to three weeks for continuous harvest between slower plants.
  • Stagger transplanting so that tall crops do not shade seedlings that need full sun.
  • Leave at least 18 inches between tomato plants in a standard row, or follow your variety’s label.
  • Allow room for mature size. A squash plant often spreads 3 feet or more.

For layouts that combine these ideas in a compact footprint, browse Raised Bed Companion Planting Vegetable Garden Layout: 8 Best Picks for 2026 and Companion Planting 4×8 Raised Bed Vegetable Garden Layout: 7 Best Plans Compared.

Step 4: Sketch and Build Your Layout

A simple paper sketch saves a lot of mistakes. Draw your bed to scale on graph paper, using one square per square foot if possible. Mark tall plants on the north side so they do not shade shorter neighbors. Place sprawling crops such as squash at the edges. Block out space for each companion and label it.

  1. Place tall crops (corn, pole beans, staked tomatoes) on the north or west edge.
  2. Group medium plants (peppers, bush beans, brassicas) in the middle.
  3. Set low companions (lettuce, radish, herbs, marigolds) on the south or east side.
  4. Separate known antagonists by at least one bed row or a buffer of neutral plants.
  5. Rotate the whole layout next season, moving each plant family to a new area.

A few supplies make companion planting easier to manage, especially in small spaces where plants are closely spaced.

  • Soil thermometer: Knowing soil temperature helps you time sowing for companions that germinate at different temperatures. View on Amazon
  • Garden journal or planting planner: Records of what grew well next to what are the best long-term guide to your own microclimate. View on Amazon
  • Drip irrigation kit for raised beds: Keeps water at the root zone so dense plantings do not fight over surface moisture. View on Amazon
  • Trellis netting for vining crops: Lifts cucumbers and pole beans off the soil, freeing ground space for low companions. View on Amazon

Common Mistakes

  • Assuming every pairing works everywhere. Climate, soil, and pest pressure vary. Test a pairing for a full season before relying on it.
  • Overcrowding for the sake of companions. More plants per square foot can reduce airflow and raise disease risk.
  • Ignoring the basics. Poor soil, inconsistent watering, and skipped weeding will outweigh any companion benefit.
  • Planting the same family in the same place every year. Rotation matters as much as neighbors.
  • Letting herbs flower and self-seed everywhere. Dill and cilantro can spread quickly. Deadhead or harvest them regularly if you want control.
  • Forgetting to scout. Check undersides of leaves weekly so you catch pests early, whether or not you have companions.

Tips for Success

  • Start with two or three pairings you are confident about, such as tomatoes with basil, and expand from there.
  • Use a mix of annual flowers and herbs to keep beneficial insects active from early spring through fall.
  • Water companions according to the thirstiest crop in the group, and group plants with similar water needs together.
  • Mulch between plants to reduce weeds and splash-borne disease.
  • Compare notes with neighbors or a local extension office, since regional results often differ from national advice.

If you are new to growing vegetables overall, Vegetable Gardening Basics: Planting to Harvest covers the foundation that companion planting builds on.

FAQ

Does companion planting really reduce pests?

Some pairings have documented effects, such as strong-scented herbs discouraging certain insects, but results vary. Companion planting works best as one part of an integrated approach that includes scouting, handpicking, and row covers when needed.

What are the best companions for tomatoes?

Basil, marigold, carrots, and parsley are commonly recommended. Avoid planting tomatoes near potatoes, since they share disease risks such as early blight, and keep fennel away because it may inhibit growth.

Can I companion plant in containers?

Yes. Pairing a tall trellised crop with shallow-rooted herbs or lettuce in a large container works well. Make sure the pot is big enough for both root systems, usually at least 5 gallons for a single tomato with companions.

How far apart should companion plants be?

Space them according to the mature size of each crop, not just the distance that looks convenient. Overcrowding defeats the purpose by increasing competition and disease.

Should I rotate crops if I use companion planting?

Absolutely. Rotation reduces soil-borne disease and pest buildup, and it works alongside companion planting. Move each plant family to a different bed or section every season.

Are marigolds really useful in a vegetable garden?

French marigolds are widely planted for pest suppression and attracting beneficial insects, though the evidence is mixed and strongest for certain nematodes. They are an inexpensive, low-risk addition regardless.

Which plants should never be planted together?

Common examples to separate include onions and beans, potatoes and tomatoes, and fennel with most vegetables. Keep these apart in your layout to avoid growth problems or shared disease.

How do I start if I have only a small space?

Begin with a single raised bed and one or two proven pairs, such as beans with carrots or lettuce with tomatoes. Add more companions once you understand how your plants respond.

Conclusion

Vegetable gardening companion planting rewards careful planning and patience. Choose pairings with a clear purpose, respect mature plant sizes, and rotate your crops every season. Keep notes on what works in your own garden, because your conditions matter more than any general chart. With steady practice, your beds will become more productive and easier to manage.

Ivy Whitman

About Ivy Whitman

Ivy puts together our vegetable & edible gardening guides, digging through specifications, manufacturer details and owner reviews so you don't have to.