Here we show that treatment with encapsulated leptin-producing adipocytes improves glucose tolerance in genetic and diet-induced mouse models of obesity. Here, LEP is linked to obesity due to melanocortin 4 receptor deficiency.