Hepatitis B virus (HBV) infection is regarded as the main etiological risk factor in the process of hepatocellular carcinoma (HCC), as it promotes an immunosuppressive microenvironment that is partially mediated by the programmed cell death protein 1 (PD-1)/programmed death-ligand 1 (PD-L1) signaling pathway. This evidence concerns the gene CD274 and hepatocellular carcinoma.