IL-6 mediates the association between long-lasting T2DM and AD biomarkers in middle-aged and older community-dwelling adults without previously diagnosed cognitive impairment. Here, IL6 is linked to Cognitive impairment.