These findings reveal that CD8+CXCR5+ T cells strongly infiltrate HCC tumors, and their infiltration is predictive of a better prognosis. Here, CXCR5 is linked to hepatocellular carcinoma.