QuestionDiplodocus
Why Did Dinosaurs Have Long Tails? Balance, Weapons and Muscles

Dinosaurs had long tails for three main reasons. The tail balanced the heavy front of the body over the hips, it anchored the caudofemoralis, the main muscle that pulled the leg back when walking, and in some dinosaurs it was a weapon, such as the club of Ankylosaurus and the spikes of Stegosaurus.
Contents
The full answer
A dinosaur stood with its legs straight under its body and its hips acting as a pivot. In two-legged dinosaurs such as theropods, the meat-eating dinosaurs, the head, neck and chest stuck forward in front of the hips. A long, heavy tail held out behind acted as a counterweight, keeping the center of mass over the feet.
The same principle worked in giant sauropods, the long-necked plant-eaters. Diplodocus, which lived in western North America about 154–150 million years ago, was about 24–26 m (79–85 ft) long. A large share of that length was tail, built from around 80 tail vertebrae, balancing the long neck at the other end.
The tail was also part of the walking engine. Its base held the largest leg muscle, which pulled the thigh backward with each step. Losing that tail would have cost a dinosaur much of its stride power.
Finally, some plant-eaters turned their tails into defensive weapons. Ankylosaurs grew bony clubs, stegosaurs grew spikes, and sauropods such as Diplodocus had long, thin, whip-like tail tips.
How scientists know what tails did
The tail bones themselves give much of the evidence. Each tail vertebra has spines and side projections where muscles attached. Large projections near the hips mark the base of big muscles, and the shape of the joints shows how far the tail could bend.
Fossil trackways are another clue. Thousands of dinosaur trackways are known worldwide, and tail drag marks are very rare. This shows that dinosaurs held their tails off the ground, not dragging them as old museum mounts showed.
Ossified tendons add more. Many ornithischians, the bird-hipped dinosaurs such as hadrosaurs and ankylosaurs, had tendons turned into bone running along the back and tail. These stiffened the tail so it worked as a rigid beam.
Living animals help too. Crocodiles and lizards still have a caudofemoralis muscle, and studying them shows how it works in a walking reptile. Injuries also count: an Allosaurus tail bone with a hole matching the shape of a Stegosaurus spike suggests the spikes were used in real defense.
The caudofemoralis: the hidden leg muscle
The caudofemoralis longus ran from the underside of the tail bones forward to a ridge on the back of the thigh bone called the fourth trochanter. When it contracted, it pulled the thigh backward, driving the body forward. It was the main power source for walking and running in most non-bird dinosaurs.
A 2011 study by W. Scott Persons and Philip Currie argued that this muscle was even larger in Tyrannosaurus rex than earlier reconstructions showed. Their work suggested the tail base was thick and heavily muscled, not thin and bony.
Birds, the living dinosaurs, took a different path. During their evolution, the long tail shrank to a short stump called the pygostyle, which holds the tail feathers. Modern birds walk mainly by bending the knee, not by swinging the whole thigh, which is why a chicken’s thigh stays close to its body.
Tails as weapons
The table compares three famous tail weapons.
| Dinosaur | Lived | Body length | Tail weapon |
|---|---|---|---|
| Diplodocus | About 154–150 million years ago | About 24–26 m (79–85 ft) | Long thin whip-like tip |
| Stegosaurus | About 155–145 million years ago | Up to about 9 m (30 ft) | Four bony spikes (thagomizer) |
| Ankylosaurus | About 68–66 million years ago | About 6–8 m (20–26 ft) | Heavy club of fused bony plates |
Ankylosaurus had a club made of large bony plates fused together at the end of a stiff tail handle. Strong muscles at the base swung it sideways. More detail is in how Ankylosaurus used its tail club.
Stegosaurus carried four long spikes at the tail tip. The informal name thagomizer for this spike group comes from a Far Side cartoon by Gary Larson.
Stegosaurus spikes were not just for show. Several spikes have broken and healed tips, a sign that they hit something hard during the animal’s life. Together with the damaged Allosaurus tail bone, this suggests that Stegosaurus swung its tail sideways at predators. Diplodocus, by contrast, had no bony weapon at all; its defense relied on sheer size and on the long, flexible tail, which could at least have been swung to keep attackers back.
What scientists still debate
Whether Diplodocus could crack its tail like a whip is still argued. A 1997 computer model suggested the thin tail tip could move faster than sound and make a loud crack, but later researchers doubt the tip could survive such speeds. Others think the tail was a defensive lash or a display feature.
How Ankylosaurus used its club is also debated. It could have struck predators such as Tyrannosaurus rex, or it could have been used mainly in contests between rivals of its own species.
A common myth is that long tails made dinosaurs slow. In fact, the tail muscle was the main engine of their stride, so a big tail was a sign of strong legs.
Frequently asked questions
Why did dinosaurs have tails?
Tails balanced the front of the body over the hips and anchored the caudofemoralis, the main muscle that pulled the thigh back when walking. Some dinosaurs also used their tails as weapons.
Did dinosaurs drag their tails on the ground?
No. Fossil trackways almost never show tail drag marks, and the tail bones show the tail was held out level behind the body. Old museum mounts with tails on the ground were wrong.
What is a thagomizer?
A thagomizer is the group of four bony spikes at the end of a Stegosaurus tail. The name began as a joke in a Far Side cartoon by Gary Larson and was later adopted by paleontologists informally.
How strong was the Ankylosaurus tail club?
The club was a heavy knob of fused bony plates on a stiff tail handle. Studies suggest a swing from a large Ankylosaurus could break bone, but exact forces are estimates and vary between studies.
Why do birds have short tails if they are dinosaurs?
During the evolution of birds, the long bony tail shrank to a short stump called the pygostyle, which supports the tail feathers. Birds now walk mainly by moving the lower leg from the knee.
Sources and further reading
- W. Scott Persons and Philip J. Currie, "The tail of Tyrannosaurus: reassessing the size and locomotive importance of the M. caudofemoralis in non-avian theropods", The Anatomical Record (2011)
- David B. Weishampel, Peter Dodson and Halszka Osmólska (eds.), "The Dinosauria" (2nd ed., 2004)
- Gregory S. Paul, "The Princeton Field Guide to Dinosaurs" (2nd ed., 2016)
- Natural History Museum, London, "Stegosaurus"
Cite this page
“Why Did Dinosaurs Have Long Tails? Balance, Weapons and Muscles.” Fossil Record, https://dinosaurs.bigworldlist.com/questions/why-did-dinosaurs-have-long-tails/.
Diplodocus: more questions and guides
- DinosaurDiplodocus: Facts About the Whip-Tailed Long-Necked Giant
- ScienceAmphicoelias fragillimus: The Lost Bone of a Possible Giant
- ScienceAre Museum Dinosaur Skeletons Real? Casts vs Original Bones
- ListBest Dinosaur Museums in the USA: Where to See Real Fossils
- ComparisonBrachiosaurus vs Diplodocus: Two Morrison Giants Compared
- ScienceCarnegie Museum of Natural History: The Original Dippy
- QuestionCould Dinosaurs Chew? How Plant-Eaters Processed Food
- QuestionCould Diplodocus Crack Its Tail Like a Whip? Science Explained
- QuestionDid Dinosaurs Eat Grass? What Plant-Eating Dinosaurs Ate