In the high-HCC-risk population, CD8+, CD19+ and NK cell levels all differed between male and female patients, patients in TNM stages I–II and stages III–IV, patients with and without extrahepatic metastasis, and patients with and without HBV infection (all P < 0.05). Here, CD8A is linked to hepatocellular carcinoma.