Good companion plants for tomatoes include basil, marigolds, sunflowers, carrots, lettuce, peppers, onions, and nasturtiums. The ones with the best research behind them are basil and marigolds, which can cut thrips and whitefly numbers on tomatoes. Many others earn their spot by drawing pollinators and pest predators, shading the soil, or sharing space in the bed. Keep fennel away from tomatoes, and give large cabbage-family crops their own bed. Here are 21 companions and the reason for each.
Start with basil and French marigolds if you only have room for two. Add flowers and herbs that bloom through summer if you want more bees and beneficial insects. Tomatoes, like spinach and other crops, have plenty of companion plants.
Companion plants for tomatoes can draw beneficial insects, distract pests, shade the soil, and use space well. Herbs like basil, thyme, and chives, vegetables like asparagus and peppers, and flowers like marigolds and sunflowers all pair well with tomatoes. Keep fennel and large cabbage-family plants (like kale and broccoli) in another bed.
Not every claim about companion planting holds up. University of Minnesota Extension warns, “While gardening charts online will provide you with long lists of plants that repel insects, these are not always accurate or backed by research.” I note below which pairings have research behind them and which rest on gardener experience.

Tomato companion planting basics
Tomatoes belong to the nightshade family (Solanaceae), along with potatoes, eggplant, and peppers. Scented culinary herbs make good neighbors for tomatoes. Large brassicas (cabbage family plants) compete with tomatoes for space, light, and food.

1. Basil
Basil has the best research of any tomato companion. UMN Extension notes, “A few studies show that basil and marigolds can be effective at reducing thrip populations in tomatoes in both field and greenhouse conditions.” Thrips spread tomato spotted wilt virus, so fewer thrips means less disease. UMN adds that growing basil with tomatoes may even help tomato growth.
Basil also goes into the same summer dishes as tomatoes, so it pays its way in the kitchen. Popular basil varieties to grow near your tomatoes include Genovese basil and the newer Emerald Towers basil. Basil can also help keep flies off your patio, according to many gardeners.

2. Sunflowers
Sunflowers draw bumblebees and other native bees to the garden. Those bees also visit nearby tomato flowers. Sunflowers pair well with most vegetables.
A row of tall sunflowers on the windy side of the bed also breaks the wind. That helps indeterminate tomatoes, which can grow 6 to 8 feet tall inside a tomato cage or up a stake. Plant sunflowers on the north side so they do not shade the tomatoes.

3. Carrots
Carrots support small parasitic wasps when they flower. Carrots are biennials, so they flower in their second year. Leave a few carrots in the bed over winter to bloom the next summer, and collect the seed afterward.
Carrots also fit in the space around young tomato plants. Carrots grown in tomato shade may stay smaller. Popular varieties include Royal Chantenay and Danvers 126. Here is a guide to the four main types of carrots.

4. Thyme
Thyme has a strong scent, and an Iowa study cited by UMN Extension found it cut caterpillar damage on broccoli. Nobody has tested it on tomatoes, but it costs little to try.
Thyme stays short, so it works as a living mulch at the base of tomato plants. Ground cover keeps rain from splashing soil, and soil-borne disease, onto the lower leaves.
Culinary types include English thyme and Lemon thyme. Ornamental options include Red Creeping thyme and Elfin thyme.

5. Beans
Bean flowers draw bumblebees, which then visit nearby tomato flowers.
Tomato flowers pollinate themselves, but the pollen needs a shake to fall. Wind, a gardener tapping the stems, or a buzzing bumblebee all do the job. Bumblebees help most in sheltered yards with little wind.

6. Marigold
Marigolds can suppress root-knot nematodes, microscopic worms that attack tomato roots in warm, sandy soil. The effect comes from dense plantings grown for a full season, not a few plants at the edge of the bed.
French marigolds have research behind them for whiteflies. A 2019 greenhouse study cited by UMN Extension found that French marigolds protected tomatoes from whiteflies through a scent compound called limonene. The flowers also draw hoverflies and parasitic wasps.
“Grow with French marigolds to deter whitefly. Tomatoes grow well with basil, parsley, alliums, nasturtiums and asparagus.”
The Complete Book Of Vegetables, by Matthew Biggs

7. Asparagus
Gardeners often pair asparagus and tomatoes. The claim is that asparagus discourages nematodes and tomatoes discourage asparagus beetles. These benefits come from garden lore rather than tested results. The pairing works for space, since tomatoes fill in after the asparagus harvest ends.

8. Garlic
Garlic plants take up little room and fit between tomatoes. Many gardeners believe the strong scent keeps pests away, though tests on tomatoes are lacking.
Garlic is planted in the fall and harvested in early summer. That frees up space as tomatoes start to spread out.

9. Parsley
Parsley that flowers in its second year draws hoverflies and small wasps. Hoverfly larvae eat large numbers of aphids. Parsley also goes into many of the same dishes as tomatoes.

10. Peppers
Peppers grow in the same conditions as tomatoes. Both are nightshades and share the same soil-borne diseases. Grow them together so you can rotate the whole group to a new bed each year.

11. Onion
Onions and other alliums (garlic, green onions, chives) are often planted to repel aphids. An Iowa study cited by UMN Extension found onions cut cabbage worm damage in broccoli and cabbage. Onions take months to mature, so they share the bed with tomatoes into July.

12. Chives
Chives have a strong onion scent and bloom in spring, drawing bees to the garden early. They grow in a small clump at the base of tomato plants and season many tomato dishes.

13. Cowpeas
Cowpeas can work as a trap crop for green stink bugs in southern gardens. Plant them a short distance from the tomatoes. The stink bugs gather on the cowpeas instead.
Check the cowpeas every few days and knock any stink bugs into a bucket of soapy water.

14. Lettuce
Lettuce fits under tomatoes. UMN Extension suggests planting early crops like lettuce first and setting tomatoes into the same bed as the lettuce matures. Later, the tomato shade slows lettuce bolting in summer heat, and the lettuce covers bare soil that weeds would take.

15. Nasturtium
Nasturtium is an edible flower used as a trap crop for aphids. Research cited by UMN Extension shows it cuts squash bugs on squash and caterpillar damage on broccoli. It grows fast from seed, sprawls over the ground, and shelters spiders and other predators.

16. Celery
Celery needs steady water, like tomatoes, so the two grow well in the same bed. It also goes into many of the same recipes. No research shows it helps tomatoes directly.

17. Cucumbers
Cucumbers grow well alongside tomatoes. Both love warm summer weather and thrive in the same part of the garden.
Set a trellis for the cucumbers on the north side of the tomatoes so the vines do not shade them. Some vines climb the trellis, and others shade the ground at the tomato’s base.

18. Cilantro
Cilantro left to flower feeds tiny parasitic wasps. Some of these wasps lay eggs inside tomato hornworms, and the hornworms die as the wasp larvae develop.
Cilantro also belongs in fresh salsa and pico de gallo, so a tomato, pepper, and cilantro bed makes a salsa garden.

19. Radishes
Radishes grow fast in the open soil between young tomato plants and are ready to pull before the tomatoes fill in. They also draw flea beetles. The flea beetles on radishes are mostly cabbage-family species, so radishes work as a trap crop for your brassicas more than your tomatoes.

20. Peas
Peas grow before tomatoes in the same spot. Peas are a cool-season crop planted in early spring. When the weather warms and the peas finish, set tomatoes in their place and reuse the trellis.
Peas are legumes that fix nitrogen from the air. UMN Extension notes that legumes “fix nitrogen from the atmosphere and reduce your total fertilizer needs.” Cut the vines at the soil line and leave the roots in the ground.

21. Buckwheat
Buckwheat is a cover crop that goes in before the tomatoes. It grows fast, smothers weeds, and adds organic matter when you turn it under.
Sow buckwheat 6 to 8 weeks before planting tomatoes. Cut it at the soil line when the first flowers open, before it sets seed, or it will reseed all over the garden. Use the cut stems as mulch or add them to the compost.

Tomato companion plant FAQs
What is the best companion plant for tomatoes?
Basil. Research cited by University of Minnesota Extension shows basil can reduce thrips on tomatoes and may help tomato growth.
Do marigolds help tomatoes?
Yes, in some cases. French marigolds reduced whiteflies on greenhouse tomatoes in a 2019 study. Dense marigold plantings can also suppress root-knot nematodes.
What should not be planted near tomatoes?
Keep fennel away from tomatoes, and grow large cabbage-family crops like broccoli and kale in another bed.
Can I plant peppers next to tomatoes?
Yes. They need the same conditions. Rotate them together to a new bed each year, since they share soil-borne diseases.
Bad companion plants to avoid planting near tomatoes
Keep large brassicas like kale, broccoli, cauliflower, Brussels sprouts, cabbage, and collards in a separate bed. They compete with tomatoes for light and food. They also need different timing, since most grow best in cool weather.
Fennel stunts many garden plants, so give it its own spot. Dill is mixed. Young dill flowers draw beneficial insects, but mature dill can crowd tomatoes. Both draw swallowtail caterpillars, which eat dill and fennel but not tomatoes.
Seed companies I like
These are the seed companies I order from for my own garden.
- Botanical Interests: beautiful packets with growing notes printed inside
- High Mowing Organic Seeds: certified organic, grown in Vermont
- True Leaf Market: big selection of hybrids, microgreens, and cover crops
Some links earn me a commission at no cost to you. As an Amazon Associate I earn from qualifying purchases.


Leave a Reply