Type 2 diabetes is associated with cognitive impairment but the relationship of its precursors, obesity and elevated insulin, to cognition has been less studied. This evidence concerns the gene INS and obesity due to melanocortin 4 receptor deficiency.