Treatment of ulcerative colitis (UC) usually includes medications or surgery. Meanwhile, natural plant polysaccharides show significant potential for preventing and complementing therapy in UC. This study investigates the effects and mechanisms of polysaccharides extracted from Passiflora edulis leaves via hot water (WPEL) and alkali (APEL) on UC mice induced by dextran sodium sulfate (DSS). The results showed that both polysaccharides alleviated pathological symptoms in colitis mice (weight loss, bloody stools, and colon shortening), down-regulated oxidative stress markers (CAT, GSH-Px, SOD, and T-AOC), and reduced inflammatory cytokines (IL-6, TNF-α, IL-1β, and CRP). Additionally, both polysaccharides altered the composition and abundance of intestinal microbiota, enhancing short-chain fatty acids (SCFAs) production. These findings suggested that polysaccharides derived from Passiflora edulis leaves could be used in developing functional foods and therapeutic drugs to prevent and alleviate colitis, thereby providing a strong basis for further research into the application of P. edulis in UC and related disorders. • Two polysaccharides from Passiflora edulis leaves alleviated the symptoms of DSS-induced ulcerative colitis in mice. • WPEL and APEL alleviated DSS-induced inflammation and injury of colon. • WPEL and APEL modulated the composition and abundance of beneficial gut microbiota.