To investigate the associations of the Dietary Approaches to Stop Hypertension (DASH) score with subcutaneous (SAT) and visceral (VAT) adipose tissue volume and hepatic lipid content (HLC) in people with diabetes and to examine whether changes in the DASH diet were associated with changes in these outcomes. In total, 335 participants with recent-onset type 1 diabetes (T1D) and type 2 diabetes (T2D) from the German Diabetes Study were included in the cross-sectional analysis, and 111 participants in the analysis of changes during the 5-year follow-up. Associations between the DASH score and VAT, SAT and HLC and their changes were investigated using multivariable linear regression models by diabetes type. The proportion mediated by changes in potential mediators was determined using mediation analysis. A higher baseline DASH score was associated with lower HLC, especially in people with T2D (per 5 points: -1.5% [-2.7%; -0.3%]). Over 5 years, a 5-point increase in the DASH score was associated with decreased VAT in people with T2D (-514 [-800; -228] cm3). Similar, but imprecise, associations were observed for VAT changes in people with T1D (-403 [-861; 55] cm3) and for HLC in people with T2D (-1.3% [-2.8%; 0.3%]). Body mass index and waist circumference changes explained 8%-48% of the associations between DASH and VAT changes in both groups. In people with T2D, adipose tissue insulin resistance index (Adipo-IR) changes explained 47% of the association between DASH and HLC changes. A shift to a DASH-like diet was associated with favourable VAT and HLC changes, which were partly explained by changes in anthropometric measures and Adipo-IR.