BackgroudThe association between caffeine intake and mortality in prediabetes and diabetes is not well defined. This study was designed to investigate the association between caffeine intake and all-cause mortality and cardiovascular disease (CVD) mortality in adults with prediabetes and diabetes in the United States.MethodsThis analysis included 18,914 adult patients with diabetes and prediabetes from the National Health and Nutrition Examination Survey (NHANES) 2003–2018. Follow-up extended to December 31, 2019. Weighted Cox proportional hazards regression models were used to estimate the hazard ratios (HR) and 95% confidence intervals (CI) for all-cause mortality and CVD mortality.ResultsDuring 142,460 person-years of follow-up, there were 3,166 cases of all-cause mortality and 1,031 cases of CVD mortality recorded. In the fully adjusted models, caffeine intake showed a significant dose-response association with the risk of all-cause mortality and CVD mortality in individuals with diabetes and prediabetes. When comparing extreme quartiles of caffeine intake, the multivariable-adjusted hazard ratio for all-cause mortality was 0.78 (0.67–0.91) (P for trend = 0.007); however, there was no significant association with the risk of CVD mortality. Results remained consistent in stratified analyses by sex, age, race/ethnicity, education level, family income-poverty ratio, BMI, hypertension, smoking status, alcohol intake, and HEI-2015.ConclusionsThis study suggests that caffeine intake is significantly inversely associated with the risk of all-cause mortality in individuals with diabetes and prediabetes. In individuals with prediabetes, there is also a significant inverse association between caffeine intake and CVD events, but this association is not present in those with diabetes.Graphical