Companion Plants That Help Tomatoes Thrive
The best plants to grow near tomatoes are ones that either repel common pests, improve soil nutrients, or use space efficiently without competing for water and light. Basil is the most reliable choice—it repels spider mites and whiteflies while improving tomato flavor. Carrots loosen soil and don't shade tomatoes. Marigolds deter nematodes and beetles. Parsley attracts beneficial insects. Borage brings pollinators and deters hornworms. These plants work because they either occupy different soil depths, flower at different times, or produce compounds that pests avoid.
Spacing matters as much as plant choice. Plant basil and parsley 12 inches from the tomato stem. Carrots can go closer—6 to 8 inches—since their roots go deep while tomato roots spread sideways in the top 12 inches. Marigolds work best in clusters of three around the base of each tomato plant, about 10 inches out. Borage grows tall and leafy, so plant it on the north side of tomatoes so it doesn't shade them in afternoon sun.
Key Takeaways
- Basil repels spider mites and whiteflies while growing close enough to harvest alongside tomatoes.
- Carrots, parsley, and borage occupy different soil layers or flower at different times, so they don't compete with tomatoes for nutrients or water.
- Marigolds planted in clusters around tomato bases reduce nematode and beetle damage without needing extra space.
- Plant tall companions like borage on the north side of tomatoes to avoid blocking afternoon sun.
- Avoid planting brassicas (cabbage, broccoli) and fennel within 3 feet of tomatoes, as they inhibit tomato growth.
Plants to Keep Away from Tomatoes
Some plants actively harm tomato growth or attract the same pests. Brassicas—cabbage, broccoli, kale, and cauliflower—release compounds that stunt tomato roots. Keep them at least 3 feet away. Fennel inhibits growth in nearly all nearby plants and should not be in the same garden bed. Potatoes and peppers are susceptible to the same diseases as tomatoes (early blight, late blight, and verticillium wilt), so planting them close increases the chance all three will get sick at once.
Corn and tomatoes also make poor neighbors. Corn attracts corn borers and earworms, which will move to tomatoes once corn is harvested. Tomatoes planted within 2 feet of corn often show damage by late summer. If you grow corn, plant it at least 4 feet away and harvest it before mid-August so pests don't migrate.
Herbs That Grow Well in Tomato Beds
Herbs are among the easiest companions because they need little space and many repel pests. Basil is the standard choice, but oregano, thyme, and sage also work. Plant oregano and thyme 12 inches from the tomato stem—they spread outward and won't shade the plant. Sage grows taller and bushier, so give it 18 inches of space and place it on the north side.
Chives and garlic deter spider mites and some beetles. Plant chives 10 inches from the stem; garlic cloves go in the fall before tomatoes are planted, spaced 6 inches apart around the bed's perimeter. Both are shallow-rooted and won't compete with tomatoes. Mint is tempting but spreads aggressively underground—contain it in a pot or plant it at least 2 feet away to prevent it from taking over the bed.
Vegetables That Share Space Without Competition
Root vegetables and low-growing greens work because they use different soil layers. Carrots, beets, and radishes all have roots that go straight down while tomato roots spread sideways in the top 12 inches. Plant them 6 to 8 inches from the tomato stem and thin seedlings so the mature plant sits at least 8 inches away. Radishes mature in 25 to 30 days, so you can replant the space after harvest.
Lettuce, spinach, and arugula grow low and don't shade tomatoes if planted on the south side of the plant. These greens prefer partial shade in hot climates, so tomato shade actually helps them. Plant them 12 inches from the stem and harvest outer leaves as the tomato plant grows, which naturally thins the greens and reduces crowding.
Onions and leeks are also safe neighbors. Both repel some pests and their roots go deep without competing. Plant onion sets 6 inches from the tomato stem; leeks need 10 inches. Both mature slowly (60 to 90 days for onions, 90 to 120 for leeks), so they won't need harvesting before the tomato season ends.
Flowers That Attract Beneficial Insects
Flowers bring pollinators and parasitic wasps that prey on tomato pests. Nasturtiums are a trap crop—they attract aphids away from tomatoes. Plant them 2 feet away so pests move to the nasturtiums instead. Calendula (pot marigold) attracts hoverflies, whose larvae eat aphids and mites. Zinnias bring bees and parasitic wasps. Alyssum is low-growing and flowers early, attracting beneficial insects before tomatoes set fruit.
Plant nasturtiums on the perimeter of the bed, away from the tomato stem. Calendula, zinnias, and alyssum can go 12 to 18 inches from tomatoes. All four flower over many weeks, so beneficial insects stay in the area throughout the growing season. Deadhead spent flowers to encourage more blooms and keep insects coming.
Spacing and Timing for Companion Planting
Companion planting works only if plants have room to grow. Tomatoes need 24 to 36 inches between plants (depending on variety—determinate types need less, indeterminate types need more). Within that space, plant companions at the distances listed in the table below. Measure from the tomato stem, not the edge of the cage or stake.
| Companion Plant | Distance from Tomato Stem | Reason |
|---|---|---|
| Basil, parsley, chives | 10–12 inches | Shallow roots, won't compete; straightforward to harvest together |
| Carrots, beets, radishes, garlic | 6–8 inches | Deep roots, no competition for water in top layer |
| Lettuce, spinach, arugula | 12 inches | Low-growing; benefit from tomato shade |
| Marigolds, calendula, alyssum | 10–12 inches | Pest control and pollinator attraction |
| Borage, sage, oregano (tall varieties) | 18 inches, north side | Tall growth; must not shade tomatoes |
| Nasturtiums | 24 inches (bed perimeter) | Trap crop; should draw pests away |
Timing also matters. Plant fast-maturing companions (radishes, lettuce) at the same time as tomatoes so they finish before the tomato plant needs all available space. Plant slower companions (carrots, onions, borage) at tomato planting time; they'll mature after tomato harvest. Basil and herbs can go in 2 to 3 weeks after tomatoes if you want to avoid crowding seedlings.
Common Mistakes to Avoid
The most common error is planting companions too close. Even shallow-rooted herbs will compete if they're within 6 inches of the tomato stem. Crowding also reduces air circulation, which increases disease risk. If you're unsure about spacing, err on the side of more distance—a companion plant 18 inches away still helps, but one 4 inches away will stunt the tomato.
Another mistake is planting too many companions in one bed. A tomato plant with basil, marigolds, carrots, and lettuce all around it looks full but becomes a tangle by mid-summer. Choose two or three companions per plant and stick to them. Basil and marigolds is a proven combination. Basil and carrots works well. Marigolds and lettuce is another solid pairing.
Avoid planting companions that need the same water schedule as tomatoes but at different depths. Tomatoes need deep, infrequent watering (1 to 2 inches per week, all at once). Shallow-rooted herbs and greens prefer consistent moisture. Water companions separately if possible, or choose deep-rooted plants like carrots and onions that won't need extra watering.
Frequently Asked Questions
Can I plant basil and marigolds together near tomatoes?
Yes. Plant basil 12 inches from the tomato stem and marigolds 10 inches away on a different side. Both repel pests, don't compete for water, and mature at different rates. Basil will be ready to harvest in 6 to 8 weeks; marigolds flower all season. This is one of the most reliable combinations.
Will companion plants reduce my tomato yield?
No, if spaced correctly. Companions planted at the distances listed actually increase yield by reducing pest damage and improving pollination. Overcrowded companions will reduce yield by competing for water and nutrients. Proper spacing is the difference between a helpful companion and a competing weed.
Can I plant tomatoes and peppers together?
Not in the same spot or within 2 feet of each other. Both are susceptible to early blight, late blight, and verticillium wilt. If one gets sick, the other will likely catch it. If you grow both, plant them in separate beds or at least 3 feet apart, and don't move soil or tools between them during the season.
What if I don't have room for companion plants?
Basil in a pot next to the tomato plant works just as well as basil in the ground. You can also plant companions after the tomato plant is established—wait 3 to 4 weeks, then add basil or lettuce around the base. This reduces crowding at planting time and still gives you pest control and extra harvests.
Do I need to use all these companion plants?
No. Pick one or two that match your garden space and what you want to harvest. If you only want to grow tomatoes, that's fine—companion planting is a tool, not a requirement. If you want to reduce pest damage or grow extra food in the same space, start with basil and marigolds, which are the most reliable pair.