Tomato Companion Plants – The Best and Worst Garden Partners

Few things beat a sun-warmed tomato picked from your own garden, but getting a heavy, healthy crop takes more than good soil and steady watering. The plants you tuck in around your tomatoes can quietly help or hurt the whole bed. Choosing the right tomato companion plants is one of the oldest tricks in the kitchen garden, and once you understand what each partner actually does, you can build a bed that practically takes care of itself.

This guide sorts the good companions by the job they do, walks through the plants you should keep well away from your tomatoes, and is honest about which benefits are backed by research and which are passed-down garden lore. Both have a place, but it helps to know which is which before you plan your beds.

What Companion Planting Actually Does for Tomatoes

Companion planting is simply the practice of growing certain plants near each other so that one or both come out ahead. It is an old technique, used for generations, and with tomatoes it tends to work in a handful of concrete ways rather than through any single magic pairing.

The benefits worth planning around fall into these groups:

  • Deterring or confusing pests. Strongly scented herbs and alliums release aromas that mask the smell of ripening tomatoes or simply make it harder for pests to find their target.
  • Attracting beneficial insects. Flowers and flowering herbs pull in pollinators along with predators like ladybugs, lacewings, hoverflies, and tiny parasitic wasps that hunt aphids and hornworms for you.
  • Covering bare ground. Low, spreading plants act as living mulch, shading the soil, holding moisture, and crowding out weeds.
  • Using space efficiently. Quick or low-growing crops fill the gaps beneath tall tomato plants, so a single bed produces more than tomatoes alone.
  • Improving soil. Legumes fix nitrogen for heavy-feeding tomatoes, and plants with different root depths break up and aerate the soil.

You will also see the claim that companions improve the flavor of tomatoes, basil being the classic example. That one is largely traditional rather than proven, and it is worth flagging up front: companion planting is a real, useful practice, but plenty of the specific pairings you read about are folklore that has never been tested. The strongest reasons to do it are pest pressure, beneficial insects, and smart use of space, all of which hold up well.

The Best Tomato Companion Plants, Grouped by Their Job

Rather than a long alphabetical list, it is more useful to think about what you want a companion to do. Most good tomato partners earn their place through one or two of the roles below.

Herbs That Repel Pests and Feed the Cook

Basil is the famous tomato partner, and it does pull its weight in the garden as well as the kitchen. Its strong aroma helps deter flies, aphids, and the moths whose larvae become tomato hornworms. The well-known idea that basil makes tomatoes taste better is anecdotal, so grow it for the pest benefit and the harvest, and treat any flavor boost as a bonus. Keep basil eight to twelve inches from the base of your tomatoes so it does not crowd the lower stems and choke off airflow.

Parsley, when allowed to flower, draws in hoverflies and other small predators that feed on aphids and thrips. It stays low, tolerates the partial shade cast by tall tomatoes, and holds soil moisture as a loose ground cover.

Chives and other small alliums carry an onion-like scent that aphids, spider mites, and many beetles dislike. When chives bloom, the flowers attract bees and beneficial wasps, so you get pest cover early and pollinator support later.

Borage is a quieter star. Its blue star-shaped flowers bloom for a long stretch, drawing in pollinators and tiny aphid-hunting wasps, and it is often said to lure hornworms away from tomatoes. It can grow large, so give it room at the end of a bed rather than crammed between plants.

A note on the mint family: oregano, sage, and thyme are all aromatic, attract beneficial insects when flowering, and grow happily near tomatoes as long as they are not shaded out. Rosemary is the exception worth avoiding, covered further down.

Flowers That Pull in Pollinators and Predators

Marigolds are the most researched flower on this list, and the evidence is genuinely good for one specific job. French marigolds release a compound called alpha-terthienyl from their roots that suppresses root-knot nematodes, the microscopic worms that attack tomato roots. The effect is strongest when marigolds are grown as a cover crop in the soil before tomatoes go in, not just dotted around alongside them. Marigolds also attract ladybugs and other predators. The popular claim that their scent repels hornworm moths is less settled, with studies pointing both ways, so lean on the nematode and predator benefits when you plant them.

Nasturtiums work as a trap crop. Aphids and other pests often go for the nasturtiums instead of your tomatoes, and the flowers draw hoverflies whose larvae eat aphids. They sprawl and climb enthusiastically, so plant them a little apart from the tomatoes so they do not smother them.

Calendula, sometimes called pot marigold though it is unrelated, blooms all summer with sticky, aromatic flowers that attract beneficial insects and can act as a trap crop for aphids. It tucks neatly into bed edges and aisles.

Sweet alyssum is one of the best plants for bringing natural pest predators into a bed. It grows into a low, fragrant carpet that suppresses weeds and holds soil moisture while feeding parasitic wasps and predatory beetles, and it will not compete with tomatoes for nutrients or water.

Other daisy-family flowers such as cosmos and zinnias do similar work, attracting bees, lacewings, and hoverflies. Plant the taller ones on the margins of the bed so they do not shade your tomatoes.

Alliums for Scent-Based Pest Cover

The onion family deserves its own mention because alliums are about as reliable as companions get. Onions, garlic, scallions, and leeks all carry a sulfurous odor that deters aphids, thrips, and beetles, and their slim, upright shape lets you slot them in wherever there is a gap. Garlic in particular is a strong all-round pest repellent and brings antibacterial and antifungal properties that may help protect tomatoes from soil-borne disease. Plant alliums six to eight inches out from the base of the tomato so the two are not fighting at the roots.

Low Crops That Fill Space Without Competing

Lettuce and other leafy greens are some of the most cooperative companions you can grow. They are shallow-rooted, light feeders, and thrive in the dappled shade beneath trellised tomatoes, especially as summer heat builds. While they grow, they shade the soil, keep it cool and moist, and crowd out weeds, then give you a salad harvest before the tomatoes take over.

Carrots are a classic pairing, the subject of a whole gardening book, because the two crops grow in different layers. Carrots work below ground while tomatoes climb above, so there is little competition for space, and the carrots help break up and aerate the soil around the tomato roots.

Bush beans and peas add nitrogen to the soil through their roots, feeding heavy-feeding tomatoes in the process, and they make good use of otherwise empty space. Keep bush beans about twelve to eighteen inches from the tomato base, and position any pea trellis to the north so it does not throw shade on your sun-loving tomatoes.

Plants to Keep Away From Your Tomatoes

Knowing what not to plant near tomatoes matters at least as much as knowing the good partners. A handful of plants compete too hard, share dangerous diseases, or release growth-inhibiting chemicals. Here is what to avoid and, importantly, why.

Brassicas are a recurring “do not plant” entry, a group that includes cabbage, cauliflower, broccoli, Brussels sprouts, kale, and kohlrabi. You will often read that tomatoes and brassicas “repel each other,” which is folklore. The real, practical problem is competition: both are heavy feeders, and in a shared bed the brassicas tend to win the nutrient race, leaving tomatoes stunted and slow to set fruit. They also prefer cooler conditions, so they simply belong to a different part of the season.

Corn is a poor neighbor for two solid reasons. It is a heavy feeder that competes for nutrients, and it grows tall enough to shade out tomatoes that need full sun. On top of that, the corn earworm and the tomato fruitworm are the same insect, so planting the two together hands that pest an easy path from one crop to the next.

Potatoes and eggplants are nightshades, like tomatoes, which means they share the same pests and diseases, most notably blight. Growing them side by side makes it easier for those problems to spread and hit everything at once. With potatoes there is a second issue: digging up the tubers disturbs and can damage nearby tomato roots. Peppers are also nightshades, and while many gardeners grow them near tomatoes without trouble, the shared-disease risk is the reason some prefer to give them their own space.

Fennel is one of the genuine loners of the vegetable garden. Its roots release compounds that inhibit the growth of many nearby plants, tomatoes included. This is a real allelopathic effect rather than folklore, and the simplest fix is to grow fennel in its own bed or container, well away from other crops.

Dill is a split case worth understanding. While young, dill can actually help by repelling aphids and luring hornworms away as a trap crop. Once it matures, though, it competes hard for nutrients and can stunt tomatoes, and its tall growth can crowd them. Grow it nearby only if you plan to harvest it young.

Rosemary is the herb exception. Unlike basil and the other aromatic herbs, rosemary wants lean, dry, almost Mediterranean conditions, which are very different from the rich soil and steady moisture tomatoes demand. One plant will always be growing in the wrong conditions, so they are better kept apart.

Walnut trees, especially black walnut, release a chemical called juglone into the soil that is toxic to tomatoes. If you have a walnut in the yard, do not plant tomatoes near it. Where space is tight, a raised bed offers some protection, but keep fallen leaves and walnut hulls out of it, since those carry juglone too.

You may also see strawberries on avoid lists, the concern being shared susceptibility to fungal diseases like verticillium wilt. The risk is real but manageable, so it sits in the “be cautious” category rather than the firm “never” group.

Putting It Together Without Causing Harm

The biggest mistake with companion planting is overcrowding. Tomatoes are vigorous, tall, hungry plants, and if you pack too much around them, the companions and the tomatoes end up competing for water, nutrients, and light, which is the opposite of what you set out to do. A bed can quietly tip from helpful diversity into stressful competition.

A few habits keep the balance on the right side:

  • Give each companion proper spacing from the tomato base rather than tucking everything tight against the stems.
  • Choose shallow-rooted, shade-tolerant plants for the ground beneath tomatoes, and save the taller flowers for the margins.
  • Water generously, because a planted-up bed draws more moisture than tomatoes alone.
  • Prune the lowest tomato leaves so air moves freely through the bottom of the bed and low companions are not pressed against wet foliage.
  • Time your plantings so fast crops like radishes and lettuce mature and clear out before the tomatoes fill in overhead.

Treat the pairings here as a sensible starting point, not strict rules. The pest control from alliums and flowers, the soil benefit from legumes, and the efficient use of space from low crops are all dependable. The flavor claims and the older “this plant repels that one” lore are fun to experiment with, but build your beds on the parts that hold up, and let the tomatoes do the rest.

Related Posts
Tags: companion planting, marigolds, pest control, tomatoes, vegetable garden