ObjectiveThe objective of this study was to examine the relationship between sleep duration and prediabetes, as well as to evaluate the influence of inflammation in mediating this association. MethodsA total of 4632 participants from the China Health and Retirement Longitudinal Study (CHARLS) were included in this study, comprising both baseline and 4-year follow-up data. The prospective relationship between sleep duration and the risk of prediabetes was examined using logistic regression models. We used multinomial logistic regression to evaluate the impact of prediabetes on sleep duration changes over follow-up, assessing the role of C-reactive protein in the association using mediation analysis. ResultsParticipants with short sleep duration (<5 hours) had a higher risk of prediabetes (odds ratios=1.381 [95% CI: 1.028-1.857]) compared to those with normal sleep durations (7-8 hours). However, excessive sleep durations (≥9 hours) did not show a statistically significant association with prediabetes risk. Moreover, individuals at least 60years old who experienced short sleep durations exhibited a higher risk of prediabetes. Individuals with prediabetes were more likely to have shorter sleep duration than excessive sleep duration (relative risk ratios=1.280 [95% CI: 1.059-1.547]). The mediation analysis revealed a mediating effect of C-reactive protein on the association between prediabetes and reduced sleep duration. ConclusionsShort sleep duration was identified as a risk factor for the incidence of prediabetes. Conversely, prediabetes was found to contribute to shorter sleep duration rather than excessive sleep duration. Moreover, elevated levels of C-reactive protein may serve as a potential underlying mechanism that links prediabetes with shorter sleep.