Intestinal specific B3galt5 knockout aggravates HFD-induced obesity, insulin resistance and inflammation. Here, B3GALT5 is linked to obesity due to melanocortin 4 receptor deficiency.