FXR clearly downregulated PD-L1 in HCC cells, and the FXRhighPD-L1low subgroup was associated with a better outcome for HCC patients. Here, CD274 is linked to hepatocellular carcinoma.