Cranial morphology in lepidosaurs is highly disparate and characterized by the frequent loss or reduction of bony elements. In varanids and geckos, the loss of the postorbital bar is associated with changes in skull shape, but the mechanical principles underlying this variation remain poorly understood. Here, we seek to determine how the overall cranial architecture and the presence of the postorbital bar relate to the loading and deformation of the cranial bones during biting in lepidosaurs. Using computer-based simulation techniques, we compare cranial biomechanics in the varanid Varanus niloticus and the teiid Salvator merianae, two large, active foragers. The overall strain magnitudes and distribution across the cranium is similar in both species, despite lower strain gradients in Varanus niloticus. In Salvator merianae, the postorbital bar is important for the resistance of the cranium to feeding loads. The postorbital ligament, which partially replaces the postorbital bar in varanids, does not affect bone strain. Our results suggest that the reduction of the postorbital bar impaired neither biting performance nor the structural resistance of the cranium to feeding loads in Varanus niloticus. Differences in bone strain between the two species might reflect demands imposed by feeding and non-feeding functions on cranial shape. Beyond variation in cranial bone strain related to species-specific morphological differences, our results reveal that similar mechanical behaviour is shared by lizards with distinct cranial shapes. Contrary to mammals, the morphology of the circumorbital region, calvaria and palate appears to be important for withstanding high feeding loads in these lizards.