These findings supported that PD-L1 was intimately and positively correlated with macrophages M1 and M2 and the cytokines enhanced the polarization of TAMs in an HCC microenvironment. Here, CD274 is linked to hepatocellular carcinoma.