This study revealed that inulin improves intestinal immune function in stress-recurrent IBD model mice by maintaining mucin function and regulating the expression of inflammatory cytokines. This evidence concerns the gene MUC5AC and inflammatory bowel disease.