Tomato Companion Planting: How to Build a Tomato Guild That Actually Works
- Apr 29
- 5 min read

Most tomato companion planting advice is a list. Plant basil. Plant marigolds. Avoid fennel. The list isn't wrong — but it isn't a plan. A list of companions doesn't tell you how a bed actually works.
A guild does. Borrowed from permaculture and refined for raised beds, a guild treats every bed as a designed ecosystem with five working layers — main crop, vertical, companions, pollinators, and ground cover. Each layer does a specific job. Together, they outperform any plant grown on its own.
Below is how to build one around your tomatoes. Where the science backs a claim, we'll say so. Where it doesn't, we'll say that too.
Layer 1 — The Main Crop
Your tomato is the anchor of the guild. Everything else exists to support it. Before you choose anything else, choose your tomato.
The single biggest decision is indeterminate vs. determinate:
Indeterminate varieties keep growing and fruiting until frost. They reach 6 to 8 feet, need sturdy caging or a trellis, and produce continuously over the season. Examples: Sungold, Cherokee Purple, Brandywine.
Determinate (bush) varieties stop growing at a fixed height of 3 to 4 feet. All fruit ripens in a 2 to 3 week window. Better for smaller spaces and for anyone planning to preserve a batch at once. Examples: Roma, Celebrity, Bush Early Girl.
This single choice shapes the rest of the guild — especially the vertical layer.
Layer 2 — The Vertical Layer
For indeterminate tomatoes, the tomato itself is the vertical layer. A 6-foot vine on a cage is already filling that role, and adding a second climber competes for the same canopy space.
For determinate or compact tomatoes, a small climbing plant fits — but skip pole beans. They're heavy nitrogen feeders, and so are tomatoes. The two compete and both end up with less. A better choice is nasturtium, trained up the tomato cage. It doubles as a trap crop, drawing aphids and squash bugs away from the tomato.
Not every guild needs every layer fully populated. A forced vertical layer is worse than no vertical layer at all.
Layer 3 — Tomato Companion Plants
This is where most companion planting lists go wrong. They mix well-supported pairings with folklore and present them as equal. Here's how the common claims actually hold up.
Basil — supported. Basil's volatile oils mask the scent that aphids, thrips, and whiteflies use to find tomatoes. The pest deterrence is real. The flavor-improvement claim is not — controlled double-blind taste tests have not found a consistent preference for tomatoes grown next to basil. Plant for pest control, not flavor. Space basil 12 to 18 inches from each tomato. Pinch the flowers through the season to keep the oils strong.
French marigold (Tagetes patula) — supported. Their roots release compounds that suppress root-knot nematodes — microscopic pests that damage tomato roots and reduce yield. Plant 12 to 18 inches from the base of each tomato. Note: this is the small French marigold, not the larger African marigold, which has a weaker effect.
Borage — supported. Deters tomato hornworm, attracts bees, and pulls in beneficial wasps. Borage does so much work it counts in two layers. Plant one or two per bed.
Carrots — neutral. Carrots and tomatoes coexist comfortably. Carrots loosen the soil and don't compete heavily for the same nutrients. The popular "carrots love tomatoes" framing overstates the relationship — it's compatibility, not synergy.
Alliums (chives, garlic, onions) — mixed. Aphid deterrence is plausible but inconsistent in the research. Worth including if you'd grow them anyway. Not worth dedicating space to on this claim alone.
Layer 4 — The Pollinators
Tomatoes are self-pollinating. The flower vibrates pollen onto its own stigma when wind or insects shake it. But yield and fruit set both improve with bumblebee activity — bumblebees buzz-pollinate at a frequency that releases far more pollen than wind alone.
Build the pollinator layer with plants that bring bumblebees and beneficial insects to the bed:
Borage — already in Layer 3, doing double duty
Calendula — attracts hoverflies, whose larvae eat aphids
Sweet alyssum — small flowers that attract parasitic wasps. The wasps target hornworms before the gardener ever sees them
One or two of each, planted at the edges of the bed, is enough.
Layer 5 — The Ground Cover
Bare soil loses moisture, bakes in summer, and grows weeds. The ground cover layer protects the soil and uses space the tomato isn't.
Sweet alyssum — low, dense, flowers all season. Doubles as Layer 4.
Lettuce or spinach — early in the season, before the tomato canopy closes in. Cool-weather crops are finished by the time tomatoes need full sun and full root space.
Thyme or oregano — perennial, low-growing, drought-tolerant once established. Slow to fill in, but a long-term anchor for the bed.
What Not to Plant Near Tomatoes
A guild is also about what's missing. A few combinations actively reduce tomato performance:
Fennel — releases compounds that inhibit most vegetables, tomatoes included. Plant fennel in its own corner of the garden, not in a vegetable bed.
Brassicas (cabbage, broccoli, kale) — heavy feeders that compete directly with tomatoes for nitrogen, and host different pest cycles that complicate management.
Potatoes — same family as tomatoes, share blight pathogens. A blight outbreak in one becomes an outbreak in both.
Corn — shares the tomato hornworm. Planting them together gives the pest more habitat, not less.
Walnut trees nearby — black walnut roots release juglone, which is toxic to tomatoes. Keep tomato beds at least 50 feet from any walnut.
A Real 4x8 Tomato Guild
Here is one way to populate a 4-foot by 8-foot raised bed:
3 indeterminate tomato plants, spaced 24 inches apart down the center, each in a sturdy cage
3 basil plants, one between each tomato
4 French marigolds, at the four corners of the bed
1 borage plant, at one end
1 calendula and 1 sweet alyssum, at the other end
Sweet alyssum filling the empty soil between everything else
Two heads of lettuce in the cooler corners for the first 6 to 8 weeks of the season
That's a full five-layer guild in 32 square feet. Every plant has a job.
Start with One Bed
You don't need to design a perfect garden. You need to design one good bed, plant it, and watch what happens. The whole point of a guild is that it teaches you over the season — what thrived, what struggled, what surprised you.
That's the part most gardening advice skips. The first guild is rarely the best one. It's the one you learn from.


Comments