The analyses did not show an indirect effect on cognitive impairment associated with T2DM through VCAM‐1 and TNF‐α biomarkers. This evidence concerns the gene TNF and type 2 diabetes mellitus.