In this study, we provide the first evidence that selective activation of intestinal PXR can alleviate diet-induced obesity and insulin resistance by upregulating intestinal B3galt5 expression. Here, B3GALT5 is linked to obesity due to melanocortin 4 receptor deficiency.