Tomato Companion Plants
The companions I actually interplant with tomatoes in my zone 7b clay beds, the ones backed by trial data, and the few I keep well away.
The companion plants worth giving bed space to next to tomatoes are basil, French marigolds (Tagetes patula), and nasturtiums, all of which have real trial data behind them: basil's volatiles disrupt whitefly and aphid host-finding, French marigold roots release alpha-terthienyl that is toxic to root-knot nematodes, and nasturtiums pull in aphid-eating hoverflies. I underplant with lettuce and chives for space, and keep brassicas, fennel, and potatoes out of the same bed. In my clay zone 7b plot, the basil-and-marigold pairing earned its keep on hornworm and nematode pressure more than any folklore pairing did.

What companion planting tomatoes actually does
I garden in zone 7b on heavy clay that I have spent years amending, and tomatoes are the crop I fuss over most. So I want to be honest up front: most of the companion-planting charts floating around are recycled folklore with almost nothing behind them. A pairing that supposedly "improves flavor" is doing no such thing in any measurable way. What companion planting can genuinely do is three concrete things — confuse pests that hunt by smell, lure in beneficial predators, and use vertical and ground-level space you would otherwise leave bare.
When I tell you a companion works next to tomatoes, I mean it earned that spot in my beds over more than one season, and the mechanism holds up in field trials, not just in a Pinterest graphic. Everything below is sorted by what I have actually watched happen against my own pest pressure: hornworms, aphids, and the root-knot nematodes that love warm clay.
Basil: the one I plant without thinking
Basil (Ocimum basilicum) is the companion I would defend in front of a skeptic. The volatile organic compounds it releases mask the host-finding cues that whiteflies and some aphids use to locate a tomato plant. The effect is small but measurable, and trials have shown interplanting basil can deter pests including the tomato hornworm. I tuck 'Genovese' between the indeterminate vines and let it bush out under the lower foliage.
French marigolds for the nematodes you cannot see
This is the pairing I trust most, and it is the one most people get half-wrong. The marigold that matters is the French marigold, Tagetes patula — its roots exude a compound called alpha-terthienyl that is directly toxic to root-knot nematodes in the surrounding soil. University field and greenhouse trials have confirmed that effect repeatedly. The showy African marigolds you grab for color do not deliver the same root chemistry reliably.
On my warm clay, nematodes are a real and invisible problem — you only learn you have them when you pull a stunted plant and find knotted roots. I plant a dense border of 'Petite Gold' and 'Petite Orange' Tagetes patula around the tomato block, and to get the soil benefit, the strongest approach is to grow them thickly the season before and turn them in, not just dot a few in for looks. Marigolds and basil together have also been shown to cut thrip populations in both field and greenhouse conditions.
Nasturtiums, alliums, and the space-fillers
Nasturtiums (Tropaeolum majus) earn their spot by pulling in adult hoverflies, whose larvae are ferocious aphid predators. They also work as a sacrificial draw for aphids away from the vines. I let 'Empress of India' trail along the bed edge where it does not shade the tomatoes.
Chives and other alliums: their scent helps muddle pests, and they take almost no horizontal room tucked at the base of the cages.
Lettuce and other low greens: not pest control, but smart use of the cool, shaded ground under the tomato canopy before midsummer heat shuts them down.
Borage: a strong pollinator magnet I let self-sow at the edges; the bees it brings work the tomato flowers too.
What I keep well away from tomatoes
A few plants genuinely belong in a different bed. Brassicas — cabbage, broccoli, kale — are heavy feeders that compete hard for the same nutrients and rarely thrive crowded against tomatoes. Fennel produces root compounds that suppress nearby plants and is best given its own corner entirely. And I never put tomatoes near potatoes: both are in the nightshade family and share blight and pest susceptibility, so a problem in one spreads straight to the other.
| Plant | Keep or avoid | Why |
|---|---|---|
| Basil | Keep | Volatiles disrupt whiteflies, aphids, hornworm |
| French marigold | Keep | Root alpha-terthienyl kills root-knot nematodes |
| Potatoes | Avoid | Shared nightshade blight and pests |
| Fennel | Avoid | Allelopathic; suppresses neighbors |
If you want to push container tomatoes the same way, the underplanting logic still applies — see my notes on growing tomatoes in pots, where basil shares the pot more than the marigold does.
How I lay the companions out in a real bed
Knowing which plants help is only half of it; placement is what makes companion planting actually work instead of just crowding your tomatoes. The principle I follow is simple — give the companions a job and a place where they can do it without stealing the tomatoes' light, water, or root room. Tomatoes are greedy plants, and a poorly placed companion becomes a competitor.
In a typical bed I run the tomato plants down the center, spaced 18 to 24 inches apart so air moves between them — crowding tomatoes in clay invites the fungal disease that companion planting can't fix. Basil goes between the plants, low and bushy, where its scent sits right in the zone pests are hunting. Marigolds form the border, a dense ribbon around the whole block rather than a token plant or two, because the nematode benefit is a soil effect that needs mass. Nasturtiums and borage trail along the sunny outer edge where they pull in hoverflies and bees without shading anyone, and chives tuck in at the base of the cages.
One honest caveat from my own beds: companion planting is a supporting cast, not a force field. It nudges the odds in your favor on pests and pollination, but it will not rescue a tomato grown in poor soil, watered unevenly, or packed too tight. Get the fundamentals right first — sun, spacing, steady water, healthy soil — and let the companions do the smaller, real work they're good at. That is the difference between gardening by chart and gardening by what you've actually watched happen.
Questions I get about tomato companions
What should you not plant next to tomatoes?
Keep tomatoes away from potatoes and other nightshades (shared blight and pests), brassicas like cabbage and broccoli (heavy competing feeders), and fennel, which releases compounds that suppress nearby plants. Corn is also a poor neighbor because it and tomatoes share the corn earworm / tomato fruitworm pest.
Do marigolds really keep bugs off tomatoes?
French marigolds (Tagetes patula) have proven root activity: they release alpha-terthienyl, which is toxic to root-knot nematodes in the soil, confirmed across multiple university trials. They are far less reliable as an above-ground repellent for flying pests, and African marigolds do not deliver the same root effect. For nematode control, grow them densely and ideally turn them in.
Can I plant basil and tomatoes in the same hole?
Plant basil close to tomatoes but not crammed into the same root zone. Give each its own footing about a foot apart so they are not fighting for water and nutrients. The pest-disrupting volatiles work as long as the basil is interplanted nearby — it does not need to share the exact planting hole.
