Companion Planting
Companion planting for tomatoes: 12 good neighbours and 5 to avoid.
Most companion-planting lists are a mix of real, mechanism-backed pairings and folklore that survived because it sounds nice. This is the cull: only relationships supported by extension-service research or peer-reviewed allelopathy work.
What "companion planting" actually means
The term covers four very different effects, often conflated in popular guides:
- Pest deterrence: aromatic plants whose volatile oils mask host-plant cues or repel specific insects.
- Trap cropping: sacrificial plants that pull pests off the main crop.
- Beneficial-attractant: flowers that bring in parasitic wasps, hoverflies, and other natural enemies of pest insects.
- Allelopathy: chemical interactions, positive or negative, between root systems or decomposing residues.
"Improves the flavour" is the fifth category, and the one with the least evidence. We mention it where home gardeners report it consistently (basil, borage) but never claim a mechanism we cannot point to.
The 12 good neighbours
Basil Pest deterrence
Volatile oils from basil (linalool, eucalyptol, methyl eugenol) appear to repel aphids and tomato hornworms in field trials. Hornworm damage on tomato beds interplanted with basil ran 25–40% lower than control beds in University of Vermont and Penn State extension studies.
Mechanism: olfactory masking of tomato host-plant cues + direct repellent volatiles.
Parsley Beneficial-attractant
Parsley flowers (produced in the plant's second year if you leave it standing) are a major nectar source for parasitic wasps (Cotesia congregata in particular) that parasitise tomato hornworm caterpillars. The whitish-yellow umbel inflorescences are tiny and accessible to the small wasps that home gardeners rarely notice.
Mechanism: nectar source for parasitic wasps that prey on hornworms.
Carrots Root-depth complementary
Tomatoes are deep, fibrous-rooted feeders. Carrots are taproot crops that pull from a different soil layer and tolerate the partial shade tomato canopy creates. The folklore book "Carrots Love Tomatoes" (1975) overstated the flavour benefits but got the spatial logic right.
Mechanism: non-competing root profiles + carrots benefit from tomato shade in summer heat.
Marigolds (French, Tagetes patula) Allelopathy
French marigold roots release alpha-terthienyl, a thiophene compound demonstrated in University of Florida and USDA-ARS work to suppress root-knot nematode populations (Meloidogyne incognita) in surrounding soil. The effect is strongest with a full-season interplant, not a few border plants.
Mechanism: nematicidal root exudates (alpha-terthienyl). African marigolds (Tagetes erecta) are also effective; pot marigolds (Calendula) are not.
Garlic Pest deterrence
Crushed garlic releases allicin, which has documented insecticidal effects against aphids and spider mites in lab and small-plot trials. Live garlic plants release lower concentrations but still appear to reduce aphid colonisation pressure on neighbouring tomatoes.
Mechanism: sulfur-containing volatile compounds (allicin) repel small soft-bodied insects.
Chives Pest deterrence
Same allium family as garlic, with milder but more persistent volatile release because chives stay in leaf for months. Best planted as a perennial border around the tomato bed; the flowers also attract pollinators.
Mechanism: low-level continuous allium volatile release.
Borage Beneficial-attractant + soil
Borage flowers are heavily attractive to bumblebees and hoverflies (whose larvae prey on aphids). The plant also accumulates trace minerals (particularly silica and calcium) which slowly become available as the residue decomposes. Some evidence borage repels tomato hornworm moths, though weaker than basil.
Mechanism: pollinator attraction + hoverfly host plant + mineral accumulation.
Nasturtium Trap cropping
Aphids strongly prefer nasturtium over tomato. A nasturtium border around a tomato bed pulls aphid populations off the tomato crop and concentrates them on the trap plant, where you can hose them off, spray with insecticidal soap, or simply pull and dispose of infested plants.
Mechanism: aphid trap crop. Works best with a heavy nasturtium border (10+ plants for a 4×8 bed).
Asparagus Mutual pest deterrence
Tomatoes release solanine compounds that deter asparagus beetle. Asparagus releases compounds that may suppress root-knot nematodes, supplementing the marigold effect. This is one of the few documented mutually-beneficial perennial-annual combinations.
Mechanism: bilateral chemical defence. Plant asparagus in a permanent bed adjacent to a rotating tomato bed.
Lettuce Spatial / microclimate
A summer interplant of leaf lettuce beneath the tomato canopy benefits from the partial shade (which slows bolting) and adds living mulch beneath the tomato plants (which suppresses weeds and reduces soil moisture evaporation). Pick the lettuce as the tomato canopy closes; replant for fall.
Mechanism: heat-mitigating shade for lettuce + living mulch for tomato.
Sage Pest deterrence
Sage volatiles (thujone, camphor, 1,8-cineole) appear to repel cabbage moths and some beetles. The deterrent effect on tomato-specific pests is weaker than basil's, and the evidence is thin enough that the in-app Companion Checker scores tomato and sage as neutral rather than beneficial. Treat sage as a no-harm border perennial that anchors the corner of a tomato bed for years, not as a pest strategy.
Mechanism: terpene-rich volatile profile.
Calendula Beneficial-attractant + trap
Pot marigold flowers attract hoverflies, lacewings, and parasitic wasps. Also serves as a moderate aphid trap. Frequently confused with French marigold (above): calendula does not have the nematicidal root effect, but is genuinely useful as a beneficial-insect magnet.
Mechanism: pollen and nectar source for beneficial insects.
The 5 to keep well away
Brassicas (cabbage, broccoli, cauliflower, Brussels sprouts) Heavy competition + allelopathy
Two problems. First, brassicas and tomatoes are both heavy nitrogen feeders, so they compete fiercely for nutrients. Second, brassica root exudates appear to inhibit tomato growth; most cooperative-extension publications recommend at least 4 feet of separation. The pairing also shares some pest pressure (cutworm).
Verdict: rotate them between beds, never plant in the same bed.
Fennel Allelopathy
Fennel releases anethole and other allelopathic compounds from both roots and decomposing leaves that suppress germination and growth of most vegetables. Tomatoes are particularly sensitive. Plant fennel in its own corner of the garden or in a pot, never in a shared bed.
Verdict: fennel is allelopathic to most things. Isolate it.
Mature dill Allelopathy when flowering
Young dill is fine, even slightly beneficial as a beneficial-insect attractant. Flowering and seeding dill releases allelopathic compounds that stunt tomato growth, especially in shared root zones. If you grow dill in the tomato bed, harvest aggressively before it bolts.
Verdict: young dill OK; flowering dill bad. Harvest early.
Walnut trees (within ~50 feet) Juglone toxicity
Black walnut and butternut trees release juglone, a naphthoquinone that is highly toxic to solanaceae (tomato, pepper, eggplant, potato). Toxicity persists in the soil for years after a tree is felled. The effective zone extends roughly to the drip line plus a bit further, typically 50 feet from a mature tree.
Verdict: avoid tomato planting anywhere near a walnut tree, current or recent.
Corn and potatoes Shared pests and diseases
Corn earworm (Helicoverpa zea) is the same species as tomato fruitworm, so corn nearby acts as a population reservoir. Potatoes share several blight pathogens (early and late blight) with tomatoes, accelerating disease spread when planted close. Both are also heavy feeders that compete for nitrogen.
Verdict: separate by at least 10 feet and rotate beds.
Plan a full bed at once
The Companion Planting Checker takes any combination of crops, builds a compatibility matrix in seconds, and tells you which pairings to avoid and which to add. 230 pairings across 82 crops.
Open the checker →The folklore we left out
A few popular companion claims did not survive the source-checking:
- "Tomatoes improve flavour of basil": no mechanism, no reproducible trial. The reverse claim ("basil improves tomato flavour") is equally unsupported, but basil's pest-deterrent role is real, so plant them together anyway.
- "Strawberries hate tomatoes": appears to be folklore. The actual issue is verticillium wilt sharing between solanaceae and strawberry. Avoid planting in beds with recent solanaceae history; otherwise no concern.
- "Roses love tomatoes": Indian-magazine-era folklore. No evidence either way; they grow fine in proximity but are not mutually beneficial.
- "Mint repels tomato pests": some evidence in lab, but mint is invasive enough that we never recommend planting it directly in a bed. Keep it in a pot if you want the smell.
Sources: University of Florida IFAS (Marigolds for nematode management), Penn State Extension (Companion Planting in the Vegetable Garden), Cornell Cooperative Extension (Vegetable Companion Planting), University of Vermont Extension (Trap Cropping and Habitat Management), Iowa State University (Allelopathy in Agroecosystems), USDA-ARS (Juglone toxicity in plants near black walnut).
← Back to the Blog