Our results clarify the prognostic value of tumor depth, CD8+ TILs and PD‐L1 TC in patients with preoperatively untreated ESCC. This evidence concerns the gene CD274 and esophageal squamous cell carcinoma.