What Insects Make Cocoons? (It’s Not Just Moths)

Moths are the most familiar cocoon-makers, but they’re far from the only ones. Insects across at least five major groups spin cocoons, including ants, lacewings, caddisflies, fleas, and even some beetles. A cocoon is a protective silk casing that a larva builds around itself before transforming into its adult form, and the insects that make them are more diverse than most people realize.

Moths, Not Butterflies

The most important distinction to get out of the way: moths make cocoons, butterflies do not. Butterflies form a chrysalis, which is a hard, smooth shell produced when the caterpillar sheds its final larval skin. A moth cocoon, by contrast, is a soft, porous structure wrapped in silk that the caterpillar spins from its own body before pupating inside.

The silk itself is made of fiber proteins called fibroins, held together by a glue-like coating. Caterpillars produce this material in specialized silk glands, and the genes responsible are only active during the final larval stage. Once the caterpillar is ready, it spits out continuous silk fiber for two to three days straight, wrapping itself in layer after layer until it’s fully enclosed. The domesticated silkworm, which is the caterpillar of a fuzzy white moth, is the most famous example. Every silk garment in your closet started as one of these cocoons.

Giant silk moths native to North America build especially large cocoons, some up to two inches long. These cocoons vary by species in ways that make them identifiable in the wild. Cecropia moth cocoons are off-white to brown and attached lengthwise along tree branches. Polyphemus moth cocoons are thick and nearly round, sometimes hanging from a twig by a silk thread. Promethea moth caterpillars spin their cocoons inside a leaf and then reinforce the leaf’s stem with silk so it stays attached to the tree through winter. Luna moths also cocoon inside curled leaves but skip the reinforcement step, so their cocoons fall to the ground with the autumn leaves and are much harder to find.

Ants, Bees, and Wasps

Many species in the order Hymenoptera, which includes ants, bees, and wasps, also spin cocoons. Ant larvae are a particularly clear example: after molting about three times over roughly 10 days, an ant larva spins a silk cocoon around itself. Inside that cocoon, it transforms into a creamy white pupa before emerging as an adult. If you’ve ever disturbed an ant colony and seen small, pale, oval capsules being carried by worker ants, those are cocoons, not eggs.

Not all species in this group make cocoons. Many bee and wasp larvae pupate in wax cells or mud chambers built by the adults, making a silk cocoon unnecessary. But where larvae develop in less protected conditions, cocoon-spinning is common.

Lacewings and Their Two-Layer Design

Green lacewings, the delicate insects often seen around porch lights, build cocoons with a surprisingly sophisticated structure. The final-stage larva spins protein fibers roughly 2 micrometers in diameter into a loosely woven outer shell. Then, in a second construction phase, it lays down an inner wall made of lipids (fats) using the fiber scaffold as a framework. Researchers who studied the Australian species Mallada signata found that the silk protein is rich in the amino acid alanine (over 40%) and has a helical structure that gives it mechanical strength, while the lipid layer acts as a waterproof barrier that prevents the pupa from drying out. It’s essentially a two-material composite, with the silk providing structure and the wax layer sealing in moisture.

Caddisflies Build Underwater Cocoons

Caddisfly larvae are sometimes called nature’s underwater architects, and for good reason. These aquatic insects, which are relatives of moths, use silk to build an astonishing range of structures beneath the water’s surface: portable tube cases, stationary shelters with silk capture nets for filtering food, and sealed pupal domes attached to rocks. When it’s time to pupate, caddisfly larvae spin silk cocoons or silk-lined rock chambers underwater.

Their silk works differently from land-based insect silk. The sticky fluid that comes out of the silk gland solidifies into a tough fiber only when it contacts water. Metal ions, primarily calcium and magnesium, are drawn from the surrounding water and incorporated into the silk fibers as they’re spun. These metals strengthen and toughen the fibers, essentially turning a soft gel into a durable underwater construction material. This means the quality of a caddisfly’s silk depends partly on the mineral content of the stream it lives in.

Fleas and Some Beetles

Fleas spin small silk cocoons in carpet fibers, soil, or animal bedding before pupating. The cocoon’s sticky surface picks up dust and debris from the surrounding environment, making it remarkably well-camouflaged and difficult to remove. This is one reason flea infestations can be so persistent: the pupae inside their cocoons are protected from insecticides and can wait weeks or months for a host to come near before emerging as adults.

Among beetles, cocoon-spinning is rare but not unheard of. Certain rove beetle subfamilies, including most species in the Aleocharinae and some in the Steninae and Paederinae, spin silken cocoons for pupation. This is unusual for beetles, which more commonly pupate in earthen cells or under bark without any silk.

What Cocoons Actually Protect Against

A cocoon’s most obvious function is physical protection during the pupal stage, when the insect is completely immobile and defenseless. But cocoons do more than just form a barrier. They guard against desiccation, keeping moisture levels stable around the pupa. They offer some defense against parasitic wasps and flies that would otherwise lay eggs directly on the pupa. And they can deter microorganisms like fungi and bacteria.

Some moth species have evolved cocoons with additional defensive features. Caterpillars of the African wild silk moth (Gonometa postica) are covered in stinging hairs, and they weave these irritating hairs directly into the cocoon walls. The cocoons are also covered in small calcium crystals that make them physically harder to break open. Research published in the Philosophical Transactions of the Royal Society found that these structurally reinforced cocoons suffered only about 2% predation from birds, compared to 50% for a related species whose cocoons lacked the same structural defenses.

How Long Insects Stay Inside

The pupal stage inside a cocoon varies enormously. Many moths and other insects emerge after a few weeks to a month. Species that overwinter in their cocoons spend several months inside, emerging in spring when conditions improve. Giant silk moths in temperate climates typically spend the entire winter as pupae. At the extreme end, some species can remain in the pupal stage for two years, waiting for the right environmental triggers to emerge. Temperature, day length, and humidity all play roles in signaling when it’s time to break free.

Finding Cocoons in the Wild

If you’re looking for cocoons outdoors, the easiest ones to spot are those of giant silk moths. Check the branches of deciduous trees and shrubs in late fall and winter, after the leaves have dropped. Cecropia moth cocoons are often found in exposed locations along twigs, where they can look like a papery, elongated pouch. Promethea cocoons are easier to spot once you know the trick: look for a single leaf still dangling from an otherwise bare cherry tree, with silk visibly reinforcing the leaf stem. Polyphemus cocoons can show up almost anywhere, from hanging on branches to buried in leaf litter on the ground.

Smaller cocoons from other insects are harder to find. Lacewing cocoons are tiny and typically tucked under leaves or bark. Ant cocoons are only visible if you open a nest. Caddisfly pupal cases are underwater, cemented to rocks in streams. But once you start looking for the larger moth cocoons, especially on small trees at eye level, they’re surprisingly common in many parts of North America.