Skip to content
Growing |

Tomato Companion Plants

The best companion plants for tomatoes based on tested combinations in US gardens. Includes plants to avoid and a zone-by-zone planting calendar.

Tomatoes are the most popular vegetable in US home gardens — the National Gardening Association reports 86% of food gardeners grow them. Companion planting research from Cornell University Extension shows basil planted within 18 inches of tomatoes reduces thrips populations by up to 60%. Marigolds planted at the bed perimeter suppress root-knot nematodes, a soil pest affecting tomato yields in all 50 states.
Guide typeGrowing guide
Key tips5 covered
FAQs6 answered

Key takeaways

  • Basil is the best-documented companion for tomatoes — plant it within 18 inches for thrips suppression
  • French marigolds planted at bed edges suppress root-knot nematodes in the soil for one full season
  • Borage deters tomato hornworm and attracts pollinators — one plant per 4x8-foot bed is enough
  • Never plant fennel near tomatoes — it releases chemicals that stunt tomato growth
  • Carrots, parsley, and nasturtiums are safe neighbors that do not compete heavily with tomatoes

Why companion planting works — and when it does not

Companion planting pairs plants that benefit each other through pest deterrence, pollinator attraction, or soil chemistry — but most claimed combinations lack evidence.

The honest answer is that companion planting ranges from well-documented (basil with tomatoes, marigolds with any nightshade) to completely anecdotal (most of the “three sisters” claims beyond corn-bean-squash). Before planting based on companion plant advice, it is worth knowing which combinations have actual research behind them and which are gardening folklore.

This article focuses on companions with documented benefits or at least strong anecdotal consensus from experienced US vegetable gardeners. Where research exists, it is cited.

Basil: the best-documented tomato companion

Basil is the one tomato companion with real university-level research behind it.

A study from Cornell University Extension found that basil planted within 18 inches of tomatoes reduced thrips populations by up to 60% in test plots. Thrips are tiny insects that pierce plant cells to feed, causing silvery streaking on leaves and scarring on fruit. They are a common pest on US tomato crops, particularly in humid states like Florida, Georgia, and Tennessee.

The mechanism appears to be volatile oils released from basil leaves that confuse or deter thrips. The effect is proximity-dependent — basil on the other side of a large garden does not help.

How to plant it: Set basil transplants every 18-24 inches in the same bed as your tomatoes. Alternating plants (one basil, one tomato, one basil) along a row maximizes contact. Pinch basil flower buds to extend its volatile oil production through the season.

Basil is also a practical companion. It reaches harvest at roughly the same time as your first ripe tomatoes, so you get caprese salad ingredients from the same bed.

French marigolds: nematode suppression that lasts

French marigolds (Tagetes patula) are the most thoroughly researched soil companion in vegetable gardening. Their roots release a compound called alpha-terthienyl that kills root-knot nematodes (Meloidogyne spp.) — microscopic worms that form galls on tomato roots and can reduce yields by 30% or more in affected soil.

Research from the University of Florida IFAS Extension found that a dense border of French marigolds planted for a full season reduced nematode populations significantly in the top 12 inches of soil. The effect persists after the marigolds are tilled in at the end of the season.

This is valuable because root-knot nematodes are present in garden soils across all 50 states and are notoriously difficult to control organically once established.

Important distinction: African marigolds (Tagetes erecta) and pot marigolds (Calendula) do not provide the same benefit. Only French marigolds (Tagetes patula) have documented nematode-suppressing effects.

How to plant them: Set French marigold transplants 6 inches apart along all four edges of your tomato bed. Plant them at the same time as your tomatoes. For best effect, grow them for the entire season and till the plants into the soil in fall.

Marigold typeNematode suppressionGood nectar sourceHeight
French (Tagetes patula)Yes — documentedYes8-12 in
African (Tagetes erecta)MinimalYes18-36 in
Pot marigold (Calendula)NoYes12-24 in
Signet (Tagetes tenuifolia)LimitedYes6-9 in

Borage: hornworm deterrent and pollinator magnet

Borage (Borago officinalis) is an annual herb that gardeners have grown next to tomatoes for centuries. The documented benefit is pollinator attraction — borage flowers are rich in nectar and draw bumblebees that also pollinate tomatoes.

The claimed benefit against tomato hornworm is anecdotal. Many experienced US gardeners report fewer hornworm infestations in beds where borage grows, but there is no published research confirming this. However, since borage is easy to grow, fixes atmospheric nitrogen, and attracts pollinators, it is worth including even if the hornworm claim turns out to be folklore.

Borage grows quickly from seed — it reaches 18-24 inches in about 45 days. Direct sow seeds after your last frost date. Plant one borage per 4x8-foot bed to avoid crowding your tomatoes.

Attract Pollinators to Your Garden covers additional flowers that draw bees to vegetable beds, which improves tomato fruit set by 15-20% in gardens that otherwise lack pollinators.

Carrots and parsley: compatible space-sharers

Carrots and parsley do not actively benefit tomatoes, but they are among the most compatible space-sharers — meaning they do not compete heavily for the same resources and do not release chemicals that harm tomatoes.

Carrots grow down into soil while tomato roots spread outward and deeper. The two crops occupy different soil zones with minimal competition. Carrots also loosen heavy soil as they grow, which can benefit surrounding plants.

Parsley is a short, low-light plant that works well in the partial shade cast by tall tomato plants. It also attracts parasitic wasps that hunt aphids and caterpillars — genuine pest-control value from a plant you will use in the kitchen.

Both carrots and parsley can be planted in the same bed as tomatoes without any negative effect. Leave at least 12 inches between carrot rows and tomato stems.

Nasturtiums: trap crop for aphids

Nasturtiums serve as a trap crop — meaning they attract aphids that might otherwise attack your tomatoes.

Aphids strongly prefer nasturtiums over tomatoes. Planting nasturtiums at the edge of your tomato bed draws aphid populations onto the nasturtiums, where you can deal with them by pinching off infested leaves or spraying with water. This concentrates the pest where you can manage it, rather than letting it spread through your tomatoes.

The trap crop strategy only works if you monitor and manage the nasturtiums. If you let aphids build up unchecked, winged adults will migrate to your tomatoes anyway. Check nasturtiums every few days. If aphids are heavy, cut the affected stems back hard and dispose of them.

Nasturtiums are also edible — flowers and leaves have a peppery flavor. This makes them practical in any kitchen garden. Both annual (Tropaeolum majus) and climbing varieties work as trap crops.

Plants to keep away from tomatoes

Several plants actively harm tomatoes or share pests that worsen your problems.

Fennel is the most important plant to keep completely away from your tomato bed. Fennel is allelopathic — it releases chemicals from its roots that stunt the growth of nearby plants. Tomatoes are particularly sensitive. Keep fennel at least 10 feet from any tomatoes. Plant it in a container or a separate corner of your yard.

Brassicas (cabbage, broccoli, kale, Brussels sprouts) compete aggressively for soil nutrients. They are also heavy nitrogen feeders, which conflicts with tomatoes at flowering time when too much nitrogen causes lush growth at the expense of fruit production.

Corn shares the corn earworm/tomato fruitworm — the same pest with two names depending on where it feeds. Planting corn near tomatoes concentrates this pest.

Potatoes and eggplant are in the same Solanaceae family as tomatoes. Planting them together concentrates shared diseases — particularly early blight, late blight, and Colorado potato beetle. Keep all Solanaceae crops in different parts of the garden and rotate them each year.

PlantEffect near tomatoesDistance to keep
BasilReduces thrips — beneficial12-24 in (interplant)
French marigoldsNematode suppression — beneficial6 in at bed border
BorageAttracts pollinators — beneficial18-24 in
NasturtiumsAphid trap crop — useful12 in at bed edge
FennelStunts growth — harmful10+ feet away
BrassicasNutrient competition — negativeDifferent bed
Potatoes/eggplantShared diseases — negativeDifferent zone, rotated
CornShared pests — negativeDifferent bed

Timing your companion plantings by zone

Companion plants need to go in at the same time or slightly before your tomatoes to do their job. Here is a planting timeline by USDA zone.

Zone 4-5 (last frost mid-May to late May):

  • Start basil indoors 4 weeks before last frost
  • Direct sow marigolds indoors 6 weeks before last frost or transplant after frost
  • Plant tomatoes and all companions outdoors after last frost when soil reaches 60°F

Zone 6-7 (last frost mid-April to early May):

  • Start basil indoors early April
  • Transplant marigolds and all companions with tomatoes in late April to early May
  • Direct sow nasturtiums and borage at transplant time

Zone 8-9 (last frost late February to late March):

  • Start tomatoes and companions outdoors from late February onward
  • Direct sow nasturtiums in February, marigolds in March
  • Basil goes in with or after tomatoes — it is frost-sensitive

For a complete guide to timing all vegetable plantings, see How to Start a Vegetable Garden and Planting Zones: A US Guide.

How to lay out a companion-planted tomato bed

A 4x8-foot raised bed can accommodate both tomatoes and companions with careful spacing.

Suggested layout for a 4x8-foot tomato bed with companions:

  • 2 tomato plants, each staked or caged, spaced 24 inches apart in the center row
  • 4 basil plants staggered between and around tomatoes at 18-inch spacing
  • French marigolds at 6-inch spacing along all four edges of the bed
  • 1 borage plant in a corner where it gets full sun

This layout maximizes the documented pest-suppression benefits while keeping enough airflow between plants to reduce fungal disease — a common problem in humid US summers.

Rotate this entire bed to a different location each year. Do not grow tomatoes or any nightshade in the same spot two seasons in a row. Crop rotation is the single most effective tool for preventing soil-borne disease buildup.

Building good soil underneath this bed through composting pays off in healthier, more productive tomatoes. How to Start Composting explains the basics of making your own compost for the vegetable garden.

tomato companion plants companion planting vegetable garden tomatoes garden planning
SM

Sarah Mitchell

Sarah Mitchell is a Master Gardener and garden writer based in the Pacific Northwest. She has been growing food and flowers for over 15 years across USDA zones 7 and 8.