This study aimed to investigate potential biological mechanisms underlying cognitive function alterations in Type 2 diabetes mellitus (T2DM) patients by integrating cortical morphology with peripheral cytokine levels and brain-derived neurotrophic factor (BDNF) levels, and to offer potential insights for the early detection of T2DM-related cognitive impairment. This evidence concerns the gene BDNF and type 2 diabetes mellitus.