Higher up, it is separated from the external carotid by the styloglossus and stylopharyngeus muscles, the tip of the styloid process and the stylohyoid ligament, the glossopharyngeal nerve and the pharyngeal branch of the vagus nerve.