This study identifies FXR and its downstream gene, FGF15, as key components of depressive-like phenotypes development and suggests the FXR-FGF15 axis as a potential new therapeutic target for the comorbidity of T2DM and depression. Here, NR1H4 is linked to depressive disorder.