Companion plants that improve tomato growth and pest control
Basil, marigolds, carrots, and parsley are the most reliable companions for tomatoes because they either repel common pests, improve soil nutrients, or take up space that would otherwise host weeds. Basil in particular reduces spider mites and whiteflies while its scent masks the tomato plant from some insects. Marigolds deter nematodes in the soil and beetles above it. Carrots and parsley do not compete with tomatoes for water or nutrients and leave room for air circulation, which tomatoes need to prevent fungal disease.
The goal of companion planting is not magic — it is practical: fill the space around your tomato with plants that either solve a problem tomatoes face or stay out of the way while you solve it yourself. A tomato plant needs full sun, consistent water, and air movement around its leaves. Any companion should not shade it, not drink the water meant for it, and not create a humid pocket where disease spreads.
Key Takeaways
- Basil repels spider mites and whiteflies while improving the flavor of tomatoes picked nearby.
- Marigolds reduce nematode damage in soil and deter beetles, but should be planted at the edge of the bed, not directly against the tomato stem.
- Carrots, parsley, and onions occupy space without competing for the same nutrients tomatoes need.
- Avoid planting brassicas (cabbage, broccoli, kale) and fennel within the same bed, as they inhibit tomato growth.
- Space companions far enough away that tomato leaves stay dry and air flows freely around the plant.
Basil: the most useful companion
Basil grows quickly, reaches 12 to 18 inches tall, and repels spider mites, whiteflies, and some beetles. Plant it 12 inches away from the tomato stem so the basil does not shade the lower leaves. Basil also prefers the same watering schedule as tomatoes — consistent moisture without waterlogging — so they work well in the same bed.
Basil dies at the first frost, so in cold climates you can plant it in late spring after the last frost date and harvest it through summer. In warmer zones, you can succession-plant basil every three weeks to have a continuous supply. The proximity means you can pinch basil leaves while tending your tomatoes, and the scent on your hands actually helps mask the tomato plant's odor from some pests.
Marigolds for soil and above-ground pests
Marigolds reduce root-knot nematodes, microscopic pests that live in soil and damage tomato roots. Plant marigolds around the perimeter of the tomato bed rather than directly next to the stem. They should be 18 to 24 inches away so they do not compete for water or create shade. Marigolds also deter beetles and some aphids, though they are not a complete solution on their own.
Marigolds bloom all season and tolerate heat and dry soil better than tomatoes do, so they can handle the edge of the bed where water runs off. Deadhead spent flowers to encourage more blooms and keep the plant from becoming leggy. At the end of the season, turn the marigold plants into the soil — the decomposing plant material adds organic matter and reinforces the nematode-suppressing effect.
Root vegetables and herbs that do not compete
Carrots, beets, and onions have shallow or narrow root systems that do not reach the depth where tomato roots feed. Plant them 12 to 18 inches away from the tomato stem in the same bed. They will not steal water or nitrogen, and they fill space that would otherwise need weeding. Parsley and chives work the same way — they are shallow-rooted herbs that mature slowly and do not shade the tomato.
These companions also break up the visual monotony of a bed that is all tomatoes, making it easier to spot pests or disease on the tomato itself. If you are growing determinate (bush) tomatoes, you have more room for companions. If you are growing indeterminate (vining) tomatoes that sprawl 6 feet or more, keep companions to the edges and prune them back as the tomato vine expands.
Plants to keep away from tomatoes
Brassicas — cabbage, broccoli, kale, and cauliflower — inhibit tomato growth and should not share the same bed. Fennel also suppresses tomato growth and should be planted in a separate area of the garden. Potatoes are susceptible to the same diseases as tomatoes (early blight, late blight) and should not be nearby. Corn competes for nitrogen and can shade tomatoes if it grows taller.
Avoid planting tomatoes where you grew potatoes, peppers, or eggplants the previous year, because they share pests and diseases. If you must plant in the same spot, wait at least two years or replace the top 6 inches of soil. Fennel is worth mentioning separately because it actively inhibits the growth of many plants, not just tomatoes — it is best grown in its own isolated area or in a container.
Spacing and air circulation matter more than the plant itself
The most common mistake is crowding. Even good companion plants cause problems if they are planted too close. Tomato leaves need air movement to dry after rain or watering, because wet leaves invite fungal diseases like early blight and powdery mildew. A companion plant that shades the lower leaves or traps humidity around the stem will do more harm than good.
Space companions at least 12 inches away from the tomato stem, and farther if the companion grows tall. Prune lower tomato leaves (up to the first fruit cluster) to improve air flow. If you are growing in a container, use a pot at least 5 gallons and plant only one tomato per pot — companions can go in separate smaller pots nearby. In a raised bed, aim for one tomato plant per 2 square feet of space, leaving room for 2 to 3 companion plants around it.
Frequently Asked Questions
Can I plant tomatoes and basil in the same pot?
Yes, if the pot is at least 10 gallons. Use one tomato plant and one basil plant per pot. Basil grows quickly and will not compete with the tomato for nutrients if the soil is rich and you water consistently. In smaller pots, basil will dry out faster than the tomato needs, so separate pots work better.
Do I have to use companion plants?
No. Companion planting reduces some pests and improves soil health, but it is not required. Good watering, full sun, and air circulation prevent most tomato problems. Companion plants are a tool, not a necessity — use them if you have the space and want to experiment.
What if I plant companions and still get pests?
Companion plants reduce pest pressure but do not eliminate it. If you see spider mites, whiteflies, or beetles despite basil and marigolds, spray the affected leaves with water to knock off insects, or use neem oil or insecticidal soap. Remove heavily infested leaves. Companion plants work best as part of a routine that includes monitoring and removing pests by hand.
Can I plant tomatoes and lettuce together?
Yes. Lettuce grows low, matures quickly, and does not compete with tomatoes for water or nutrients. Plant lettuce at the base of the tomato, at least 6 inches away from the stem. Harvest the lettuce before it gets large enough to shade the tomato's lower leaves. In hot climates, the tomato's shade actually helps lettuce stay cool and delays bolting.
Should I plant garlic near tomatoes?
Garlic does not harm tomatoes and may deter some pests, but it is slow-growing and occupies space for months. Plant garlic in fall for spring harvest, or in a separate bed. If you plant it near tomatoes, keep it at least 18 inches away so it does not compete for water during the tomato's peak growing season.