The microbiota is present in many parts of the human body and plays essential roles. The most typical case is the occurrence and development of cancer. Pancreatic cancer (PC), one of the most aggressive and lethal types of cancer, has recently attracted the attention of researchers. Recent research has revealed that the microbiota regulates PC carcinogenesis via an altered immune response. Specifically, the microbiota, in several sites, including the oral cavity, gastrointestinal tract, and pancreatic tissue, along with the numerous small molecules and metabolites it produces, influences cancer progression and treatment by activating oncogenic signaling, enhancing oncogenic metabolic pathways, altering cancer cell proliferation, and triggering chronic inflammation that suppresses tumor immunity. Diagnostics and treatments based on or in combination with the microbiota offer novel insights to improve efficiency compared with existing therapies.