Pachycephalosauria (; from Greek παχυκεφαλόσαυρος for 'thick headed lizards') is a clade of ornithischian dinosaurs. Along with Ceratopsia, it makes up the clade Marginocephalia. Pachycephalosaurs lived exclusively in the Northern Hemisphere during the Cretaceous period, with all members being found in North America and Asia. They were all bipedal, herbivorous/omnivorous animals with thick skulls. Skulls can be domed, flat, or wedge-shaped depending on the species, and are all heavily ossified. The domes were often surrounded by nodes and/or spikes. Partial skeletons have been found of several pachycephalosaur species, but to date no complete skeletons have been discovered. Often isolated skull fragments are the only bones that are found.
The oldest known definitive pachycephalosaur is Zavacephale from the Early Cretaceous (Aptian-Albian) of Mongolia. Candidates for the earlier pachycephalosaurs include Ferganocephale adenticulatum from Middle Jurassic Period strata of Kyrgyzstan and Stenopelix valdensis from Early Cretaceous strata of Germany, although R.M. Sullivan has doubted that either of these species are pachycephalosaurs. Albalophosaurus from the Early Cretaceous strata of Japan might also represent a basal pachycephalosaur, as well as the undiagnostic remains of Drinker from the Late Jurassic North America. In 2017, a phylogenetic analysis conducted by Han and colleagues identified Stenopelix as a member of the Ceratopsia.