Background There are many factors that affect the C5 palsy in the treatment of cervical spondylosis myelopathy (CSM) with ossification of the posterior longitudinal ligament (OPLL), but the spinal compression degrees may be an important factor in affection on it. Objective The purpose of this study was to evaluate the effect of spinal cord compression degrees on the clinical outcomes of OPLL patients which been treated by anterior and posterior surgery. Methods From May 2010 to October 2017, 145 patients cervical spondylosis myelopathy with OPLL (spinal canal narrowing by the OPLL exceeded 30%) were enrolled in this study; 76 patients received anterior cervical corpectomy and fusion surgery (ACCF), and 69 patients had posterior cervical decompression and laminoplasty procedures (PCDL). The clinical outcomes of pain relief (visual analog scale, VAS), functional disability (neck disability index, NDI) were recorded at baseline and at the final follow-up. Results There were five patients with C5 palsy in this series cases (two in ACCF and three in PCDL), and the rate is 4.1% (3.2% in ACCF and 5.2% in PCDL, P > 0.05). Five C5 palsy cases had more than 50% compressed degrees of dural sac and flattened spinal cord, and the compressed dural sac and flattened spinal cord had totally expansion after operation. There were no patients resented with CSF leakage in PCDL group, and six patients presented with CSF leakage in ACCF. The mean postoperative canal diameter were significant better than preoperative in PDL patients (P < 0.01). The average spinal sagittal and axial compressive ratio were significantly decreased from preoperative in ACR and PDL groups (P < 0.01). The mean cervical ROM values were decreased in ACR and PDL groups (P< 0.05). Conclusions Based on the results of this study, anterior and posterior surgery was effective and safe in the treatment of the OPLL patients. The complication of C5 palsy were no related in the surgery methods, but may be related the degrees of spinal cord compressed.