Heterodontosaurus is a genus of heterodontosaurid dinosaur that lived during the Early Jurassic, 200–190 million years ago. Its only known member species, Heterodontosaurus tucki, was named in 1962 based on a skull discovered in South Africa. The genus name means "different toothed lizard", in reference to its unusual, heterodont dentition; the specific name honours G. C. Tuck, who supported the discoverers. Further specimens have since been found, including an almost complete skeleton in 1966.
Though it was a small dinosaur, Heterodontosaurus was one of the largest members of its family, reaching between and possibly in length, and weighing between . The skull was elongated, narrow, and triangular when viewed from the side. The front of the jaws were covered in a horny beak. It had three types of teeth; in the upper jaw, small, incisor-like teeth were followed by long, canine-like tusks. A gap divided the tusks from the chisel-like cheek-teeth. The body was short with a long tail. The five-fingered forelimbs were long and relatively robust, whereas the hind-limbs were long, slender, and had four toes.
Heterodontosaurus is the eponymous and best-known member of the family Heterodontosauridae. This family is considered a basal (or "primitive") group within the order of ornithischian dinosaurs, while their closest affinities within the group are debated. In spite of the large tusks, Heterodontosaurus is thought to have been herbivorous, or at least omnivorous. Though it was formerly thought to have been capable of quadrupedal locomotion, it is now thought to have been bipedal. Tooth replacement was sporadic and not continuous, unlike its relatives. At least four other heterodontosaurid genera are known from the same geological formations as Heterodontosaurus.
The holotype specimen of Heterodontosaurus tucki (SAM-PK-K337) was discovered during the British–South African expedition to South Africa and Basutoland (former name of Lesotho) in 1961–1962. Today, it is housed in the Iziko South African Museum.