Our investigation revealed a causal relationship between immune cells and pancreatic cancer, highlighting the pivotal roles of CD11c+ monocytes (odds ratio, ORIVW=1.105; 95% confidence interval, 95%CI: 1.002–1.218; P=0.045), HLA DR+ CD4+ antigen-presenting cells (ORIVW=0.920; 95%CI: 0.873–0.968; P=0.001), and HLA DR+ CD8br T cells (ORIVW=1.058; 95%CI: 1.002–1.117; P=0.041) in pancreatic cancer progression. The gene discussed is CD4; the disease is pancreatic neoplasm.