The mediation effect of body mass index (OR: 0.938; 95% CI: 0.884–0.995; proportion of mediation effect: 3.001%; P-value = 0.033) on ABCC8/KCNJ11 and pancreatic cancer was uncovered. Here, KCNJ11 is linked to pancreatic neoplasm.