As an Amazon Associate I earn from qualifying purchases. This page may contain affiliate links.
Companion planting for tomato plants is one of the most practical ways to get a healthier crop without adding more chemicals to the garden. Tomatoes grow best when they have neighbors that discourage pests, attract beneficial insects, shade the soil, or simply make better use of space. The challenge is that many companion planting claims online are repeated without much evidence, and some pairings actually compete with tomatoes for water and nutrients. This guide sorts through the plants and tools that gardeners commonly rely on, ranks them by how well they fit the real needs of a tomato bed, and explains the criteria behind each choice. Because this is a plant guide rather than a product list, the “products” here are companion crops, flowers, and supporting supplies that work in home vegetable gardens.
Our Top Picks
Quick Comparison
| Product | Best for | Key feature |
|---|---|---|
| French Marigold (Tagetes patula) | Reducing root-knot nematodes | Strong aroma that deters many soil pests |
| Basil (Ocimum basilicum) | Flavor pairing and pest reduction | Attracts pollinators and may deter aphids |
| Borage (Borago officinalis) | Attracting pollinators | Long bloom period that draws bees to the bed |
| Nasturtium (Tropaeolum majus) | Trap cropping for aphids | Pulls aphids away from tomato foliage |
| Carrot (Daucus carota) | Using the space under tomatoes | Shallow-rooted crop that fits beside deep-rooted tomatoes |
| Chives (Allium schoenoprasum) | Deterring aphids and spider mites | Compact clumps with a sulfur-rich scent |
| Dill (Anethum graveolens) | Supporting beneficial wasps | Flowers that feed parasitic and predatory insects |
French Marigold (Tagetes patula)
This is the companion most often recommended for gardeners who have seen root-knot nematodes or other soil pests in their beds. It suits anyone with a tomato plot that has a history of stunted, yellowing plants. Marigolds are easy to start from seed or transplant, and they bloom through the season.
Key specs
- Plant height: typically 6 to 12 inches for French types
- Spacing: 8 to 12 inches apart along the bed edge
- Sun: full sun, six or more hours daily
- Bloom: summer into fall
Pros
- Strong scent that many gardeners report deters whiteflies and some beetles
- Widely available as transplants in spring
- Flowers attract hoverflies whose larvae eat aphids
Cons
- Nematode suppression depends on the specific species and needs a long planting period to show results
- Can crowd tomatoes if planted too close
Basil (Ocimum basilicum)
Basil is the classic partner for tomatoes in the kitchen and in the garden. It works well for beginners, container growers, and anyone who wants a useful harvest alongside their tomatoes.
Key specs
- Plant height: 12 to 24 inches depending on variety
- Spacing: 10 to 12 inches from tomato stems
- Sun: full sun with consistent moisture
- Harvest: pinch tops regularly to keep plants bushy
Pros
- Attracts pollinators during tomato flowering
- Gives a steady harvest for cooking
- Grows well in the same warm conditions tomatoes prefer
Cons
- Needs regular water, which can compete with tomatoes in dry beds
- Evidence on pest reduction is mostly anecdotal
Borage (Borago officinalis)
Borage suits gardeners who want a strong pollinator plant and do not mind a large, sprawling herb. It is a good fit for larger raised beds where it has room to spread without shading tomatoes.
Key specs
- Plant height: 18 to 36 inches
- Spacing: 18 to 24 inches from tomatoes
- Sun: full sun to light shade
- Flowers: blue star-shaped blooms over a long season
Pros
- Very attractive to bees
- Self-seeds readily once established
- Edible flowers for salads
Cons
- Large size can shade smaller tomato varieties
- Self-seeding can become unwanted in tight spaces
Nasturtium (Tropaeolum majus)
Nasturtium is often used as a trap crop. Aphids tend to prefer it over tomatoes, so gardeners plant it nearby to draw pests away. It works well for gardeners who check their plants weekly and can remove infested growth.
Key specs
- Plant height: trailing or mounding, 12 to 18 inches
- Spacing: 12 inches from tomato stems
- Sun: full sun to partial shade
- Bloom: orange, red, and yellow flowers
Pros
- Concentrates aphids away from tomato foliage
- Edible leaves and flowers with a peppery taste
- Low maintenance once established
Cons
- Trap effect only works if infested nasturtium is monitored and removed
- Vining habit can sprawl into walkways
Carrot (Daucus carota)
Carrots are a practical choice for gardeners who want to use space efficiently. Their shallow roots draw from a different soil layer than the deep roots of tomatoes, so they can share a bed without heavy competition.
Key specs
- Root depth: most roots in the top 8 to 12 inches
- Spacing: 3 to 4 inches apart in rows at the bed edge
- Sun: full sun
- Days to harvest: about 60 to 75 days for most varieties
Pros
- Makes good use of space beneath tomato canopies
- Gives a second crop from the same bed
- Loosens soil for the tomato root zone as roots grow
Cons
- Needs even moisture, which must be balanced with tomato watering
- Tall tomato canopies can shade carrots in summer
Chives (Allium schoenoprasum)
Chives suit gardeners who want a low, tidy plant that takes little room. They work well along the edge of a raised bed or in a container next to a tomato.
Key specs
- Plant height: 8 to 12 inches
- Spacing: 6 to 8 inches apart
- Sun: full sun to light shade
- Perennial in most climates
Pros
- Compact and easy to harvest
- Perennial habit means it returns year after year
- Purple flowers attract pollinators
Cons
- Does not deter pests as strongly as marigolds in most reports
- Can be slow to establish from seed
Dill (Anethum graveolens)
Dill is valued for the insects it attracts rather than for direct pest control. It fits gardeners who already have a diverse planting plan and want to support beneficial wasps and hoverflies.
Key specs
- Plant height: 24 to 36 inches
- Spacing: 12 to 18 inches from tomatoes
- Sun: full sun
- Flowers: yellow umbels that feed beneficial insects
Pros
- Attracts parasitic wasps that prey on tomato hornworms
- Edible leaves and seeds
- Grows quickly from direct-sown seed
Cons
- Tall habit can shade shorter tomato varieties
- Bolts quickly in hot weather, shortening the harvest window
Buying Guide
Choosing companion plants for tomatoes is less about finding a single “best” option and more about matching plants to your garden’s problems and layout. Keep these criteria in mind as you plan.
Selection Criteria
- Pest pressure: Identify what is actually attacking your tomatoes. Aphids, nematodes, and hornworms each call for different companions.
- Space and light: Tall companions should sit on the north or east side of tomatoes so they do not shade them.
- Water needs: Choose plants with similar moisture requirements, or group thirstier plants at the bed edge.
- Harvest goals: Some companions double as food, which is useful in small gardens.
Important Features
Look for companions that bloom during tomato flowering, since flowers draw pollinators and beneficial insects. Shallow-rooted plants like carrots or chives suit the upper soil layers, while tomatoes root more deeply. Aromatic herbs and flowers can help mask the scent of tomatoes from some pests, though the evidence varies by pest and setting.
Specs to Check
- Mature plant height and spread
- Days to maturity or bloom
- Sun and water requirements
- Whether the plant is an annual, biennial, or perennial
- Whether it self-seeds aggressively
Choosing by Need
- Nematode or soil pest problems: French marigold
- Aphid problems: Nasturtium as a trap crop, with chives nearby
- Pollinator support: Borage or dill
- Small or container gardens: Basil, chives, or carrots at the bed edge
Things to Watch Out For
Do not plant members of the cabbage family, potatoes, or fennel too close to tomatoes. Fennel in particular is widely reported to inhibit tomato growth. Crowding is another common mistake: a tomato that needs 24 to 36 inches of spread will struggle if a companion plant takes up its root zone. For general bed preparation, see Preparing Garden Soil for Planting: A Practical Guide before you add companions.
FAQ
Does companion planting really work for tomatoes?
Some pairings have reasonable support, such as marigolds against certain nematodes and flowers that attract beneficial insects. Others, like basil repelling hornworms, are more anecdotal. Companion planting works best as one part of a broader plan that includes healthy soil, adequate spacing, and regular monitoring.
What should I never plant next to tomatoes?
Fennel is the plant most often warned against, and many gardeners avoid planting potatoes, corn, and brassicas close to tomatoes because they share pests or compete for nutrients. Keep these at a distance and give tomatoes room to grow.
How far away should companion plants be?
Most companions should sit 8 to 18 inches from the tomato stem, depending on their mature size. Tall plants like dill should be placed on the north side of the bed so they do not shade tomatoes. Always check the mature spread listed on the seed packet.
When should I plant marigolds with tomatoes?
Plant marigolds at the same time as your tomato transplants, after the last frost date for your area. Starting them a few weeks earlier indoors gives them a head start so they can contribute by midsummer.
Can I use companion planting in containers?
Yes. Basil and chives are the easiest choices for containers. Use a container at least 5 gallons for a determinate tomato, and keep the companion in its own pot or at the rim so roots do not compete heavily. For container-specific guidance, see Container Plant Care: Watering, Feeding and Potting Mix.
Does companion planting replace crop rotation?
No. Companion planting and crop rotation solve different problems. Rotation reduces soil-borne diseases by moving tomatoes to a new bed every few years, while companions influence pests and pollinators in the current season. You need both for a healthy garden.
How do I know if companion planting is working?
Track pest counts, plant vigor, and fruit set in a simple notebook over one or two seasons. Compare a bed with companions to one without. If you see fewer aphids or healthier foliage, the pairing is helping. For broader disease guidance, see Preventing Plant Diseases in the Home Garden.
Conclusion
For most home gardeners, companion planting for tomato plants starts with marigolds for soil pests, basil for flavor and pollinators, and nasturtium as an aphid trap. Carrots and chives make efficient use of space at the bed edge, while borage and dill suit larger beds that can support their height and spread. Match each companion to a specific problem or goal, space plants according to their mature size, and avoid fennel and crowding. If you are new to vegetable gardening, the broader Vegetable Gardening Basics: Planting to Harvest guide will help you plan the full season alongside your companions.