The Closest Relatives of Dinosaurs

Birds belong inside Dinosauria. Crocodilians are the nearest living branch outside it, while pterosaurs were close extinct neighbours.

A bird, a small dinosaur, a pterosaur and a crocodilian in a reconstructed Triassic landscape
The scene compares members of the archosaur tree. Their arrangement is illustrative and does not depict one documented community.

The closest living relatives of dinosaurs are birds, because birds are one surviving branch of dinosaurs. Crocodilians occupy a different position: they are the nearest living group outside the bird line, preserved from the other main branch of archosaurs. Pterosaurs were more closely related to dinosaurs than crocodilians were, but they were not dinosaurs themselves.

This answer only seems contradictory if “dinosaur” is treated as a set of extinct, large reptiles. In evolutionary classification, a group includes a common ancestor and all its descendants. A sparrow is therefore inside Dinosauria, while a dragon-like pterosaur remains a neighbouring branch.

The short answer

GroupRelationship to dinosaursLiving today?
BirdsInside theropod dinosaursYes
PterosaursNeighbouring branch of the bird-line archosaursNo
CrocodiliansThe other major archosaur branchYes
Lizards and snakesMore distant reptile branch, outside ArchosauriaYes

Archosaurs: the shared group for dinosaurs and crocodilians

Archosaurs appeared in the Triassic and split into two major lineages. One is the crocodile line, or Pseudosuchia. It includes living crocodilians and many extinct forms: aetosaurs, large predatory pseudosuchians, early crocodylomorphs and their relatives.

The other is the bird line of archosaurs, or Avemetatarsalia. It includes dinosaurs, birds, pterosaurs and several early Triassic groups. The name does not mean that every member looked like a bird. The early Teleocrater, for example, walked on four legs and may have resembled a small crocodile in overall shape, even though it lay on the bird side of the tree.

The two lineages are defined by ancestry, not by movement, diet or appearance. The bipedal Poposaurus belonged to the crocodile branch, while a quadrupedal sauropod belonged to the bird branch. Similar ways of walking can evolve independently.

Birds are not merely relatives: they are living dinosaurs

Birds arose within theropods, the large group that also included tyrannosaurs, allosaurs and dromaeosaurids. More specifically, their lineage passes through coelurosaurs and maniraptorans. This nesting works like an address: a bird is simultaneously a vertebrate, a reptile, an archosaur, a dinosaur and a theropod.

After the extinction at the Cretaceous–Palaeogene boundary about 66 million years ago, only the bird part of Dinosauria survived. All non-avian dinosaurs disappeared. “Descendants of dinosaurs” is historically true, but saying that birds are dinosaurs describes their classification more accurately.

The detailed evidence, including the furcula, feathers, air spaces in bones, hand anatomy, eggs and brooding postures, is discussed in the guide to how birds evolved from dinosaurs. Here the key point is the position of birds on the shared tree.

Pterosaurs: close extinct neighbours, but not dinosaurs

Pterosaurs flew on a membrane supported by an extremely elongated fourth finger. They are often called “flying dinosaurs”, but that is a popular phrase, not a systematic classification. Pterosaurs form a separate branch of the bird-line archosaurs.

Modern analyses link the origin of pterosaurs with lagerpetids, small Triassic animals once thought to be closer to dinosaurs. New evidence from skulls and limbs has helped narrow the anatomical gap between early pterosaurs and their terrestrial relatives. The placement of individual early taxa can shift, but the distinction between Pterosauria and Dinosauria remains central to the classification.

The pterosaur catalogue shows how distinct this lineage was: it ranges from small, long-tailed Triassic forms to giant azhdarchids of the Late Cretaceous.

Crocodilians are the closest living relatives outside Dinosauria

If birds are excluded, the closest living relatives of dinosaurs are crocodiles, alligators, caimans and gharials. Their shared ancestor with birds lived early in archosaur history. Genomic data from living species support the union of birds and crocodilians within Archosauria.

This does not mean a modern crocodile resembles the ancestor of dinosaurs. Over hundreds of millions of years, the crocodile line produced terrestrial, marine, long-legged and even plant-eating forms. The semiaquatic body of living crocodilians is only one surviving arrangement. The ancient crocodylomorph catalogue illustrates how much variety has disappeared.

Birds and crocodilians help researchers reconstruct soft tissues and behaviour in extinct dinosaurs. If the same feature occurs on both living sides of the archosaur tree, it becomes more likely that their common ancestor had it. That inference still has to be checked against fossil evidence rather than transferred automatically.

Who stood near the first dinosaurs?

Triassic bird-line archosaurs included silesaurids and related forms. Their position is debated: different analyses place them as a sister group to dinosaurs or within an early ornithischian branch. On a simplified tree, it is safer to call them forms near the base of Dinosauria than to assign every one of them permanently to a single rung.

Lagerpetids are now associated in many studies with pterosaurs. Marasuchus and similar small animals help explain how dinosaur features accumulated, but they are not direct ancestors of familiar later genera. A fossil tree almost never gives a labelled chain saying “this species produced the next one”. It shows branching relationships.

Why lizards, monitors and chameleons are not the closest relatives

The word Dinosauria contains a root often translated as “terrible lizard”, but dinosaurs are not members of the modern lizard group. Lizards and snakes belong to Lepidosauria, another major branch of reptiles. Their common ancestor with archosaurs lived earlier than the common ancestor shared by birds and crocodilians.

A skull, scales or a long tail can create superficial similarities, but shared appearance alone does not establish close ancestry. For the same reason, marine ichthyosaurs and plesiosaurs are not dinosaurs even though they lived in the Mesozoic and often appear beside them in books. The comparison of pterosaurs and dinosaurs explains another common mix-up.

The comparison between archosaurs and synapsids reaches further back: mammals belong to the synapsid line, which diverged from the reptile branch long before dinosaurs appeared.

How to read an evolutionary tree

A tree is not a ladder from “primitive” to “advanced” animals. Each fork represents a shared ancestor, and the closest relationship is the one marked by the most recent shared fork. A modern bird did not descend from a modern crocodile, and a crocodile is not a “living dinosaur”. Both lineages evolved independently after they split.

The length of a branch in a family-tree diagram does not show millions of years unless the tree includes a time scale. The simplified diagram used with the Russian source also leaves out many early groups and disputed placements. Its purpose is to show the main relationships among birds, other dinosaurs, pterosaurs and the crocodile branch without turning the tree into a ladder.

Frequently asked questions

What is the closest living relative of dinosaurs?

Birds, because birds are inside Dinosauria. If the question means a living group outside dinosaurs, it is crocodilians.

Were pterosaurs dinosaurs?

No. Pterosaurs and dinosaurs are two different branches of the bird-line archosaurs. A pterosaur wing was built differently from a bird wing.

Did crocodiles evolve from dinosaurs?

No. The crocodile and bird lines split among early archosaurs. Crocodilians and dinosaurs share an ancestor, but neither group descended from the other.

Are lizards closer to dinosaurs than mammals are?

Lizards and mammals are both amniotes, but lizards are still distant from dinosaurs. Birds, pterosaurs and crocodilians are much closer on the evolutionary tree.