We found that F. nucleatum infection significantly increased the expression of ERS-related proteins (BIP and XBP1), which are key regulators of ERS, in vivo and in vitro but that by inhibiting ERS with 4-PBA, the intestinal mucosal barrier function and the severity of colitis were significantly mitigated. Here, XBP1 is linked to colitis.