Prediabetes and type 2 diabetes, but not obesity, were associated with increased serum afamin (p<0.001). This evidence concerns the gene AFM and obesity due to melanocortin 4 receptor deficiency.