Mediation analysis revealed that Interleukin-6 (IL-6), “CD4 on naive CD4+ T cell” and “SSC-A on HLA DR+ Natural Killer” mediated the causal effects of gut microbiota on pancreatic cancer. This evidence concerns the gene IL6 and pancreatic neoplasm.