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

The Best Companion Plants for Tomatoes (And What to Keep Away)

Home/Resources/Vegetable Growing/Best Companion Plants for Tomatoes
Close-up detail of the material being worked in a seeds & vegetable growing project, in warm late-afternoon 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.

How we are funded: some links below are affiliate links — buy through them and we earn a small commission at no cost to you. It never changes our recommendations. We do not buy or physically handle the products we mention; product verdicts come from aggregated owner reviews and expert consensus. Full method: how we rank.

The short answer: the companion plants worth putting next to tomatoes are basil, marigolds, borage, nasturtium, calendula, chives and garlic, and low understory crops like lettuce and spinach that use the shaded ground. Keep potatoes, eggplant, peppers, brassicas, fennel and corn away — the first three share diseases with tomatoes, brassicas compete for the same nutrients, fennel inhibits its neighbors, and corn shares a pest. Space companions 12 to 18 inches from the tomato stem so you do not close up the airflow.

It is also worth saying at the outset that companion planting is a mixture of well-supported science and cheerful folklore, and the two are usually presented together as if they carried equal weight. Below we separate them: what the mechanism actually is, what the evidence supports, and what is simply tradition. The rest of the tomato guidance is at the vegetable growing hub.

The Companion Plants Worth Growing

Basil is the classic, and it earns the place for reasons other than the ones usually given. Its volatile oils interfere with how thrips and whiteflies find host plants by scent, and interplanting trials have shown reduced thrips numbers on neighboring tomatoes. It is shallow-rooted and compact, so it uses ground under a staked tomato that would otherwise sit empty, and it tolerates the partial shade a tall tomato throws. Plant it 12 to 18 inches from the stem. The claim that it improves tomato flavor has no evidence behind it.

Marigolds have the strongest evidence of any companion plant, and also the most misunderstood. French marigold (Tagetes patula) roots release alpha-terthienyl, a thiophene that University of Wisconsin Extension describes as highly toxic to root-knot nematodes and able to stop their eggs hatching; Penn State Extension treats marigolds as a cover crop for nematode reduction rather than a border plant. But the documented effect comes from growing a dense marigold stand across a whole bed for a season as a cover crop — not from a handful of plants around the edge. As a border they still pull in hoverflies and parasitic wasps, which is a real if smaller benefit.

Borage is the pollinator plant. Tomatoes are buzz-pollinated — bumblebees vibrate the flower to release pollen, which is why greenhouse growers buy bumblebee hives — and borage is among the most reliably bee-magnetic plants you can put in a vegetable bed. A bumblebee working borage will work the tomatoes on its way past. It also self-seeds enthusiastically, which is either a feature or a nuisance depending on your temperament.

Nasturtium works by trap cropping, one of the three mechanisms with genuine support. Aphids and flea beetles strongly prefer nasturtium to tomato, so a row of it a few feet away concentrates the infestation somewhere you can deal with it — or simply somewhere you do not care about. Plant it at the bed edge rather than between tomatoes, because it sprawls and will smother the base of a plant if you let it.

Calendula, dill, cilantro and yarrow are insectary plants. Their small open flowers feed the adult hoverflies, lacewings and parasitic wasps whose larvae are voracious aphid and caterpillar predators. This is the mechanism most home gardeners underuse: you are not repelling anything, you are feeding a standing army. Let a few cilantro and dill plants bolt rather than pulling them — the flowers are the point.

Chives, garlic and onions are traditionally credited with repelling aphids, and the evidence is thin but the cost is nothing. They are narrow, shallow-rooted, take up almost no space and compete for very little. Chives in particular make a tidy permanent edging that comes back every year.

Lettuce, spinach, arugula and radishes are the practical companions nobody markets as such. They are shallow-rooted, they mature fast, and they appreciate the partial shade a staked tomato casts by midsummer — which is precisely when they would otherwise bolt in full sun. This is a genuine use of vertical space and it costs the tomatoes nothing.

Over-the-shoulder view of a person harvesting ripe tomatoes into a basket in a backyard vegetable garden, in soft overcast light

What to Keep Away From Tomatoes

Potatoes are the important one. Both are nightshades and both host early blight, late blight and verticillium wilt, so growing them adjacent effectively doubles the inoculum and shortens the time before a wet spell turns into an outbreak. Keep them in separate beds and separate rotations, and do not follow tomatoes with potatoes or vice versa.

Eggplant and peppers are the same family and share the same diseases, though less severely than potatoes. In a small garden you will probably grow them anyway — just do not plant them in a continuous run, and rotate the whole nightshade group together on a three to four year cycle.

Brassicas — cabbage, broccoli, cauliflower, kale, Brussels sprouts — are heavy nitrogen feeders that compete directly with tomatoes, and gardeners consistently report both crops doing worse in the same bed. They also want a different soil pH.

Fennel releases root exudates that inhibit the growth of a wide range of neighboring plants, tomatoes included. It is one of the few genuinely antisocial vegetables and belongs in a bed of its own or in a pot.

Corn shares a pest with tomatoes: the corn earworm and the tomato fruitworm are the same insect, Helicoverpa zea. Planting them together concentrates the population and gives it a continuous food supply.

And a site-level one: black walnut. Its roots produce juglone, and University of Wisconsin Extension lists tomato, potato, eggplant and pepper among the plants most sensitive to it, with the strongest effect inside the dripline but damage well past the visible canopy. Tomatoes within the root zone of a mature black walnut wilt and die for no apparent reason. If you have one, grow tomatoes in containers or raised beds with a solid base, well away from it.

How to Lay Out an Interplanted Tomato Bed

The single rule that overrides every companion chart: do not close up the airflow. Tomatoes are lost to fungal disease more often than to anything else in the home garden, and disease pressure is a direct function of how long leaves stay wet. A bed packed edge to edge with companions is a humid, still canopy, and a bed with generous gaps dries out after every rain. If following a companion plan means crowding the plants, ignore the plan.

Practical spacing that works: tomatoes 24 to 36 inches apart depending on whether they are caged or staked — see how far apart should tomato plants be spaced. Basil, parsley and marigolds 12 to 18 inches from the tomato stem, in the gaps between plants rather than in the row. Nasturtium and borage at the bed edge, where they can sprawl without smothering anything. Lettuce and radishes as an understory at 10 to 12 inches, on the shaded side. And keep the bottom 12 inches of every tomato stem completely clear of foliage, both its own and its neighbors', because that gap is what stops rain splashing soil-borne spores up onto the plant.

Two more things matter as much as the plant list. Mulch is the most effective single disease intervention available to a home grower, because it stops the soil splash entirely — see the best mulch for a vegetable garden. And label what you plant: an interplanted bed becomes unreadable by July, and the record of what went where is what lets you make next season better rather than starting over.

What to Buy for a Companion-Planted Tomato Bed

Best Overall
Sow Right Seeds Genovese Sweet Basil Seed for Planting
4.4
Check price
Best Value
Sow Right Seeds Crackerjack Marigold Seeds for Planting Outdoors
4.3
Check price
Best Pollinator Magnet
Sow Right Seeds Borage Seed to Plant, Non-GMO Heirloom
4.4
Check price
Overhead view of a person harvesting ripe tomatoes into a basket in a backyard vegetable garden, in soft overcast light

The One to Start With: Genovese Basil

If you only add one companion, make it basil. It has a real, if modest, documented effect on thrips and whitefly host-finding; it occupies otherwise dead ground under a staked tomato; it tolerates the shade a tall plant throws by August; and unlike marigolds or nasturtiums, you eat it. Genovese is the large-leaf culinary type — the one for pesto and for slicing over tomatoes, which is where the whole association came from in the first place.

Consensus Score ████████░░ 8.8 — one of the most consistently well-rated herb seed lines among home gardeners

Sow it after your last frost date directly into the bed, or start it indoors about six weeks earlier — basil is genuinely frost-tender and sulks in cold soil, so there is no advantage in rushing it out. Pinch the growing tip once the plant has four or five leaf pairs and keep pinching flower spikes as they appear; a basil plant that is allowed to flower turns woody and stops producing usable leaf within a few weeks.

The consistent complaint about seed packets in this category, and this one is no exception, is quantity relative to price: these are small home-garden packets rather than bulk seed, and gardeners planting a long row often report needing several. Germination is generally reported as good, and Sow Right's packets carry full sowing and growing instructions on the back, which is more useful to a beginner than it sounds.

Check price on Amazon →

The Companion Planting Shortlist

#2
Best Value Pest Deterrent
Sow Right Seeds Crackerjack Marigold Seeds for Planting Outdoors
4.31,737 ratings

Best for a border row, and a genuine nematode suppression crop

  • Non-GMO heirloom African marigold (Tagetes erecta), tall growing
  • Germinates readily and flowers from midsummer through to frost
  • Draws hoverflies and parasitic wasps, whose larvae eat aphids and caterpillars
  • Note: the documented nematode work is on French marigold (T. patula), not this species

Why buy it: marigolds are the best-studied companion plant there is — as a border they earn their place on predator habitat alone, and they flower until frost.

~$6 Check price on Amazon Where to buy: Amazon
#3
Best Pollinator Magnet
Sow Right Seeds Borage Seed to Plant, Non-GMO Heirloom
4.4787 ratings

Best for pulling bumblebees into the bed for better fruit set

  • Non-GMO heirloom borage, an annual that self-seeds freely
  • Blue star flowers over a very long season
  • Among the most attractive plants to bumblebees in a vegetable garden
  • Edible flowers and cucumber-flavored young leaves

Why buy it: tomatoes are buzz-pollinated, and a bumblebee working a borage patch next door will work your tomato flowers on the way past.

~$6 Check price on Amazon Where to buy: Amazon
#4
Best Edible Flower Mix
Sow Right Seeds Edible Flower Seed Collection, 7 Packets
4.5124 ratings

Best for nasturtium as an aphid trap crop plus calendula for hoverflies

  • Seven packets: nasturtium, pansy, lavender, chamomile, calendula, violet and borage
  • Nasturtium is the standard aphid trap crop — aphids prefer it to your tomatoes
  • Calendula draws hoverflies, whose larvae eat aphids by the hundred
  • All non-GMO heirloom, all genuinely edible

Why buy it: covers the two mechanisms that actually work — a trap crop pests prefer, and flowers that feed the predators that eat them.

~$14 Check price on Amazon Where to buy: Amazon
#5
Best Garden Organizer
ZIQI 100 Pcs Bamboo Plant Labels, T-Type Garden Plant Markers
4.149 ratings

Best for keeping track of what went where when you interplant

  • 100 T-type bamboo labels, roughly 2.4 x 3.9 in.
  • Large enough to write a variety name and a sowing date
  • Natural bamboo, compostable at end of life
  • Push straight into the soil beside each sowing

Why buy it: an interplanted bed is unreadable by July unless you labelled it in May, and that record is what makes next year better than this one.

~$9 Check price on Amazon Where to buy: Amazon

Quick Comparison

ProductBest forRatingPriceBuy
Sow Right Seeds Genovese Sweet Basil Seed for Planting Best All-Round Companion 4.42,328 ratings ~$6 Price
Sow Right Seeds Crackerjack Marigold Seeds for Planting Outdoors Best Value Pest Deterrent 4.31,737 ratings ~$6 Price
Sow Right Seeds Borage Seed to Plant, Non-GMO Heirloom Best Pollinator Magnet 4.4787 ratings ~$6 Price
Sow Right Seeds Edible Flower Seed Collection, 7 Packets Best Edible Flower Mix 4.5124 ratings ~$14 Price
ZIQI 100 Pcs Bamboo Plant Labels, T-Type Garden Plant Markers Best Garden Organizer 4.149 ratings ~$9 Price
Low-angle view of a person harvesting ripe tomatoes into a basket in a backyard vegetable garden, in warm late-afternoon light

How We Rank

We do not buy, sow or grow out these seeds. Product placement here comes from aggregating star ratings and review volume across owner reviews, weighting reports from a completed growing season above delivery-day impressions, and reading negative reviews for germination failures, packet quantity and mislabelling. The plant recommendations themselves are separate from the product ratings: they come from university extension guidance — Illinois Extension is candid that much of the popular companion-planting canon is anecdotal rather than tested, and Missouri Extension sets out the pairings that do have support — and the published literature on trap cropping, insectary planting and marigold nematode suppression, and we have tried to say clearly where a claim is supported and where it is tradition. Full method: how we rank.

What Owners Actually Complain About

Packet quantity is the most consistent complaint across every home-garden seed brand, and it is a fair one. These are small packets designed for a household bed, not a market row, and gardeners planting a marigold border along a 20 foot bed routinely report needing three or four packets. Check the seed count before assuming one packet covers a bed.

Germination disappointment is the second theme, and in practice it usually comes down to sowing depth and soil temperature rather than seed quality. Basil and marigold both want warm soil and a very shallow covering — basil in particular needs light to germinate well and fails when buried too deep. Borage is the opposite and wants covering properly.

Self-seeding turning into weeding is the specific complaint about borage and nasturtium, and it is entirely accurate. Both self-sow enthusiastically, and borage in particular will colonize a bed within two seasons if you let the flowers set. Deadheading before seed drop keeps it in bounds.

And the honest one for this whole topic: gardeners report following a companion chart and seeing no difference. That is what you should expect from most specific pairings, because most of them were never tested. The interventions that do reliably help — mulching, spacing for airflow, trap cropping, and feeding predators with flowers — are less charming than a chart but far more effective.

The Verdict

Plant basil in the gaps between tomatoes, marigolds along the border, borage at the bed edge for the bumblebees, and nasturtium a few feet away as an aphid trap. Let some cilantro and dill bolt so the hoverflies have something to eat. Use the shaded ground under staked plants for lettuce and radishes. Keep potatoes, brassicas, fennel and corn in a different bed entirely. And remember that spacing for airflow and a good mulch layer will do more for your tomato crop than any companion plant on this or any other list.

Check price on Amazon →

Next: get the spacing right in how far apart should tomato plants be spaced, support the plants with the best tomato cages, feed them using the best organic fertilizer for tomatoes, and see the wider planting plan in the companion planting chart.

Straight Answers

Frequently Asked

What should you not plant next to tomatoes?

Four groups, for four different reasons. Potatoes, eggplant and peppers are all nightshades that share early blight, late blight and verticillium wilt with tomatoes — potatoes are the worst offender and should be kept in a separate bed and a separate rotation. Brassicas — cabbage, broccoli, cauliflower, kale — are heavy feeders that compete directly and are generally reported to do poorly beside tomatoes. Fennel produces root exudates that inhibit a wide range of neighbors and is best given a bed of its own. And corn shares a pest: the corn earworm and the tomato fruitworm are the same insect, so planting them together concentrates the problem.

Does planting basil with tomatoes really improve the flavor?

There is no evidence for the flavor claim, and it is worth saying so plainly. It appears to originate from the fact that the two taste good together on a plate. What basil does do has some support: its volatile oils interfere with how thrips and whiteflies locate host plants by scent, and trials on basil interplanting have shown reduced thrips numbers on tomatoes. That is a modest, real benefit. Basil is also shallow-rooted, compact and shade tolerant, so it uses space under a tomato that would otherwise be wasted — and you eat it. Plant it for those reasons rather than for flavor.

Do marigolds actually protect tomatoes?

Partly, and this is the best-documented companion claim of all — but the mechanism is narrower than the folklore. French marigold (Tagetes patula) roots release thiophene compounds that suppress root-knot nematodes in the soil, an effect confirmed by multiple university extension trials. The catch is dose: the documented suppression comes from growing a dense stand of marigolds as a cover crop over a whole bed for a full season before planting, not from a few plants dotted between tomatoes. Marigolds as a border still earn their place by drawing hoverflies and parasitic wasps, but do not expect a ring of them to clear a nematode problem.

How far apart should companion plants be from tomatoes?

Far enough to protect airflow, which for tomatoes matters more than almost anything else. Keep 12 to 18 inches between a tomato stem and a basil, parsley or marigold plant, and keep the tomato's lowest 12 inches of stem clear of foliage entirely — that gap is what stops soil-borne blight spores splashing onto the plant. Low understory crops such as lettuce and spinach can go closer, at 10 to 12 inches, because they stay below the zone that matters. What you must not do is fill every gap: a solid canopy holds humidity and turns a manageable blight season into a bad one.

Is companion planting scientifically proven?

Some of it, and it is worth being honest about which. Three mechanisms have real support: trap cropping, where pests prefer a sacrificial plant such as nasturtium over your crop; insectary planting, where flowers such as calendula, dill, cilantro and yarrow feed the adult hoverflies, lacewings and parasitic wasps whose larvae eat aphids and caterpillars; and marigold thiophenes suppressing root-knot nematodes at cover-crop density. Much of the rest — including most of the pairings in the classic 1970s book “Carrots Love Tomatoes” — is untested tradition. That does not make it harmful, and a diverse bed is a genuinely more resilient bed, but treat specific claims skeptically.