Cholesterol 25-hydroxylase protects against experimental colitis in mice by modulating epithelial gut barrier function. Here, CH25H is linked to colitis.