Companion Planting for Tomatoes: What the Research Actually Shows

Many popular companion-planting claims for tomatoes come from gardeners’ experience and lore rather than controlled trials. Extension reviews and trials (UMass, Montana State and others) show that a few practices have measurable effects, while most pairings are untested or inconsistent. Reliable benefits come from soil management, crop rotation, and structural planting decisions rather than mystical plant “friendships.” Below I summarize common tomato pairings with short notes about the evidence and mechanism.

Our Position

Most companion planting claims are based on anecdotal evidence, not rigorous science. We focus on what reliably works: plant placement by height relative to sun, proper spacing, organic soil amendments, and garden diversity.

What the Research Actually Says

The number of rigorous scientific studies regarding companion planting is small compared to the number of books, lists, and charts about companion planting based on anecdotal evidence.

— UMass Amherst Center for Agriculture, Food, and the Environment. See also Montana State University Extension.

Popular Pairings for Tomatoes, with Evidence

PlantClaimEvidenceNotes
Legume cover crop (clover, vetch, winter peas) tilled in before plantingAdds nitrogen to the soil so following tomatoes do betterSupportedLegume cover crops fix atmospheric nitrogen into organic forms that become available to the next crop after incorporation. Extension literature (UMass and other land-grant programs) documents improved soil N and better yields for subsequent vegetables after green manure legumes are incorporated.
Beans (bush or pole) planted alongside tomatoes in the same seasonBeans will feed tomatoes with nitrogen while they growLimited evidenceSome nitrogen is fixed in-season but most becomes available after legumes are cut and decomposed; close interplanting can also create competition for light and water. In short, beans may help the bed long-term but are an unreliable way to ‘fed’ a tomato plant midseason.
Marigolds (Tagetes spp.) tilled in as a cover cropMarigold roots suppress root-knot nematodes when incorporatedSupportedCertain Tagetes species produce compounds in their roots that reduce some nematode populations when the plants (roots and all) are incorporated into the soil. Trials and extension guidance (Montana State and others) emphasize incorporation rather than merely planting flowers nearby.
Marigolds planted nearby as a border around tomatoesMarigolds planted next to tomatoes will repel nematodes and insect pestsFolkloreMost extension sources report that the nematode suppression comes from root compounds that work after incorporation, not from having marigold flowers or roots sitting beside tomato plants. Planting them as a border is unlikely to provide reliable soil pest control.
Basil planted next to tomatoesBasil improves the flavor of tomatoes and repels pestsFolkloreClaims that basil makes tomato fruit taste better or repels specific insects are common but lack rigorous, replicated field evidence. Flavor is subjective and controlled trials showing a causal effect are not available.
Garlic or strong-smelling alliums near tomatoesGarlic repels tomato pests and reduces diseaseFolkloreVolatile compounds from garlic are often credited with pest-repellent effects, but field-scale trials showing consistent protection of tomatoes are lacking. Any observed benefit is likely local and inconsistent.
Nasturtiums as a trap crop or sacrificial plant for aphidsNasturtiums attract aphids away from tomatoesLimited evidenceNasturtiums can attract certain aphids and other pests in some settings and have been used as a trap crop, but results vary with pest species and timing. Trap-cropping requires planning and monitoring to be effective rather than just scattering plants randomly.
Potatoes planted near tomatoesPotatoes and tomatoes grow fine togetherContradictedPotatoes and tomatoes are both solanaceous and share many diseases and pests (for example late blight and some viruses). Extension advice commonly warns that close planting or lack of rotation can increase disease pressure and reduce yields.
General mixed flowering plants and vegetable diversity in the bedHaving many different plants nearby reduces pest outbreaksSupportedMultiple studies and extension summaries find that plant diversity reduces pest pressure versus long single-crop runs. Diverse beds support beneficial insects and interrupt pest population build-up, which can help tomato health.

What Actually Helps Tomatoes Yield Better

Put tall indeterminate tomatoes on the north or east side of beds so they don’t shade shorter crops, and orient cages or stakes predictably to avoid shading neighbors. Space determinate varieties 18–24 inches apart and indeterminate types 24–36 inches to prevent overcrowding, which causes most “bad neighbor” effects. Apply compost or aged manure before planting and top-dress or side-dress midseason as needed; healthy soil has a bigger impact on tomato yields than nearby companion plants. Mix tomato plantings with a variety of non-solanaceous crops to reduce pest buildup rather than long single-crop rows.

  • Plant placement by height and sun direction. Tall crops (corn, pole beans, indeterminate tomatoes, sunflowers) belong on the north or east side of a bed so they don't shade shorter neighbors. This is geometry, not folklore.
  • Proper spacing. Most reported "bad neighbor" effects in home gardens trace back to overcrowding — competition for light, water, and nutrients — not chemical antagonism between species.
  • Organic soil amendments. Yearly compost top-dressing restores the nutrients each crop pulled out and keeps soil biology active. Healthy soil makes a bigger difference to yield than any companion pairing.
  • Garden diversity. Mixing several unrelated crops in a bed (instead of long monoculture rows) reduces pest pressure and supports a wider range of pollinators and beneficial insects.

Stop guessing at plant pairings. Our garden planner optimizes your layout based on plant height, sun direction, spacing, and your local frost dates — the things that actually make a difference.

Frequently Asked Questions

Does planting basil next to tomatoes really improve tomato flavor?

No strong scientific evidence shows basil changes tomato flavor. The claim is common in gardening lore but controlled trials demonstrating a taste change have not been published.

Will planting marigolds around tomatoes protect them from nematodes?

Not reliably. Research indicates marigold root compounds can suppress nematodes when the plants are tilled into the soil, but simply planting marigolds beside tomatoes usually does not provide the same effect.

Can I plant potatoes and tomatoes together to save space?

It’s not recommended. Potatoes and tomatoes share many diseases and pests, so close planting or poor rotation increases the risk of outbreaks and can harm yields.

Should I intercrop beans with tomatoes to feed them nitrogen?

If you use legumes as a cover crop and incorporate them before planting, they can boost soil nitrogen for the following tomatoes. Growing beans simultaneously with tomatoes provides at best limited in-season nitrogen benefit and can introduce competition for light and water.