Poria cocos polysaccharides (PCP) have been validated for several biological activities, including antitumor, anti-inflammatory, antioxidant, immunomodulatory, hepatoprotective and modulation on gut microbiota. In this research, we aim to demonstrate the potential prebiotic effects and the therapeutic efficacies of PCP in the treatment of antibiotic-associated diarrhea (AAD), and confirm the beneficial effects of PCP on gut dysbiosis. Antibiotic-associated diarrhea mice models were established by treating them with broad-spectrum antibiotics in drinking water for seven days. Mice in two groups treated with probiotics and polysaccharide were given Bifico capsules (4.2 g/kg/d) and PCP (250 mg/kg/d) for seven days using intragastric gavage, respectively. To observe the regulatory effects of PCP on gut microbiota and intestinal mucosal barrier, we conducted the following experiments: intestinal flora analysis (16S rDNA sequencing), histology (H&E staining) and tight junction proteins (immunofluorescence staining). The levels of mRNA expression of receptors associated with inflammation and gut metabolism were assessed by real-time reverse transcription-polymerase chain reaction (RT-PCR). The study revealed that PCP can comprehensively improve the clinical symptoms of AAD mice, including fecal traits, mental state, hair quality, etc., similar to the effect of probiotics. Based on histology observation, PCP significantly improved the substantial structure of the intestine of AAD mice by increasing the expression levels of colonic tight junction protein zonula-occludens 1 (ZO-1) and its mRNA. Moreover, PCP not only increased the abundance of gut microbiota, but also increased the diversity of gut microbiota in AAD mice, including alpha diversity and beta diversity. Further analysis found that PCP can modulate seven characteristic species of intestinal flora in AAD mice, including Parabacteroides_distasonis, Akkermansia_muciniphila, Clostridium_saccharolyticum, Ruminoc-occus_gnavus, Lactobacillus_salivarius, Salmonella_enterica and Mucispirillum_schaedleri. Finally, enrichment analysis predicted that PCP may affect intestinal mucosal barrier function, host immune response and metabolic function by regulating the microbiota. RT-PCR experiments showed that PCP can participate in immunomodulatory and modulation on metabolic by regulating the mRNA expression of forkhead-box protein 3 (FOXP3) and G protein-coupled receptor 41 (GPR41). These results indicated that Poria cocos polysaccharide may ameliorate antibiotic-associated diarrhea in mice by regulating the homeostasis of the gut microbiota and intestinal mucosal barrier. In addition, polysaccharide-derived changes in intestinal microbiota were involved in the immunomodulatory activities and modulation of the metabolism.