UDCA blocked bacterial growth and invasion both in vitro and in vivo, alleviated commensal bacterial dysbiosis during ESBL-EAEC infection in neonatal mouse models of sepsis and colitis via the TGR5-NF-κB axis, and upregulated SCFA production in the hindgut digesta. Here, NFKB1 is linked to colitis.