Taken together, our findings reveal a protective role for 25-HC in DSS-induced colitis and the ability of CH25H to maintain epithelial gut barrier function through ATF3 expression. Here, ATF3 is linked to colitis.