The roof is formed by the inferior surfaces of the greater wing of the sphenoid and the temporal bone, contains the foramen spinosum, foramen ovale, and the petrotympanic fissure, and lateral to the infratemporal crest of the greater wing of the sphenoid, is open superiorly to the temporal fossa.
The lateral wall is the medial surface of the ramus of the mandible, which contains the opening to the mandibular canal.