A caterpillar builds its chrysalis from the inside out, forming it beneath its own skin during the final larval stage and then shedding that skin to reveal the hardened shell underneath. The chrysalis is not spun or constructed the way a moth’s silk cocoon is. Instead, the caterpillar’s body secretes a new cuticle, essentially a specialized outer layer of proteins, that stiffens and darkens through chemical cross-linking once exposed to air. The whole process involves precise hormonal timing, a silk anchoring system, a dramatic skin-shedding maneuver, and rapid chemical hardening, all accomplished by an animal no bigger than your finger.
The Hormonal Signal That Starts It All
A caterpillar does not simply decide one day to pupate. The transformation is triggered by the interplay of two key hormones: juvenile hormone and ecdysteroid (a molting hormone). Throughout its larval life, a caterpillar molts several times, shedding its skin as it grows. During those earlier molts, juvenile hormone keeps the caterpillar in its larval form. Pupation begins when juvenile hormone drops to very low levels, and a sequence of ecdysteroid pulses takes over.
Research on the tobacco hornworm has mapped this sequence in detail. First, a form of juvenile hormone acid, combined with a low background level of ecdysteroid, makes the caterpillar’s tissues competent for metamorphosis, meaning the cells become capable of responding to pupal signals. After that, a small pulse of ecdysteroid in the absence of juvenile hormone commits those tissues to change. Finally, a large surge of ecdysteroid drives the actual transformation, including the secretion of the pupal cuticle that will become the chrysalis shell.1PubMed. Juvenile hormone acid and ecdysteroid together induce competence for metamorphosis of the Verson’s gland in Manduca sexta Without that precise three-step cascade, the tissues either fail to transform or transform incorrectly. The hormones act like a series of locks and keys, each one unlocking the next phase.
Spinning the Silk Anchor
Before any skin-shedding begins, the caterpillar has to secure itself. For butterfly species that form a hanging chrysalis, this means spinning a small silk pad on a branch, leaf, or other surface. The caterpillar produces this silk from labial glands located near its mouth, not from its rear end as many people assume. These glands are made up of a relatively small number of very large cells that secrete silk proteins, which are stored inside the gland as a semi-liquid gel until they are needed.2PubMed Central. Silks produced by insect labial glands
The conversion from liquid gel to solid silk fiber happens remarkably fast. The silk proteins solidify within seconds at normal air temperature and pressure, with only a minimal drawing force required as the caterpillar pulls the thread from its spinneret.2PubMed Central. Silks produced by insect labial glands The caterpillar weaves this thread back and forth to create a dense button of silk. Once the pad is thick enough, the caterpillar grips it with tiny hooks on its rear end called crochets, which are part of its larval prolegs. For species like monarchs and swallowtails that hang upside down, this silk pad is their only lifeline. Some other butterfly species, like certain swallowtails, also spin a silk girdle around their midsection for extra support, holding the chrysalis upright against a vertical surface like a tiny hammock strap.
Shedding the Larval Skin
Once anchored, the caterpillar enters a pre-pupal phase. It stops eating, often empties its gut, and hangs still for a day or more. Underneath its larval skin, the new pupal cuticle is already forming. The old skin gradually separates from the body as the epidermis beneath it secretes the chrysalis shell. When the moment arrives, the caterpillar begins a series of rhythmic muscle contractions to split and shed the old skin.
Studies of pupal ecdysis, the formal term for this skin-shedding, show that the caterpillar uses waves of contractions moving from its rear toward its head to push the old skin forward and off the body. These contractions alternate with side-to-side swinging and vertical compressions that help free the developing wings and other structures from the old cuticle.3PubMed Central. Phase-Resolved Pupal Ecdysis Behavior and Requirement of Ecdysis-Triggering Hormone in Henosepilachna vigintioctomaculata The whole process looks jerky and uncoordinated from the outside, a writhing, twisting caterpillar, but the sequence is actually highly organized.
For hanging species, there is a particularly precarious moment. As the old skin bunches up near the attachment point, the pupa must transfer its grip from the larval crochets, which are embedded in the silk pad, to a new structure called the cremaster. The cremaster is a set of tiny hooks on the tip of the pupa’s abdomen. Research has described four distinct phases in this transfer: the pupa wriggles free of the old skin, briefly grips the skin itself for support, then thrusts the cremaster into the silk pad and locks on, and finally gyrates its body to shake off the crumpled old skin entirely.4Cambridge University Press (The Canadian Entomologist). Mechanism of Cremaster Withdrawal and Attachment in Pendant Rhopalocerous Pupae (Lepidoptera) Small bumps called holdfast tubercles on the last abdominal segment help the pupa maintain its grip during the swap. The whole exchange takes just seconds, and a failed transfer means the pupa falls and likely dies.
How the Chrysalis Shell Hardens
The moment the old larval skin drops away, the exposed chrysalis is soft, pale, and vulnerable. It hardens over the next several hours through a chemical process called sclerotization. The pupal epidermis has already secreted a large number of proteins into the outer layers of the new cuticle before the skin was even shed. Once exposed, these proteins undergo cross-linking reactions: quinone compounds derived from a molecule called N-beta-alanyldopamine form chemical bridges between the proteins, locking them together into a rigid, insoluble matrix.
Research on tobacco hornworm pupae has shown that the cuticle proteins destined for the outer layer of the chrysalis contain a modest but critical proportion of histidine residues, around two to three percent by weight, which serve as the specific sites where those cross-links form.5PubMed. Pupal cuticle proteins of Manduca sexta: characterization and profiles during sclerotization As the cross-linking proceeds, the proteins become largely insoluble, meaning the shell transitions from a soft, somewhat flexible material to something tough and resistant to water and physical damage.5PubMed. Pupal cuticle proteins of Manduca sexta: characterization and profiles during sclerotization The process also produces the color changes many people notice: a monarch chrysalis, for example, shifts from a translucent green to a more opaque jade as the proteins darken and harden.
The hardened shell is not just armor. It is a semi-permeable barrier that regulates moisture loss while still allowing gas exchange through small openings called spiracles.
Breathing Inside the Chrysalis
Insects do not have lungs. They breathe through a network of tiny tubes called tracheae that open to the outside through spiracles, which are essentially small valves along the body. A caterpillar has more than fourteen spiracles and keeps most of them open simultaneously to support its high metabolic rate from constant eating and growth. Once it pupates, things change dramatically.
Research on silkworm-family moths found that caterpillars release carbon dioxide continuously, reflecting their busy metabolism. Pre-pupae and pupae, by contrast, switch to a stop-and-start breathing pattern called discontinuous gas exchange, in which the spiracles open only periodically to release a burst of carbon dioxide before closing again.6PubMed. The role of the spiracles in gas exchange during development of Samia cynthia (Lepidoptera, Saturniidae) Pupae also use fewer spiracles, typically eight to ten compared to more than fourteen in the caterpillar stage.6PubMed. The role of the spiracles in gas exchange during development of Samia cynthia (Lepidoptera, Saturniidae) This shift makes sense: metabolism drops during the pupal stage, and limiting spiracle opening helps the pupa conserve water inside its sealed shell.
How Long the Chrysalis Stage Lasts
The duration varies enormously depending on species, temperature, and day length. For many common butterflies in warm conditions, the chrysalis stage lasts roughly ten to fourteen days. But temperature and photoperiod can push that timeline far longer by triggering diapause, a state of suspended development somewhat analogous to hibernation.
In some moth and butterfly species, short day lengths experienced during the larval stage program the pupa to enter diapause, where development pauses for weeks or months. Research on Heliothis punctigera found that a twelve-hour light, twelve-hour dark photoperiod during the second half of larval life induced pupal diapause, but high temperatures after feeding stopped could override the signal entirely, preventing diapause regardless of what photoperiod the larva experienced.7Journal of Experimental Biology. Timing of the Action of Photoperiod and Temperature On Events Leading to Diapause and Development in Pupae of Heliothis Punctigera (Lepidoptera: Noctuidae) Studies on the grape berry moth tell a similar story: the critical factor determining diapause was the length of the dark period, with darkness longer than eleven hours inducing the pause, and the intensity of diapause actually increased at higher temperatures under certain light conditions.8Physiological Entomology. Effects of photoperiod and temperature on pupal diapause induction of grape berry moth Lobesia botrana
Diapause is critical for species that overwinter as pupae. A swallowtail butterfly that pupates in September in a temperate climate, for example, may not emerge as an adult until the following spring, spending five or six months sealed inside its chrysalis.
Chrysalis Versus Cocoon
People often use “chrysalis” and “cocoon” interchangeably, but they are different structures. A chrysalis is the hardened pupal shell itself, the structure formed by the caterpillar’s body as described above. Only butterflies make chrysalises. A cocoon, on the other hand, is a silk casing that a caterpillar spins around itself before pupating, and it is mostly a moth thing. Inside the cocoon, the moth pupa has its own hardened pupal cuticle, but the silk wrapping provides extra protection from predators and weather.
Some moth cocoons incorporate debris like bits of leaf, bark, or soil for camouflage. Others, like those of silk moths, are woven from continuous silk fibers that humans have harvested for thousands of years. A few moth species skip the cocoon entirely and pupate underground in a bare earthen chamber. And on the butterfly side, certain species blur the line slightly by incorporating silk girdles or leaf shelters around their chrysalis, but the chrysalis itself is always the hardened cuticle rather than a silk shell.
Dangers During Pupation
The transition from caterpillar to chrysalis is one of the most vulnerable moments in a butterfly’s life. The soft, freshly exposed pupa cannot move, cannot flee, and takes hours to harden. Predators, rain, wind, and fungal infections can all kill a pupa before it has a chance to complete development. But one of the strangest threats comes from parasitoid wasps.
Some parasitoid wasps lay their eggs inside caterpillars long before pupation. The wasp larva develops inside the host caterpillar, feeding on its tissues. In some cases, the parasitoid does not simply kill the host; it manipulates the caterpillar’s behavior. Research on the braconid wasp Microplitis pennatula showed that after the wasp larva exits the caterpillar and forms its own pupa nearby, the parasitized caterpillar does not wander off or die immediately. Instead, it stays close to the wasp pupa and actively guards it, thrashing at approaching hyperparasitoids and other threats.9PubMed Central. Parasitoid wasp usurps its host to guard its pupa against hyperparasitoids and induces rapid behavioral changes in the parasitized host The behavioral changes in the caterpillar only appear after the wasp larva exits, suggesting the parasite chemically reprograms its host as a parting gift. The caterpillar essentially becomes an involuntary bodyguard for the creature that consumed it from within.
What Happens Inside After the Shell Hardens
Once the chrysalis has hardened, the real transformation begins inside. The popular image of the caterpillar dissolving into goo and then reassembling as a butterfly is partially accurate but oversimplified. Much of the larval body does break down as specialized groups of cells called imaginal discs, which were present in a dormant state throughout the caterpillar’s life, begin to grow and differentiate into adult structures like wings, legs, compound eyes, and antennae. But not everything dissolves. The nervous system is substantially remodeled rather than rebuilt from scratch, and parts of the digestive system and tracheal network are repurposed.
Researchers have been able to watch this transformation in living pupae using high-resolution X-ray computed tomography, essentially CT scanning the chrysalis at multiple time points throughout development. This non-invasive imaging has allowed scientists to track the three-dimensional reorganization of internal organs in individual pupae from start to finish, revealing that the remodeling is more gradual and orderly than the “soup” metaphor suggests.10PubMed Central. Metamorphosis revealed: time-lapse three-dimensional imaging inside a living chrysalis
Emerging From the Chrysalis
When development is complete, the adult butterfly needs to break free. This final act is triggered by yet another hormone, eclosion hormone, which serves a dual purpose. Research on the tobacco hornworm demonstrated that eclosion hormone triggers both the behavioral sequence of emergence, the pushing, splitting, and wriggling out of the pupal shell, and the plasticization of the wing cuticle, making the wings flexible enough to unfurl after the butterfly crawls out.11Journal of Experimental Biology. Control of Cuticle Extensibility in the Wings of Adult Manduca at the Time of Eclosion: Effects of Eclosion Hormone And Bursicon The same chemical signal that says “break out now” also says “make the wings pliable so they can expand.” Once the butterfly emerges and hangs with its wings down, it pumps hemolymph (insect blood) into the wing veins to inflate them. A second hormone called bursicon then hardens the expanded wing cuticle. Within an hour or two, the wings are rigid enough for flight.
Why the Pupa Evolved in the First Place
Complete metamorphosis, the kind with a full pupal stage between larva and adult, is not the only way insects develop. Grasshoppers and dragonflies go through incomplete metamorphosis, where the juvenile looks like a small wingless version of the adult and gradually transforms through a series of molts. So why did butterflies, beetles, flies, and wasps evolve this seemingly more complicated system?
The pupal stage appears to have evolved by repurposing what was originally the nymph stage of incompletely metamorphosing insects. One analysis describes it this way: the ancestral nymph effectively became the pupa, serving as a transitional stage that accommodated the newly deferred development needed to build a radically different adult body.12PubMed. The Evolution of Insect Metamorphosis The evolutionary advantage is enormous. By having a larva (caterpillar) that specializes in eating and growing, and an adult (butterfly) that specializes in reproduction and dispersal, the two life stages do not compete with each other for the same food or habitat. The pupa is the bridge that makes this division of labor possible.
At a genetic level, the evolution of the pupa has been linked to a gene called broad. Work in the flour beetle, a member of one of the most ancient groups of completely metamorphosing insects, showed that broad acts as a “pupal specifier,” and that its functions are broadly conserved across distantly related species with complete metamorphosis. The researchers suggested that changes in how broad is expressed during development may have played a key role in the original evolution of the pupal stage.13PubMed. The role of Broad in the development of Tribolium castaneum: implications for the evolution of the holometabolous insect pupa The origin of the pupa remains an active area of research, and no single gene or event fully explains it, but the conservation of broad across beetles, butterflies, and flies suggests the genetic toolkit for making a pupa was established early and then maintained because it worked extraordinarily well. Insects with complete metamorphosis account for the vast majority of insect species alive today, making the evolution of the chrysalis one of the most successful innovations in the history of animal life.