PTPRN2 encodes a major islet autoantigen in type 1 diabetes and is involved in the regulation of obesity mechanisms. Here, PTPRN2 is linked to obesity due to melanocortin 4 receptor deficiency.