In the drug target MR (DMR) analyses, HMGCR–mediated level of LDL-c showed an inverse relationship with the risk of liver cancer in the IVW-MR analysis (n = 5 SNPs, OR = 0.201, 95% CI = 0.064 - 0.631; p = 5.95E-03) and SMR analysis (n = 20 SNPs, OR = 0.245, 95% CI = 0.065 - 0.926; p = 0.038) However, PCSK9 did not show any significant association with liver cancer based on both the IVW-MR and SMR analyses. This evidence concerns the gene HMGCR and liver cancer.