Insulin resistance, diabetes status, longer diabetes duration, poor glycemic control, and insulin treatment were associated with worsening cognitive function changes in the short term in a population at high cardiovascular risk. This evidence concerns the gene INS and diabetes mellitus.