Herbs That Grow Well Beside Tomatoes
Basil, parsley, marigold, and borage are the herbs most gardeners plant alongside tomatoes because they grow at the same pace, need similar water and sunlight, and don't compete for the same nutrients. Basil in particular thrives in the warmth tomatoes create and flowers at roughly the same time, making it convenient to harvest both together for cooking. These herbs also attract beneficial insects—pollinators that help tomato flowers set fruit, and predatory insects that eat common tomato pests like hornworms and whiteflies.
The reason companion planting works is practical: a tomato plant's root system occupies a certain depth and spread in the soil, while a shallow-rooted herb like basil or parsley feeds from a different layer. They are not fighting for the same water and minerals. At the same time, the herbs' foliage and flowers draw insects that either pollinate the tomato flowers or hunt the pests that would otherwise damage leaves and fruit.
Key Takeaways
- Basil and parsley grow at the same speed as tomatoes and can be harvested together without harming the tomato plant.
- Marigolds and borage attract pollinators and pest-eating insects, reducing the need for sprays.
- Plant herbs on the south or east side of tomatoes so they receive full sun without being shaded as the tomato grows taller.
- Space herbs at least 12 inches from the tomato stem to avoid root competition and allow air to circulate around both plants.
- Cilantro and dill bolt quickly in summer heat, so plant them in spring or fall rather than mid-season.
Basil: The Most Compatible Herb
Basil is the top choice because it loves the same conditions as tomatoes—full sun, warm soil, and consistent moisture. Plant it 12 inches away from the tomato stem, either in the same bed or in a pot nearby. Basil flowers in mid to late summer, just as tomato fruit is ripening, so you can pinch off the flower buds to keep the plant bushy and productive, or let them bloom to attract bees.
The pairing also works in the kitchen: fresh basil and ripe tomatoes are a natural combination in salads, pasta, and sauces. Many gardeners plant basil specifically to harvest it alongside their tomatoes rather than for pest control alone. Water basil at the soil level in the morning, the same way you water tomatoes, to keep the leaves dry and prevent fungal disease.
Marigolds and Borage for Pest Control
Marigolds are often planted around tomatoes because their strong scent repels some insects and their flowers attract hoverflies and parasitic wasps—both of which hunt tomato hornworms, spider mites, and other pests. Plant marigolds 12 to 18 inches from the tomato stem. They tolerate drier soil than tomatoes, so water them separately or plant them slightly uphill so excess tomato water doesn't pool around their roots.
Borage is a taller herb with blue flowers that bees visit constantly. It grows quickly and can reach 2 to 3 feet tall, so plant it on the north side of tomatoes where it won't shade them. Borage also has a shallow root system and won't compete with tomatoes for deep water. Both marigolds and borage self-seed, so you may find seedlings the following year without replanting.
Parsley, Cilantro, and Dill: Timing Matters
Parsley is a cool-season herb that grows steadily through spring and early summer without bolting (going to seed). Plant it 12 inches from the tomato stem in spring, and it will produce leaves all season. Cilantro and dill, by contrast, bolt quickly once temperatures stay above 75°F during the day. If you want cilantro or dill, plant them in early spring or late summer when nights are cooler, or plant them in a pot you can move to afternoon shade during the hottest weeks.
All three herbs have fine, feathery foliage that doesn't shade the tomato plant, and their roots stay shallow. Harvest parsley by pinching off the outer stems, which encourages bushier growth. For cilantro and dill, cut entire stems from the outside of the plant rather than picking individual leaves—this keeps them productive longer before they flower.
Spacing and Placement in the Garden
The distance between a tomato and its companion herbs matters more than most gardeners realize. Plant herbs at least 12 inches away from the tomato stem to may support their roots don't tangle and to allow air to flow around both plants, which reduces fungal disease. If you are growing tomatoes in a row, place herbs on the south or east side so they receive full sun without being shaded as the tomato grows taller and bushier.
In containers, use a pot at least 5 gallons for a tomato plant and plant herbs in separate 1- to 2-gallon pots nearby rather than crowding them into the same container. This gives each plant room to develop its root system and makes watering easier—you can water the tomato deeply without overwatering the shallower-rooted herb. If you do plant herbs and tomatoes together in one large pot (10 gallons or bigger), place the tomato in the center and the herbs around the edge.
Herbs to Avoid Planting Near Tomatoes
Fennel and brassicas (cabbage, broccoli, kale) release compounds that inhibit tomato growth, so keep them in a separate bed. Mint spreads aggressively through underground runners and will choke out nearby plants—grow it in a pot or a contained bed far from tomatoes. Rosemary and sage prefer drier soil than tomatoes and are prone to root rot if watered as frequently, so they are better suited to a separate, drier area of the garden.
Lavender also prefers dry conditions and is better kept separate. If you want these herbs in your garden, plant them in a dedicated herb bed with other Mediterranean herbs that tolerate drought, rather than mixing them with tomatoes and their frequent watering schedule.
Watering and Care for Herbs Alongside Tomatoes
Water herbs and tomatoes in the early morning at soil level, not on the leaves. Tomatoes need about 1 to 2 inches of water per week depending on heat and rainfall, while basil and parsley need similar amounts. Marigolds tolerate drier soil, so if you are watering tomatoes deeply, marigolds planted nearby may get enough moisture without extra attention. Check the soil 2 inches down with your finger—if it feels dry, water; if it feels moist, wait another day.
Pinch off herb flowers as they appear if you want to keep the plant leafy and productive, or let some flowers bloom to attract pollinators. Fertilize tomatoes every two to three weeks with a balanced fertilizer or one slightly higher in phosphorus (the middle number) to encourage fruiting. Herbs generally need less fertilizer—a light feeding once a month is enough unless the soil is very poor.
Frequently Asked Questions
Can I plant basil in the same pot as a tomato?
Yes, if the pot is at least 10 gallons. Plant the tomato in the center and basil around the edge, at least 6 inches away from the stem. Water deeply so the soil stays moist for the tomato, and check the basil daily because it may dry out faster at the pot's edge. A 5-gallon pot is too small for both plants to thrive.
Do I need to plant herbs to keep pests off tomatoes?
No. Herbs help reduce pests by attracting beneficial insects, but they are not a substitute for removing hornworms by hand or spraying with neem oil if an infestation is severe. Herbs are most useful as part of a broader approach that includes good air circulation, removing affected leaves, and monitoring plants regularly.
When should I plant herbs next to tomatoes?
Plant basil, parsley, marigolds, and borage at the same time you plant tomatoes or within a week or two after, once the soil has warmed. Plant cilantro and dill in early spring or late summer when temperatures are cooler. All herbs need to be established before mid-summer heat arrives so they can develop strong roots.
Will herbs shade my tomato plant?
Basil, parsley, cilantro, and dill stay short and won't shade tomatoes if planted on the south or east side. Borage grows taller (2 to 3 feet) and should be planted on the north side of tomatoes. Marigolds stay under 2 feet and won't shade tomatoes planted 12 to 18 inches away.
Can I harvest herbs while the tomato plant is still growing?
Yes. Pinch basil and parsley regularly to keep them bushy—this actually encourages more leaf growth. Harvest cilantro and dill by cutting entire stems from the outside of the plant. Marigold and borage flowers can be picked as they open. Harvesting does not harm the tomato plant as long as you leave the herbs' root systems undisturbed.