Whales evolved from land-dwelling mammals tens of millions of years after the non-avian dinosaurs went extinct. Yet mammal relatives had entered water much earlier. Middle Jurassic fossils from China show that mammaliaforms had already evolved body features associated with swimming, burrowing and feeding in aquatic environments around 164 million years ago.
Castorocauda: a Jurassic swimmer
Castorocauda lutrasimilis is known from a remarkably preserved fossil in the Middle Jurassic Jiulongshan Formation of Inner Mongolia. Its name means “beaver tail, otter-like”, reflecting the resemblance of its flattened tail and body shape to modern semi-aquatic mammals. The fossil preserves fur impressions and a tail with flattened, overlapping scales, an unusual combination among early mammaliaforms.
The limbs and tail support an interpretation of swimming, while some bones also suggest digging. Its cheek teeth were suited to processing animal food, and fish are a plausible part of its diet. But no stomach contents directly prove what a particular individual ate. The skeleton is strong evidence of a semi-aquatic lifestyle, not a complete record of daily behaviour.
Castorocauda was a docodontan mammaliaform. Docodontans are close relatives of mammals, but they are not a living mammal group and left no known descendants. The distinction matters: “mammaliaform” includes the wider fossil branch, while “mammal” can refer more narrowly to the crown group that contains living monotremes, marsupials and placentals.
A wider aquatic experiment
Castorocauda was not alone. Fossils of other docodontans, including Haldanodon and later-diverging forms, show that early mammaliaforms explored several ecological roles. Some had robust forelimbs and digging adaptations; others developed features associated with water. A 2026 study of a new Middle Jurassic mammaliaform from China reported a different suite of swimming and feeding traits, including preserved throat anatomy. The authors interpret it as semi-aquatic, showing that docodontans diversified repeatedly rather than following one identical path.
These animals lived in ecosystems that also contained dinosaurs, pterosaurs, fish and amphibians. They were not miniature versions of modern otters or beavers, even when their bodies converged on similar functions. Similar water-adapted shapes can evolve in unrelated lineages because swimming imposes comparable physical demands.
The newest named Jurassic example, Megacauda sungei, was described from China in 2026. Its pelvis and hindlimb add anatomical evidence for swimming, while distinctive canines and blade-like cheek teeth suggest a diet based on animal prey. The authors identify it as the largest known Jurassic mammaliaform and interpret it as semi-aquatic. Its throat bones also preserve rare evidence about how swallowing and suckling structures evolved. These conclusions come from one exceptional fossil, so they broaden the known range of docodont anatomy without showing how common such animals were.
How fossils reveal aquatic life
Flattened tails, limb proportions, joint surfaces, claws and body impressions can all inform a locomotion model. Researchers compare these structures with living animals and test whether the proposed movements are mechanically possible. A feature may have served more than one purpose: a strong forelimb can help with both digging and paddling, and a broad tail can contribute to swimming without proving a particular stroke.
Exceptional preservation is crucial. Fur and soft tissues usually decay, so most mammaliaform fossils consist of teeth and jaw fragments. A single complete skeleton can reveal anatomy that would otherwise be invisible, but it cannot show how common a lifestyle was. The scarcity of aquatic specimens may reflect preservation and collecting as well as the original number of animals.
How this differs from whale evolution
Whales are crown mammals whose ancestors returned to aquatic life in the early Cenozoic. Their transition is documented by a younger sequence of fossils with changing ears, limbs, nostrils, tails and feeding systems. Jurassic mammaliaforms such as Castorocauda belong to a separate earlier branch. They demonstrate that aquatic specialisation appeared early in mammal evolution, but they are not ancestors of whales.
These Jurassic swimmers broaden the Mesozoic story. Mammaliaforms were testing different diets, body plans and habitats while dinosaurs were alive. The fossils preserve direct anatomy and allow functional inferences, but the exact behaviour, swimming speed and social lives of these animals remain unknown. Their evolutionary significance lies in showing how early the mammalian branch explored aquatic niches.
Frequently asked questions
Were Jurassic aquatic mammaliaforms whales?
No. They were early mammaliaforms on separate branches. Whales evolved from land-dwelling crown mammals much later.
What evidence suggests Castorocauda could swim?
Its flattened tail, limb anatomy, fur and other skeletal traits support a semi-aquatic interpretation, although they do not reveal every movement.
Did Castorocauda eat fish?
Its teeth and aquatic adaptations make fish and other small animals plausible prey, but no direct stomach contents confirm a specific meal.
Was Castorocauda a true mammal?
It was a docodontan mammaliaform, a close extinct relative on the wider mammalian lineage. It was not part of a living mammal group.

