Peutz–Jeghers Syndromeis a rare autosomal dominant genetic disease characterized by gastrointestinal hamartomatous polyps and skin and mucous membrane pigmentation. The pathogenesis of PJS remains unclear; however, it may be associated with mutations in the STK11 gene, and there is currently no effective treatment available. The gut microbiota plays an important role in maintaining intestinal homeostasis in the human body, and an increasing number of studies have reported a relationship between gut microbiota and human health and disease. However, relatively few studies have been conducted on the gut microbiota characteristics of patients with PJS. In this study, we analyzed the characteristics of the gut microbiota of 79 patients with PJS using 16 S sequencing and measured the levels of short-chain fatty acids in the intestines. The results showed dysbiosis in the gut microbiota of patients with PJS, and decreased synthesis of short-chain fatty acids. Bacteroides was positively correlated with maximum polyp length, while Agathobacter was negatively correlated with age of onset. In addition, acetic acid, propionic acid, and butyric acid were positively correlated with the age of onset but negatively correlated with the number of polyps. Furthermore, the butyric acid level was negatively correlated with the frequency of endoscopic surgeries. In contrast, we compared the gut microbiota of STK11-positive and STK11-negative patients with PJS for the first time, but 16 S sequencing analysis revealed no significant differences. Finally, we established a random forest prediction model based on the gut microbiota characteristics of patients to provide a basis for the targeted diagnosis and treatment of PJS in the future.