Primate mandibular morphology is often associated with jaw functionality of the masticatory complex in the context of variation in diets. Recent research into the disparities between the diet and jaw functionality in male and female hominoids is inconclusive and suggests that sexual dimorphism in the mandible may be influenced by external factors such as temporalis and masseter muscle morphology, which in turn may be influenced by sexual selection. As the muscles associated with mastication (i.e., the type of chewing exhibited by primates and other mammals) encompass the mandible as well as the neurocranium, including the sagittal crest among some individuals, this study investigates sex‐specific associations between regions of the mandibular ramus and neurocranium associated with mastication in a dentally mature sample of Gorilla and Pongo. A total of four cranial and mandibular variables were measured in two Gorilla taxa (Gorilla gorilla gorilla and Gorilla beringei graueri) and one Pongo taxon (Pongo pygmaeus pygmaeus) (n = 220). For all three taxa, we investigate (a) whether the degree of sexual dimorphism in cranial regions associated with sagittal cresting (sagittal crest size (SCS) and temporalis muscle attachment area (TMAA)) is proportional to the degree of mandibular ramus area (MRA) and coronoid process height (CPH) sexual dimorphism, (b) whether there are sex differences in scaling relationships between TMAA and MRA, and (c) whether there are sex differences in the strength of association between TMAA and CPH. We show that for G. g. gorilla, variables associated with sagittal cresting show higher sexual dimorphism values than our two mandibular ramus variables, which is not the case for G. b. graueri or for P. p. pygmaeus. All three taxa show similar sex‐specific scaling relationships between TMAA and MRA, where for males this relationship does not diverge from isometry, and for females there is a negative allometric relationship. Our findings also show intraspecific sex differences in allometric slopes between MRA and TMAA for all three taxa. Only G. g. gorilla shows a significant association between TMAA and CPH, which is observed in both sexes. Although there are some statistical associations between the cranial and mandibular regions associated with mastication, our results show that among male gorillas and orangutans, patterns of variation in the sagittal crest, TMAA, mandibular ramus and the coronoid process cannot be explained by the muscle attachment hypothesis alone. These findings have implications surrounding the associations between social behaviour and the morphology of the craniofacial complex.