This study identified CXCL13 as a prognostic factor in GC patients receiving ICI therapy, emphasizing its critical role in the antitumor microenvironment via CXCR5+CD8+ T cells. Here, CXCR5 is linked to gastric cancer.