What Are the Stages of a Caterpillar?

A caterpillar passes through four broad stages on its way to becoming a butterfly or moth: egg, larva, pupa, and adult. The larval phase itself is subdivided into multiple growth periods called instars, separated by molts, and it is this stretch of relentless eating and shedding that most people picture when they think of a caterpillar’s life. But the transitions between these stages involve surprisingly sophisticated hormonal timing, behavioral shifts, and even gut-microbe partnerships that make the journey far more dynamic than a simple before-and-after story.

The Egg and a Caterpillar’s First Meal

Everything begins with an egg, usually laid on or near the plant the future caterpillar will eat. Butterfly and moth eggs vary enormously in shape, color, and texture depending on the species. Some are smooth and spherical; others are ridged, barrel-shaped, or flattened like tiny coins. The outer shell, called the chorion, protects the developing embryo from drying out and from predators. Incubation times range from a few days in warm conditions to several weeks, and in some species the egg itself enters a dormant state over winter.

Once the tiny caterpillar chews its way out, its very first meal is often the eggshell it just left behind. In several moth and butterfly species, newly hatched larvae eat the chorion before touching any plant material. Research on the pierid butterfly Ascia monuste showed that this behavior provides a quick hit of animal protein right at the start of life, and the habit is widespread enough to be considered routine rather than exceptional among caterpillars.

1Ecological Entomology. Influence of chorion ingestion on the performance of Ascia monuste and its association with cannibalism

Instars and the Logic of Molting

After hatching, a caterpillar enters its larval phase, the period of explosive growth that defines its existence. Because a caterpillar’s outer layer is a rigid exoskeleton, it cannot simply expand the way a mammal does. Instead, it grows in discrete steps. Each step is called an instar, and the transition from one instar to the next requires shedding the old exoskeleton in a process called molting, or ecdysis.

Most caterpillars go through five instars before they are ready to pupate, but this number is not fixed. Some species manage with as few as three, while others may add a sixth or seventh instar if food quality is poor or temperatures are unfavorable. This flexibility matters: it lets a caterpillar that got a rough start in life keep growing until it reaches a minimum size needed to survive pupation and emerge as a viable adult.

2Oikos. Developmental variation in the forest tent caterpillar: life history consequences of a threshold size for pupation

Each instar looks slightly different from the last. The head capsule widens, mouthparts grow stronger, and surface features like hairs or spines become more elaborate. Detailed scanning-electron microscopy of a high-altitude tussock moth larva, for instance, found that while first and last instars shared the same basic body plan, structures like cutting teeth on the mandibles and tiny hooks on the prolegs changed in number between early and late instars.

3PubMed Central. Identification, distribution and ultramorphology of the larvae of Gynaephora menyuanensis (Lepidoptera: Lymantriinae) endemic to Qinghai-Tibet plateau

The growth rate during these larval stages is staggering. Insects that undergo complete metamorphosis, including all butterflies and moths, grow significantly faster than insects that develop more gradually. This rapid growth is partly a payoff for the evolutionary “bargain” of complete metamorphosis: the larva is a specialized eating machine, free from the constraints of maintaining functional wings or reproductive organs while it feeds.

4PubMed Central. Rapid growth and the evolution of complete metamorphosis in insects

The Hormones Running the Show

Molting and metamorphosis are not random events triggered simply by a caterpillar reaching a certain size. They are tightly orchestrated by two key hormones working in concert. The steroid hormone ecdysone triggers each molt by activating cascades of gene activity in the caterpillar’s tissues. Meanwhile, juvenile hormone acts as a kind of brake on metamorphosis: as long as juvenile hormone levels are high, each ecdysone-driven molt simply produces a bigger caterpillar rather than triggering the radical reorganization of pupation.

5PubMed. How clocks and hormones act in concert to control the timing of insect development

This two-hormone system is elegant in its simplicity. In the early instars, juvenile hormone stays elevated, so each ecdysone pulse results in a larva-to-larva molt. As the caterpillar nears its final instar and has stored enough nutrients, juvenile hormone drops. Now the next ecdysone pulse flips a developmental switch: instead of producing another caterpillar stage, it triggers pupation. This drop in juvenile hormone activates a set of stage-specifying genes that redirect the entire developmental program.

6Current Biology. The Evolution of Insect Metamorphosis

The practical upshot is that a caterpillar does not pupate until its internal chemistry says it is ready, regardless of what the calendar suggests. If food is scarce, the caterpillar may delay pupation and squeeze in extra instars, because it has not yet accumulated enough reserves for juvenile hormone levels to fall. If food is abundant, the process accelerates. The hormonal system integrates nutritional status with developmental timing, which is why two caterpillars of the same species can take noticeably different paths depending on diet.

How Diet Shapes Growth Across Instars

Not all instars respond to food quality the same way. Work on tobacco hornworm caterpillars, one of the most-studied species in insect physiology, showed that early instars are more vulnerable to poor conditions than later ones. Larvae raised on diets low in water or protein grew slowly at first, but then accelerated during the fifth instar and ultimately produced pupae and adults comparable in size to well-fed controls.

7Comparative Biochemistry and Physiology Part A: Molecular & Integrative Physiology. Effects of dietary variation on growth, composition, and maturation of Manduca sexta (Sphingidae: Lepidoptera)

This finding hints at a built-in resilience: the caterpillar’s final instar acts as a catch-up period. If the early stages were nutritionally rough, the last instar can compensate, at least for body size. Inadequate water seemed to hurt early instars more than late ones, suggesting that younger caterpillars are less able to regulate their internal water balance, possibly because their smaller bodies lose moisture faster through the cuticle.

Gut bacteria also play a role that researchers are just beginning to appreciate. In silkworms, the gut microbiome of early-instar larvae shifted in response to plant toxins, and certain bacterial species thrived in the presence of those chemicals. One bacterium isolated from silkworm guts could break down a specific plant toxin and use it as its sole energy source. When that bacterium was introduced into the guts of a different caterpillar species that normally cannot tolerate the toxin, the caterpillars grew better and showed increased resistance.

8PubMed Central. Gut bacteria of lepidopteran herbivores facilitate digestion of plant toxins

This suggests that a caterpillar’s ability to eat certain plants is not purely genetic. Microbial partners in the gut can expand the menu, and those partnerships may shift as the caterpillar grows.

Defenses That Change With Size

A first-instar caterpillar and a fourth-instar caterpillar of the same species face the same predators but deal with them in very different ways. Observations of social caterpillars attacked by stinkbugs, spiders, and parasitic wasps revealed a striking shift in defensive strategy between early and late instars. Second-instar caterpillars relied on clinging tightly to their silk mat when spiders attacked, while fourth-instar caterpillars switched to active thrashing. Against parasitic wasps, groups of caterpillars at both ages engaged in collective head-flicking and biting, but the tactics of fourth-instar caterpillars were both more diverse and more effective overall.

9PubMed. Defensive responses by a social caterpillar are tailored to different predators and change with larval instar and group size

The pattern makes intuitive sense: a tiny caterpillar has almost no physical power, so its best bet is to hide or hold on. A larger caterpillar can afford to fight back. Growth itself reduces predation risk simply because many predators cannot handle a bigger, more muscular target. This means that surviving the first two instars is often the hardest part of a caterpillar’s life, and the pressure to eat fast and grow quickly during those early days is intense.

The Wandering Phase

Between the last larval instar and pupation, there is a brief but important transitional stage that often goes unnoticed: the pre-pupal or wandering phase. A caterpillar that has finished eating stops feeding, empties its gut, and begins searching for a suitable pupation site. In butterflies that pupate by hanging from a surface, this means finding a sheltered overhang. In moths that pupate underground, the caterpillar burrows into soil or leaf litter. Some species spin silk cocoons; others simply anchor themselves in place with a silk pad.

This wandering period typically lasts up to about 30 hours, but it can stretch considerably in caterpillars destined for diapause, the dormant overwintering state. Research on a butterfly species found that larvae entering diapause wandered for roughly twice as long as those developing straight through to adulthood.

10Ecological Entomology. Host plant exodus and larval wandering behaviour in a butterfly: diapause generation larvae wander for longer periods than do non‐diapause generation larvae

Why the longer search? One explanation is that diapause pupae will be stationary for months, so choosing a well-protected, thermally stable site matters far more than it would for a pupa that will eclose in a couple of weeks. A bad choice means exposure to winter cold, flooding, or predators over a much longer window.

Inside the Pupa

Once the caterpillar has settled and shed its skin one final time, it becomes a pupa. For butterflies, this is a chrysalis; for many moths, it is a cocoon-wrapped pupa. Inside, the caterpillar’s body undergoes a dramatic reorganization. Most larval tissues break down, and clusters of cells called imaginal discs, which have been quietly present since the egg stage, begin to grow and differentiate into adult structures: wings, compound eyes, antennae, and reproductive organs.

The pupal phase can last anywhere from about ten days to several months, depending on species and environmental conditions. In species that overwinter as pupae, diapause can extend the pupal period enormously. The fall webworm, for instance, enters a dormant pupal state triggered by shortening day length in autumn. Experiments showed that the critical factor was night length rather than day length: the caterpillar’s internal clock measures how long the dark period lasts and uses that signal to decide whether to develop immediately or enter diapause.

11PLOS ONE. Diapause Induction and Termination in Hyphantria cunea (Drury) (Lepidoptera: Arctiinae)

Chilling accelerates diapause termination. In fall webworm pupae, exposure to cold for 90 to 120 days significantly sped up development once temperatures warmed, reduced mortality, and synchronized the timing of adult emergence. Without that cold exposure, pupae could still eventually break diapause, but the process was slower and more erratic.

How Overwintering Pupae Survive the Cold

Pupae that spend winter outdoors face a fundamental problem: ice crystals forming inside tissues can shred cells. Some species handle this by producing antifreeze compounds. Swallowtail butterfly pupae, studied in detail in the species Papilio zelicaon, accumulate glycerol and certain ions in their hemolymph (the insect equivalent of blood) that lower the temperature at which ice forms. The glycerol also stabilizes proteins and other large molecules, protecting them from cold damage even if some ice does form.

12Comparative Biochemistry and Physiology Part A: Molecular & Integrative Physiology. Cold hardiness and deacclimation of overwintering Papilio zelicaon pupae

This cold hardiness is fragile, though. A warm spell lasting just four days caused a sharp drop in glycerol, sugars, and ions in the hemolymph, and cold hardiness declined in step. For overwintering pupae, an unseasonable January thaw is not a welcome break; it is a threat, because the pupa loses its chemical protection and may not rebuild it fast enough if temperatures plunge again. Climate instability, with warm spells wedged between cold snaps, may therefore be more dangerous to overwintering insects than consistently cold winters.

Artificial light at night can also scramble the system. Experiments with moths showed that even low-level nocturnal illumination inhibited pupal diapause. Under green or white light at night, roughly 83 to 85 percent of moths had already emerged by the time the first moth in a dark control group came out of its pupa after 110 days.

13PubMed Central. Artificial light at night causes diapause inhibition and sex-specific life history changes in a moth

When Parasites Hijack the Process

Not every caterpillar completes this developmental arc on its own terms. Parasitoid wasps, which lay their eggs inside living caterpillars, can fundamentally alter the host’s hormonal system to keep it alive and feeding long enough for the wasp larvae to finish developing. Parasitized caterpillars typically undergo developmental arrest and eventually die after the parasitoid larvae have become independent.

14PubMed. Wasp parasitoid disruption of host development: implications for new biologically based strategies for insect control

The manipulation is remarkably precise. In tobacco hornworm caterpillars parasitized by the braconid wasp Cotesia congregata, the molt from the fourth to the fifth instar was delayed by about a day compared to unparasitized controls.

15Journal of Insect Physiology. Parasitism-induced Effects on Host Growth and Metabolic Efficiency in Tobacco Hornworm Larvae Parasitized by Cotesia congregata

The wasps achieve this by injecting viruses and venom alongside their eggs. These agents suppress the caterpillar’s immune response and alter hormone levels so that the host’s tissues become unresponsive to their own developmental signals. The caterpillar keeps eating and growing, but it never pupates. From the wasp’s perspective, the caterpillar has become a living incubator, its own developmental machinery repurposed to serve the parasite’s timeline. For the caterpillar, the normal stage progression has been permanently derailed.

Why Complete Metamorphosis Evolved at All

The caterpillar-to-butterfly transformation is so dramatic that it is fair to wonder why this strategy exists instead of the more gradual approach seen in grasshoppers or dragonflies, where juveniles look like small versions of adults and simply grow bigger with each molt. One longstanding hypothesis points to nutritional efficiency. In insects that develop gradually, each molt requires producing a new exoskeleton that closely resembles the adult form, complete with wing pads and other structures the juvenile cannot yet use. This imposes a significant nutritional cost.

16Physiological Entomology. Evolutionary contrasts in insects: nutritional advantages of holometabolous development

A caterpillar, by contrast, invests almost nothing in adult structures during its larval life. Its body plan is streamlined for one purpose: eating. Wings, compound eyes, and reproductive organs are deferred to the pupal stage, when the caterpillar can rebuild itself from scratch using stored nutrients. The result is a larval phase that converts food into body mass with high efficiency, and this efficiency shows up in growth-rate data as well: insects with complete metamorphosis consistently outpace those with gradual development in terms of how fast they gain mass.

4PubMed Central. Rapid growth and the evolution of complete metamorphosis in insects

Caterpillars in the Fossil Record

Caterpillars are soft-bodied and do not fossilize easily, which has made it hard to pin down when moths and butterflies first evolved their distinctive larval stage. But amber occasionally preserves caterpillars in exquisite detail. A specimen described from roughly 100-million-year-old Cretaceous amber showed an armored caterpillar with features consistent with modern moth families, increasing the known diversity of caterpillars from that period and supporting the idea that moths and butterflies had already diversified significantly by the mid-Cretaceous.

17Gondwana Research. A 100 million-year-old armoured caterpillar supports the early diversification of moths and butterflies

That means the stage-by-stage progression described throughout this article, egg to instar to pupa to adult, was already in place when dinosaurs were the dominant land animals. The hormonal machinery, the molting cycles, the pupal reorganization: all of it predates the extinction event that ended the Cretaceous. Whatever ecological pressures shaped this life cycle, they did so deep in evolutionary time, and the basic formula has proven durable enough to persist largely unchanged for over a hundred million years.