Companion plants that grow well with tomatoes
Basil, carrots, onions, parsley, and marigolds all grow alongside tomatoes without competing for space or nutrients. Basil in particular repels some common tomato pests and improves flavor when planted nearby. Carrots and onions use different soil depths than tomatoes, so they occupy space without stealing what the tomato roots need. Marigolds deter insects that damage tomato leaves and fruit.
The key is choosing plants that either occupy a different soil layer, mature at a different time, or actively repel pests that would otherwise damage your tomatoes. A raised bed is small enough that poor companion choices will noticeably reduce your yield, so the selection matters more than it does in a large garden.
Key Takeaways
- Basil, carrots, onions, and parsley grow well with tomatoes because they use different soil depths or mature at different times.
- Marigolds and nasturtiums repel insects that feed on tomato leaves and fruit, reducing the need for pest management.
- Avoid planting brassicas (cabbage, broccoli, kale) and fennel near tomatoes because they compete for the same nutrients.
- Space companion plants so that mature tomato foliage does not shade them out by mid-summer.
- Plant basil and parsley in spring at the same time as tomatoes; plant carrots and onions earlier or succession-plant them for continuous harvest.
Basil and other herbs that pair with tomatoes
Basil is the most reliable herb companion for tomatoes. It grows to a similar height, matures on the same timeline, and does not compete for nutrients because it feeds from the upper soil layer while tomato roots go deeper. Basil also repels spider mites and some whiteflies that damage tomato foliage.
Parsley works the same way as basil but grows more slowly and tolerates partial shade better, which matters if your tomato plants get tall enough to cast shadow by July. Plant parsley in spring alongside your tomatoes and thin seedlings to 6 inches apart. Chives also pair well with tomatoes and can be harvested continuously without harming the plant.
Avoid planting fennel or dill near tomatoes. Both release compounds into the soil that slow tomato growth, and fennel in particular will stunt nearby plants noticeably.
Root vegetables that fit in the same bed
Carrots and onions occupy the lower soil layer where tomato roots do not reach, so they do not compete for water or nutrients. Plant carrots in early spring, thin them to 2 inches apart, and they will be ready to harvest before tomato plants reach full size and shade the bed. Onions take longer — plant sets (small bulbs) in spring and harvest in late summer after tomato season peaks.
Radishes mature even faster than carrots and can be planted in succession every two weeks for a continuous harvest. They break up compacted soil as they grow, which benefits the tomato roots below them. Beets also work well and can be harvested at the baby stage if space is tight.
Do not plant potatoes in the same bed as tomatoes. Both are in the nightshade family and attract the same pests and diseases, so growing them together increases the risk that disease will spread between plants.
Flowers that repel tomato pests
Marigolds are the most effective pest deterrent for tomatoes. They repel spider mites, whiteflies, and some nematodes that feed on tomato roots. Plant them around the edge of the bed or interspersed between tomato plants, spacing them 12 inches apart. They bloom continuously from spring through fall and require minimal care.
Nasturtiums also repel whiteflies and aphids. They grow as a low sprawl and can be planted at the base of tomato plants without shading them. Nasturtiums are edible and add color to salads, so they serve double duty in a small space.
Borage attracts pollinators and beneficial insects that prey on tomato pests. It grows tall and bushy, so plant it on the north side of the bed where it will not shade tomatoes as the season progresses.
Plants to avoid near tomatoes
Brassicas — cabbage, broccoli, kale, and Brussels sprouts — compete with tomatoes for nitrogen and potassium. In a raised bed where space is limited, this competition will reduce the yield of both crops. Plant brassicas in a separate bed or in the same bed only if you harvest them before tomatoes reach full size.
Corn and beans also compete for nitrogen, though beans actually add nitrogen to the soil as they grow. If you plant beans with tomatoes, they must be harvested before they shade the tomato plants, which limits their usefulness in a small bed. Corn takes up too much space relative to its yield in a raised bed and will shade tomatoes by mid-summer.
Peppers are in the same family as tomatoes and attract the same pests and diseases. While they can technically grow in the same bed, the risk of disease spread outweighs the space savings.
Spacing and timing for a productive bed
A standard 4-by-8-foot raised bed holds two to three tomato plants comfortably, depending on the variety. Determinate (bush) types need less space than indeterminate (vining) types. Once you have placed your tomatoes, you have roughly 16 to 24 square feet left for companions.
Plant basil and parsley at the same time as tomatoes in spring. Plant carrots and onions in early spring, two to three weeks before the last frost, so they are established before tomato roots expand. Plant marigolds and nasturtiums after the last frost date, when soil has warmed.
Succession-plant carrots and radishes every two weeks from spring through early summer to spread out the harvest. Stop planting in mid-summer because late plantings will not mature before frost and will compete with tomatoes for water during the hottest weeks.
Managing shade as tomatoes grow
Tomato plants grow taller and wider as the season progresses, and by July a mature indeterminate plant can shade a significant portion of the bed. Plant shade-tolerant companions like parsley and lettuce on the north side of the bed, where they will receive morning sun but afternoon shade from the tomato canopy.
Prune lower tomato leaves as the plant grows to allow light to reach companion plants below. This also improves air circulation and reduces fungal disease. Remove leaves only after the plant is established and growing vigorously, usually by mid-June.
If you are growing determinate (bush) tomatoes, shade is less of an issue because the plant stays compact. You have more flexibility in where you place companions and can pack the bed more densely.
Frequently Asked Questions
Can I plant lettuce with tomatoes?
Yes. Lettuce matures quickly and can be harvested before tomato plants shade the bed, or it can be planted on the north side where it tolerates afternoon shade. Plant lettuce in spring and succession-plant it every two weeks until early summer for continuous harvest.
Do I need to plant companions, or will tomatoes grow fine alone?
Tomatoes will produce without companions, but companion plants make better use of the space and can reduce pest pressure. In a raised bed where every square foot matters, companions increase your total yield per bed.
What if I plant something that turns out to compete with tomatoes?
Remove it as soon as you notice the tomato plant slowing down or the companion plant crowding it. Early removal minimizes damage. You can replant with a better choice or leave the space open for the tomato to expand.
Can I plant garlic with tomatoes?
Garlic takes up space for eight months and does not pair well with tomatoes because it prefers cooler soil and matures in late spring when tomatoes are just getting established. Plant garlic in a separate bed in fall for summer harvest.
Should I plant mint near tomatoes?
Mint spreads aggressively through underground runners and will take over a raised bed within one season. Keep mint in a separate container or bed. It does not harm tomatoes, but it will crowd them out.