Our study revealed that GC patients had less CD8+ T cell infiltration, resulting in shortening their survival in high-risk group. Here, CD8A is linked to gastric cancer.