The present study identified that CYP27A1 was down‐regulated in IBD patients with impaired transformation of bile acid and aberrant gut microbiota. Here, CYP27A1 is linked to inflammatory bowel disease.