In summary, our study underscores the value of Gal-3 as a biomarker for cognitive impairment in T2DM and presents a validated nomogram that integrates Gal-3 levels, age, and education to predict MCI. This evidence concerns the gene LGALS3 and Cognitive impairment.