Reduced hepatocyte swelling in mice with colitis, inhibited IL-1β and TNF-α expression, and attenuated hepatic inflammation and cholestasis by regulating TLR4 NF-κB and bile acid metabolic pathways. Here, IL1B is linked to colitis.