The infiltration of CD8+ T cells, M0 macrophages, and activated dendritic cells was downregulated in sorafenib-resistant HCC, while M2 macrophages, neutrophils, and resting NK cells were upregulated. Here, CD8A is linked to hepatocellular carcinoma.