What Happens When a Parasitic Wasp Finds a Hornworm?

The white rice-shaped projections you see on a hornworm’s back are cocoons of a parasitic wasp called Cotesia congregata, a tiny braconid wasp that lays its eggs inside living hornworm caterpillars. The wasp larvae feed internally, chew their way out, and spin those distinctive white cocoons on the caterpillar’s skin. A parasitized hornworm is already dying and eats roughly one-fifth as much as a healthy caterpillar, making these wasps one of the most effective natural controls for hornworms in home gardens and farms.

How the Wasp Finds and Infects a Hornworm

Female Cotesia congregata wasps are small, only a few millimeters long, and they don’t sting humans. They hunt hornworm caterpillars by detecting chemical cues from damaged plants and from the caterpillars themselves. Once a female locates a hornworm, she uses her ovipositor to inject eggs directly into the caterpillar’s body cavity. In a single attack, she deposits around 65 eggs on average, though the number can range from as few as 5 to as many as 162.

What makes the injection remarkable is that the eggs aren’t the only thing going in. The wasp simultaneously delivers venom and a specialized virus called a polydnavirus. This virus is not a random infection. It co-evolved with the wasp over millions of years and exists solely to disable the hornworm’s immune defenses. Without it, the caterpillar’s immune cells would recognize the wasp eggs as foreign and encapsulate them, essentially smothering them before they could develop. The polydnavirus shuts down that response, giving the eggs safe passage.

What Happens Inside the Caterpillar

The eggs can hatch in as little as two to three days in warm conditions. The larvae that emerge are pale yellow-white grubs that move freely through the caterpillar’s body fluid, feeding on it from the inside. They’re strategic about what they consume, avoiding vital organs so the host stays alive long enough to serve as a food source.

Meanwhile, the polydnavirus and venom continue working together to manipulate the hornworm’s biology. They block the caterpillar from forming storage proteins, which are compounds a healthy caterpillar would normally stockpile to fuel its own growth. With those proteins left floating freely in the body fluid instead of being stored, more nutrition is available for the wasp larvae. Special cells released from the wasp eggs, called teratocytes, also help arrest the hornworm’s development, essentially freezing it in its current larval stage so it can’t pupate and escape the parasites inside it.

The White Cocoons on the Hornworm’s Back

When the wasp larvae are fully grown, they chew through the caterpillar’s skin using their mandibles in a back-and-forth sawing motion. They emerge through the cuticle and immediately begin spinning small, white, silk cocoons on the outside of the hornworm’s body. These are the “white projections” or “white cigars” that gardeners notice, sometimes dozens of them clustered along the caterpillar’s back and sides.

Inside each cocoon, the larva pupates and transforms into an adult wasp. After a period of development, the new adult wasps emerge, mate, and begin searching for more hornworm caterpillars to parasitize. The host caterpillar, meanwhile, stops feeding almost entirely. It lingers for a time but never recovers. It dies before completing its own development, never reaching the moth stage.

Why Parasitized Hornworms Eat So Little

A parasitized hornworm consumes approximately one-fifth the foliage of a healthy caterpillar. That’s a dramatic reduction. For context, NC State Extension recommends that growers count five parasitized hornworms as equivalent to just one healthy worm when estimating crop damage. The combination of arrested development, internal nutrient theft, and the physical trauma of larvae emerging through its skin effectively shuts the caterpillar down as a feeding threat well before it dies.

What to Do If You Find One in Your Garden

If you spot a hornworm covered in white cocoons, leave it exactly where it is. Your instinct might be to remove it along with every other hornworm you find, but a parasitized caterpillar is doing you a favor. Each of those cocoons will produce a new adult wasp that will go on to parasitize more hornworms in your garden. Removing or killing the caterpillar destroys an entire generation of natural pest control.

The wasps that emerge are tiny and do not sting people. They have no interest in you, your pets, or your food. Their sole focus is finding more hornworm caterpillars.

How to Attract Braconid Wasps to Your Garden

You can encourage braconid wasp populations by planting flowers that provide nectar for the adult wasps. Plants in the carrot family are particularly effective: dill, fennel, cilantro, Bishop’s flower, and Queen Anne’s lace all produce the small, clustered flower heads that parasitic wasps prefer. The key detail many gardeners miss is that these herbs need to actually bloom. If you harvest all your dill and cilantro before it flowers, the wasps have no food source. Let a few plants bolt and go to seed.

Interplanting these among your tomatoes, peppers, and other crops that hornworms target keeps the wasps nearby and active throughout the season. Avoiding broad-spectrum insecticide sprays is equally important, since those chemicals kill beneficial wasps just as readily as they kill pest caterpillars. If you need to treat a heavy hornworm infestation, targeted options like hand-picking non-parasitized caterpillars or using Bt (a bacterial spray that affects only caterpillars) will spare the wasp population.

Which Hornworms Are Affected

Braconid wasps parasitize both the tobacco hornworm and the tomato hornworm, the two species most commonly found on garden plants in North America. These caterpillars are large, green, and easily recognized by the horn-like projection on their rear end. The tobacco hornworm has diagonal white stripes and a red horn, while the tomato hornworm has V-shaped white markings and a dark horn. Both feed on tomatoes, peppers, eggplant, and tobacco, and both are equally vulnerable to Cotesia congregata.

Other parasitic wasps in the Trichogramma genus also attack hornworms, but they work differently. Trichogramma wasps are egg parasitoids, meaning they target hornworm eggs before the caterpillars even hatch. Together, these wasp species provide layered biological control, hitting hornworm populations at multiple life stages.