The short answer
Yes. Fossil evidence strongly supports placing dinosaurs within the reptiles. Their skulls, eggs, skin and overall anatomy share key features with other reptiles, and their closest living relatives are crocodiles and birds.
The catch is that “reptile” can mean two different things. In the everyday sense, reptiles are scaly, cold-blooded animals like lizards, snakes, turtles and crocodiles. In the modern scientific sense, reptiles are a branch of the family tree, and that branch includes birds. Dinosaurs fit comfortably in the scientific definition, but they don’t match the everyday picture of a sluggish lizard.
It depends on what “reptile” means
The traditional definition
The older way of classifying animals grouped them by shared features. Under that system, reptiles were vertebrates with scales that laid shelled eggs on land and were cold-blooded. Birds were placed in a separate group because they have feathers and are warm-blooded.
By this definition, dinosaurs were long considered reptiles because their fossils show scaly skin and shelled eggs, and their skeletons resemble those of crocodiles and lizards in many ways.
The family-tree definition
Most biologists now classify animals by ancestry. A proper group should include a common ancestor and all of its descendants. Under this approach, the reptile group (Reptilia) includes turtles, lizards, snakes, the tuatara, crocodilians, dinosaurs and birds, since birds descend from dinosaurs.
So in modern classification, dinosaurs are reptiles, and so are birds.
The evidence that places dinosaurs among reptiles
Skull openings
Dinosaurs have two openings on each side of the skull behind the eye socket. This “diapsid” pattern is shared with lizards, snakes, the tuatara, crocodiles and birds (though it’s modified in some of these groups). Mammals have a different arrangement.
Dinosaurs also have an extra opening in front of the eye, called the antorbital fenestra. This marks them as archosaurs, the group that also includes crocodilians, pterosaurs and birds.
Shelled eggs
Many dinosaur eggs and nests have been found, some with embryos inside. Like other reptiles and birds, dinosaurs laid hard- or leathery-shelled eggs on land. Some evidence suggests that early dinosaur eggs may have been relatively soft-shelled, more like some modern reptiles, and that hard shells became more common later in some lineages.
Scaly skin
Fossil skin impressions show that many dinosaurs, such as hadrosaurs, sauropods and ceratopsians, had skin covered in non-overlapping scales. Some also had feathers or filaments, and some had both. Our guide to dinosaur skin pattern evidence covers what these fossils show.
Close kinship with crocodiles
Skeletal features across the skull, ankles and other parts of the body place dinosaurs and crocodilians on the same broad archosaur branch. Crocodiles aren’t dinosaurs, but they are among the closest living relatives of dinosaurs other than birds. Our article on why are crocodiles not dinosaurs explains where the line falls.
What makes dinosaurs different from other reptiles
While dinosaurs are reptiles, they had distinctive traits that set them apart. The most notable is posture. Dinosaurs held their legs straight beneath their bodies, rather than sprawling out to the side as most lizards do. Their hip socket also had an opening right through the middle, a feature found in dinosaurs and birds.
Many dinosaurs also grew quickly and may have been warm-blooded to some degree, which makes them quite unlike a modern lizard. Our main article on whether dinosaurs were endothermic explains that evidence.
Dinosaurs were not lizards
The name “dinosaur” comes from Greek words often translated as “terrible lizard,” which was coined by Richard Owen in 1842. That name has caused plenty of confusion. Dinosaurs were not lizards, and lizards didn’t come from dinosaurs. Lizards and dinosaurs are both reptiles, but they belong to different branches that split long before dinosaurs appeared.
Many other famous prehistoric reptiles weren’t dinosaurs either. Pterosaurs, plesiosaurs, ichthyosaurs and mosasaurs are often lumped in with dinosaurs, but scientists classify them separately. For a fuller comparison, see our article on what’s the difference between dinosaurs and ancient reptiles.
Why birds complicate the picture
Birds are the reason this question gets tricky. Fossils show a gradual series of features linking small theropod dinosaurs and early birds, including feathers, wishbones and hollow bones. Because birds descend from dinosaurs, if dinosaurs are reptiles, birds are too, at least under the family-tree definition.
That doesn’t mean a robin is a lizard. It means birds are one highly specialized branch of reptiles, in the same way bats are an unusual branch of mammals. This is also why the question “Was T-rex a bird or lizard?” doesn’t have a simple answer: T. rex was neither, but it was more closely related to birds than to lizards.
So, were dinosaurs reptiles?
Yes. Dinosaurs were reptiles in both the traditional and the modern scientific sense. The proof comes from their skull structure, eggs, skin and their clear relationships with crocodiles and birds.
What they weren’t is a giant version of a modern lizard. Dinosaurs were a distinctive group of reptiles, upright, often fast-growing and in many cases feathered, and one branch of them is still alive today as birds.