The role of BDNF in the diabetes-related cognitive impairment was investigated through mediation analysis. This evidence concerns the gene BDNF and Cognitive impairment.