The short answer: around 230 million years ago
Dinosaurs appeared on Earth during the Triassic Period. The oldest fossils that most paleontologists agree are true dinosaurs are roughly 230 to 233 million years old, from the early part of the Late Triassic. Some researchers think the group may have started a little earlier, perhaps around 240 million years ago, but the evidence for those older dates is thinner and still debated.
To put that in perspective, dinosaurs showed up long after the first fish, insects, amphibians and reptiles, but tens of millions of years before the first flowering plants. They then lasted until about 66 million years ago, when an asteroid impact wiped out all of them except the line that led to birds.
Where dinosaurs fit in Earth’s timeline
Geologists divide Earth’s history into eras and periods. Dinosaurs belong to the Mesozoic Era, which is split into three periods:
| Period | Approximate dates | What it meant for dinosaurs |
|---|---|---|
| Triassic | about 252 to 201 million years ago | Dinosaurs first appear and stay fairly minor |
| Jurassic | about 201 to 145 million years ago | Dinosaurs dominate land ecosystems |
| Cretaceous | about 145 to 66 million years ago | Peak diversity, ending in mass extinction |
If you want a broader picture of the whole span, our pages on what time period were dinosaurs alive and on major Mesozoic era events go into each period in more detail.
The Triassic world after the great extinction
The Triassic began right after the end-Permian mass extinction, about 252 million years ago. It was the most severe extinction in the fossil record, and it cleared away a large share of life on land and in the sea. Over the next several million years, surviving groups diversified to fill the empty ecological space.
One of the groups that flourished was the archosaurs, the “ruling reptiles.” This group split into two main branches: one leading toward crocodiles and their relatives, and one leading toward pterosaurs and dinosaurs. Dinosaurs came out of the second branch.
Pangaea and the early dinosaur landscape
During the Triassic, nearly all land was joined into a single supercontinent called Pangaea. Large parts of its interior were hot and seasonally dry. Because the continents were connected, animals could in principle spread widely over land, which helps explain why early dinosaur fossils turn up in places that are now far apart, such as South America, Africa and India.
The earliest known dinosaurs
Eoraptor, Herrerasaurus and the Ischigualasto fossils
Some of the best evidence for early dinosaurs comes from the Ischigualasto Formation in northwestern Argentina, with rocks dated to roughly 231 million years ago. Fossils from these beds include:
- Eoraptor, a small, lightly built animal about a meter long, often described as one of the most primitive dinosaurs known.
- Herrerasaurus, a larger meat-eater that may have reached several meters in length.
- Eodromaeus, another small, two-legged form.
These animals were mostly bipedal, walking on their hind legs, and many were small compared with the giants of later periods. Their exact placement on the dinosaur family tree is still argued over, but they are widely accepted as dinosaurs.
Early dinosaurs from Brazil, India and Africa
Rocks of similar age in southern Brazil have produced early dinosaurs such as Saturnalia and Buriolestes, which are thought to be early members of the line leading to the long-necked sauropods. Fossils of comparable age have also been reported from India and from Zimbabwe, suggesting that by around 230 million years ago dinosaurs were already present across a wide part of southern Pangaea.
Nyasasaurus and the question of older dinosaurs
A fossil from Tanzania called Nyasasaurus, from rocks that may be around 240 million years old, is sometimes put forward as either the oldest known dinosaur or a very close relative of dinosaurs. The remains are incomplete, and the dating of the rocks is uncertain, so many researchers treat it cautiously. It is a good example of why the start date of the dinosaurs is given as a range rather than a single number.
Dinosaur relatives that came first
Dinosaurs did not appear out of nowhere. They belong to a larger group called dinosauromorphs, which includes several closely related animals that were not quite dinosaurs:
- Lagerpetids, small, agile animals that some studies link closely to pterosaurs.
- Silesaurids, such as Asilisaurus from Tanzania, which lived alongside or slightly before the earliest dinosaurs. Some scientists now think silesaurids may actually be early members of the dinosaur family tree, which would push the dinosaur story further back.
Fossil footprints from Poland, dated to the Early Triassic, have been attributed to dinosauromorphs. If that reading is right, the broader dinosaur lineage was already around only a few million years after the end-Permian extinction, even if true dinosaurs came later.
Why it’s hard to pin down an exact date
Several things make the first appearance of dinosaurs difficult to date precisely:
- The fossil record is patchy. Only a small fraction of animals ever fossilize, and the first members of any group were often rare. The oldest fossil we have found is almost certainly not the oldest dinosaur that lived.
- Early dinosaurs looked a lot like their relatives. The features that separate a dinosaur from a close cousin are often small details of the hip, ankle or skull. Incomplete skeletons can be hard to classify.
- Rock dates have margins of error. Ages come from radiometric dating of volcanic layers and from correlating rock layers across regions. These methods are reliable but come with uncertainty, especially for older sites.
- The family tree keeps shifting. As new fossils are described, researchers sometimes reshuffle which animals count as dinosaurs, which can move the start date up or down.
For a sense of how all the major groups relate, our dinosaur evolution chart lays out the branches that grew from these early forms.
From minor players to rulers of the land
For their first several million years, dinosaurs were not the dominant land animals. They shared Triassic landscapes with many other reptiles, including large crocodile-line archosaurs such as rauisuchians and phytosaurs, along with mammal relatives called synapsids. Crocodile relatives were very much part of this world, a point covered in our article asking did crocodiles exist with dinosaurs.
The Carnian Pluvial Episode
Around 232 million years ago, Earth went through a period of increased rainfall and climate change known as the Carnian Pluvial Episode. Many researchers link this event to a shake-up in ecosystems, and some studies suggest dinosaurs diversified noticeably in its aftermath. The exact cause-and-effect relationship is still being studied, but the timing lines up with the spread of early dinosaurs.
The end-Triassic extinction
About 201 million years ago, another mass extinction struck at the end of the Triassic. It is widely linked to massive volcanic activity as Pangaea began to split apart. Many of the crocodile-line archosaurs that had competed with dinosaurs disappeared, while dinosaurs came through relatively well. In the Jurassic that followed, dinosaurs became the main large land animals across the world. This is one of the events covered when people ask what are the big 5 extinctions.
How long dinosaurs lasted
From their first appearance roughly 230 million years ago to the extinction about 66 million years ago, non-avian dinosaurs were around for about 165 million years. That is a remarkably long run. By comparison, our own species has existed for only a few hundred thousand years, so the answer to “Did humans exist at the same time as dinosaurs?” is a clear no, at least for the non-bird kinds.
The story did not fully end 66 million years ago, though. Birds are descended from small feathered theropod dinosaurs, so in scientific terms one branch of the dinosaur family is still alive today. Our dinosaur extinction timeline covers how and when the other branches disappeared.
Key takeaways
- The earliest widely accepted dinosaur fossils are about 230 to 233 million years old, from the Late Triassic.
- Some fossils, such as Nyasasaurus, hint at an earlier origin, possibly around 240 million years ago, but this is uncertain.
- Early dinosaurs were mostly small, two-legged animals living on the supercontinent Pangaea.
- They became dominant only after the end-Triassic extinction about 201 million years ago.
- Non-avian dinosaurs lasted roughly 165 million years, and birds carry the lineage on today.