The aim of this study was to investigate alterations in gray matter structure among individuals diagnosed with diabetic retinopathy (DR). This study included a cohort of 32 diabetic patients with retinopathy (DR group, n = 32) and 38 healthy adults (HC group, n = 38). Both cohorts underwent comprehensive psychological and cognitive assessments alongside structural magnetic resonance imaging. The brain's gray matter volume and morphology were analyzed using voxel-based morphometry (VBM) and surface-based morphometry (SBM). Partial correlation analysis was employed to investigate the associations between differences in gray matter volume (GMV) across diverse brain regions and the outcomes of cognitive psychological tests as well as clinical indicators. The VBM results revealed that, in comparison to the healthy control (HC) group, patients with diabetic retinopathy (DR) exhibited reduced gray matter volume (GMV) in the right fusiform gyrus, inferior frontal gyrus, opercular part, and left hippocampus; conversely, an increase in GMV was observed in the right thalamus. The SBM results indicated cortical thinning in the left caudal anterior cingulate cortex, left superior frontal gyrus, left parahippocampal gyrus, and bilateral lingual gyrus in the DR group. Sulcal depth (SD) exhibited increased values in the bilateral rostral middle frontal gyrus, superior frontal gyrus, frontal pole, left precentral gyrus, postcentral gyrus, lateral orbitofrontal gyrus, and right paracentral gyrus. Local gyrification indices (LGIs) decreased in the left caudal middle frontal gyrus and superior frontal gyrus. The fractal dimension (FD) decreased in the posterior cingulate gyrus and isthmus of the cingulate gyrus. The left hippocampal gray matter volume (GMV) in patients with diabetic retinopathy was negatively correlated with disease duration (r = -0.478, p = 0.008) and self-rating depression scale (SAS) score (r = -0.381, p = 0.038). The structural alterations in specific brain regions of individuals with DR, which may contribute to impairments in cognition, emotion, and behavior, provide valuable insights into the neurobiological basis underlying these dysfunctions.