Companion plants help tomatoes grow stronger and keep pests away

Planting the right neighbors next to your tomatoes can reduce disease, attract beneficial insects, and improve soil health without extra work. Some plants repel the pests that damage tomatoes; others draw predatory insects that eat those pests for you. A few improve the soil or provide shade during the hottest part of summer. The plants that work best are herbs, leafy greens, and certain flowers — all of which fit into a vegetable garden without taking up much space.

The plants to avoid are equally important. Brassicas (cabbage, broccoli, kale) and fennel compete with tomatoes for nutrients and can stunt both. Potatoes and peppers share the same diseases, so planting them nearby spreads problems faster. Knowing which neighbors help and which hurt is the difference between a garden that thrives and one where you spend the season fighting problems.

Key Takeaways

  • Basil, parsley, and marigolds are the most reliable companions — basil repels whiteflies and spider mites, while marigolds deter nematodes in the soil.
  • Carrots, lettuce, and spinach grow well in the shade of tomato plants and do not compete for the same nutrients.
  • Borage and nasturtiums attract pollinators and predatory insects that eat aphids and other tomato pests.
  • Keep potatoes, peppers, brassicas, and fennel away from tomatoes because they either share diseases or compete for resources.
  • Plant companions 12 to 18 inches from the tomato stem to give the tomato room to grow without crowding.

Herbs that repel tomato pests

Basil is the most useful herb to plant near tomatoes. It repels whiteflies, spider mites, and some aphids — three of the most common tomato pests. Plant it 12 inches away from the tomato stem. Basil also improves the flavor of tomatoes when grown nearby, though this is a bonus rather than the main reason to plant it. Water basil when the top inch of soil feels dry, the same schedule as tomatoes.

Parsley attracts hoverflies, which lay eggs that hatch into larvae that eat aphids. Plant parsley in clusters of two or three around your tomato bed. It tolerates partial shade, so it can grow on the north side of a tall tomato plant without struggling for light. Parsley takes 3 to 4 weeks to germinate, so start it indoors or buy transplants if you want it established before tomatoes are large.

Oregano and thyme are less dramatic than basil but still useful. Both repel some flying insects and improve soil structure as they break down. They are drought-tolerant once established, so they do not need the frequent watering tomatoes do. Plant them 18 inches away to avoid competing for water during dry spells.

Flowers that attract beneficial insects

Marigolds are the most popular companion flower for tomatoes. They repel root-knot nematodes, microscopic pests that live in soil and damage roots. Plant marigolds directly in the soil around tomatoes, not in containers. The nematode-repelling compounds come from the roots breaking down in the soil, so the flowers themselves are less important than the plant's presence in the ground. Marigolds also attract pollinators and look good, but the nematode control is the real work they do.

Borage produces blue flowers and attracts bees and hoverflies. Hoverflies are predators of aphids and whiteflies. Borage grows tall and sprawling, so plant it on the south or west side of tomatoes where it will not shade them. It self-seeds readily, so one planting often returns the next year. The flowers are edible and taste like cucumber, though that is separate from its value as a companion.

Nasturtiums attract aphids away from tomatoes — the aphids prefer nasturtiums, so they congregate there instead. This is called a trap crop. Nasturtiums also attract hoverflies and parasitic wasps, which eat aphids and other small pests. Plant nasturtiums 2 to 3 feet away from tomatoes so they draw pests away rather than creating a pest hub next to your plants. They tolerate poor soil and do not need fertilizer.

Vegetables that grow well in tomato shade

Lettuce and spinach grow in the partial shade created by tomato plants, especially as tomatoes get taller and leafier. Both are cool-season crops, so they benefit from the afternoon shade that prevents them from bolting (going to seed) early in summer. Plant them on the east or north side of tomatoes. Harvest them before tomatoes reach full size and shade becomes too dense. These greens do not compete with tomatoes for nitrogen because they need less of it.

Carrots grow deep roots that reach soil tomatoes do not use, so they do not compete for water or nutrients in the upper soil layers. Plant carrots 12 inches from the tomato stem. They take 60 to 80 days to mature, so start them early or choose a fast variety. Carrots also loosen soil as they grow, which benefits tomato roots.

Radishes mature in 25 to 30 days and can be harvested before tomatoes need the space. They break up compacted soil and do not compete with tomatoes. Plant them in early spring or late summer when you are planting tomatoes or planning a fall crop.

Plants to keep away from tomatoes

Potatoes and peppers share the same diseases as tomatoes, especially early blight and late blight. Planting them within 3 feet of each other spreads disease spores through the air and soil. If one plant gets sick, the others follow quickly. Keep these crops in separate beds or at opposite ends of the garden.

Brassicas (cabbage, broccoli, kale, cauliflower) compete with tomatoes for nitrogen and other nutrients. Both are heavy feeders, so planting them together exhausts the soil faster and stunts both crops. Separate them by at least 4 feet or plant them in different seasons.

Fennel releases compounds into the soil that inhibit the growth of many plants, including tomatoes. It also attracts some of the same pests. Keep fennel out of the vegetable garden entirely or plant it in a container far away.

How to space companions around tomatoes

The distance between tomatoes and companions depends on the size of both plants at maturity. Herbs like basil and parsley can go 12 inches away. Larger flowers like borage need 18 to 24 inches. Vegetables like lettuce and carrots need 12 to 18 inches depending on their final size. The rule is straightforward: give the tomato enough room that its leaves do not touch the companion plant's leaves when both are full-grown.

Crowding creates humidity that encourages fungal disease and blocks air circulation. It also forces roots to compete for water and nutrients. If you are not sure whether two plants are too close, err on the side of more space. A companion 2 feet away still does its job; a companion touching the tomato stem does not.

Plant companions at the same time as tomatoes or within a week or two. Companions planted much later have to compete with an established tomato plant for water and nutrients, which defeats the purpose. If you are planting in spring, get everything in the ground within the same planting window.

Frequently Asked Questions

Can I plant basil and parsley together near the same tomato?

Yes. Plant basil 12 inches from the tomato stem and parsley 12 inches on a different side. They do not compete with each other and both repel or attract beneficial insects. Together they create a stronger pest-control effect than either alone.

Do I have to plant companions, or will tomatoes grow fine alone?

Tomatoes grow fine alone if you manage pests and soil health yourself. Companions reduce the work by handling some of that for you. If you are already spraying for pests or adding fertilizer regularly, companions are less critical. If you prefer a low-maintenance garden, they are worth the space.

What if I plant a companion too close and it starts shading the tomato?

Prune or remove the companion. Tomatoes need 6 to 8 hours of direct sun daily. If a companion is blocking that, it is hurting rather than helping. You can replant it farther away or choose a different spot in the garden.

Can I use the same companions for cherry tomatoes and large slicing tomatoes?

Yes. The companion plants work the same way regardless of tomato variety. Cherry tomatoes are smaller and need less space, so you may plant companions slightly closer, but the same herbs, flowers, and vegetables work for all types.