Programmed death 1 (PD‐1) and programmed death ligand 1 (PD‐L1) inhibitors have transformed the treatment landscape of advanced hepatocellular carcinoma (HCC), but consistent responses are not observed in all patients, and prognostic biomarkers to guide treatment decisions are lacking. This evidence concerns the gene CD274 and hepatocellular carcinoma.