📅 Published:

Tomatoes are the centerpiece of most organic gardens — and choosing the right companion plants can mean the difference between a pest-ridden, disease-prone crop and a thriving, productive harvest. Companion planting with tomatoes is one of the most powerful, chemical-free tools in organic gardening.

In this guide, you’ll discover the 17 best companion plants for tomatoes, the science behind why they work, and the 5 plants that can actively harm your tomato crop.


What Is Companion Planting?

Companion planting is the practice of growing different plants in proximity for mutual benefit. When done correctly with tomatoes, companion plants can:

  • Repel or confuse pests (aphids, tomato hornworms, whiteflies, spider mites)
  • Attract beneficial insects (ladybugs, parasitic wasps, lacewings)
  • Improve pollination by drawing bees and other pollinators
  • Suppress weeds through dense ground cover
  • Improve soil through nitrogen fixation or deep root aeration
  • Enhance flavor through chemical signaling between plants (evidence is anecdotal but widely reported by gardeners)

Important note: Companion planting is not magic, and results vary by garden, climate, and pest pressure. The plants below have credible mechanisms of action — not just gardening folklore.


The 17 Best Companion Plants for Tomatoes

1. Basil 🌿

The classic companion — and it works. Basil planted near tomatoes may repel thrips and aphids through its volatile essential oils. More practically, basil and tomatoes share identical growing requirements: full sun, warm temperatures, consistent moisture, rich soil.

How to plant: Set basil 12–18 inches from tomato stems. Plant generously — 3–4 basil plants per tomato plant. Allow some to flower to attract pollinators.

Bonus: Fresh basil is already the perfect culinary companion for tomatoes — harvest both together.

Varieties for companion planting: Genovese, Spicy Globe (compact), or Thai basil (more pest-repellent aroma)

📖 Read Also: How to Grow Tomatoes Organically — Complete Guide

2. Parsley

Parsley in flower is a magnet for parasitic wasps — small beneficial insects that parasitize tomato hornworm eggs and caterpillars. Plant parsley and let some bolt to flower to attract these allies.

How to plant: 1–2 parsley plants per 4 tomato plants, near the edge of the bed where it can flower freely without competition.

3. Marigolds (French, Tagetes patula) 🌼

The most evidence-backed companion plant. French marigolds (not African marigolds) produce a root exudate that kills nematodes — microscopic soil pests that can devastate tomato roots. Studies have confirmed this effect, making marigolds one of the few companion plants with real scientific backing.

Additionally, marigold flowers attract aphid predators (ladybugs, hoverflies) and the strong scent confuses whiteflies.

How to plant: Border your tomato beds with French marigolds planted 12–18 inches apart. For nematode suppression, interplant throughout the bed.

Key: Must be Tagetes patula (French marigold) — African marigolds (T. erecta) do not have the same root exudate effect.

Affiliate picks: French Marigold Seeds — Tagetes patula

4. Nasturtiums 🌺

Nasturtiums serve as “trap crops” — aphids love them even more than tomatoes. Plant nasturtiums nearby and aphids colonize them instead of your tomatoes. You can then remove aphid-covered nasturtium plants or simply let them attract aphid predators to the area.

How to plant: Place nasturtiums at the edge of the tomato bed, not interplanted (you want aphids to stay on the nasturtiums, not move to the tomatoes).

Bonus: Nasturtium leaves and flowers are edible and have a peppery flavor excellent in salads.

5. Borage

Borage is reportedly one of the best tomato companions for pest management. Its hairy leaves deter tomato hornworm (the larval stage of the five-spotted hawk moth). Borage also attracts bumblebees, which dramatically improve tomato pollination through buzz pollination.

How to plant: Plant 2–3 borage plants per tomato bed. It self-seeds prolifically, so plant once and it will return for years.

Important: Borage gets large (2–3 feet). Plant at the north end of the bed to avoid shading tomatoes.

6. Garlic

Garlic planted near tomatoes may repel spider mites and aphids through sulfur compounds. Some studies show garlic extract disrupts aphid feeding behavior. It also takes up almost no horizontal space, making it easy to interplant.

How to plant: Plant garlic cloves 4–6 inches from tomato stems, 6 inches deep, in fall for next summer’s harvest — the timing aligns perfectly with tomato growing season.

📖 Read Also: How to Plant Garlic in Fall: Step-by-Step Guide

7. Carrots

Carrots aerate the soil around tomato roots as they grow, improving water and nutrient penetration. Their ferny tops don’t compete with tomatoes for light, and they occupy a different root zone (carrots grow down, tomato feeder roots are at 6–12 inches).

How to plant: Sow carrot seeds 6–8 inches from tomato stems. Thin to 2 inches apart. Harvest before they compete for space.

8. Celery

Celery produces aromatic compounds that may repel cabbage moth — less of a tomato pest, but useful in mixed beds. More importantly, celery and tomatoes share similar water and fertility needs, making irrigation management simple.

9. Asparagus

A surprising pairing: tomatoes and asparagus are symbiotic long-term companions. Tomatoes repel asparagus beetles through solanine. Asparagus releases a chemical that kills nematodes harmful to tomatoes. Plant them together as a permanent bed.

Note: Asparagus takes 3 years to produce; plan accordingly.

10. Spinach and Lettuce

Low-growing greens planted under tomatoes take advantage of the shade tomatoes cast in midsummer — when lettuce would otherwise bolt in direct sun. This maximizes space utilization significantly.

How to plant: Sow spinach or lettuce seeds in the gaps between tomato plants in early spring. As tomatoes grow and shade develops, the greens actually thrive.

11. Peppers

Peppers and tomatoes are botanical cousins (both Solanaceae), share identical pest pressure, and benefit from the same growing conditions. While some sources say not to plant them together (shared disease risk), in practice they make excellent companions when grown in disease-free soil with good airflow.

Practical benefit: One irrigation zone, one fertilization schedule, one harvest timing window.

12. Chives

Chives’ sulfur compounds may deter aphids and spider mites. They’re compact, perennial, and can be planted once and left in place for years as a permanent companion at the base of tomato stakes.

Bonus: Chive flowers attract pollinators when allowed to bloom.

13. Bee Balm (Monarda)

Bee balm is one of the best pollinator-attracting plants for tomato beds. It draws bumblebees and native bees that dramatically improve tomato fruit set through buzz pollination (tomatoes release pollen more effectively when vibrated by bumblebees than by honeybees).

How to plant: Plant bee balm at the perimeter of the tomato bed. It spreads, so give it room or divide annually.

14. Oregano

Like basil, oregano’s aromatic oils may deter pest insects. It’s drought-tolerant, low-growing, and provides excellent ground cover between tomato plants, suppressing weeds and retaining moisture.

15. Petunias

Petunias reportedly deter asparagus beetles and leafhoppers through scent, and their sticky hairs trap aphids and other small pests. Plant petunia varieties with strong scent (not the bred-for-size varieties that have lost fragrance).

Affiliate picks: Heirloom petunia seeds — fragrant varieties

16. Amaranth

Amaranth creates a protective canopy around tomatoes that hosts predatory ground beetles feeding on soil pests. As a fast-growing warm-season plant, it fills gaps between tomatoes without competing for light (it grows above the tomato canopy level).

17. Sweet Alyssum

Sweet alyssum’s tiny flowers are among the most effective beneficial insect attractors in the garden. Alyssum in flower supports parasitic wasps that target aphids and hornworm eggs. Plant it at the base of tomato plants as a living mulch.

How to plant: Broadcast alyssum seeds around tomato transplants at planting time. It self-seeds and returns annually.


5 Plants to AVOID Near Tomatoes

1. Fennel ❌

Fennel is allelopathic to nearly every garden vegetable, including tomatoes. It releases chemicals from its roots that inhibit tomato growth. Keep fennel at least 10 feet from tomatoes — or in its own isolated bed.

2. Brassicas (Broccoli, Cabbage, Kale) ❌

Brassicas and tomatoes compete directly for the same nutrients, particularly calcium. Growing them together often leads to blossom end rot in tomatoes (calcium deficiency) and stunted brassica growth. Grow them in separate beds.

3. Corn ❌

Corn and tomatoes share the same pest: the corn earworm (Helicoverpa zea), which also attacks tomatoes as the tomato fruitworm. Growing them together concentrates this pest dramatically.

4. Dill (Mature) ❌

Young dill is fine near tomatoes. But mature, flowering dill attracts the tomato hornworm moth (Manduca quinquemaculata) — the adult form of the hornworm caterpillar. Keep mature dill well away from tomatoes.

Exception: Dill seedlings and young plants (before flowering) are good tomato companions. Just remove them before they flower.

5. Potatoes ❌

Tomatoes and potatoes are in the same family and share all the same diseases: late blight (Phytophthora infestans), early blight (Alternaria solani), and Verticillium wilt. Growing them together is a direct pathway for disease to spread from one crop to the other.

📖 Read Also: Raised Bed Gardening — The Complete Guide — Raised beds let you separate tomatoes and potatoes easily while maintaining organized growing areas.


How to Design a Tomato Companion Planting Bed

The most effective approach combines multiple companion functions in a single bed:

The 3-Layer System

Layer 1 — Ground Level (0–6 inches): Sweet alyssum, low oregano, marigolds → weed suppression + beneficial insect habitat

Layer 2 — Mid Level (1–3 feet): Basil, chives, parsley, peppers → pest confusion + pollinator attraction

Layer 3 — Tomato Level (4–6+ feet): Tomatoes as the centerpiece

Border Planting Strategy

Surround your tomato bed with:

  • North border: Borage (tall, won’t shade tomatoes)
  • South border: French marigolds (full sun, nematode suppression)
  • East/West borders: Nasturtiums (trap crop for aphids)
  • Base of each plant: Sweet alyssum + chives

Sample 4×8 Raised Bed Layout

`

[Borage] [Borage]

[Tomato] [Basil] [Tomato] [Basil] [Tomato]

[Chives] [Spinach] [Chives] [Lettuce] [Chives]

[Marigold][Marigold][Marigold][Marigold][Marigold]

`


Companion Planting Calendar for Tomatoes

When What to Plant Purpose
2 weeks before tomatoes French marigolds Nematode suppression starts early
Same day as tomatoes Basil, sweet alyssum Immediate pest deterrence
1 week after tomatoes Nasturtiums at borders Trap crop establishment
When tomatoes are 1 foot tall Parsley, chives at base Ground-level companions
Midsummer Scatter carrot seeds in gaps Soil aeration + space efficiency

Frequently Asked Questions

Q: Does basil actually improve tomato flavor?

A: Gardeners widely report this, but controlled studies have not confirmed it definitively. The companion planting benefits (pest deterrence, pollinator attraction) are more reliably documented. Grow basil near tomatoes regardless — you’ll use both in the kitchen.

Q: How many marigolds do I need for nematode control?

A: For nematode suppression, interplant French marigolds throughout the bed at 12-inch spacing — not just as a border. The root exudate needs to penetrate the soil where tomato roots are growing.

Q: Can I grow tomatoes in the same spot every year with companion plants?

A: No. Companion planting does not replace crop rotation. Tomatoes should be rotated to a different bed every 2–3 years to prevent soilborne disease buildup, regardless of companion plants.

Q: Do companion plants work in containers?

A: Yes — with modifications. A large container (15+ gallons) can support one tomato + 2–3 basil plants. Window boxes alongside container tomatoes can hold sweet alyssum and chives effectively.

Q: What’s the single most impactful companion plant for tomatoes?

A: French marigolds (Tagetes patula), based on scientific evidence. Their nematode-suppressing root exudates have the strongest research support of any tomato companion plant.


Quick Reference: Tomato Companion Planting Chart

Plant Benefit Distance Notes
Basil Pest deterrence, flavour 12–18″ Plant generously; allow some to flower
French Marigold Nematode suppression, aphid predators Throughout bed *Tagetes patula* only
Nasturtium Trap crop for aphids Border Keep at edges, not interplanted
Borage Hornworm deterrence, pollinators 24″+ Gets large; plant at north end
Parsley Parasitic wasp habitat 18–24″ Let some flower
Garlic Spider mite, aphid deterrence 4–6″ Interplant freely
Chives Aphid deterrence Base of plant Perennial; plant once
Sweet Alyssum Beneficial insect habitat Base of plant Self-seeds; broadcast freely
Carrots Soil aeration 6–8″ Different root zone
Lettuce/Spinach Space efficiency Under canopy Benefits from tomato shade
❌ Fennel **HARMFUL** 10+ feet away Allelopathic
❌ Corn **HARMFUL** Separate bed Shares fruitworm pest
❌ Brassicas **AVOID** Separate bed Calcium competition
❌ Potatoes **AVOID** Separate bed Shared disease risk

Final Thoughts

The best tomato companion planting strategy is a layered one: ground-cover companions suppress weeds and host ground predators, mid-height companions confuse and deter pest insects, and border plantings trap pests and attract beneficial insects. French marigolds and sweet alyssum are your foundation. Basil and borage fill the functional middle. Nasturtiums guard the perimeter.

Start with these, observe your garden, and add or subtract companions based on what you see. The garden will teach you.


Last updated: October 2026 | thenaturalgardner.com

This article contains affiliate links. As an Amazon Associate, we earn from qualifying purchases at no extra cost to you.

2 thoughts on “Companion Plants for Tomatoes: 17 Best (and 5 to Avoid)”

Comments are closed.

Explore More

What to Plant in December: A Complete Guide by Zone (2026)

Discover exactly what to plant in December by USDA Hardiness Zone β€” from cool-season crops in warm climates to indoor seed starting and garden prep for cold zones.

Climate Gardening for Changing Weather

Climate gardening helps home gardeners choose plants, save water, build soil, and keep vegetables growing through heat, storms, and dry spells with ease.

A Guide to Backyard Rain Gardens That Work

Use this guide to backyard rain gardens to capture runoff, protect your soil, and create a low-maintenance habitat with native plants at home with ease.