Plant Marigolds, Basil, and Nasturtiums Near Your Tomatoes
The best flowers to plant with tomatoes are marigolds, nasturtiums, and basil (technically an herb, but used the same way). These three do real work: marigolds repel spider mites and whiteflies that damage tomato leaves; nasturtiums trap aphids before they reach your plants; basil improves flavor and deters hornworms. Plant marigolds 12 inches away from the tomato stem, nasturtiums at the same distance, and basil even closer—6 inches out—so the roots don't compete for water.
Other flowers worth planting include borage (attracts pollinators and improves fruit set), calendula (traps pests and marks the garden edge), and zinnias (draw beneficial insects). The rule is straightforward: flowers that attract bees and other pollinators, or that naturally repel common tomato pests, earn their space. Flowers that do neither—ornamental only—take up water and nutrients your tomatoes need.
Key Takeaways
- Marigolds planted 12 inches from tomato stems reduce spider mites and whiteflies without chemicals.
- Nasturtiums act as a trap crop, drawing aphids away from tomato leaves and toward themselves.
- Basil grows 6 inches from the tomato base, improves the flavor of nearby fruit, and repels hornworms.
- Borage and calendula bring pollinators and pest control to the same bed without competing for root space.
- Plant flowers on the outer edge of the tomato bed or between plants, never directly against the stem.
Why Marigolds Work Better Than Other Companion Flowers
Marigolds release a scent that spider mites and whiteflies actively avoid. These two pests cause the most visible damage to tomato leaves—yellowing, stippling, and premature drop—and marigolds reduce their numbers without sprays. Plant a marigold every 12 to 18 inches around the perimeter of your tomato bed, or tuck one between every two or three plants if space allows.
The catch: marigolds need full sun and well-draining soil, the same conditions tomatoes prefer. Water them separately from your tomatoes if possible—marigolds prefer drier soil and will rot if you water as often as tomatoes need. Deadhead spent flowers (pinch off the brown heads) every few days to keep them blooming all season. A marigold that stops flowering stops working as a pest deterrent.
How Nasturtiums Trap Pests Before They Reach Tomato Leaves
Nasturtiums are a trap crop: aphids prefer them to tomatoes, so the insects land on the nasturtium first. Once there, they stay—the plant's texture and chemistry keep them feeding on nasturtium leaves instead of moving to your tomatoes. Plant nasturtiums 12 to 18 inches away from the tomato stem, at the edge of the bed or between plants. They spread as they grow, so give them room.
Nasturtiums flower in orange, red, and yellow, and both the flowers and leaves are edible. They tolerate partial shade better than marigolds, so if your tomato bed gets afternoon shade, nasturtiums are the better choice. Water them regularly—they wilt quickly in dry soil—but do not fertilize. A nasturtium fed too much nitrogen grows leaves instead of flowers and loses its pest-trapping power.
Basil: Flavor Boost and Hornworm Defense
Basil planted 6 inches from the tomato stem improves the taste of the fruit itself—a real, measurable effect that gardeners report consistently. It also repels tomato hornworms, the large green caterpillars that can strip a plant bare in days. Plant basil in the same soil as your tomatoes; it prefers the same moisture and warmth. Pinch off the top leaves regularly to encourage bushy growth and prevent flowering (once basil flowers, the leaves become bitter).
Use the basil you pinch off in the kitchen—fresh basil from the garden tastes nothing like supermarket basil. If you let basil flower, bees will visit those flowers and pollinate your tomato blooms, which is good for fruit set. The trade-off is worth considering: more tomatoes from better pollination, or better-tasting tomato leaves and hornworm defense. Most gardeners choose to pinch basil and keep it leafy.
Other Flowers That Support Tomato Growth
Borage is a tall, hairy-stemmed flower with blue or purple blooms that bees love. Plant it at the edge of the bed—it grows 2 to 3 feet tall and will shade tomatoes if planted too close. Borage flowers attract pollinators, which means more flowers pollinated and more fruit. The leaves are edible and taste like cucumber; some gardeners brew them into tea.
Calendula (pot marigold, not the same as marigold) has orange or yellow flowers and attracts hoverflies, which eat aphids. Plant calendula 12 inches from tomato stems. It self-seeds readily, so you may find seedlings the following year without replanting. Zinnias are straightforward to grow and bring butterflies and bees. They prefer full sun and tolerate heat well, making them ideal for hot tomato beds. Plant them 18 inches away so they do not shade the tomato leaves.
Spacing and Planting Timing
Plant flowers at the same time as tomatoes or a week or two before, so they are established when the tomatoes arrive. If you plant flowers after tomatoes are already in the ground, they compete for water during the critical first weeks when tomato roots are spreading. Space flowers according to their mature size: marigolds and nasturtiums 12 to 18 inches from the tomato stem, basil 6 inches, borage and tall zinnias 18 to 24 inches.
Water the flower bed deeply once a week rather than lightly every day. Deep watering encourages roots to go down, which means less competition with tomato roots near the surface. If you are using drip irrigation for tomatoes, run a separate line to flowers or water them by hand. Mulch around flowers as you do around tomatoes—2 to 3 inches of wood chips or straw keeps soil cool and reduces watering frequency.
Flowers to Avoid Planting With Tomatoes
Do not plant fennel, dill, or cabbage near tomatoes. Fennel and dill release chemicals that slow tomato growth, and cabbage attracts the same pests as tomatoes, concentrating damage rather than spreading it. Avoid large ornamental flowers like sunflowers or dahlias unless you plant them far from the tomato bed—they shade tomato leaves and compete aggressively for water and nutrients.
Avoid planting flowers that need constant moisture if your tomatoes are on a drip system. Impatiens, begonias, and other shade-loving flowers will rot in the same watering schedule tomatoes need. If you want flowers in a shaded part of the garden, keep them separate from the tomato bed entirely. The goal is flowers that work with your tomato setup, not against it.
Frequently Asked Questions
Can I plant flowers in the same pot as a container tomato?
Yes, but only basil or small marigolds. A 5-gallon pot holds one tomato plant and one basil plant comfortably; a 10-gallon pot can hold a tomato and a marigold or nasturtium. Plant the flower on the opposite side of the pot from the tomato so roots do not tangle. Water once daily in hot weather, since the pot dries faster with two plants.
Do I need to remove flowers once tomatoes start fruiting?
No. Marigolds, nasturtiums, and basil continue to work all season. Borage and calendula may slow down in peak summer heat but will resume flowering in fall. Leave them in place unless they are clearly shading tomato leaves or competing for water.
What if I plant flowers but still get aphids or spider mites?
Companion flowers reduce pest pressure but do not eliminate it entirely. If damage is heavy, spray the affected tomato leaves with water from a hose to knock pests off, or use neem oil according to label directions. Flowers work best as prevention, not as a complete solution to an existing infestation.
Can I plant cut flowers like zinnias and still get pest control?
Yes. Zinnias bring pollinators and beneficial insects even if you cut the flowers for a vase. Cutting actually encourages more blooms, so the plant works harder for you. Cut in the early morning when stems are full of water, and leave at least two sets of leaves on the plant so it can regrow.
Do I need to fertilize companion flowers?
No. Marigolds, nasturtiums, basil, and calendula thrive in the same soil as tomatoes without extra feeding. Borage and zinnias may benefit from a light feeding in mid-summer if growth slows, but it is not necessary. Over-fertilizing makes flowers grow leaves instead of blooms, which reduces their effectiveness.