These findings revealed that the density of CD8+ TILs is an independent indicator of a good prognosis for patients with GC. Here, CD8A is linked to gastric cancer.