These findings suggest that the CXCL13–CXCR5 axis may contribute to TLS formation, potentially regulating CD8+ T-cell infiltration and influencing clinical responses to immunotherapy in GC. Here, CXCR5 is linked to gastric cancer.