After constructing the genetic instruments, we discovered that the genetic variants associated with LDL mediated by HMGCR, PCSK9, and NPC1L1 have distinct effects on digestive system cancers, and these findings were validated through meta‐analysis across two independent GWAS datasets. The gene discussed is HMGCR; the disease is digestive system cancer.