The medial wall is formed anteriorly by the lateral plate of the pterygoid process and more posteriorly by the pharynx and by two muscles of the soft palate (tensor and levator veli palatini muscles), and contains the pterygomaxillary fissure anteriorly, which allows structures to pass between the infratemporal and pterygopalatine fossae.