FT@XBP1 partially restored the dysbiosis of the gut microbiota in NASH mice. Here, XBP1 is linked to metabolic dysfunction-associated steatohepatitis.