Here, by measuring the functional consequences of all missense MC4R variants in cells, we demonstrate strong associations for GoF variants with lower risk of obesity and show that LoF variants are associated with obesity and diabetes risk in the general population. Here, MC4R is linked to diabetes mellitus.