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. The gene discussed is CD274; the disease is neoplasm.