Introduction

Depression is a global public health concern and is ranked as the second most serious health problem worldwide, following cardiovascular disease. It is considered a leading cause of disability and death across different populations [1]. Epidemiological studies estimate that approximately 322 million people worldwide are affected by depression, imposing a significant social and economic burden. The global prevalence of major depressive disorder has also seen a significant increase of 27.6% in 2020 due to the COVID-19 pandemic [2, 3]. Predictive models suggest that depression will become the leading cause of the global burden of disease by 2030 [4]. Depression not only impacts an individual’s emotional well-being but also leads to a decline in muscle strength and motor function [5, 6]. Therefore, it is crucial to identify actionable factors that influence and alleviate depression in the population. Although the exact pathogenesis of depression is not yet fully understood, it is undeniable that dietary differences among individuals play a significant role in the occurrence and development of depression [7, 8]. Consequently, further in-depth exploration of potential dietary strategies for preventing and managing depression is urgently needed.

There is mounting research evidence linking dietary factors, particularly nutrients, to the risk of depression. For instance, an elevated index of dietary inflammation has been identified as a risk factor for depression [9]. In addition, a low-dose vitamin K diet has been shown to inhibit the activity of hippocampal neurons, potentially increasing oxidative stress levels in the brain and the risk of depression [10]. Previous studies have also demonstrated a strong association between other dietary micronutrients such as magnesium, calcium and fruits and a higher risk of depression [11,12,13]. However, there is limited research investigating the relationship between dietary flavonoid intake and depressive symptoms.

Numerous in vitro and animal model studies have highlighted the potential role of flavonoids in improving depressive states. Pharmacological research has shown that isoliquiritin can reduce the NLRP3-mediated inflammatory pyroptosis pathway by regulating the miRNA-27a/SYK/NF-κB axis, thereby improving the depressive state in mice [14]. Flavonoids possess various biological activities beneficial to human health, and their main mechanism of action involves modulating the type and structure of intestinal microorganisms and enhancing brain neuron activity through the gut-brain signaling pathway axis, consequently reducing depressive symptoms [15]. While these findings suggest that flavonoids may have therapeutic effects on depression, clinical evidence linking flavonoid intake, including specific subclasses, to the risk of depression is currently lacking. Hence, based on the Food and Nutrient Database for Dietary Studies (FNDDS) and NHANES, we conducted a cross-sectional study to investigate the relationship between dietary flavonoid intake and the risk of depression.

Methods

Study design and participants

We employed three cycles of relevant datasets from NHANES (2007–2010 and 2017– 2018), which is a national cross-sectional population-based survey. These specific cycles were chosen because NHANES collected data on dietary intake of flavonoids through a 24-hour dietary recall during this time period. NHANES uses a complex multi-stage probabilistic design to assess the physical health status of the entire US population by recruiting a representative sample from US resident communities. The comprehensive study design and data collection methods have been previously described [16]. The survey conducted for this study received approval from the US National Committee for Ethical Review of Health Statistics Research, and all participants provided written informed consent. Considering that FNDDS only releases the dietary intake data of flavonoids for 3 cycles (2007–2009, 2009–2010 and 2017– 2018), the inclusion and exclusion of the population only considers the year data of the same cycle. This study primarily included individuals aged 18 years and older, while data without a diagnosis of depression and missing dietary information on flavonoids were excluded (Fig. 1).

Fig. 1
figure 1

 A flowchart of participant selection. NHANES, National Health and Nutrition Examination Survey; FNDDS, Food and Nutrient Database for Dietary Studies

Assessment of dietary intake of flavonoids and anthocyanins

Flavonoid intake in this study was based on the consumption of food and beverages, including water, and did not take into account the intake of flavonoid supplements or medications. The quantification of flavonoid intake was standardized according to the United States Department of Agriculture Expanded Flavonoid Database. NHANES provided sample weights specifically designed for dietary analysis. the intake of different flavonoids was calculated by multiplying the flavonoid content of each food by the food-frequency questionnaire (FFQ) [17]. The 24-hour recalled dietary intake type was obtained through the FFQ questionnaire, and then the different types of things were coded according to the FNDDS manual, and the flavonoid content of the things represented by different codes was calculated. Qualified dietitians collected dietary data, including flavonoid intake and other nutrients, through 24-hour food recall interviews. The FNDDS versions used for different survey cycles were version 4.1 for 2007–2008 and version 5.0 for 2009–2010 and 2017–2018 [18]. The FNDDS categorizes dietary flavonoids into six subgroups: Anthocyanidins, Flavan-3-ols, Flavanones, Flavones, Flavonols, and Isoflavones. Additionally, it estimates the total daily intake of all flavonoids, which is the cumulative sum of the 29 individual flavonoids considered.

Evaluation of depressive symptoms

In line with a previously published NHANES-based article, the screening of depressive symptoms in this study was conducted using the Patient Health Questionnaire-9 (PHQ-9) program and computer-assisted personal interviews at mobile screening centers [19]. The PHQ-9 is a reliable and effective screening tool consisting of nine items that assess about the frequency of depressive symptoms in the past two weeks. Each item provides response options ranging from “not at all” to “almost every day”, with and the scores assigned from 0 to 3 points accordingly. The total score on the PHQ-9 ranges from 0 to 27 points, with higher scores indicating more severe depressive symptoms. A PHQ-9 total score exceeding10 is typically considered indicative of depressive symptoms, while scores below 10 indicate a non-depressed state [20].

Study covariates

The covariates included in this study were as follows: Among them, age, body mass index (BMI), poverty, Homeostatic Model Assessment for Insulin Resistance (HOMA_IR), energy intake (Kcal), Healthy Eating Index (HEI2015), waistline as continuous variables, while sex (female or male), education level (less than 9th grade- including uneducated participants, 9-11th grade, high school graduate/GED or equivalent, some college or AA degree, college graduate or above), race (Black, Mexican American, White, Other Hispanic and Other Race), glucose status, hypertension, alcohol or smoke use, chronic kidney disease (CKD) risk and physical activity are included as categorical variables.

Statistical analysis

To ensure the representative nature of the sample within the overall population, the analysis was weighted using the appropriate sample weights provided by the official NHANES website. The complex multistage cluster survey design of NHANES was taken into account. Continuous variables were presented as mean (standard deviation, SD), while categorical variables were expressed as number (percentage, %). respectively. Differences in baseline characteristics between the normal and glaucoma groups were compared using the weighted Student’s t-test for continuous variables) and the weighted chi-squared test for categorical variables. Flavonoid intakes were adjusted for total energy intake by using the residual method [21].

Three models were constructed for the analysis: Model 1: This was the raw model without any adjustments for covariates. Model 2: Adjustments were made for race/ethnicity(eth), poverty, sex, and age, in addition to the covariates. Model 3: In addition to the covariates adjusted in Model 2, further adjustments were made for HOMA_IR, hypertension, BMI, physical activity, energy intake, glucose status and waistline. The restricted cubic spline (RCS) function, a powerful tool, was utilized to describe the dose-response relationships between continuous variables and outcomes. All analyses were performed using the “nhanesR” package in R version 4.2.3. A significance level of < 0.05 was considered statistically significant.

Results

Characteristics of the study participants

A total of 6,845 participants from NHANES (2007–2010 and 2017–2018) were included in the study following the established screening protocol, representing approximately 89.8 million inhabitants of the United States. Among these participants, 637 individuals (9.31%) had a diagnosis of depression (Fig. 1; Table 1).

Table 1, provides an overview of the demographic and baseline clinical characteristics of the participants. Among all the participants, 3,461 (50.56%) were female, and non-Hispanic whites constituted the largest proportion, accounting for over 40% of the population (3,053, 44.6%). The mean age of all participants was 50.15 years, with a standard deviation of 17.75 years. Notably, significant differences were observed in demographic and baseline clinical characteristics between participants diagnosed with depression and those without depression. Participants with depression tended to have lower educational attainment [240 (42.12%) vs. 3137 (58.49%)], higher levels of poverty [1.79 (1.43) vs. 2.60 (1.61)], higher BMI [30.62 (7.88) vs. 29.06 (6.68)], higher HOMA_IR [5.90 (11.42) vs. 4.01 (6.11)], lower HEI-2015 scores [46.70 (13.16) vs. 50.80 (13.75)] and higher waistline measurements [102.19 (17.66) vs. 99.19 (16.03)]. Additionally, smoking status appeared to influence the occurrence of depression. Furthermore, participants with poor glucose status and inadequate hypertension control were more likely to be diagnosed with depression. All of the aforementioned differences between the depression and non-depression groups were statistically significant (P < 0.05).

Table 1 Characteristics of the study population, weighted

Relationship between dietary anthocyanidin intake and depression

We analyzed the relationship between the major categories of flavonoids and total intake, specifically focusing on anthocyanidins. Our findings revealed that individuals without depression had a higher intake of anthocyanidins compared to those diagnosed with depression [13.53 (0.87) mg vs. 5.81 (1.01) mg; < 0.0001]. Conversely, the intake of the other five flavonoid categories did not show any statistically significant differences. Further analysis of the subclasses of anthocyanidins demonstrated that all of them (cyanidin, petunidin, delphinidin, malvidin, pelargonidin and peonidin) exhibited the same trend (Table 2).

Table 2 Differences in flavonoid content between the depression and non-depression groups

Higher intake of anthocyanidins is associated with lower risk of depression

Table 3 presents the results of the multiple logistic regression model after adjusting for different covariates. The analysis revealed that individuals in the highest tertile (T3) of anthocyanidin intake had a reduced risk of being diagnosed with depression compared to those in the lowest tertile (T1), as observed in Model 1 [ORT3 = 0.49, 95%CI: (0.37–0.66), Ptrend < 0.0001]. After adjustment for covariates, significant differences were still observed between the highest tertile (T3) of anthocyanidin intake and the lowest tertile (T1) in both Model 2 [ORT3 = 0.57, 95%CI: (0.42–0.78), Ptrend <0.001] and Model 3 [ORT3 = 0.67, 95%CI: (0.48–0.95), Ptrend  = 0.02]. These results indicated that a higher intake of anthocyanidins was associated with a reduced risk of clinically diagnosed depression.

Table 3 Multivariate logistic regression analysis of the association between anthocyanidins intake with the risk of depression, weighted

Nonlinear relationship between intake of anthocyanidins and the risk of depression

RCS curves were used to determine potential nonlinearity in the relationship between anthocyanidin intake and the risk of depression (Fig. 2). The curves displayed a nonlinear pattern for different anthocyanidins. However, the statistical analysis indicated that there was no significant evidence of nonlinearity for Total Anthocyanidins (P for nonlinearity = 0.5876), Delphinidin (P for nonlinearity = 0.4745), Malvidin (P for nonlinearity = 0.4687), Pelargonidin (P for nonlinearity = 0.3915), Petunidin (P for nonlinearity = 0.5899) and Peonidin (P for nonlinearity = 0.0548). These anthocyanidins were all found to have a significantly negative and linear association with the risk of depression. Furthermore, a significant J-shaped association was observed between the intake of cyanidin and peonidin and the risk of depression (P for nonlinearity = 0.0297). In summary, the overall trend indicated that the risk of depression tended to decrease with increasing anthocyanidin intake. Overall, the risk of depression tended to decrease with increasing anthocyanidin intake.

Fig. 2
figure 2

The non-linear relationships between anthocyanidin intake and the risk of depression by restricted cubic splines (A: Total anthocyanidins; B: Cyanidin; C: Delphinidin; D: Malvidin; E: Pelargonidin; F: Peonidin; G: Petunidin). Models are adjusted for eth, poverty, sex, age, HOMA_IR, hypertension, BMI, physical activity, energy intake, glucose status and waistline

Discussion

While the association between dietary habits and the prevalence of depression has been established, the specific markers of diet that predict the risk of depression are still unclear. To our knowledge, this study is the first to analyze the relationship between dietary flavonoid intake and the risk of depression. We were surprised to discover that dietary anthocyanin intake, when examined categorically, showed an inverse association with depression in both the 2007–2010 and 2017–2018 NHANES datasets. After categorizing the continuous variables, we observed a 40% reduction in the incidence of depression when individuals in the highest intake group (T3) consumed dietary anthocyanidins, even after adjusting for potential confounding factors. Furthermore, the RCS curves demonstrated a linear negative correlation between anthocyanidin intake and the risk of diagnosed depression, indicating that anthocyanidin intake can serve as a reliable predictor of depression in the adult population.

Anthocyanidins are polyphenolic phytochemicals predominantly found in fruits, seeds, flowers, and green vegetables. Previous research has established that eating a regular, low-carb diet can reduce an individual’s risk of developing symptoms of stress [22, 23]. These compounds which have recently been reported to exert beneficial effects on mood and mood disorders. Moreover, emerging studies suggest that neurotransmitter imbalances, inflammatory responses (i.e., cytokines), and oxidative stress (i.e., reactive oxygen species and lipid peroxidation) may underlie the progression of depression [24, 25]. Clinical evidence has demonstrated significantly higher concentrations of inflammatory cytokines, such as IL-1β, IL-6 and TNF-α activated by NLRP3 in the cerebrospinal fluid and serum of patients with depression compared to non-depressed individuals [26]. Due to their unique chemical structures, anthocyanidins possess various pharmacological activities, including antioxidant, anti-inflammatory, antidepressant and neuroprotective, properties. This makes them potential candidates for future antidepressant medications.

Epidemiological studies investigating the association between anthocyanin intake and depression have been limited. A double-blind, randomized, placebo-controlled, parallel-group study showed that an 8-week intake of Purple-Flesh Potato, which is rich in anthocyanins, resulted in improved psychological stress response, reduced irritability, and alleviation of depressive symptoms [27]. Another randomized, double-blind, placebo-controlled clinical trial focusing on adolescents who consumed a daily supplement of wild blueberry (containing approximately 253 mg anthocyanidins) found that compared to the placebo group, participants receiving anthocyanidin supplements had significantly reduced self-reported depressive symptoms (P = 0.02, 95%CI: (-6.71,-5.35)] [28]. Previous cross-sectional studies have also demonstrated that correlation between higher diet quality, as indicated by higher scores on the Healthy Eating Index HEI2015), and a lower risk of depression [29,30,31]. Our study further confirms this association [46.09 (0.66) vs. 50.85 (0.47), P<0.0001]. These findings suggest that consuming an adequate amount of anthocyanins may have a modestly effective potential intervention for preventing depression. While there is strong evidence supporting the protective effects of dietary anthocyanins against oxidative stress and neurological damage, our study is the first to establish reveal a link between dietary anthocyanin intake and the presence of depression in the general population.

As described earlier, differences in dietary anthocyanidin intake have been strongly associated with the risk of depression, although the underlying mechanisms have not been fully elucidated. Based on our literature search, we have summarized several potential pathological mechanisms. These mechanisms include the reduction of oxidative stress and inflammation, as well as changes in the gut microbiota, which are involved in chronic affective-cognitive disorders. Firstly, the imbalance between the production and clearance of reactive oxygen species (ROS), known as represented by oxidative stress, is believed to play a crucial role in the development and progression of depression. Excessive ROS can attack cells, leading to protein and lipid peroxidation, damage to the DNA molecular structure, and ultimately cell death [32]. Anthocyanidins, as natural antioxidants, have the ability to neutralize various types of reactive oxygen species, including superoxide anions, singlet oxygen and peroxide free radicals [33]. Secondly, chronic neuroinflammation is known to play a significant role in the progression of depression [34]. Anthocyanidins have been shown to improve the brain microenvironment by inhibiting the activity of nuclear factor-kappa B (NF-κB) and reducing inflammation levels [35]. Lastly, adequate intake of anthocyanidins can positively influence the composition of the gut microbiota, which in turn can modulate the bidirectional communication between the microbiota and the brain, known as the microbiota-gut-brain axis [36]. This can lead to an improvement in the nerve conduction excitability of the brain. At the same time, phenolic metabolites represented by Malvidin have beneficial effects on anxiety and depression by targeting and regulating NLRP3, NLRC4 and AIM2 inflammasomes [37]. Although existing evidence suggests that sufficient intake of anthocyanins is beneficial for individuals with depression, further research is needed to better understand the underlying mechanisms. Prospective clinical studies with larger sample sizes and mechanistic investigations are necessary to clarify the relationship between dietary anthocyanidin intake and depression.

This study has some limitations that should be acknowledged. Firstly, the differences in demographics and population characteristics in the United States may limit the generalizability of the findings to other countries or regions. Secondly, the assessment of depressive symptoms relied on self-reported measures, and dietary assessments using 24-hour dietary recall interviews may introduce errors in estimating actual intake. The quantification of cyanine intake also lacks objective and quantitative indicators. Finally, this study is cross-sectional in nature, which limits the ability to establish causal relationships, especially when compared to longitudinal or clinical randomized controlled trials.

Conclusion

In conclusion, our findings provide the first evidence of an inverse association between dietary anthocyanin intake and the risk of depressive symptoms in adults in the United States. The prevalence of depressive symptoms decreased as anthocyanin intake increased. Nevertheless further prospective studies are warranted to examine the potential role of other factors such as calcium in relation to depressive symptoms.