Pests, beneficial insects and companions

What should I plant with tomatoes (and what not)?

Quick answer

Good companions for tomatoes are basil, onions, garlic, chives, parsley, calendula and French marigolds, planted 8 to 12 inches from the stem. Keep potatoes, fennel and corn out of the tomato bed, and never plant tomatoes near a black walnut. Some pairings have real evidence behind them; others are garden tradition worth knowing as such.

On this page
  1. The quick list
  2. What not to plant near tomatoes
  3. Why companions help: the real mechanisms
  4. A sample tomato bed layout
  5. Companions don't replace good soil
  6. People also ask

The quick list

Plant with tomatoesWhyHow strong is the evidence?
French marigoldsGrown among greenhouse tomatoes all season, they slowed whitefliesGood: controlled greenhouse trials
BasilPart of mixed plantings with marigolds that cut whiteflies; feeds beneficial insects when it flowersModerate; "better flavor" is folklore
Onions, chivesIn Chinese experiments, tomatoes beside potato onions got less Verticillium wilt; onions also form root fungi quicklyPromising lab and pot work
ParsleyIts flowers feed hoverflies and small wasps that eat pestsGood for beneficial insects in general
CalendulaDraws beneficial insects along bed edgesGeneral insectary value
GarlicTraditional against late blightNo good proof it works
Asparagus, mint (in a pot)Traditional pairingsFolklore; mint must be contained

Plant companions about 8 to 12 inches (20 to 30 cm) from the tomato stem, so they don't crowd the root collar or block airflow around the lower leaves.

What not to plant near tomatoes

  • Potatoes. Same family, same late blight. Late blight spreads fast between the two, and a potato patch next door can seed your tomatoes. Keep them in separate beds, ideally well apart.
  • Black walnut. Its roots, leaves and hulls release juglone, which stunts and kills tomatoes. A mature tree can affect plants 50 to 80 feet (15 to 24 m) from the trunk, most strongly under its canopy.
  • Corn. The corn earworm and the tomato fruitworm are the same insect. Growing them side by side gives it two favorite foods in one spot.
  • Fennel. A traditional loner with a reputation for holding back nearby plants. Grow it in its own corner.
  • Mature dill. Young dill is fine, but full-grown dill is often kept away from tomatoes by tradition. Let it flower nearby rather than right at the stem.

Rotation matters too. Tomatoes, potatoes, peppers and eggplant share soil diseases such as Verticillium wilt. Don't plant raspberries or strawberries where any of them grew in the past few years, since they're also hit by Verticillium. For a simple plan, see crop rotation for home gardens.

Free: Chapter 1 + the Leaf First-Aid Chart

Diagnose yellow, purple, spotted or curling leaves in 60 seconds, and read the chapter that explains who really feeds your plants.

By requesting the kit you agree to receive emails from Grow Like a God. No spam; unsubscribe in one click. Privacy policy.

Why companions help: the real mechanisms

Companion planting works through a handful of mechanisms you can count on, plus a lot of folklore. For tomatoes, these are the ones that matter:

Scent masking. French marigolds give off limonene, a strong citrus-scented compound. In UK greenhouse research, that scent helped keep whiteflies off nearby tomatoes. This only worked with marigolds growing among the tomatoes, not with a few at the far end of the greenhouse. If whiteflies are your problem, read how to get rid of whiteflies.

Feeding predators. Basil, parsley, calendula and dill flowers feed the hoverflies, lacewings and tiny wasps that eat aphids and parasitize hornworms. More on that in attracting beneficial insects.

Root partnerships. Tomatoes partner with mycorrhizal fungi. Onions form these fungal links quickly, and many growers find that thyme, basil and onions around tomatoes help roots and fruiting. Fungal networks between plants are real and measured, though how much they move nutrients between neighbors is still being worked out.

Switching on defenses. In the potato onion experiments, growing the two together turned on the tomato's own disease-defense genes, which is why the tomatoes got less wilt.

A sample tomato bed layout

For a 4 by 8 foot (1.2 by 2.4 m) bed with four to six tomato plants:

  1. Plant tomatoes down the center, about 2 feet (60 cm) apart. Bury the stem up to the first true leaves; the buried stem grows extra roots.
  2. Tuck one or two basil plants between each pair of tomatoes.
  3. Run a line of onions, chives or garlic along one long edge.
  4. Plant French marigolds and calendula along the other edge and at the corners.
  5. Add a few parsley plants at the ends and let one flower in its second season.
  6. Mulch the whole bed with 2 to 3 inches (5 to 7 cm) of straw or compost to stop soil splashing onto the leaves.

Leave space for air. Tomatoes packed in with tall companions stay wet longer after rain, which favors leaf diseases. Companions should be low and in front, not a jungle around the stem.

In containers, the same idea works on a smaller scale. A pot of 5 gallons (about 20 liters) or more holds one tomato plus a basil plant or a compact French marigold at the rim. Keep the companion small so it doesn't compete for water, which runs short fast in pots during hot weather.

Companions don't replace good soil

No companion will save a tomato in compacted, bare, worn-out soil. The foundation is a deep planting hole with compost, steady moisture at the root, mulch to stop splash, and leaves kept dry. Companions add a layer of help on top of that.

The planting hole is where most of the season is decided. A good mix is about half native soil, 40% mature compost and 10% sand, with a cup of clean wood ash for potassium and a tablespoon of bone meal for root growth. If your compost isn't rich in fungi, add a mycorrhizal inoculant at the roots. Then mulch, and water at the base rather than over the leaves. For disease prevention basics, see preventing tomato diseases naturally.

A November note: this is a good month to sketch next year's beds. Mark where this year's tomatoes and potatoes grew, and put next year's tomatoes somewhere else. If you're laying fall mulch or planting garlic now, you can tuck a row of garlic along the edge of what will be next year's tomato bed.

Grow Like a God, Max Sidorov
Go deeper

Grow Like a God

In the book: Mega-Table of Good Companions and the mycorrhiza chapter

The book's companion tables cover every major crop with spacing and the evidence behind each pairing, plus how onions and other donors spread root fungi to their neighbors.

  • 5 laws of living soil, explained in plain words
  • 15 printable guides, including the Leaf First-Aid Chart
  • No chemicals, no digging, no pest sprays
  • 90-day Living Soil Double Guarantee
See what's inside the book

People also ask

Can I plant tomatoes and peppers together?

Yes. They grow well side by side and like the same sun, soil and watering. Because they're in the same family, they share some diseases, so rotate the whole bed together and don't follow either crop with potatoes or eggplant in the same spot next year.

Do marigolds really help tomatoes?

French marigolds grown among greenhouse tomatoes slowed whiteflies in research trials, thanks to a scent compound they release. For root-knot nematodes, a marigold border isn't enough; marigolds must be grown as a dense cover crop for two months or more before planting to make a difference.

Can I plant cucumbers near tomatoes?

Usually yes, if both have room and airflow. They don't share most major diseases. Give cucumbers a trellis so vines don't smother the base of the tomatoes, and keep both mulched to limit soil splash onto the leaves.

Does basil make tomatoes taste better?

That's a popular garden belief, but it hasn't been tested. Basil is still a good neighbor: it fits under tomatoes, its flowers feed beneficial insects, and in greenhouse trials mixed plantings that included basil helped cut whiteflies.

Keep reading

Does companion planting actually work?Companion planting works for some pairings and not others. Trials back onions or garlic against carrot rust fly, French marigolds against greenhouse whiteflies, garlic between strawberries against spider mites, and legumes for nitrogen. Many claims, like better flavor or garlic stopping blight, are untested. It helps most through confusing pests, feeding predators and building soil life.How do I prevent tomato diseases naturally?Prevent tomato diseases by stacking simple habits: grow resistant varieties, move tomatoes to a new bed each year, plant deep into compost-rich soil, mulch to stop soil splashing onto leaves, water at the base in the morning, and give plants space and support. Strong, unstressed plants in living soil resist far more disease than sprayed ones.How do I get rid of whiteflies?Get rid of whiteflies by hitting the undersides of the leaves, where they live and breed. Hose or vacuum off adults, hang yellow sticky cards, and spray insecticidal soap or horticultural oil every 5 to 7 days for three weeks. Then stop the cycle: check new transplants, ease off nitrogen, and keep the predators that eat them.Do I need crop rotation in a small garden?In a small garden, crop rotation helps but does less than the rule books suggest, because moving a crop a few feet won't escape long-lived soil diseases or airborne ones like late blight. It's still worth rotating plant families, especially tomatoes and potatoes, cabbage-family crops and onions. Living soil, compost and diversity do the rest.How do I grow sweeter, more flavorful tomatoes?Grow sweeter tomatoes by starting with a flavorful variety, giving plants at least 8 hours of direct sun, and building soil rich in compost, potassium and calcium. Go easy on nitrogen, water deeply but a little less once fruit starts to ripen, and let tomatoes ripen fully on the vine. Never refrigerate them after picking.How do I attract ladybugs and other beneficial insects?Attract ladybugs and other beneficial insects by giving them food, shelter and a safe place. Plant small, open flowers such as dill, cilantro, sweet alyssum, yarrow and buckwheat so something blooms from spring to fall. Leave some leaf litter and hollow stems over winter, tolerate a few aphids, and stop using broad-spectrum insecticides.

Max Sidorov is the author of Grow Like a God, a 343-page guide to the soil food web built on more than 550 named studies and sources.

Grow Like a God
The complete living-soil system
Get the book