How Many Legs Does a Caterpillar Have? The Real Answer
Look at a caterpillar inching along a leaf and the legs seem to go on forever. Dozens, surely. The real answer is smaller, stranger, and split in two — and once you know it, you will never watch one walk the same way again.
The short answer: a typical caterpillar has 16 legs in total — 6 true legs and 10 prolegs. The two kinds do different jobs, look completely different, and have different fates. Only the six true legs survive into adulthood. The ten prolegs are temporary equipment for a life spent climbing, gripping, and eating, and they vanish during metamorphosis. A few kinds of caterpillars break the pattern, and those exceptions are covered below, but 16 is the count for the familiar garden caterpillars most people picture.
The six true legs
Find the head first. Right behind it sits the thorax, the front section of the body, and that is where the true legs live — three pairs, six in total, one pair on each thoracic segment. They are jointed, built from hard segments, and tipped with a small claw. In structure they are proper insect legs, the same basic design you would see on an ant or a beetle, just smaller and set close together near the front of a soft, stretchy body.
Because they are short and tucked near the head, the true legs are easy to miss. People counting legs tend to look along the whole underside and tally every stub they see, which mixes the two systems together. Slow down and look at the front third of the animal. The jointed legs there move with a stepping precision the rear stubs never show. They help with handling food, steadying the front of the body, and fine movement around the leaf edge where the caterpillar is feeding.
Their most important feature is permanence. When the caterpillar becomes a butterfly or moth, it emerges with six legs — and those six are the heirs of these six. Every adult butterfly you have ever seen standing on a flower is standing on the adult form of the legs that sat behind a caterpillar’s head. That continuity is a good way to remember the count: insects have six legs, and the caterpillar’s true legs already obey that rule even while the extra prolegs hide it.
The ten prolegs
Behind the thorax stretches the abdomen, and under it sit the prolegs — five pairs, ten in total, in a typical caterpillar. Four pairs run along the middle abdominal segments, and one final pair, the anal prolegs, sits at the very rear. Prolegs look nothing like the true legs. They are soft, fleshy, and unjointed, more like sturdy little cushions that push down and hold on.
The holding on is the clever part. Each proleg ends in tiny hooks called crochets, arranged in a ring or a band at the tip. Those hooks catch on silk and on the edges and surfaces of leaves, giving a soft-bodied animal a grip that seems out of proportion to its size. A caterpillar can cross a smooth leaf, hang upside down under a stem, and hold fast in a breeze because hundreds of tiny hooks are doing quiet work underneath it.
Prolegs are a caterpillar-only invention. Adult butterflies and moths do not have them, and neither do most other insect larvae in quite this form. They exist because a caterpillar’s whole job is to stay attached to its food plant while it eats and grows, often high above the ground, often on the underside of a leaf, often in wind. Jointed walking legs alone would be poor tools for that life. Soft grippers spaced along the body are far better, and five pairs spread the load so that some can lift and move while the rest keep holding.
How the walking wave works
Watch a caterpillar cross a twig in slow motion, in your head or on a phone video slowed down, and the movement resolves into a ripple. The wave travels from back to front. The rear prolegs grip, the body contracts and pushes forward, pairs release and re-grip in sequence, and the front of the body reaches ahead with the true legs before the next wave starts. The animal is never fully letting go. At every moment, enough prolegs stay hooked in to keep it anchored while the rest step forward.
That rolling grip explains two things people notice. First, caterpillars look smooth and determined rather than quick — the wave sets the pace, and rushing it would mean releasing too many hooks at once. Second, they are surprisingly hard to dislodge. A gentle tap that would knock a beetle off a leaf often just makes a caterpillar tighten its hold, because the crochets are built for exactly that moment. Leave a clinging caterpillar alone rather than pulling at it; a short wait or a leaf offered as a bridge works better and harms nothing.
The exceptions, stated plainly
Sixteen is the typical count, not a universal law, and the exceptions are some of the most recognizable caterpillars of all. Inchworms, also called loopers, are the caterpillars of geometer moths, and they carry only two or three pairs of prolegs instead of five. With grippers near the rear and true legs near the front but little in the middle, the body has to bunch up and loop to move — the rear comes up to meet the front, the back arches, and then the front stretches out again. That looping walk, not a different leg count at the front, is what gives the inchworm its name and its measuring-the-earth look.
A second look-alike causes real confusion in gardens. Sawfly larvae look very much like caterpillars, with soft bodies and rows of fleshy stubs, but they are the young of wasp relatives, not future butterflies or moths. They can have more prolegs than a true caterpillar does, and counting proleg pairs is a practical identification check: a typical caterpillar has five pairs or fewer, while a sawfly larva often has more. The distinction matters if you are deciding what is eating a plant and what it will become, and for a closer look at the underlying body plan, the anatomy of caterpillars lays out how the segments, legs, and prolegs fit together.
A small number of other larvae reduce their prolegs further — some leaf-mining caterpillars, living their whole larval life inside a leaf, barely need to walk at all, and their legs shrink to match. These are edge cases. The caterpillar on your parsley, your milkweed, or your cabbage almost certainly runs the standard sixteen.
What happens to each set in the chrysalis
Metamorphosis treats the two leg systems completely differently. Inside the chrysalis, most of the caterpillar’s body is broken down and rebuilt, and the prolegs go with the old design. Their work is finished. A flying adult has no use for grippers meant for leaf undersides, so the ten prolegs disappear entirely and nothing replaces them.
The six true legs follow the opposite path. They are reorganized and rebuilt into the adult’s six walking legs, longer and finer than the stubby front legs of the larva, suited to standing on flowers, gripping stems, and tasting — butterflies taste with their feet, a detail that makes the survival of those front legs feel even more fitting. Count the legs on any butterfly or moth and you will always land on six. The sixteen of childhood becomes the six of adulthood, and the arithmetic of the change is exactly the prolegs being left behind.
That split fate is the tidiest way to answer the original question when someone presses you. If they mean every leg-like structure the caterpillar walks and clings with, the answer is sixteen. If they mean true legs in the strict insect sense, the answer is six, with ten temporary prolegs doing the heavy gripping in the meantime. Both answers are correct. They are just counting different things, and saying so turns a trivia trap into a small piece of real biology.
Spotting caterpillars, and raising them at home
Knowing the leg plan makes garden caterpillars easier to find and to read. Look on the undersides of leaves, where prolegs hold the body flat against a surface hidden from birds. Look for chewed edges and small dark droppings on leaves below a plant — signs that something with a good grip is feeding above. Morning is often the best time, before heat drives feeders deeper into cover.
What you plant decides who visits. Milkweed brings monarchs, parsley and dill bring swallowtails, and a gardener choosing the best plants for beginners with no gardening experience can still end up hosting caterpillars by accident, because many food plants are ordinary, easy herbs and flowers. Finding one is not a pest emergency by default. It is a chance to watch the sixteen-leg system work at close range.
Raising a caterpillar at home takes a clean jar or ventilated container, air holes, and — above all — the right food plant, fresh daily. A caterpillar separated from the plant it eats will not switch to lettuce out of politeness; it will starve, so identification comes first. Keep hands off as much as you can, since skin oils and rough handling do soft bodies no favors, clean out droppings often, and give the animal a stick to pupate on when it stops eating and starts to wander. Release what emerges, near flowers, on a warm and calm day, once the wings have dried for a few hours.
One number worth keeping
Every topic collects a stray wonder, and the caterpillar’s is silk. A single silkworm cocoon can hold up to about 900 meters of silk thread — keep that as an upper figure, since cocoons vary, but even an average one holds a startling length of fiber from one small animal. The creature that produced it did its eating and climbing on sixteen legs, six that would last and ten that would not.
So the next time the question comes up at a table or on a trail, answer it in full. Sixteen in total. Six true legs behind the head, jointed and clawed, bound for a second life on a butterfly. Ten prolegs along the belly, hooked with crochets, built for one summer of gripping and gone by the time the wings open. The caterpillar is not an animal with too many legs. It is an animal carrying two toolkits at once — and only one of them was ever meant to stay.
