Deficiency of the bone mineralization inhibitor NPP1 protects mice against obesity and diabetes. Here, ENPP1 is linked to diabetes mellitus.