The Wild

How Butterflies Attach Their Cocoon: The Real Process

· 5 min read · Insects and Spiders

In this article
  1. What Is a Chrysalis vs. a Cocoon?
  2. How the Caterpillar Prepares to Attach
  3. Why Do Some Butterflies Hang Upside Down?
  4. What Happens If the Attachment Fails?
  5. How Long Does the Attachment Last?
  6. Common Misconceptions About Butterfly Attachment
  7. Frequently Asked Questions

Butterflies do not attach a cocoon—they attach a chrysalis, which is the hard, smooth pupal case formed by a butterfly caterpillar, whereas a cocoon is the silken case spun by moths. The caterpillar attaches the chrysalis to a surface using a silk pad and a hooked appendage called a cremaster, then hangs upside down or in a supported position while it transforms.

What Is a Chrysalis vs. a Cocoon?

Many people use the words interchangeably, but they refer to different things. A cocoon is a protective silk envelope that moth caterpillars (like silkworms) spin around themselves before pupating. A butterfly chrysalis, on the other hand, is the pupal exoskeleton that forms from the caterpillar's own skin after the final molt. The chrysalis is often camouflaged—green, brown, or gold—and hangs from a plant stem, twig, or other surface.

The attachment method is one of the clearest differences: butterflies use a silk pad and cremaster, while moths typically spin a full cocoon that may be attached to a leaf or buried in soil.

How the Caterpillar Prepares to Attach

Before pupation, a butterfly caterpillar stops eating and wanders away from its host plant. It searches for a sheltered spot—often the underside of a leaf, a branch, or a fence post—where it will be less visible to predators. Once it finds a suitable location, it begins the attachment process.

  1. Spinning a silk pad: The caterpillar uses its spinneret (a silk-producing organ near the mouth) to weave a small, dense pad of silk onto the surface. This pad is the anchor for the entire chrysalis.
  2. Grasping the pad: The caterpillar hooks its rear legs (prolegs) into the silk pad to hold itself in place.
  3. Forming the cremaster: During the final molt, the caterpillar's skin splits and sheds, revealing a hardened, pointed structure at the rear end—the cremaster. This structure has tiny hooks that latch into the silk pad.
  4. Hanging or supporting: Most butterflies hang upside down from the cremaster. Some, like the monarch, also spin a silk girdle around their thorax to keep the chrysalis tilted at an angle, preventing it from dangling too far.

Why Do Some Butterflies Hang Upside Down?

Hanging upside down is the most common strategy among butterflies. The cremaster acts like a strong hook, and the silk pad is remarkably adhesive. This position allows the chrysalis to swing slightly in the wind, which may help shed water or deter predators. It also gives the emerging adult butterfly an easy way to drop out: when it emerges, it falls and then climbs up a vertical surface to expand its wings.

Some species, like the swallowtail, use a different approach: they attach the cremaster to the silk pad but also spin a silk girdle around their middle, securing the chrysalis in an upright or tilted position. This reduces the risk of the chrysalis swinging and hitting nearby objects.

What Happens If the Attachment Fails?

A failed attachment is usually fatal. If the caterpillar cannot secure the silk pad properly, or if the surface is too smooth or dusty, the chrysalis may fall to the ground. On the ground, the chrysalis is vulnerable to ants, beetles, and other predators. Even if it survives, the emerging butterfly may not have a vertical surface to climb, which is essential for pumping fluid into its wings. Without that, the wings may dry crumpled and the butterfly cannot fly.

In captive rearing, butterfly keepers often provide mesh cages or sticks with rough surfaces to ensure a secure attachment. They may also hang the chrysalis with a pin or glue if it detaches, but this is a delicate procedure that requires care.

How Long Does the Attachment Last?

The chrysalis remains attached for the entire pupal stage, which varies by species and temperature. For many butterflies, this lasts 5 to 14 days, but some species overwinter as pupae and stay attached for months. The silk pad and cremaster are strong enough to hold the weight of the pupa and the emerging adult, but they are not permanent. After the butterfly emerges, the empty chrysalis shell may remain attached for weeks or even months before falling off.

Common Misconceptions About Butterfly Attachment

One common myth is that butterflies spin a cocoon around themselves like moths. In reality, the chrysalis is the caterpillar's own body, not a woven structure. Another misconception is that the chrysalis is “dead” or dormant—it is actually a highly active stage where tissues are breaking down and reforming into the adult butterfly. The attachment is not just a physical anchor; it is also a life-support system, as the chrysalis exchanges gases through tiny pores and may absorb moisture from the air.

Frequently Asked Questions

Do all butterflies attach their chrysalis the same way?

No. Most hang upside down using a cremaster and silk pad, but some species, like swallowtails, also spin a silk girdle for extra support. A few species pupate on the ground or in leaf litter without hanging, but they still use a silk pad to anchor themselves.

Can you move a butterfly chrysalis if it falls?

Yes, but carefully. You can gently place the chrysalis on a piece of cotton or paper towel in a ventilated container, and it may still emerge. However, the emerging butterfly will need a vertical surface to climb, so provide a stick or mesh. Do not glue or tape the chrysalis directly unless you are experienced, as that can damage it.

Why is my butterfly chrysalis turning dark?

Darkening often means the butterfly is about to emerge, especially if you can see the wing patterns through the shell. However, if the chrysalis turns black and shrivels, it may be infected with a disease or parasitized by wasps. If it smells foul, it is likely dead.

How strong is the silk pad that holds the chrysalis?

It is remarkably strong for its size. The silk is a protein fiber that can withstand the weight of the pupa and the force of the emerging adult pushing out. It is also resistant to rain and wind, though a very heavy storm can dislodge it.

Do moths also use a cremaster?

Some moths do, but most moths spin a cocoon or pupate underground. Moths that pupate above ground often attach their cocoon to a branch with silk, but they do not have a cremaster in the same way butterflies do. The cremaster is a defining feature of butterfly pupae.