Updated November 2026
Companion planting tomatoes and peppers is one of the simplest ways to make a vegetable bed work harder. By placing these two nightshade crops with the right neighbors, spacing them for airflow, and timing their planting, you can reduce pest pressure, make better use of your bed space, and keep both crops productive through summer. This guide walks through how to plan the bed, what to plant alongside them, and what to avoid.
Why Tomatoes and Peppers Grow Well Together
Tomatoes and peppers share nearly identical growing needs. Both want full sun (at least 6 to 8 hours a day), warm soil above 60°F, consistent moisture, and fertile, well-drained ground with a pH between 6.2 and 6.8. Because their needs match, you can water, feed, and mulch them on the same schedule, which is a practical advantage in a raised bed or a small plot.
Shopping for one? See our guide: Tomatoes and Parsley Companion Planting: 5 Best Picks for 2026.
They also share many of the same pests and diseases, including aphids, hornworms, flea beetles, early blight, and bacterial spot. That is a reason to be careful about rotation and spacing, not a reason to avoid planting them together. Growing them side by side is common and workable as long as you manage airflow and keep an eye out for shared problems.
Step 1: Plan Your Bed Layout and Spacing
Overcrowding is the most common reason tomatoes and peppers struggle. Good spacing keeps leaves drying quickly after rain or watering, which slows fungal diseases.
Recommended spacing
- Indeterminate tomatoes: 24 to 36 inches apart, with a sturdy 6- to 8-foot cage or stake.
- Determinate (bush) tomatoes: 24 to 30 inches apart.
- Bell peppers: 18 to 24 inches apart.
- Hot peppers and smaller sweet varieties: 12 to 18 inches apart.
- Leave 18 to 24 inches between rows for walking and harvesting.
A common layout in a 4-by-8-foot raised bed is two tomato plants at the north (tallest) end, with peppers in the middle and a row of low companions along the south edge so nothing shades the tomatoes. If your bed is only 4 feet wide, plant tomatoes in a single line along one edge rather than in the center.
Placing tall and short plants
Put the taller tomatoes on the north side of the bed so they do not cast shade on the peppers. Peppers tolerate partial shade better than most fruiting crops, but they will still set fewer fruit in dense shade.
Step 2: Choose the Right Companion Plants
The best companions attract beneficial insects, repel or confuse common pests, or simply occupy space without competing for the same nutrients. Here are reliable choices for this pairing.
| Companion | Main benefit | Placement tip |
|---|---|---|
| Basil | Attracts pollinators and may deter aphids and whiteflies | Plant 12 inches from the base of each plant |
| Marigold (French or signet) | Draws hoverflies and other beneficials; French types may reduce nematodes | Border the bed edge, 8 to 12 inches apart |
| Parsley and dill | Attract parasitic wasps and hoverflies that eat aphids and hornworm eggs | Plant at the bed corners, letting dill flower |
| Chives or garlic | Strong scent may discourage aphids and some beetles | Tuck between peppers, 6 to 8 inches apart |
| Nasturtium | Trap crop for aphids; draws them away from peppers | Plant at the bed edge, away from fruiting plants |
| Carrots or radishes | Use the space between early plantings; loosen soil | Sow in gaps early in the season, harvest before the tomatoes shade them |
For more pairing ideas, see Companion Planting with Tomatoes: Best Partners and Pitfalls and Companion Planting with Peppers: 8 Best Plants and Pairings. If you are planning a full bed, Raised Bed Garden Layout Companion Planting: A Step-by-Step Guide covers how to fit several crops into one frame.
Step 3: Time Your Planting
Timing matters as much as placement. Both crops are frost-tender and need warm soil to grow well.
- Start seeds indoors 6 to 8 weeks before your last frost date for peppers, and 6 to 7 weeks for tomatoes.
- Harden off seedlings over 7 to 10 days, gradually increasing outdoor time.
- Transplant only after nighttime temperatures stay above 50°F, ideally when soil reaches 60°F.
- Plant companions like basil and marigold at the same time as the transplants, so they establish alongside them.
- Sow quick companions such as radishes or lettuce in gaps 2 to 3 weeks before transplanting, then clear them before the tomatoes shade the bed.
Step 4: Manage Shared Pests and Diseases
Because tomatoes and peppers share pests, companion planting works best alongside active monitoring.
Watch for these problems
- Aphids: Check the undersides of leaves weekly. A hard spray of water usually knocks them off.
- Tomato hornworms: Large green caterpillars that strip leaves. Hand-pick them, or leave them alone if you see white braconid wasp cocoons on their backs, which means they are already parasitized.
- Flea beetles: Tiny holes in leaves, most damaging to young seedlings. Row cover helps until plants are established.
- Early blight and bacterial spot: Dark spots on lower leaves. Remove affected foliage, mulch to stop soil splash, and water at the base.
Practical habits
- Mulch 2 to 3 inches deep with straw or shredded leaves once soil is warm.
- Water at the base early in the day, aiming for about 1 inch per week.
- Prune suckers on indeterminate tomatoes and keep the lowest 12 inches of foliage clear.
- Rotate the bed so tomatoes and peppers do not return to the same spot for 3 to 4 years.
Consult your local cooperative extension office for diagnosis of diseases you cannot identify, since treatment options vary by region.
Common Mistakes
- Planting too close. Crowding is the top cause of fungal disease. Follow spacing even when seedlings look small.
- Shading peppers with tomatoes. Place tomatoes on the north side or on the bed edge.
- Relying on companions alone. Marigolds and basil help, but they do not replace scouting and hand-picking.
- Planting fennel nearby. Fennel releases compounds that can inhibit many vegetables, including tomatoes and peppers, so keep it in its own space.
- Letting the bed go unmulched. Soil splash spreads disease from the ground to lower leaves.
Tips for Better Results
- Grow a few flowering companions for pollinators, especially when peppers bloom in midsummer.
- Keep a simple planting map so you remember where each crop went for rotation.
- Stake or cage tomatoes at planting time to avoid disturbing roots later.
- Pinch off the first flower buds on new transplants so they focus energy on roots.
Recommended gear
These supplies make it easier to keep tomatoes and peppers healthy in a shared bed.
- Tomato cages or heavy-duty stakes: Sturdy support keeps fruit off the soil and improves airflow around the plants. View on Amazon
- Drip irrigation kit: Delivers water to the root zone without wetting foliage, reducing blight risk. View on Amazon
- Floating row cover: Protects seedlings from flea beetles and early season pests. View on Amazon
- Organic straw mulch: Reduces soil splash and holds moisture between waterings. View on Amazon
FAQ
Can I plant tomatoes and peppers in the same raised bed?
Yes. They have similar needs for sun, water, and soil, so they can share a bed as long as you space them 18 to 36 inches apart and keep the taller tomatoes from shading the peppers.
Do marigolds really keep pests away from peppers?
Marigolds attract hoverflies and other beneficial insects that feed on aphids. French marigolds may also reduce some root-knot nematode populations. They are a helpful addition but do not replace monitoring.
Should I plant basil next to tomatoes or peppers?
Yes. Basil is a popular companion. Plant it about 12 inches from the base of each plant so it does not crowd the root zone, and harvest it regularly to keep it compact.
What should I avoid planting near tomatoes and peppers?
Keep fennel, brassicas such as cabbage and broccoli, and potatoes out of the same bed. Potatoes share diseases with tomatoes and peppers, and fennel can inhibit growth.
How far apart should tomatoes and peppers be planted?
Plant tomatoes 24 to 36 inches apart, bell peppers 18 to 24 inches apart, and hot peppers 12 to 18 inches apart. Leave at least 18 inches between rows for access.
When should I transplant tomatoes and peppers together?
Transplant both once nighttime temperatures stay above 50°F and soil has reached about 60°F, usually 1 to 2 weeks after your last frost date. Peppers often benefit from slightly warmer conditions.
Do tomatoes and peppers need rotation?
Yes. Because they share pests and diseases, rotate both away from the same bed for at least 3 years, and preferably 4, before planting either crop in that spot again.
Can companion planting replace fertilizer?
No. Companions can add diversity and support pollinators, but tomatoes and peppers still need regular feeding. A balanced organic fertilizer or compost applied at planting and again at fruit set is typically recommended.
Conclusion
Companion planting tomatoes and peppers works best when you combine smart spacing, well-chosen partners like basil, marigold, and chives, and steady monitoring for shared pests. Plan your layout before planting, time transplants to warm soil, and keep the bed mulched and watered at the base. With those basics in place, both crops tend to stay healthier and more productive through the season.
