Companion plants that grow well with tomatoes
Tomatoes grow best when planted near herbs and vegetables that don't compete for the same nutrients or space. Basil is the most reliable companion—it repels spider mites and whiteflies while improving tomato flavor. Plant it at the base of your tomato cage or a few inches away; basil stays low and won't shade the plant.
Carrots work because their roots go deep while tomato roots spread sideways, so they use different soil layers. Space them 6 to 8 inches from the tomato stem. Parsley and marigolds also pair well—marigolds deter nematodes (microscopic pests that damage roots), and parsley attracts beneficial insects that eat aphids.
Garlic and onions repel spider mites and some beetles. Plant them 12 inches away from the tomato base so they don't crowd the stem. Nasturtiums act as a trap crop—pests prefer them to tomatoes, so plant them on the perimeter of your garden bed rather than directly next to the tomato.
Key Takeaways
- Basil, carrots, parsley, and marigolds are the most reliable companions because they use different soil layers, repel common pests, or attract beneficial insects.
- Space companion plants at least 6 inches from the tomato stem to avoid crowding the main plant and competing for water and nutrients.
- Avoid planting tomatoes near brassicas (cabbage, broccoli, kale), fennel, or potatoes, which either attract the same pests or deplete soil in ways that harm tomatoes.
- Nasturtiums and marigolds work best planted around the edge of your bed rather than directly touching the tomato plant.
Plants to keep away from tomatoes
Brassicas—cabbage, broccoli, kale, and cauliflower—attract the same hornworms and beetles that eat tomatoes, so planting them nearby concentrates pests in one area. Keep them at least 3 feet away, or grow them in a separate bed.
Fennel releases a chemical that stunts the growth of most plants around it, including tomatoes. Don't plant it anywhere in the same bed. Potatoes compete heavily for nitrogen and attract late blight, a fungal disease that spreads to tomatoes. Separate them by at least 4 feet, or grow potatoes in a different area of your garden entirely.
Corn and tomatoes both attract hornworms, so they draw pests to the same space. If you grow corn, plant it on the opposite side of your garden. Dill can attract hornworms as well, though some gardeners use it as a trap crop on the garden perimeter.
How to space companion plants around your tomato
The distance between plants matters because it affects air flow, light, and root competition. Tomatoes need 24 to 36 inches between plants (measured from stem to stem) to prevent disease and allow pruning. Companion plants should sit inside that space but not directly against the stem.
For herbs like basil and parsley, plant them 6 to 8 inches from the tomato stem. They'll stay below the lowest tomato branches and won't shade the fruit. For root vegetables like carrots, space them 6 to 12 inches away depending on the variety—smaller carrots can go closer. Marigolds and nasturtiums can go 8 to 12 inches out, or around the perimeter of the bed if you're using them as trap crops.
If you're using a tomato cage, place companion plants on the outside of the cage rather than inside it. This keeps them from tangling with the tomato vine as it grows and makes it easier to harvest both plants without damage.
Companion planting for pest and disease control
Some plants reduce specific pests without needing to spray. Marigolds release a chemical that deters root-knot nematodes, microscopic worms that live in soil and damage roots. Plant marigolds throughout the bed, not just next to tomatoes, to protect the whole area. Basil repels spider mites, which cause yellowing and webbing on leaves. Garlic and onions deter mites and some beetles.
Borage and alyssum attract hoverflies and parasitic wasps—insects that eat aphids and other soft-bodied pests. Plant them nearby so they move between the companion plant and the tomato. Chives repel aphids and spider mites while being small enough to tuck near the tomato base.
Companion planting works best as part of a routine, not as a replacement for other care. Water at the soil level (not the leaves) to prevent fungal disease, remove lower leaves as the plant grows to improve air flow, and check plants weekly for pests. If an infestation appears, companion plants slow it down but may not stop it entirely.
Herbs that double as kitchen ingredients
Growing herbs next to tomatoes means you harvest both at once. Basil is ready to pick 3 to 4 weeks after planting and produces all season if you pinch off the top leaves regularly. Use it fresh in salads, pasta, or pesto. Parsley takes 3 to 4 weeks to mature and regrows after cutting. Chives are ready in 2 to 3 weeks and can be snipped as needed.
All three are perennial or self-seeding in many climates, so they may return the following year without replanting. Pinch off flower buds on basil and parsley to keep them producing leaves longer. If you let them flower, they'll attract pollinators but produce fewer leaves for harvest.
Frequently Asked Questions
Can I plant lettuce or spinach next to tomatoes?
Yes, but only early in the season. Lettuce and spinach mature in 4 to 6 weeks and prefer cooler weather. Plant them in spring before the tomato gets large, harvest them before summer heat arrives, then replant in late summer for fall. They won't compete with the mature tomato plant.
What if I don't have room for companion plants?
Companion planting helps but isn't required. Tomatoes grow fine alone if you water consistently, remove lower leaves for air flow, and check for pests weekly. Companion plants reduce pest pressure and improve soil, but good watering and pruning do most of the work.
Can I plant tomatoes next to peppers?
Yes. Peppers and tomatoes have similar spacing needs and don't compete for nutrients or attract the same pests. Keep them 24 to 36 inches apart (stem to stem) just as you would two tomato plants, and they'll grow well together.
Should I plant mint next to tomatoes?
No. Mint spreads aggressively underground and will overtake nearby plants. Grow it in a separate container or a bed by itself. If you want mint's pest-repelling benefits, plant it 3 to 4 feet away or in a pot you can move around the garden.
Do I need to buy special companion plant seeds?
No. Any basil, carrot, marigold, or parsley seed works. Buy from a local garden center or seed catalog. Companion planting is about plant relationships, not special varieties—standard grocery-store herbs and vegetables do the job.