What Dinosaurs Actually Lived in Swamps?

Fewer dinosaurs lived in swamps than classic paleontological artwork suggests. The image of a brontosaurus neck-deep in a murky bayou dates back to the early twentieth century and has been largely abandoned by researchers, but certain dinosaur groups genuinely did inhabit wetland and floodplain environments. Ceratopsians, some theropods, and possibly a handful of small feathered species frequented marshy ground or waterlogged lowlands, though the evidence is more complicated and more interesting than simply labeling any species a “swamp dweller.”

Ceratopsians Preferred the Wet Floodplain

The strongest evidence for dinosaurs consistently occupying swampy, low-lying ground comes from ceratopsians, the horned dinosaurs. A study of the latest Cretaceous formations in North America found that ceratopsians turn up preferentially in mudstone deposits, the kind of fine-grained sediment that typically represents floodplain environments away from the main river channels. Hadrosaurs (duck-billed dinosaurs) and the small ornithopod Thescelosaurus, by contrast, showed a strong association with sandstone, which represents environments closer to active rivers.1PubMed Central. Spatial niche partitioning in dinosaurs from the latest cretaceous (Maastrichtian) of North America The researchers argued this pattern reflects genuine habitat partitioning: ceratopsians chose their territory farther from flowing water, in the boggy, seasonally flooded plains, while hadrosaurs stuck to riparian corridors. Tyrannosaurus rex, the sole large predator in those ecosystems, showed no preference and roamed both zones.

This matters because it shifts the popular picture. When people think of dinosaurs in swamps, they usually imagine giant sauropods or toothy predators. In reality, the dinosaurs most consistently tied to marshy, waterlogged floodplains were herbivores like Triceratops and its relatives. Floodplains offered soft, low-growing vegetation, and ceratopsians with their broad, battery-like teeth were well suited to process it. Their wide, stocky bodies and relatively short legs would have handled soft, muddy substrates better than the more gracile hadrosaurs.

Spinosaurus and the Aquatic Predator Debate

No dinosaur has been more aggressively marketed as a swamp predator than Spinosaurus aegyptiacus. Since the early 2010s, a wave of research and media attention reimagined this massive theropod as a semiaquatic hunter, diving after fish like a giant crocodile. The reality is far more contested, and recent biomechanical analyses paint a much less dramatic picture.

A detailed modeling study calculated that Spinosaurus could reach a maximum swimming velocity of roughly 1.2 meters per second, an order of magnitude slower than large pursuit predators in water today, such as dolphins or billfish. More damaging to the aquatic-predator idea, the study found that Spinosaurus was fundamentally unstable in water. Its center of mass and center of buoyancy sat so close together that the animal would tend to roll onto its side, and righting itself would require far more torque than its limbs and tail could generate. Diving was essentially impossible: pushing the body underwater would have required about 25 times the maximum force its tail could produce, and even with the most generous assumptions about internal air space, the animal still could not submerge itself.2eLife. Spinosaurus is not an aquatic dinosaur

Separate work on bone density adds another layer of skepticism. Some researchers had proposed that the unusually dense limb bones of Spinosaurus and its relative Baryonyx served as ballast, helping the animals sink and control their buoyancy underwater, similar to what is seen in modern diving birds and marine mammals. But a closer look at the full skeleton showed that any increase in density from the limb bones was more than offset by extensive pneumaticity (air-filled cavities) in the spine and torso, meaning the skeleton as a whole was not particularly heavy for its size.3PLoS ONE. Diving dinosaurs? Caveats on the use of bone compactness and pFDA for inferring lifestyle

None of this means Spinosaurus never went near water. It almost certainly ate fish, as isotopic data and tooth shape both suggest. But it was more likely a wading predator along riverbanks and lake margins, standing in shallow water and snatching prey with its long, narrow jaws, rather than a pursuit diver swimming through swamp channels. Think of a giant heron rather than a crocodile.

Using Bone Density to Identify Water-Dwelling Dinosaurs

The Spinosaurus debate brought a broader methodological question into sharp focus: can you tell whether an extinct animal lived in water by looking at its bones under a microscope? The idea has deep roots. Among living animals, species that spend a lot of time swimming or diving tend to have denser bones, which reduce buoyancy and help them stay submerged. Very fast swimmers, by contrast, tend toward lighter, more spongy bone that allows greater speed and maneuverability.4PubMed. Adaptive Patterns in Aquatic Amniote Bone Microanatomy-More Complex than Previously Thought

When researchers apply this framework to dinosaurs, they measure something called bone compactness in cross-sectional slices. A higher compactness value means denser bone, which could suggest a more aquatic lifestyle. But the picture is far messier than a simple density-to-lifestyle correlation. The compactness of individual bones varies enormously depending on which bone you measure, the animal’s age, its growth rate, and whether other parts of the skeleton are hollow. Denser limb bones do not guarantee aquatic habits if the rest of the body is full of air.3PLoS ONE. Diving dinosaurs? Caveats on the use of bone compactness and pFDA for inferring lifestyle This is an active area of research, and the tools for inferring lifestyle from bone microanatomy are improving, but the headlines claiming certain dinosaurs were confirmed divers based solely on bone density have gotten ahead of the evidence.

Halszkaraptor, the “Duck Dinosaur”

One of the more surprising candidates for a swamp-adjacent dinosaur is Halszkaraptor escuilliei, a small feathered theropod from Late Cretaceous Mongolia. When it was described in 2017, its unusual body plan, including a long, swan-like neck, flipper-like forelimbs, and a flattened snout, led researchers to propose it was a semiaquatic piscivore, something like a dinosaurian merganser that dove and paddled after fish.

The idea was immediately contentious. One reanalysis concluded that the supposedly aquatic features of Halszkaraptor were actually widespread among its relatives and did not point to a semiaquatic lifestyle at all. The long neck and unusual limb proportions, the authors argued, were better explained as an intermediate body plan between dromaeosaurids and related groups, not as adaptations for swimming.5PubMed Central. Halszkaraptor escuilliei and the evolution of the paravian bauplan A second study pushed back, concluding that the closest living comparison to Halszkaraptor‘s body plan is in fact the mergansers, sawbill ducks that swim and dive after fish, and that its anatomy represented a genuine amphibious specialization rather than a transitional or ancestral form.6PubMed Central. The body plan of Halszkaraptor escuilliei (Dinosauria, Theropoda) is not a transitional form along the evolution of dromaeosaurid hypercarnivory

The debate remains unresolved. Halszkaraptor is known from a single specimen, which makes it hard to study variation or confirm fine anatomical details. If the amphibious interpretation holds up, it would be one of the few non-avian dinosaurs genuinely adapted to spending significant time in water. But it was a small animal, roughly the size of a goose, and its habitat would have been lakeshores or stream margins in a semi-arid landscape, not the dripping tropical swamp of popular imagination.

The Old Sauropod-in-the-Swamp Myth

For much of the twentieth century, the standard view was that giant sauropods like Brachiosaurus and Diplodocus spent most of their lives wading in deep swamps and lakes, using the water to support their enormous weight. This idea was based on a misunderstanding of their anatomy and physics. Sauropods had lightweight, air-filled vertebrae, a sophisticated system of tendons and muscles supporting their necks and tails, and columnar legs well designed for walking on land. The notion that they needed water just to stand up was wrong.

But sauropods did occasionally walk through wet ground, and the trackway evidence is fascinating. Fossil trackway sites around the world sometimes preserve “manus-only” tracks, where only the front feet left impressions, with no corresponding hind-foot marks. For decades this was interpreted as evidence that the animals were floating in deep water, touching the bottom only with their forelimbs. A finite-element analysis showed a more mundane explanation: when weight is distributed unequally between the front and back feet, there is a range of substrate firmness in which only the heavier end exerts enough pressure to deform the ground. Depending on the species and its particular foot proportions, either the front or back feet could leave tracks while the other set simply did not press hard enough into the mud.7PubMed Central. Simulating sauropod manus-only trackway formation using finite-element analysis Sauropods walking through a shallow, muddy floodplain could produce exactly these tracks without being chest-deep in water.

So sauropods visited wet environments but did not depend on them. Their fossils show up in a wide range of depositional settings, from arid inland plains to coastal lowlands. They were generalists, not obligate swamp dwellers.

How Paleontologists Reconstruct Ancient Wetlands

Figuring out whether a dinosaur lived in a swamp is not as simple as finding its bones in wet-looking rock. Researchers use several converging lines of evidence. The type of sediment surrounding the fossils is the first clue: mudstone and siltstone suggest slow-moving or standing water, while sandstone typically indicates river channels or more energetic flow. But the same animal can end up in a very different sediment from where it lived, carried by floods or washed downriver after death.

Geochemistry offers a more direct window. The oxygen and carbon isotopes locked in tooth enamel can reflect the local water an animal drank during its life, providing clues about climate and habitat. Because large theropods maintained relatively stable body temperatures, the isotopic composition of their teeth is tied to the surface water in their environment rather than being scrambled by fluctuating body chemistry.8Palaeogeography, Palaeoclimatology, Palaeoecology. Diet preferences and climate inferred from oxygen and carbon isotopes of tooth enamel of Tarbosaurus bataar (Nemegt Formation, Upper Cretaceous, Mongolia) Researchers have used this approach on Tarbosaurus teeth from Mongolia’s Nemegt Formation, a region known for its ancient river systems and seasonal wetlands, to reconstruct what the local environment was like when these large predators roamed it.

Combining sedimentology, isotope chemistry, fossil plant remains, and the full suite of animals found alongside the dinosaurs, paleontologists can build a reasonably detailed picture of a given ecosystem. The ceratopsian-habitat study described earlier is a good example of this kind of multi-proxy approach: it used lithology (rock type) as a stand-in for environment and then tested whether different dinosaur groups showed statistically significant associations with particular rock types.

Standing Water, Disease, and Death Traps

Some of the most spectacular dinosaur fossil sites formed in or near standing water, but not because the dinosaurs were swamp residents by choice. Shallow, slow-moving waterways and seasonal pools acted as natural traps. Animals that became mired in soft sediment died in place, and their skeletons were preserved in the fine-grained mud. In what is now the interior of São Paulo state in Brazil, a Late Cretaceous formation preserves large titanosaur sauropods in exactly this kind of setting: an arid landscape dotted with sluggish rivers and stagnant pools where animals got stuck and perished.

These pooling-water environments may have posed additional risks beyond entrapment. Paleontologists studying the Brazilian titanosaurs have documented unusual bone pathologies, signs of disease affecting the skeleton, and have suggested that stagnant water could have harbored pathogens transmitted by insects or ingested directly. The warm, shallow water would have been an ideal breeding ground for parasites and microorganisms, and all the animals drinking from or living near those pools, including turtles and crocodilian relatives, would have been exposed.

This is a useful reminder that “found in a swamp” does not mean “lived in a swamp.” Taphonomy, the study of how organisms become fossils, repeatedly shows that the environment of burial is not necessarily the environment of life. A dinosaur preserved in swamp sediment may have been an upland animal that wandered into a bog and got stuck, or a riverside animal whose carcass was washed into a backwater after death.

Creatures Often Confused with Swamp-Dwelling Dinosaurs

Part of the reason “swamp dinosaurs” loom so large in the public imagination is that several genuinely swamp-dwelling Mesozoic animals were not actually dinosaurs. Phytosaurs, a group of large archosaurs from the Triassic period, looked remarkably like modern crocodilians and lived in tropical wetlands across what is now North America and Europe. Some species exceeded five meters in length and had long, narrow snouts ideal for snatching fish and amphibians from shallow water. They thrived in the lush, fern-covered swamps of the Late Triassic, but they were a completely separate lineage from dinosaurs, having gone extinct before the major dinosaur groups diversified.

Similarly, the giant crocodylomorphs of the Cretaceous, such as Deinosuchus and Sarcosuchus, were true swamp predators that reached lengths of ten meters or more. They are often depicted alongside dinosaurs in paleoart and museum displays, which reinforces the idea that dinosaurs themselves were swamp creatures. In reality, the most committed wetland predators of the Mesozoic were these crocodilian relatives, not the dinosaurs.

Why the Swamp Image Persisted So Long

The “dinosaurs in swamps” trope took root in the late 1800s and early 1900s, when paleontologists struggled to explain how animals as large as sauropods could function on land. The assumption was that their legs could not support their weight without the buoyancy of water, an error that persisted for decades because no one had rigorously modeled sauropod biomechanics. Victorian and Edwardian paleoart cemented the image: oil paintings of Brontosaurus lounging in misty lagoons became iconic.

By the 1970s and 1980s, the “dinosaur renaissance” brought a fundamental shift. Researchers demonstrated that sauropods had bird-like respiratory systems with air sacs extending into their vertebrae, making them far lighter than their bulk suggested. Trackway studies showed they walked with an upright, efficient gait on dry ground. The swamp hypothesis was abandoned in professional circles, but its cultural afterlife has been remarkably durable. Popular books, films, and toys produced well into the 2000s continued to show sauropods neck-deep in water.

The irony is that while sauropods were being freed from the swamp in the scientific literature, new candidates for genuinely water-associated dinosaurs were emerging. Spinosaurus, the halszkaraptorines, and the ceratopsian habitat data all came to prominence in the twenty-first century. The science moved past the simplistic “swamp giants” picture and toward a more nuanced understanding: some dinosaurs did spend time in wetlands, but they were generally smaller, more specialized, and more ecologically varied than the lumbering sauropods of old illustrations.

What Actually Qualifies as a Swamp Dinosaur

If you define “swamp dinosaur” strictly as a species that was ecologically dependent on wetland habitats for feeding, shelter, or reproduction, the honest answer is that the evidence is thin for any non-avian dinosaur. Ceratopsians showed a statistical preference for floodplain environments, but floodplains are not exactly swamps. Spinosaurus frequented waterways but was likely a wading predator, not an aquatic resident. Halszkaraptor may or may not have been amphibious, depending on which analysis you favor.

The Mesozoic world had extensive swamps, deltas, and coastal marshlands, and dinosaurs certainly passed through them. But no dinosaur lineage shows the suite of adaptations you see in genuinely swamp-committed modern animals: webbed feet optimized for soft substrates, physiological tolerance for waterlogged conditions, and ecological dependence on wetland food webs. The animals that filled those niches during the age of dinosaurs were mostly non-dinosaurian archosaurs, the phytosaurs and crocodylomorphs that had arrived at a body plan suited to swamp life long before Triceratops or Tyrannosaurus ever evolved.

Justin Curtis

For 10 years, disease ecologist Justin Curtis has researched chytrid fungus in frogs and salamanders and snake fungal disease in wild populations. He holds a PhD in ecology from the University of Georgia, with fieldwork in the southern Appalachians and Central America. He now runs a university research group on herpetofauna conservation.