Tomatoes grow best with plants that don't compete for space or nutrients
The plants that work well alongside tomatoes are those that either occupy a different soil depth, attract beneficial insects, or repel common tomato pests. Basil, carrots, onions, and marigolds are the most reliable companions. Avoid planting brassicas (cabbage, broccoli, kale) or fennel in the same bed — they stunt tomato growth and draw the same nutrients from the soil.
Companion planting in a raised bed is about using limited space efficiently while protecting your tomatoes from disease and pests. A well-chosen mix can reduce the need for pesticides and improve your harvest.
Key Takeaways
- Basil planted near tomatoes repels spider mites and whiteflies while improving flavor, and both plants thrive in the same warm conditions.
- Root vegetables like carrots and beets grow below the tomato root zone and don't compete for nutrients or light.
- Marigolds and nasturtiums attract pollinators and trap pests that would otherwise damage tomatoes.
- Never plant fennel, brassicas, or potatoes in the same bed as tomatoes because they compete for the same nutrients and increase disease risk.
- Spacing matters: give tomato plants at least 24 inches between them, and plant companions in the gaps or at the bed edges.
Basil and other herbs that protect tomatoes
Basil is the most effective herb companion for tomatoes. It repels spider mites, whiteflies, and thrips — all common tomato pests. Both plants need full sun and warm soil, so they thrive on the same schedule. Plant basil 6 to 8 inches from the tomato stem, and you can harvest it throughout the season without harming the tomato plant.
Parsley and oregano also work well. They grow low to the ground, won't shade your tomatoes, and attract hoverflies and parasitic wasps that prey on aphids. Plant them at the edges of the bed or between tomato plants. Avoid dill and fennel — they inhibit tomato growth and attract the same pests.
Chives planted at bed corners deter aphids and spider mites. They spread slowly in a raised bed and won't overtake your tomatoes. Mint should be contained in a pot within the bed or kept separate entirely, as it spreads aggressively and can choke out neighboring plants.
Root vegetables that use different soil layers
Carrots and beets grow downward while tomatoes grow upward and outward, so they occupy different zones in your raised bed. Plant carrots 3 to 4 inches apart in rows between tomato plants. They mature in 60 to 80 days and won't compete for light or surface nutrients. You can harvest them without disturbing the tomato roots.
Radishes mature even faster — 25 to 30 days — and break up compacted soil as they grow. Plant them in clusters and pull them as soon as they're ready to make room for other plants. Turnips and rutabagas also work, though they need more space and longer growing seasons.
Onions and garlic are shallow-rooted and don't compete with tomatoes. They repel spider mites and some fungal diseases. Plant sets or cloves 4 to 6 inches apart around the bed perimeter. Both tolerate partial shade from tomato foliage and can stay in the bed until late summer or fall.
Flowers that attract pollinators and trap pests
Marigolds are the most popular tomato companion flower. They attract pollinators, repel nematodes in the soil, and trap whiteflies — the insects prefer marigolds to tomatoes. Plant them 12 inches apart around the bed edges. Deadhead spent flowers to encourage more blooms throughout the season.
Nasturtiums act as a trap crop: aphids prefer them to tomatoes, so plant them at the bed perimeter to draw pests away from your main crop. They also attract hoverflies and parasitic wasps. Both flowers are edible, so you can harvest them for salads while they work for you.
Borage flowers attract bees and other pollinators, improving tomato fruit set. It grows tall (18 to 24 inches), so plant it on the north side of the bed where it won't shade shorter plants. Calendula (pot marigold) repels some pests and attracts beneficial insects. It self-seeds readily, so you may have volunteers next season.
Plants to keep out of the tomato bed
Brassicas — cabbage, broccoli, kale, and Brussels sprouts — release compounds that inhibit tomato growth. They also compete for nitrogen and attract the same pests. Plant them in a separate bed at least 3 feet away.
Fennel is allelopathic, meaning it actively suppresses the growth of nearby plants, including tomatoes. Keep it out of the raised bed entirely. Potatoes share the same diseases as tomatoes (early blight, late blight) and compete for nutrients. Plant potatoes in a different location.
Corn grows too tall and shades tomatoes. Cucumbers and squash spread aggressively and will crowd out tomatoes in a small space. If you want to grow them, use a separate bed or plant them on the opposite side of your garden where they won't compete for light.
Spacing and timing for a productive bed
A standard 4-by-8-foot raised bed holds 2 to 3 indeterminate tomato plants (the tall, sprawling kind) or 4 to 6 determinate plants (compact, bush types). Space indeterminate plants 24 to 36 inches apart; determinates need 18 to 24 inches. This leaves room for companions in the gaps.
Plant herbs and flowers at the same time as your tomatoes, or a week or two before. Root vegetables can go in as soon as the soil is workable in spring. Fast-maturing crops like radishes can be replanted every 3 to 4 weeks for continuous harvests. Remove spent root vegetables as soon as they're ready to free up space for fall crops like lettuce or spinach.
Water all plants together — tomatoes need consistent moisture, and most companions prefer the same. Mulch around the base of each plant to retain moisture and suppress weeds. A 2-inch layer of straw or shredded leaves keeps the soil cool and reduces disease splash from rain.
Frequently Asked Questions
Can I plant lettuce and spinach with tomatoes?
Yes. Both are shallow-rooted and tolerate partial shade from tomato foliage. Plant them in spring before heat arrives, or in late summer for a fall crop. They won't compete with tomatoes and can be harvested before the tomato canopy fully expands.
Will companion plants reduce my tomato yield?
No — well-chosen companions increase yield by attracting pollinators, reducing pest damage, and using space that would otherwise sit empty. The key is not overcrowding. Leave enough space around each tomato plant for air circulation and growth.
Can I plant beans with tomatoes?
Bush beans work better than pole beans. Pole beans climb and can shade tomatoes. Bush beans grow low, fix nitrogen in the soil (which tomatoes use), and mature quickly. Plant them 6 inches from the tomato stem and harvest before they sprawl into the tomato canopy.
What if I don't have room for companions?
Focus on basil and marigolds — they take minimal space and deliver the most benefit. Plant basil 6 inches from each tomato stem and marigolds at the bed corners. Even this small addition reduces pests and improves pollination.
Do I need to fertilize more if I plant companions?
Root vegetables and herbs use less nitrogen than tomatoes, so you may need slightly less fertilizer overall. Beans actually add nitrogen to the soil. Use a balanced fertilizer at planting and side-dress tomatoes with nitrogen every 3 to 4 weeks during the growing season, adjusting based on plant appearance.