To this end, efforts were hereby made to further explore the application value of PD-L1, M1 macrophages (CD86), and M2 macrophages (CD206) in the prognosis assessment of HCC, their correlation with immune cell infiltration in HCC tissues, and their bioenrichment function. This evidence concerns the gene CD86 and hepatocellular carcinoma.