CD103+CD8+ T cells predicted superior overall survival and provided better prognostic power than total CD8+ T cells in gastric cancer. Here, CD8A is linked to gastric cancer.