BackgroundDiabetes mellitus (DM) is associated with structural grey matter alterations in the brain, including changes in the somatosensory and pain processing regions seen in association with diabetic peripheral neuropathy. In this case‐controlled biobank study, we aimed to ascertain differences in grey and white matter anatomy in people with DM compared with non‐diabetic controls (NDC).MethodsThis study utilises the UK Biobank prospective, population‐based, multicentre study of UK residents. Participants with diabetes and age/gender‐matched controls without diabetes were selected in a three‐to‐one ratio. We excluded people with underlying neurological/neurodegenerative disease. Whole brain, cortical, and subcortical volumes (188 regions) were compared between participants with diabetes against NDC corrected for age, sex, and intracranial volume using univariate regression models, with adjustment for multiple comparisons. Diffusion tensor imaging analysis of fractional anisotropy (FA) was performed along the length of 50 white matter tracts.ResultsWe included 2404 eligible participants who underwent brain magnetic resonance imaging (NDC, n = 1803 and DM, n = 601). Participants with DM had a mean (±standard deviation) diagnostic duration of 18 ± 11 years, with adequate glycaemic control (HbA1C 52 ± 13 mmol/mol), low prevalence of microvascular complications (diabetic retinopathy prevalence, 5.8%), comparable cognitive function to controls but greater self‐reported pain. Univariate volumetric analyses revealed significant reductions in grey matter volume (whole brain, total, and subcortical grey matter), with mean percentage differences ranging from 2.2% to 7% in people with DM relative to NDC (all p < 0.0002). The subcortical (bilateral cerebellar cortex, brainstem, thalamus, central corpus callosum, putamen, and pallidum) and cortical regions linked to sensorimotor (bilateral superior frontal, middle frontal, precentral, and postcentral gyri) and visual functions (bilateral middle and superior occipital gyri), all had lower grey matter volumes in people with DM relative to NDC. People with DM had significantly reduced FA along the length of the thalamocortical radiations, thalamostriatal projections, and commissural fibres of the corpus callosum (all; p < 0·001).InterpretationThis analysis suggests that anatomic differences in brain regions are present in a cohort with adequately controlled glycaemia without prevalent microvascular disease when compared with volunteers without diabetes. We hypothesise that these differences may predate overt end‐organ damage and complications such as diabetic neuropathy and retinopathy. Central nervous system alterations/neuroplasticity may occur early in the natural history of microvascular complications; therefore, brain imaging should be considered in future mechanistic and interventional studies of DM.