In summary, our findings indicated a novel function of androgen receptor, which transcriptionally suppressed PD-L1 in HCC cells by direct binding to the relevant promoter. Here, CD274 is linked to hepatocellular carcinoma.