In our study, we found a significant relationship between NSE and attention, IL‐6 and memory, MDA and MoCA and attention, and TNF‐α and memory in patients with T2DM. This evidence concerns the gene IL6 and type 2 diabetes mellitus.