In conclusion, the PD-L1 rs2297136 AA and rs4143815 GG genotypes are associated with an increased risk of liver cirrhosis while the PD-L1 rs4143815 CG and GG genotypes are positively correlated with the development and clinicopathological features of liver cancer. Here, CD274 is linked to liver cancer.