Conclusions: This study showed that a high level of leptin and low level of sOBR are associated with the improved cognitive function in T2DM patients and more significantly in female individuals, while WHR, as an indicator of the visceral obesity, contributes to cognitive deficits. This evidence concerns the gene LEP and Cognitive impairment.