Assessment of left atrial (LA) function and the left atrioventricular coupling index (LACI) have recently been increasingly recognized as important indices for cardiovascular diseases associated with the presence of prediabetes and diabetes. We aimed to evaluate LA function and the LACI in patients with prediabetes and diabetes via cardiac magnetic resonance (CMR). In this retrospective study, we included 35 patients with prediabetes, 32 patients with diabetes, and 84 healthy control participants. The LACI and LA total, passive, and active emptying fractions (LATEmF, LAPEmF, and LAAEmF, respectively) were calculated. The LA reservoir, conduit, and booster pump strains (εs, εe, and εa), and peak positive, peak early negative, and peak late negative strain rates (SRs, SRe, and SRa) were obtained via CMR-feature tracking (CMR-FT). For the statistical analyses, one-way analysis of variance, the Kruskal-Wallis test, and linear regression were conducted, and Pearson's and interclass correlation coefficients were calculated. Compared with healthy control participants, patients with prediabetes or diabetes presented lower εs and εe values and a relatively preserved LACI. Patients with diabetes presented considerably reduced SRs, SRe, and LAPEmF. Elevated glycated haemoglobin (HbA1c) levels were independently associated with decreased magnitudes of εs, SRs, εe, and SRe. No significant associations were found between the LACI and the HbA1c or LA deformation parameters. We observed significant correlations between LATEmF and εs, LAPEmF and εe and between LAAEmF and εa. CMR-FT provides a potential noninvasive approach for the early detection of alterations in the LA reservoir and conduit function in individuals with prediabetes and diabetes.