Updated November 2026
A vegetable companion planting guide is most useful when it gives you a plan you can actually put on paper. By the end of this article, you will know how to choose compatible neighbors for your main crops, how to space them so they don’t compete, and how to lay out a bed that uses the benefits of companion planting without creating new problems. The approach works for raised beds, in-ground rows and even large containers.
What Companion Planting Can and Cannot Do
Companion planting is the practice of growing two or more crops near each other because they help one another in some measurable way. The benefits are real but narrower than many charts suggest. The most reliable effects come from three sources: shade or shelter (a tall crop shading a heat-sensitive one), trap or lure crops that draw pests away from the main crop, and ground cover that reduces weeds and moisture loss. Some popular claims, such as one plant reliably repelling a specific pest across every garden, are not well supported by replicated research, so treat pairings as a set of useful tools rather than guaranteed fixes.
Shopping for one? See our guide: 3 Best Companion Planting Books for Vegetable Gardeners (2026).
A good rule is to plan companions for structure and spacing first, then add pest-related pairings where they fit. If you are new to the idea, start with the basics in Vegetable Gardening Companion Planting: A Step-by-Step Guide for Beginners before building a full layout.
Step 1: Sort Your Crops by Role
Before choosing partners, sort everything you plan to grow into roles. This keeps you from pairing two heavy feeders that compete for the same nitrogen, or two tall crops that shade out everything beneath them.
- Tall structural crops: pole beans, indeterminate tomatoes, corn, trellised cucumbers.
- Medium crops: peppers, eggplant, bush beans, brassicas such as broccoli and cabbage.
- Low and ground-cover crops: lettuce, spinach, radishes, bunching onions, basil, parsley.
- Heavy feeders: tomatoes, squash, corn, brassicas. These need rich soil and consistent feeding.
- Light feeders: radishes, carrots, lettuce, herbs.
Pairing a heavy feeder with a light feeder is usually easier than pairing two heavy feeders, because the light feeder doesn’t draw down the same nutrients at the same depth.
Step 2: Use Proven Pairings and Their Reasons
The table below lists pairings that gardeners commonly use, along with the mechanism behind each. Spacing figures are typical starting points; adjust for your variety and climate.
| Main crop | Companion | Why it works | Spacing note |
|---|---|---|---|
| Tomato | Basil | Shares water and sun needs; many gardeners find it a useful companion in beds | Plant basil 12 inches from tomato stems |
| Tomato | Parsley | Attracts beneficial insects; low groundcover limits weeds | 12 to 18 inches apart |
| Corn | Pole beans | Beans climb corn stalks and add nitrogen through root nodules | Corn in blocks of 4 rows; beans on the north side |
| Cucumber | Lettuce | Lettuce shades soil in the cool part of the day and keeps moisture in | Lettuce 8 inches from cucumber base |
| Onion | Lettuce | Different root depths and pest profiles; efficient use of space | Alternate rows, 6 inches apart |
| Pepper | Basil | Shares similar growing conditions; basil groundcover reduces weeds | 12 inches apart |
| Marigold | Cucumber | Commonly used as a trap or interplant; effect on pests varies | Plant marigolds along the bed edge |
For more specific pairings, see Tomatoes and Parsley Companion Planting: 5 Best Picks for 2026, Pole Beans and Tomatoes Companion Planting: A Step-by-Step Guide and Onions and Lettuce Companion Planting: A Step-by-Step Guide for Beginners.
Step 3: Layout Your Bed Using a Companion Plan
Good layouts put tall crops on the north side of the bed so they don’t shade shorter neighbors. In a standard 4×8 raised bed, that means one or two tall plants at the north end, medium plants in the middle, and groundcover along the south edge.
Check your spacing before planting
- Measure the mature width of each crop, not the transplant size.
- Leave a 12-inch walkway or access point around the bed so you can reach every plant without stepping on the soil.
- Mark rows with string or a pencil on the bed frame, then plant.
- Label each crop with its planting date so you can rotate it next season.
If you are working with a larger plot, Garden Plot Companion Planting Vegetable Garden Layout: A Step-by-Step Guide shows how to block crops in rows. For a compact bed, Companion Planting 4×8 Raised Bed Vegetable Garden Layout: A Practical Guide (2026) gives a worked example.
Plan for succession
Lettuce and radishes finish quickly. Sow the next round in the gap left when you pull the first harvest, so the bed is never bare long enough for weeds to take over. Keep a short notebook of sowing and harvest dates; after one season you will know which pairings held up in your conditions.
Step 4: Watch for Competition and Adjust
Companion planting fails most often because of crowding, not because the pairing is wrong. Watch for these signs over the season:
- Pale, leggy growth on the shorter plant, which usually means shading.
- Yellowing on heavy feeders when a companion is taking up the same nutrients.
- Dry patches on the bed edge, which can mean the groundcover is too far from the crop it’s meant to protect.
- Pest outbreaks that move from a trap plant onto your main crop, which means the trap needs replanting or removing.
When something looks wrong, move the companion before blaming the pairing. Often a few inches of extra space is enough.
Common Mistakes
- Treating companion charts as rules. A chart is a starting point. Your soil, sun and climate will change the results.
- Planting too densely. Crowding causes more problems than any pairing solves.
- Pairing two heavy feeders. Tomatoes and squash side by side will both struggle without extra compost.
- Forgetting the mature size. A seedling looks small in May and blocks the path by August.
- Ignoring rotation. Companion pairings don’t prevent soil-borne disease. Rotate plant families each year.
Recommended gear
A few simple tools make layout and spacing easier to get right.
- Garden marking string and stakes: lets you lay out rows and spacing before you dig, so you can check the plan on the ground. View on Amazon
- Soil thermometer: helps you confirm the bed is warm enough for heat-loving crops such as basil and peppers before transplanting. View on Amazon
- Soil testing kit: gives you a rough read on pH and major nutrients, which tells you how much feeding a heavy-feeder pairing will need. View on Amazon
FAQ
What is the best companion for tomatoes?
Basil and parsley are the most commonly recommended companions for tomatoes. Basil shares similar sun and water needs, and both are easy to tuck along the bed edge without crowding the main plants.
Can I plant companions in containers?
Yes, but use larger containers, at least 5 gallons for a single tomato and more for a shared pot. Give each plant its mature root space, and group crops with similar water needs.
Does companion planting replace pest control?
No. It can reduce some pest pressure, but it works best alongside monitoring, hand removal and crop rotation. Check plants weekly and act early when you see damage.
How far apart should companion plants be?
Plant them at the spacing their mature size requires, usually 12 to 18 inches for medium crops and 6 to 8 inches for low groundcovers. Check your seed packet or the variety’s listed spacing.
Which vegetables should not be planted together?
Avoid pairing two heavy feeders in the same small area, and keep brassicas away from strong-smelling crops that may compete for space. Pole beans and onions are often kept apart because of different growth habits and needs.
Do companion plants need to be planted at the same time?
Not always. Plant them when each crop’s soil temperature and frost tolerance allow. Basil and peppers need warm soil, while lettuce and radishes tolerate cooler conditions.
Can companion planting improve yields?
It can help by using space more efficiently and reducing weeds and moisture loss, but results depend on spacing, soil and weather. Keep notes each season to see what works in your garden.
Conclusion
A solid companion plan starts with sorting crops by role, choosing pairings for structure and spacing, and laying out the bed so tall crops don’t shade their neighbors. Use the table above as a starting point, then adjust based on what you observe. Keep notes each season, rotate your crops, and treat companion charts as tools rather than rules.
