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. The gene discussed is ENO2; the disease is type 2 diabetes mellitus.