The purpose of this study was to evaluate the expression and localization of CD8, FoxP3, PD-1, and PD-L1 in primary tumor tissues and their effects on prognosis of stage IV M0 locally advanced nasopharyngeal carcinoma (NPC) patients. This evidence concerns the gene CD8A and nasopharyngeal carcinoma.