This study found that sarcopenia and poor physical function are associated with reduced CD8+ T cell levels and worse prognosis in patients with resectable gastric cancer. Here, CD8A is linked to gastric cancer.