Companion plants that grow well with tomatoes
The best plants to grow alongside tomatoes are basil, carrots, parsley, marigolds, and nasturtiums. These companions either repel pests that damage tomatoes, improve soil nutrients, or use space efficiently without competing for water and light. Basil in particular repels spider mites and whiteflies while enhancing tomato flavor. Carrots and parsley occupy different soil depths, so they do not steal nutrients from tomato roots.
Spacing matters more than the companion plant itself. Tomatoes need at least 24 to 36 inches between plants to allow air circulation and prevent fungal disease. Plant companions in the gaps or along the edges of your tomato bed, not directly against the stem. This keeps the tomato foliage dry and lets you harvest without disturbing neighboring plants.
The soil around tomatoes should stay consistently moist but not waterlogged. Companion plants with shallow roots — like basil and parsley — will not compete for deep moisture that tomatoes need. Avoid planting anything that requires frequent overhead watering, since wet tomato leaves invite disease.
Key Takeaways
- Basil repels spider mites and whiteflies while improving tomato flavor, making it the most useful companion plant.
- Carrots and parsley use different soil depths than tomatoes, so they grow alongside without stealing nutrients.
- Marigolds and nasturtiums attract beneficial insects and trap pests that would otherwise damage tomato plants.
- Space companions at least 24 inches from tomato stems to allow air circulation and reduce fungal disease.
- Avoid planting companions that need frequent overhead watering, since wet tomato foliage invites disease.
Plants that repel common tomato pests
Marigolds are the most reliable pest deterrent. They release a scent that repels aphids, spider mites, and nematodes in the soil. Plant them around the perimeter of your tomato bed, about 12 inches from the tomato stem. They bloom all season and need minimal water once established.
Nasturtiums act as a trap crop — pests prefer them to tomatoes, so they draw insects away from your main plants. Plant them on the outer edge of the bed where they can sprawl without shading tomatoes. They also attract hoverflies and ladybugs, which eat aphids and other soft-bodied pests.
Borage attracts pollinators and parasitic wasps that prey on tomato hornworms and other caterpillars. It grows tall and bushy, so plant it on the north side of tomatoes where it will not shade them. Borage self-seeds readily, so deadhead flowers if you do not want it spreading next season.
Herbs that improve soil and flavor
Basil is the most practical herb companion. It grows quickly, reaches only 12 to 18 inches tall, and does not shade tomatoes. Plant it 12 inches away from the tomato stem. Basil repels spider mites, whiteflies, and thrips — all common tomato pests. Many gardeners report that basil grown near tomatoes improves the tomato's flavor, though this is not scientifically proven.
Parsley has a deep taproot that pulls nutrients from lower soil layers and brings them to the surface, enriching the topsoil where tomato roots feed. It grows slowly at first but becomes productive by mid-season. Plant it 18 inches from the tomato stem and keep it consistently moist until it is established.
Oregano and thyme are low-growing herbs that occupy the ground layer without competing with tomato roots. They tolerate dry soil better than tomatoes, so plant them on the outer edge of the bed where they receive less frequent watering. Both attract pollinators and beneficial insects.
Vegetables that share tomato space efficiently
Carrots grow downward while tomatoes grow upward, so they use different soil zones. Plant carrots in rows between tomato plants, spacing them 3 inches apart. They mature in 60 to 80 days, so you can harvest them before mid-summer and replant with another crop if your growing season is long.
Lettuce and spinach thrive in the partial shade cast by tomato foliage, especially in hot climates. They mature quickly (30 to 45 days) and can be harvested before tomatoes reach full size. Plant them on the south or west side of tomatoes where they receive afternoon shade.
Onions and garlic repel spider mites and some fungal diseases. They occupy minimal space and do not shade tomatoes. Plant them 12 inches from the tomato stem. Garlic is planted in fall and harvested in early summer, so it clears space before tomatoes reach full size.
Plants to avoid near tomatoes
Do not plant brassicas (cabbage, broccoli, cauliflower) near tomatoes. Both attract similar pests and compete for nitrogen. Brassicas also release compounds that can inhibit tomato growth.
Fennel releases allelopathic compounds — chemicals that inhibit the growth of nearby plants. Keep it at least 3 feet away from tomatoes, or grow it in a separate bed. The same applies to kohlrabi and dill.
Potatoes are susceptible to the same diseases as tomatoes, particularly early blight and late blight. Growing them together increases the risk that disease will spread from one plant to the other. If you must grow both, space them at least 4 feet apart and water at soil level only.
Spacing and layout for a companion planting bed
A straightforward layout places tomatoes in the center or back of the bed, with shorter companions in front. Tomatoes need 24 to 36 inches between plants. Basil and parsley go 12 inches from the tomato stem. Marigolds and nasturtiums go 18 to 24 inches away on the outer edge. Carrots and lettuce fill the gaps between tomato plants.
If you are using stakes or cages, leave 18 inches of clear space around the base so you can water, weed, and harvest without disturbing companions. Mulch the entire bed with 2 to 3 inches of compost or straw to retain moisture and suppress weeds — this reduces competition for water and nutrients.
In containers, use a pot at least 5 gallons for a single tomato plant. You can tuck a basil plant or two into the same pot, but avoid crowding. A 10-gallon pot can hold one tomato and two basil plants with room to spare. may support the pot has drainage holes and water when the top inch of soil feels dry.
Watering and feeding companions alongside tomatoes
Tomatoes need consistent moisture — about 1 to 2 inches per week depending on heat and rainfall. Most companion plants have similar water needs, so you can water the entire bed together. Water at soil level in the morning to keep foliage dry and reduce fungal disease.
Basil, parsley, and other herbs benefit from a light feeding every 3 to 4 weeks with a balanced fertilizer. Tomatoes are heavier feeders and may need more nitrogen early in the season and more phosphorus and potassium as they flower and fruit. If you are using a single fertilizer for the whole bed, choose a balanced formula (10-10-10 or similar) and explore it every 2 to 3 weeks.
Carrots and lettuce need minimal feeding if your soil is rich in compost. If your soil is poor, work in 2 to 3 inches of compost before planting. Marigolds and nasturtiums are low-maintenance and rarely need supplemental feeding.
Frequently Asked Questions
Can I plant basil and tomatoes in the same pot?
Yes. Use a pot at least 5 gallons for one tomato plant and one basil plant. Basil has shallow roots and will not compete with the tomato's deeper root system. Water when the top inch of soil is dry, and pinch basil leaves regularly to encourage bushiness and prevent it from shading the tomato.
Do I have to plant companions, or will tomatoes grow fine alone?
Tomatoes grow fine alone if you manage pests and soil health yourself. Companion plants are optional but useful — they reduce pest pressure, improve soil structure, and use garden space efficiently. If you have room and want to experiment, try basil and marigolds first since they are easiest to grow.
What if I plant something that turns out to compete with my tomatoes?
Pull it out. Companion planting is not rigid. If a plant is yellowing your tomato leaves or stunting growth, remove it and replace it with something else. Every garden is different, and what works in one yard may not work in another.
Can I plant companions after the tomatoes are already in the ground?
Yes. Basil, parsley, and marigolds can be planted as seedlings or seeds once tomatoes are established. Wait until tomatoes are at least 6 inches tall and have their first true leaves. Plant companions at least 12 inches away from the tomato stem to avoid disturbing the roots.
How close can I plant lettuce to tomatoes without it getting shaded?
Plant lettuce on the south or west side of tomatoes where it receives afternoon shade. In most climates, lettuce can be as close as 12 inches from the tomato stem and still receive enough light to grow. In very hot climates, closer is better because the shade keeps lettuce from bolting.