Patients with T2DM under treatment with DPP4is presented with the lowest risk of dementia, followed by those treated with metformin and TZD, while treatment with insulin was associated with the highest risk. This evidence concerns the gene INS and dementia.