Intestinal FXR knockout prevented diet-induced obesity, a phenotype that correlated with a decrease in the predicted functional capacity of the gut microbiome. Here, NR1H4 is linked to obesity disorder.