Skip to main content
Garden & Home Reviews is reader-supported. We earn affiliate commissions from qualifying purchases — how this works.

Companion Plants for Tomatoes

Home/Resources/Seeds & Vegetable Growing/Companion Plants for Tomatoes
Three-quarter view of a person harvesting ripe tomatoes into a basket in a backyard vegetable garden, in soft early-morning light

Affiliate Disclosure

Some links on this page are affiliate links. As an Amazon Associate, we earn from qualifying purchases — at no extra cost to you. We do not buy, test, or physically handle the products we cover; our rankings come from aggregated owner reviews, ratings and expert consensus. Commissions never change our verdicts. How we rank · full disclosure.

The short answer: the most reliable companion plants for tomatoes are basil, French marigolds, nasturtium, borage, garlic and chives, and low-growing herbs like parsley and cilantro. They earn their spot by repelling or distracting pests, drawing in pollinators and predatory insects, or filling ground without competing for water and nitrogen. The plants to keep well away are brassicas, potatoes, corn, fennel and dill once it flowers. Below is the full pairing chart, spacing that actually works, and the reasoning behind each pick.

Companion planting for tomatoes works best as a system, not a single magic pairing. We build these guides from horticultural research, extension-service trials and the aggregated experience owners report, described in how we rank. For the deeper species-by-species layout see our companion planting chart, and for the ranked field of pairings gardeners rate highest, best companion plants for tomatoes.

The tomato companion chart at a glance

CompanionWhat it doesSpacing from tomato
BasilDistracts thrips and whiteflies; attracts pollinators18 to 24 in down the row
French marigoldSuppresses root-knot nematodes in soil18 to 24 in, or as a border
NasturtiumTrap crop for aphids and flea beetles18 to 24 in, edge of bed
BorageDraws bees and predatory wasps; deters hornworm24 in, one per few plants
Garlic and chivesScent deters aphids, spider mites and some beetles12 to 18 in, along the row
Parsley, cilantroUmbel flowers feed hoverflies and lacewings12 to 18 in, low ground fill
Lettuce, spinachLiving mulch; uses ground before tomatoes fill in12 in, harvested by midsummer
CarrotsLoosen soil; harvested young before crowding12 in, early season only

None of these turns a struggling tomato into a champion on its own. What they do is stack small advantages — fewer pests, more pollinators, less bare soil for weeds — across the whole bed.

Wide environmental view of a person harvesting ripe tomatoes into a basket in a backyard vegetable garden, in soft early-morning light

Basil: the classic pairing, and what it really does

Basil tops nearly every tomato companion list, and the pairing holds up because both plants want the same conditions: full sun, warm soil above 60°F, steady moisture, and rich feeding. That shared preference is half the value — you can water and feed them together without compromise.

The pest angle is real but modest. Basil's volatile oils interfere with the host-finding of thrips and whiteflies, and its flowers pull in hoverflies whose larvae eat aphids. The popular claim that basil improves tomato flavor has no solid evidence behind it; grow basil because you want basil and because it distracts pests, not because it will sweeten the fruit. Space one plant every 18 to 24 inches, pinch it regularly to keep it bushy, and see our guide on how to prune basil to keep it productive all season.

Pest-repelling companion plants for tomatoes

Three plants do measurable pest work when used correctly:

Golden-hour view of a person harvesting ripe tomatoes into a basket in a backyard vegetable garden

Companions that bring in pollinators and predators

Tomatoes are self-pollinating, but fruit set improves when bees vibrate the flowers (buzz pollination), and a bed full of beneficial insects keeps pest outbreaks small before they start. The best draws are:

Ground-filling crops that use space before tomatoes take over

Young tomato transplants leave a lot of open soil that weeds are happy to claim. Fast, shallow-rooted crops fill that gap and are harvested before the tomato canopy closes in:

What to keep away from tomatoes

Keep awayWhy
PotatoesShare early and late blight plus Colorado potato beetle; an outbreak jumps between them
Brassicas (cabbage, broccoli, kale)Heavy feeders that compete hard and prefer cooler conditions
CornAttracts corn earworm, the same pest as tomato fruitworm
FennelReleases growth-suppressing compounds; poor neighbor to almost everything
Dill (mature)Young dill is fine and helpful; once it flowers it can stunt tomatoes
Walnut treesRoots release juglone, which is toxic to tomatoes

The potato caution is the one to take seriously. Because both are nightshades, keeping them apart is also good crop-rotation practice — never follow tomatoes with potatoes in the same bed, and give the whole nightshade family a three-year rotation to starve out soilborne disease.

Wide view of a person harvesting ripe tomatoes into a basket in a backyard vegetable garden, in soft early-morning light

Companion-planting claims worth taking with a grain of salt

Companion planting collects a lot of folklore, and separating the evidence-backed from the wishful matters if you are planning a real bed. A few of the most repeated claims:

The honest takeaway: companion planting works as a diversity strategy — more plant variety means more habitat for beneficial insects, more confusion for pests, and less bare ground — rather than as a set of magic one-to-one pairings. Build the bed for diversity and airflow, and treat any single "protective" plant as one small tool among many.

Timing your companions with the tomato season

Companions only help if they are in the ground at the right moment relative to the tomato:

WhenWhat to plantPurpose
At tomato transplantLettuce, spinach, radish, cilantroUse the open ground before the canopy closes
At transplantBasil, marigold, garlic, chivesEstablish alongside the tomato from day one
1 to 2 weeks afterNasturtium, borage, alyssumPollinator and trap crops as flowering nears
Season beforeDense French marigold plantingSuppress soil nematodes for next year

Cool-season ground fillers go in at the same time as the tomato but are harvested out by midsummer, right as the tomato needs the room and light. Warm-loving companions like basil and nasturtium should wait until the soil and nights are warm, the same conditions the tomato itself wants.

A simple tomato companion planting layout

  1. Space tomatoes first at 18 to 24 inches for staked plants, wider for sprawling indeterminates. Everything else fills the gaps around them.
  2. Alternate basil and a marigold between tomatoes down the row, roughly one companion per tomato.
  3. Edge the bed with nasturtium and sweet alyssum so trap crops and pollinator plants ring the outside.
  4. Tuck garlic or chives at the base of every second or third tomato.
  5. Sow lettuce, spinach or radish in the open center ground at transplant time and harvest it out as the canopy closes.
  6. Add one borage per three or four tomatoes for pollinators and hornworm control.

Feed the whole bed as a unit; tomatoes are hungry, so match the plan with a balanced program from our vegetable garden fertilizer picks or, for a fruit-focused blend, the best organic tomato fertilizers. If leaves start curling as plants mature, our guide on tomato leaf curl covers the usual causes, and for the classic fruit disorder see blossom end rot. Everything else lives at the seeds and vegetable growing hub.

Straight Answers

Frequently Asked

What is the single best companion plant for tomatoes?

Basil is the plant gardeners reach for first, and for good reason. It grows happily at the same warm temperatures and moisture level as tomatoes, its strong scent confuses thrips and whiteflies, and it takes up little root space. Plant one basil every 18 to 24 inches down a tomato row. It will not measurably boost tomato flavor despite the folklore, but it does earn its place as a pest distraction and a second harvest from the same bed.

Can I plant tomatoes and peppers together?

Yes, and many gardeners do because they want the same warm soil, similar feeding, and comparable spacing. The one real caution is disease: both are in the nightshade family and share susceptibility to early blight, verticillium and bacterial spot, so a problem in one can spread to the other. Give them airflow, water at the base rather than overhead, and rotate the whole nightshade group to a fresh bed each year to break disease cycles.

What should never be planted near tomatoes?

Keep tomatoes away from all brassicas (cabbage, broccoli, kale, cauliflower), which compete heavily and prefer cooler conditions, and from fennel, which releases compounds that suppress nearby growth. Potatoes are the important one: they share blight and pests with tomatoes, so a potato outbreak jumps straight to your tomatoes. Corn draws the same tomato fruitworm (corn earworm), and mature walnut trees release juglone, which tomatoes cannot tolerate.

Do marigolds actually protect tomatoes?

French marigolds (Tagetes patula) are the type with real evidence behind them. Their roots release compounds that suppress root-knot nematodes in the soil, a benefit strongest when they are grown densely as a cover the season before rather than as a few scattered plants. Above ground the results are softer: marigolds may distract some pests but will not stop hornworms. Treat them as a soil-improvement crop first and a helpful border second.

How far apart should companion plants be from tomatoes?

Low herbs like basil, cilantro and parsley can sit 12 to 18 inches from the stem without competing. Larger companions such as borage, marigolds and nasturtium want 18 to 24 inches so they do not crowd the tomato as both mature. The goal is to fill open ground and airflow gaps without shading the tomato or forcing the roots to compete for water and nitrogen at the surface.