Our study showed that the increase in cytotoxic CD8+ T lymphocytes was primarily observed in the MASH stage, whereas a declining trend was detected in the HCC stage. This evidence concerns the gene CD8A and hepatocellular carcinoma.