Objective: To study the value of magnetic resonance imaging (MRI) in the diagnosis of nasopharyngeal carcinoma with pericranial infiltration. Methods: 86 patients with nasopharyngeal carcinoma were selected as the research objected and examined by MRI and clinical examination, and the results of the two methods were compared. Results: In MRI examination, the positive rate of cranial nerve infiltration in nasopharyngeal carcinoma was 23.26%, which was significantly higher than 8.13% in clinical diagnosis. The coincidence rate between clinical diagnosis and MRI diagnosis was 35.00%. Conclusion: Nuclear MRI has important application value in the diagnosis of cranial nerve infiltration of nasopharyngeal carcinoma, which is worthy of clinical promotion.