Poria cocos polysaccharide (PCP), one of the main active components of P. cocos, is extensively used worldwide and exhibits strong pharmacological effects. However, whether PCP can attenuate inflammatory bowel disease remains unclear. In this study, we assessed the effects of PCP supplementation on dextran sulphate sodium (DSS)-induced ulcerative colitis (UC) in mice. We found that PCP supplementation mitigated UC symptoms in DSS-treated mice, as evidenced by reductions in body weight loss, colon length shortening and disease activity index score. Importantly, PCP supplementation enhanced colonic barrier integrity by increasing tight junction protein abundance and exerted anti-inflammatory effects by suppressing nuclear factor-κB (NF-κB) activation in DSS-treated mice. Furthermore, PCP supplementation reversed DSS-induced dysbiosis in colonic microbiota by increasing the colonic abundance of beneficial bacteria (e.g. Akkermansiaceae) and decreasing the colonic abundance of harmful bacteria (e.g. Erysipelotrichaceae) in DSS-treated mice. Although PCP supplementation failed to ameliorate DSS-induced UC in antibiotic-treated mice, faecal microbiota transplantation from PCP-administered mice ameliorated DSS-induced UC in antibiotic-treated mice. In summary, PCP alleviates UC in mice by attenuating intestinal inflammation via the inhibition of NF-κB activation and modulating the intestinal microbiota.