These findings highlight the importance of XBP1 in maintaining ER homeostasis and protecting against liver damage in MASLD. Here, XBP1 is linked to metabolic dysfunction-associated steatotic liver disease.