Companion Planting to Control Tomato Hornworms Naturally
Use strategic plant partnerships to deter hornworms and protect your tomato crop
Why Companion Planting Works Against Tomato Hornworms
Tomato hornworms can devastate a crop in just days, with a single larva consuming an entire tomato plant's foliage. These bright green caterpillars, which grow up to 4 inches long, are the larval stage of the five-spotted hawk moth. While hand-picking remains effective for small plantings, companion planting provides a proactive defense that works around the clock.
Companion planting leverages natural relationships between plants to repel pests, attract beneficial predators, and create confusion for egg-laying moths. For small-acreage operations, this strategy reduces labor costs while building soil health and biodiversity—benefits that synthetic pesticides cannot provide.
Plants That Repel Hornworm Moths
The adult moths that lay hornworm eggs navigate by scent. Strategic placement of aromatic plants disrupts their ability to locate tomato plants during their nocturnal egg-laying flights.
Borage
Borage is perhaps the most effective hornworm deterrent. Plant it 18-24 inches from tomato plants in a checkerboard pattern. The rough, hairy leaves and strong scent confuse moths, while the blue flowers attract pollinators. Borage also accumulates trace minerals that benefit neighboring tomatoes when leaves decompose.
Basil and Other Culinary Herbs
Basil planted at the base of tomato plants serves double duty—culinary harvest and pest control. Space basil plants 12 inches apart in rows between tomato plants. Other effective herbs include:
- Dill: Plant in clusters at row ends; attracts parasitic wasps
- Thyme: Low-growing groundcover that releases oils when temperatures exceed 80°F
- Oregano: Perennial option for permanent bed edges
- Mint: Contain in pots placed every 6-8 feet along rows to prevent spreading
Marigolds
French marigolds (Tagetes patula) emit a scent that masks tomato plants from moths. Plant a border row 12-15 inches from tomato plants, or intersperse individual marigolds every 3-4 feet within rows. The compact varieties work best, staying under 12 inches tall to avoid shading tomatoes.
Plants That Attract Beneficial Predators
Nature provides hornworm control through predatory and parasitic insects. Companion plants that support these beneficials create a permanent pest management workforce.
Flowers for Parasitic Wasps
Braconid wasps are the hornworm's most effective natural enemy. Female wasps lay eggs inside hornworm larvae, and the emerging wasp larvae consume the caterpillar from within. If you spot a hornworm covered with white rice-like cocoons, leave it—those cocoons contain developing wasps that will attack more hornworms.
Plant these wasp-attracting flowers within 20 feet of tomato beds:
- Yarrow: Flat flower clusters provide easy landing platforms
- Alyssum: Low-growing annual that blooms continuously
- Fennel: Allow some to flower; a single plant supports hundreds of wasps
- Coriander: Let several plants bolt for umbel-shaped flowers
Plants for Predatory Beetles and Bugs
Ground beetles, lacewings, and ladybugs all prey on hornworm eggs and young larvae. These insects need pollen, nectar, and shelter throughout the season.
Carrots left to flower in their second year produce umbrella-shaped blooms that attract diverse beneficial insects. Plant a small patch of carrots specifically for this purpose near tomato plantings. Sunflowers also provide habitat—their sturdy stems and leaves shelter beneficial insects during hot afternoons.
Trap Cropping Strategies
Trap cropping uses sacrificial plants to lure hornworms away from your main tomato crop. This technique works especially well when combined with monitoring and removal.
Dill as a Hornworm Magnet
While dill attracts beneficial wasps, it also draws hornworms. Plant a dedicated dill patch 30-50 feet upwind from tomato beds. Check dill plants daily and destroy any hornworms found there before they mature. This reduces the overall moth population for the next generation.
Early-Season Decoy Tomatoes
Plant a row of fast-maturing determinate tomatoes 2-3 weeks before your main crop. Position these 40-60 feet away from primary plantings. The early tomatoes attract the season's first moths, concentrating egg-laying in one manageable area. Many growers on platforms like CuzHens Market use this technique to protect heirloom varieties that command premium prices.
Planting Layout for Maximum Protection
Effective companion planting requires thoughtful spatial arrangement. A scattered, random approach provides minimal benefit.
For row plantings, create a three-tier system:
- Inner row: Tomato plants at standard 24-30 inch spacing
- Middle border: Basil or borage planted 18 inches from tomato stems
- Outer border: Marigolds or alyssum 12 inches beyond the middle border
For raised beds (typically 4 feet wide), plant tomatoes down the center with alternating basil and borage on both sides, leaving 8-10 inches between the bed edge and companion plants.
Always plant beneficial insect attractors within 20 feet of tomatoes. Parasitic wasps have limited flight range and won't travel far from their nectar sources to hunt hornworms.
Common Questions About Companion Planting for Hornworms
How long does companion planting take to work? Repellent effects begin immediately, but building beneficial insect populations takes 3-4 weeks. Start companion plants at the same time as tomatoes for best results.
Can companion planting eliminate hornworms completely? No single method provides 100% control. Companion planting typically reduces hornworm damage by 60-80% when combined with weekly monitoring and hand-picking.
Do I need to replant companions every year? Annuals like basil and marigolds require yearly planting. Perennial herbs like oregano and thyme establish permanent populations of beneficial insects. A mix of both provides immediate and long-term benefits.
What if I still see hornworms despite companion planting? Some hornworms will always appear. The goal is population management, not eradication. Check plants every 3-4 days and remove any hornworms by hand. Look for dark green or black droppings on leaves—a telltale sign of feeding activity above.
Got a follow-up question or a tip of your own? Take it to the Community board.

