Introduction

Depression is an affective disorder characterized by severe and persistent symptoms of mood, cognition, and physical state, such as low self-esteem, anhedonia, lack of energy, despondency, irritability, and fatigue1,2. Severe depression can even lead to suicide and is one of the most common mental illnesses, significantly affecting cognitive functioning, quality of life, and overall health3. Moreover, depression has become a serious public health issue, increasing social and economic burdens and the risk of death4. Epidemiological studies indicate that more than 350 million people worldwide suffer from depression5. The World Health Organization (WHO) predicts that by 2030, major depression will become the leading cause of global disease burden6. Research has found that the onset and severity of depression are not only influenced by genetic factors but also by environmental and dietary factors7,8,9.

Dietary interventions for chronic diseases have become increasingly recognized. The Mediterranean diet, based on a high intake of vegetables and fruit, fish, grains, legumes, and olive oil, has been shown to offer protection against heart disease, diabetes, and cardiovascular disease. It also prevents cerebrovascular damage, thereby reducing the risk of stroke, memory loss, and all-cause mortality10,11. The dietary approach to stop hypertension (DASH) diet promotes a diet high in potassium, low in sodium, magnesium, and calcium, and high in dietary fiber and unsaturated fatty acids, which is well proven to be effective in lowering blood pressure12. The flexible vegetarian diet that emphasizes increased vegetable consumption and reduced meat intake, is very effective in weight loss13. Anti-inflammatory diets focusing on fish, fruits, and vegetables have also been demonstrated a suppressive effect on the risk of Alzheimer's disease, Parkinson's disease, atherosclerosis, heart disease, and muscle wasting14,15,16,17. Furthermore, a meta-analysis showed that the addition of the antioxidant vitamin E to the treatment of depression and anxiety might be beneficial18.

The composite dietary antioxidant index (CDAI) is a measurement of individual antioxidant profiles derived from dietary combinations developed to assess and reflect the overall impact of dietary antioxidants on health19. Initially, research on the CDAI predominantly addressed cancer; however, its relevance has increasingly expanded into psychiatry in recent years20,21. An Iranian study highlighted that the dietary antioxidant index was associated with a reduced incidence of depression and anxiety in young women. However, the association of CDAI with depression and all-cause mortality in the middle-aged and elderly, a population with a high prevalence of depression and death, has still not been explored. To address this gap, we extracted data from the National Health and Nutrition Examination Survey (NHANES) for six cycles (2007–2018) to investigate these associations.

Methods

Study population

NHANES, initiated in 1999 by the Centers for Disease Control and Prevention, is a biennial observational survey that assesses the health and nutritional status of the non-institutionalized US population. It combines interviews with physical examinations to gather comprehensive data on demographics, socioeconomics, dietary habits, and health status. Medical assessments, physiological measurements, and laboratory examinations were conducted by highly qualified medical specialists. The NHANES protocol was approved by the National Center for Health Statistics of the Institutional Review Board, and all participants' informed consent was obtained. For this study, data from six cycles were analyzed, encompassing 14,997 individuals after excluding those who were: (1) younger than 45 years (n = 39,540); (2) missing CDAI data (n = 445); (3) missing depression data (n = 834), missing mortality data(n = 26) (Fig. 1).

Figure 1
figure 1

Flow chart of sample selection.

Assessment of composite dietary antioxidant index

Dietary assessments were based on two 24-h recall interviews conducted by trained dietary interviewers. The first recall was carried out in person using a standardized protocol during the medical examination at the mobile screening center. The second recall was conducted by telephone within 3 to 10 days of the first recall. Nutritional intakes were calculated based on food intake through the use of a revised nutritional database which translates each individual's food intake into nutrients. We calculated CDAI for all subjects from six dietary minerals and vitamins (Mn, Se, Zn, Vitamins A, C, and E) using Wright's recommended measures22. The detailed calculation formula was as follows:

$$CDAI = \mathop \sum \limits_{{{\text{i}} = 1}}^{{{\text{n}} = 6}} \frac{{{\text{Individual Intake}} - {\text{Mean}}}}{{{\text{SD}}}}$$

Assessment of depression and all-cause mortality

The diagnosis of depression was determined using the Patient Health Questionnaire-9 (PHQ-9) scores, with each item being scored on a scale of 0–3 and a total score range of 0–27. A PHQ-9 score of 10 or above is considered indicative of depressive symptoms, offering a good balance between sensitivity and specificity for depression diagnosis. This determination has been widely used in cross-sectional studies of depression23,24,25. We extracted mortality data from the National Death Index (NDI) death certificate records, from which the information on mortality status and follow-up time (in months) was collected from the date of participation to the end of the follow-up period (December 31, 2019).

Covariates

Referring to previous literature, we included covariates potentially influencing CDAI, depression, and all-cause mortality. Demographic characteristics such as age, gender, race, education level, marital status, and income-to-poverty ratio were included. Health-related behaviors included smoking status, vigorous recreational activity, drinking status, and medical co-morbidity variables (CVD, stroke, hypertension, diabetes, and cancer) were also collected. Biochemical and physical examinations consisted of C-reactive protein (CRP), body mass index (BMI), and waist. Additionally, the 24-h dietary recall interviews were utilized to obtain energy intake.

Statistical analysis

All statistical analyses were performed in R version 4.2.0 with the "Survey" package after considering the complex sampling design. All statistical tests were two-tailed, with the statistical significance set at p < 0.05. In the baseline population characteristics, we divided the study population into five groups based on quintiles of the CDAI. Continuous variables were expressed as means ± standard errors, and categorical variables were presented as percentages. The weighted linear regression method for continuous variables and the weighted chi-square test for categorical variables were used in the comparison of baseline characteristics. Given that depression and all-cause mortality were both dichotomous variables, weighted logistic regression models and weighted Cox proportional hazard regression models were used to assess the association of CDAI and covariates, depression, and all-cause mortality, respectively. The results of the weighted logistic regression models were expressed as odds ratios (ORs) and 95% confidence intervals (CIs), and for Cox proportional hazard regression models as hazard ratios (HRs) and 95% confidence intervals (CIs).

To exclude the influence of confounding factors, three models were constructed to explore the associations. Model 1 performed the analysis without adjustment for any covariates. Model 2 adjusted for age, sex, and race, and Model 3 adjusted for all covariates listed in Table 1. The robustness of the results was further evaluated by a linear trend test based on CDAI quintiles. Restricted cubic spline curves were employed to test for non-linear relationships between the outcome variable and exposure factors. Upon finding the non-linear relationship, the inflection point was calculated by a recursive algorithm, and a two-piecewise linear regression model was constructed. Stratified analyses and interactions were utilized to explore the characteristics of the relationship between CDAI with depression and all-cause mortality across different population subgroups.

Table 1 Characteristics of the study population.

Ethical approval

The NHANES protocol was approved by the National Center for Health Statistics of the Institutional Review Board, and all participants' informed consent was obtained. All methods were carried out in accordance with relevant guidelines and regulations (declarations of Helsinki).

Results

Characteristics of the study population

In the baseline population of Table 1, men accounted for 46.22%, and women for 53.78%. The proportions of Mexican American, White, and Black were 5.04%, 75.6%, and 9.67%, respectively. Additionally, 61.07% of participants had a high school education or higher. Analysis revealed that individuals with higher CDAI were younger, more likely to be men, and white, with higher levels of education and income-to-poverty ratio. These individuals also reported higher energy intake, more frequent engagement in recreational activities, and exhibited lower risks of hypertension, diabetes, depression, and all-cause mortality, alongside reduced C-reactive protein levels.

Univariate analysis

The results of the univariate analysis are presented in Table 2. Women had a higher risk of depression and a lower risk of all-cause mortality compared to men. Depression showed a negative association with income-to-poverty ratio, vigorous recreational activities, CVD, stroke, hypertension, diabetes, BMI, waist, and CRP, and smoking status was found to be positively associated with depression. The covariates positively associated with all-cause mortality included age, cancer, CVD, stroke, hypertension, diabetes, waist, and energy intake.

Table 2 Univariate analyses.

Association between CDAI and depression and all-cause mortality

As shown in Table 3, the initial unadjusted analysis (Model 1) revealed that CADI was negatively associated with depression [0.74 (0.70, 0.79)] and all-cause mortality [0.84 (0.80, 0.88)]. This negative association persisted in regression models adjusted for all variables, with ORs for CDAI with depression at 0.77 (95% CI: 0.67, 0.89) and HRs for CDAI with all-cause mortality at 0.91 (95% CI: 0.83, 1.00). Comparing against the lowest quartile of CDAI (Q1) as the reference, higher CDAI was associated with a lower risk of depression, with ORs (95% CI) of 0.80 (0.61, 1.04), 0.67 (0.52, 0.87), 0.65 (0.48, 0.88), and 0.52 (0.36, 0.77). A similar trend was observed for all-cause mortality risk, with HRs (95% CI) of 0.87 (0.72, 1.05), 0.82 (0.69, 0.98), 0.77 (0.63, 0.96), and 0.75 (0.58, 0.96). Subsequent analysis using restricted cubic spline curves indicated a linear association between CDAI and depression (Fig. 2), whereas the relationship with all-cause mortality was non-linear with an inflection point of −0.19 (Fig. 3). This association was statistically significant only before this inflection point [0.71 (0.56, 0.89)] (Table 4).

Table 3 Association of composite dietary antioxidant index with depression and all-cause mortality in middle-aged and elderly population.
Figure 2
figure 2

Association between CDAI and depression in middle-aged and elderly population. Age, sex, race, education level, income-to-poverty ratio, marital status, smoking status, drinking status, vigorous recreational activity, BMI, waist, stroke, diabetes, CVD, cancer, hypertension, energy intake, and CRP were adjusted.

Figure 3
figure 3

Association between CDAI and all-cause mortality in middle-aged and elderly population. Age, sex, race, education level, income-to-poverty ratio, marital status, smoking status,drinking status, vigorous recreational activity, BMI, waist, stroke, diabetes, CVD, cancer, hypertension, energy intake, and CRP were adjusted.

Table 4 Threshold effect analysis of composite dietary antioxidant index on all-cause mortality in middle-aged and elderly population using a two-piecewise linear regression model.

Subgroup analysis

To explore the disparities in the relationship between CDAI and depression and all-cause mortality in various subgroups, stratified analyses and interactions were conducted in the middle-aged and elderly population (Table 5), and significant differences were found in these relationships only in the smoking population (P interaction = 0.0343 and P interaction = 0.0399). The associations between CDAI and depression and all-cause mortality were 0.76 (0.59, 0.97) and 0.69 (0.54, 0.89) for former smokers. For those who had never smoked, the relationship was 0.64 (0.51, 0.80) and 0.64 (0.51, 0.80).

Table 5 Subgroup logistic regression analysis for the association between CDAI and outcomes in middle-aged and elderly population.

Discussion

In the observational study among middle-aged and elderly Americans, higher CDAI was associated with a lower risk of depression and all-cause mortality. Further restricted cubic spline curves revealed a linear association of CDAI with depression and a non-linear association of CDAI with all-cause mortality. The inflection point was detected with the relationship being statistically significant only before the inflection point. To explore whether there were differences in the relationships among various subgroups, we conducted stratified analyses. To the best of our knowledge, this investigation represented the inaugural attempt to examine the association of CDAI with depression and all-cause mortality in a middle-aged and elderly population, and the most detailed subgroup analysis was performed.

The association between dietary antioxidants and depression and all-cause mortality has received increasing attention in recent years. Evidence suggested that only antioxidants derived from food sources, not dietary supplements, could offer protective benefits against depression26. Observational meta-analyses have shown that the intakes of vitamins A, C, and E were inversely related to the incidence of depression27,28. A cross-sectional study in the United States indicated that higher zinc intake was associated with a lower risk of depression29. Interestingly, a study from Brazilian Farmers showed a non-linear negative correlation between dietary selenium intake and depression30. Similarly, a study on the general American population found a non-linear negative relationship between CDAI and depression21. However, both our study and the study of Iranian adolescent girls revealed that the relationship between CDAI and depression was linearly negative31. Moreover, the findings on the relationship between dietary antioxidants and all-cause mortality were often inconsistent. A Korean study suggested that dietary zinc intake was associated with lower all-cause mortality32, contradicting a study in China, which found a positive correlation between zinc intake and all-cause mortality33. Additionally, studies in China and the United States have shown that selenium intake was linked to reduced all-cause mortality34,35. An elderly epidemiological study indicated that supplementing with vitamins C and E could lower the risk of all-cause mortality36. However, a cohort study from the UK Biobank found no significant association between antioxidant use and all-cause mortality37. In contrast, a cohort study of American cancer survivors revealed a significantly negative association between CDAI and the risk of mortality38. Our research identified a non-linear relationship between CDAI and all-cause mortality, whereas a study on the general US population indicated a linear relationship between CDAI and all-cause mortality39. Age and geographic differences may account for the inconsistent relationship of dietary antioxidants with depression and all-cause mortality. People in different geographical areas have different dietary habits, which leads to differences in antioxidant intake. In addition, middle-aged and elderly people tend to decline in physical function, which may affect the absorption and utilization of dietary antioxidants, consequently causing inconsistencies in the results of the studies.

Although the specific mechanisms linking CDAI to depression and all-cause mortality in middle-aged and elderly population are still not well understood, some possible molecular mechanisms have been suggested in some studies. The first is oxidative stress. Depressed people often experience oxidative stress, characterized by an imbalance between oxygen free radicals and antioxidant substances in the body40. Oxygen free radicals are harmful molecules that interact with other molecules in the body and cause oxidative damage to cells and tissues41. Consuming a diet rich in antioxidants has been shown to lower oxidative stress and protect cells from damage caused by free radicals,thereby alleviating symptoms of depression42. Studies have shown that vitamins C and E can trap free radicals and protect molecules such as membrane fatty acids, cholesterol, and proteins from oxidative damage, thus reducing the risk of developing chronic diseases such as cancer, cardiovascular disease, and diabetes43,44. Additionally, appropriate exogenous antioxidants can decrease the risk of mortality in diabetic population by balancing oxidative stress reactions45. The second is chronic inflammation: Strong evidence suggests that neuroinflammation can promote the emergence and development of depression46,47. The antioxidant properties of the diet are capable of diminishing the neuroinflammatory response by modulating the levels of inflammatory factors. Some studies have shown that dietary zinc, vitamin A, and E can lower levels of inflammatory factors such as interleukin-6 (IL-6), tumor necrosis factor-alpha (TNF-α), and interferon-gamma (IFN-γ), consequently reducing the impact of neuroinflammation on depression48. Other studies have shown that chronic inflammation is strongly associated with the development and progression of a variety of diseases, including cardiovascular disease, diabetes, obesity, and cancer, as well as being associated with an increased risk of all-cause mortality49,50. Antioxidant diets could significantly reduce inflammatory markers, improve chronic disease states, and reduce mortality risk51,52,53. The third is neuroplasticity. Depressed patients often experience impaired neuroplasticity and reduced levels of brain-derived neurotrophic factor (BDNF). BDNF is known to be essential for the growth, differentiation, and survival of nerve cells, and BDNF also promotes neuronal connectivity and the formation of neural networks, which is a key factor in neuroplasticity54. Antioxidant diets can affect the production and release of neurotrophic factors such as neurotrophic factor (NGF) and BDNF55. These neurotrophic factors promote neuronal proliferation and synaptic plasticity, helping to maintain and enhance neurological health and thus improving depressive symptoms56. The fourth is neurotransmitters. Neurotransmitters such as serotonin, dopamine, and norepinephrine, are critical in regulating mood and depression57. Antioxidants contribute to the protection of nerve cells from damage and improve neurotransmitter function, which can help prevent and treat depression. Specifically, the antioxidant vitamin C has been found to promote the release of neurotransmitters such as dopamine, norepinephrine, and 5-hydroxytryptamine from neurons, increasing the levels of neurotransmitters that influence communication between neurons58. The fifth is the gut microbiota. Imbalances in the gut microbiota have been shown to be strongly associated with the development of depression and adverse outcomes of various diseases59. Compared with healthy individuals, the gut microbial composition of depressed patients changed, particularly in microbial diversity and relative abundance of specific bacterial taxa60,61. In hemodialysis patients, the microbial diversity of non-survivors was significantly lower than that of survivors, especially in terms of amber fungi and anaerobic bacteria62. Studies have indicated that dietary antioxidant micronutrients can alleviate depressive symptoms and extend the life span of patients by modulating the abundance of the gut microbiota63,64.

Subgroup analyses were conducted to better explore differences among subgroups. Notably, in stratified analyses incorporating demographic characteristics, lifestyle factors, and comorbidities, a statistically significant interaction emerged specifically regarding smoking status. This finding indicated that those who had never smoked benefited more from an antioxidant-rich diet than those who had smoked and were still smoking. Studies have shown that smoking can lead to an increase in lipid peroxidation products and extracellular matrix protein degradation products, chemotaxis of activated neutrophils and macrophages, increased levels of circulating pro-inflammatory markers and oxidative stress markers, including reactive oxygen species (ROS) levels, superoxide dismutase (SOD), and glutathione peroxidase (GPx), along with a decrease in antioxidant levels65,66,67,68. Abnormal levels of inflammation and antioxidants can exacerbate the onset of depression and death69,70. Thus, in people who have never smoked, an antioxidant diet may better reduce the risk of depression and all-cause mortality.

Our study has several strengths. First, NHANES used standardized methods for data collection and analysis, coupled with stringent quality control of the data to ensure accuracy and reliability. Second, NHANES censuses thousands of participants from all over the country each year, enabling a large sample size and representativeness that provide a wide range of data on the health status of the US population. Third, we performed restricted cubic spline analyses to assess the dose–response relationship between CDAI and the risk of depression and all-cause mortality. Fourth, as global aging increases, it is important to study a large sample of data on middle-aged and elderly adults for health guidance and public health policy development in older populations. Fifth, a more comprehensive inclusion of risk factors affecting depression and all-cause mortality makes the study results more credible. There are also some limitations to this study. First, the observational study designs could only indicate that higher CDAI was associated with a lower risk of depression and all-cause mortality in middle-aged and older populations, whereas no conclusions about causality could be drawn. Second, given that the dietary data were obtained through follow-up interviews, and considering potential memory loss in the middle-aged and elderly population with depressive disorders, recall bias was an unavoidable limitation. Third, the dietary data were extracted from only two follow-up visits and therefore may not accurately reflect the typical dietary patterns of the subjects. Fourth, since this study was conducted on a middle-aged and older population in the United States, this limits the applicability of the findings to other demographics, and future research is necessary to examine the relevance of these findings in different international contexts.

Conclusion

In this study of middle-aged and elderly Americans, CDAI was linearly negatively associated with depression and non-linearly negatively associated with all-cause mortality. The stratified analysis revealed differences between populations with different smoking statuses, and these findings may help public health authorities tailor policies to prevent and improve people's emotional states and increase longevity. Further basic research will be required to discover the molecular biological mechanisms underpinning these associations.