The MR analysis indicated a negative association between HMGCR‐mediated LDL and hepatocellular carcinoma (OR = 0.06, 95% CI: 0.00–0.81, p = 0.03), and a positive association between NPC1L1‐mediated LDL and gastric cancer risk (OR = 15.45, 95% CI: 5.96–40.56, p < 0.01). The gene discussed is HMGCR; the disease is gastric cancer.