B3galt5 functions as a PXR target gene and regulates obesity and insulin resistance by maintaining intestinal integrity. Here, NR1I2 is linked to obesity disorder.