Skip to main content
  • Research article
  • Open access
  • Published:

The associations of dietary patterns with depressive and anxiety symptoms: a prospective study

Abstract

Background

Diet is increasingly recognized as an important risk factor for mental health. However, evidence regarding the association between diet pattern and depressive and anxiety symptoms is limited. We aimed to investigate the associations of dietary patterns characterized by a set of nutrients of interest with depressive and anxiety symptoms.

Methods

The analyses included a total of 126,819 participants in the UK Biobank who had completed at least two dietary questionnaires. Dietary data were obtained through 24-h dietary assessment at baseline between 2006 and 2010 and four rounds of online follow-ups between 2011 and 2012. Reduced rank regression was applied to derive dietary patterns (DPs) explaining variability in energy density, free sugars, saturated fat, and fiber intakes. Depressive and anxiety symptoms were measured by the Patient Health Questionnaire-9 and General Anxiety Disorder-7 between 2016 and 2017, respectively. Logistic regression models were performed to investigate the associations between dietary patterns and depressive and anxiety symptoms.

Results

During a mean follow-up of 7.6 years, 2746 cases of depressive symptoms and 2202 cases of anxiety symptoms were recorded. Three major DPs were derived, explaining 74% of the variation in nutrients hypothesized to be related to depressive and anxiety symptoms. DP1 was characterized by high intakes of chocolate, confectionery, butter, and low vegetable/fruit intakes. Compared to the lowest quintile of DP1, the odds ratio (95% confidence interval) of depressive symptoms for Q2–Q5 was 0.82 (0.72–0.93), 0.86 (0.76–0.98), 1.02 (0.90–1.15), and 1.17 (1.03–1.32), respectively. Compared to the lowest quintile of DP1, the odds ratio (95% CI) of anxiety symptoms for Q2–Q5 was 0.84 (0.73–0.97), 0.91 (0.79–1.05), 1.01 (0.88–1.15), and 1.18 (1.03–1.35), respectively. DP2 featured high intakes of sugar-sweetened beverages, added sugars, and low intakes of butter/cheese but showed no significant links to depressive or anxiety symptoms. DP3 was characterized by high butter and milk desserts and low alcohol/bread intakes. Compared to the lowest quintile of DP3, the odds ratio (95% CI) of depressive symptoms for Q2–Q5 was 0.90 (0.79–1.01), 1.00 (0.88–1.13), 1.06 (0.94–1.20), and 1.17 (1.03–1.32), respectively. Compared to the lowest quintile of DP3, the odds ratio (95% CI) of anxiety symptoms for Q2–Q5 was 0.90 (0.78–1.04), 1.05 (0.91–1.20), 1.02 (0.89–1.17), and 1.21 (1.05–1.38), respectively.

Conclusions

A DP characterized by high intakes of chocolate and confectionery, butter, high-fat cheese, added sugars, along with low intakes of fresh fruit and vegetables, is associated with a higher risk of depressive and anxiety symptoms.

Peer Review reports

Background

Common mental disorders are estimated to affect more than 970 million people worldwide, with depressive and anxiety disorders being leading causes of disease burden and major contributors to disability [1]. A growing body of evidence showed that depression and anxiety were associated with higher morbidity and suicide risks [2, 3]. Diet habit has been increasingly examined as a modifiable risk factor in the etiology of these mental disorders [4,5,6].

Previous studies have demonstrated an increased risk of depressive or anxiety symptoms associated with high intakes of single nutrients, such as saturated fat [7], free sugars [8], or low intakes of fiber [9]. There is also some evidence focusing on the relationships between food items and common mental disorders, such as sugar-sweetened beverages [10], meat [11], fruit, vegetables [12], and fish [13]. However, the effect of individual nutrient or food may not be sufficient to reflect the health effects of a whole diet pattern, since foods are always consumed in combination. So far, the synergistic effects of various food groups or nutrients on depressive and anxiety symptoms are largely unknown.

Reduced rank regression (RRR) is a data-driven statistical method to characterize major dietary patterns (DPs), which could explain the maximum amount of variation of nutrients based on a priori hypotheses of the pathophysiology of disease [14]. The RRR, a classification method of diet pattern, may build a more robust link between dietary patterns and health outcomes [15]. Therefore, the aim of this study was to investigate the associations between dietary patterns derived by RRR and depressive and anxiety symptoms.

Methods

Study population

UK Biobank is a prospective cohort study involving > 500,000 participants aged 37–73 years across the UK from 2006 to 2010. It was approved by the NHS National Research Ethics Service (Ref. 11/NW/0382) and all participants gave written informed consent at study entry. Details of the study design and data collection have been described previously [16]. From 2016 to 2017, 157,366 participants completed an online mental health questionnaire to record the symptoms of mental disorders [17].

Our analyses were restricted to the 157,212 participants who had information on depression and anxiety measures, in which 85,067 completed at least two rounds of dietary questionnaires. Participants were excluded because of abnormal energy intake (men with < 800 or > 4200 kcal/day, and women with < 600 or > 3500 kcal/day) [18]; existing history of cancer at baseline assessment; and missing information on covariates. Depression and anxiety events that occurred before or at baseline were identified using antidepressant use and linked hospital admissions data. Thus, we further excluded 5195 and 5396 participants who were separately diagnosed with depressive and anxiety symptoms, leaving 70,271 and 70,070 participants without depression or anxiety at baseline included in the final study, respectively. A flow chart of this study can be seen in Fig. 1.

Fig. 1
figure 1

Flow chart of the study

Dietary assessment

A web-based 24 h dietary assessment tool named Oxford WebQ was used to collect information on dietary intakes [19], including the frequency of 206 common foods and 32 types of beverages consumed during the previous day. The Oxford WebQ is a suitable tool for repeated measurements in large-scale prospective studies, such as the UK Biobank study and the Million Women Study. Its reliability and validity have been confirmed through comparison with an interviewer-administered 24-h dietary recall method [19]. Participants with validated e-mail addresses were invited to respond to the Oxford WebQ questionnaire at baseline assessment and additionally followed up to four times between February 2011 and June 2012 at 3–4 monthly intervals. We calculated the average intake of nutrients and food groups across the five rounds of dietary questionnaires. Based on the methodology described previously [20], food intakes were classified into 50 groups based on the similarity in nutritional content or culinary usage. Total energy and nutrient intake data were generated based on the UK Nutrient Databank food composition tables [21]. Energy density, saturated fatty acids, fiber density, and free sugars were selected as the nutrients of interest, indicating their role in the development of depression and anxiety [5, 22]. Saturated fatty acids and free sugars in % total Energy (%E) were calculated by multiplying the intake in g/day with 25 kJ/g or 17 kJ/g. Fiber intake was estimated using the Englyst method [23].

Ascertainment of outcomes

The ascertainment of depression was based on the Patient Health Questionnaire-9 (PHQ-9), which is a nine-item questionnaire for depression screening. The PHQ-9 scores the 9 DSM-IV criteria separately as “0” (not at all) to “3” (nearly every day), yielding an overall depression severity score between 0 and 27 [24]. A cut-off score of 10 or above is recommended to identify the probable cases of major depression [25]. Meanwhile, anxiety was measured by the General Anxiety Disorder-7 (GAD-7). GAD-7 is a 7-item measure for general anxiety disorder screening and severity assessment [26]. It is also a scale rating 0–3, with a total sum score ranging from 0 to 21. A cut-off score of 10 or above is recommended to identify the presence of anxiety disorders [27]. In the study, follow-up time was calculated from baseline assessments (2006–2010) to completion of PHQ-9 and GAD-7 questionnaires (2016–2017), serving as start and endpoints for participants respectively.

Ascertainment of covariates

Covariates were selected based on a prior-defined directed acyclic graph (Additional file 1: Fig. S1). Our study finally included age (calculated at baseline assessment centers), sex (female, male), ethnicity (white, others), Townsend deprivation index, education level (college qualification, other qualification, none qualification), self-reported smoking status (never, previous, current), physical activity (low, moderate, high, missing data), history of hypertension (yes/no), history of diabetes (yes/no), and history of cardiovascular disease (yes/no). Townsend deprivation index represents the level of deprivation on the basis of post codes. It was derived from aggregated data of unemployment, car ownership, house ownership, and household overcrowding, with higher scores indicating higher deprivation [28]. Physical activity was collected from an adapted version of the short International Physical Activity Questionnaire (IPAQ), and the total metabolic equivalent of task (MET) in a week was categorized into high (≥ 3000 MET-minutes per week), moderate (≥ 600 and < 3000 MET-minutes per week), and low (< 600 MET-minutes per week) [29]. Prevalence of hypertension, diabetes, and cardiovascular disease was based on self-report data of a doctor diagnosis and verified during the face-to-face interview.

Statistical analyses

Identification of dietary patterns

Dietary patterns (DPs) were derived through the use of reduced rank regression (RRR), a data-driven statistical method that employs a priori knowledge to select nutrients hypothesized to be relevant to disease risk. RRR identifies linear functions of food groups that explain as much variation as possible in the pre-selected nutrient response variables, resulting in dietary patterns associated with the nutrients of interest based on the initial hypothesis [14]. Energy density, saturated fatty acids, free sugars, and fiber density were used as response variables in the RRR model. Dietary pattern scores were calculated for each participant using reduced rank regression, assigning individuals a z-score representing adherence to each identified pattern. Participants were then categorized into quintile groups based on DP z-scores, creating exposure groups with increasing levels of adherence to each dietary pattern. Factor loadings of food intake were positively correlated to DP z-score. A higher factor loading indicates a greater contribution of that food group to the DP. The associations between dietary patterns and nutrient-response variables were evaluated by correlation coefficients (Additional file 1: Table S1). We retained dietary patterns with explained variance > 10% for subsequent analyses.

Associations of DPs with depressive and anxiety symptoms

Dietary patterns identified from RRR were categorized into quintiles, with the lowest quintile (Quintile 1) as the referent. Logistic regression models were used to estimate odds ratios (ORs) and 95% CIs (confidence intervals) for depressive and anxiety symptoms, with adjustment for age, sex, ethnicity, Townsend deprivation index, education level, smoking status, physical activity, history of hypertension, history of diabetes, and history of cardiovascular disease.

Potential non-linear associations between dietary patterns and depression and anxiety were tested using restricted cubic splines (three to five knots were chosen based on Akaike’s information criterion [AIC], and 95% of the DP score distribution [30]) fitted on the logistic regression models with multivariable adjustment, and the 5% quantile of DP scores were used as the reference.

Sensitivity analyses

Several sensitivity analyses were conducted to test the robustness of our findings. First, to explore potential bias related to the random variation in individual intakes, we repeated the RRR analysis with participants completing ≥ 1 (N = 188,909), ≥ 3 (N = 71,270), ≥ 4 (N = 32,850) or ≥ 5 (N = 5195) dietary assessments. Second, to investigate the influence of missing variables, multiple imputation by chained equations with 10 imputations were used to impute all missing covariates [31]. Third, logistic regression models were further stratified according to age groups (37–50, 50–60, 60–73 years), sex (female, male), smoking status (never, previous, current), and physical activity (inactive, active), in which P values for interaction were evaluated using interaction terms and likelihood ratio tests. Fourth, we inputted energy density, saturated fatty acids, fiber density, and free sugars separately as single response variables in the RRR model and repeated the main analyses, aiming to isolate the effect of nutrients in DPs to shed light on the not fully elucidated links between DPs and depression and anxiety. Considering RRR as a multivariate model, the results were from general linear regression for a single response variable scenario. Fifth, we conducted multivariable Cox proportional hazard models to obtain hazard ratios (HRs) with 95% CIs for incident depression and anxiety using linked hospital admissions data as the source. Hospital admissions data was obtained via record linkage to different sources including Hospital Episode Statistics (England), Scottish Morbidity Record (Scotland), and Patient Episode Database (Wales). Participants with incident depression and anxiety were identified as having the first record using International Classification of Diseases, 10th Revision (ICD‐10) codes (F32, F33 for depression; F40, F41 for anxiety). Sixth, the associations of each food group with depressive and anxiety symptoms were tested with logistic regression. Seventh, considering depression and anxiety could be precipitated by interacting factors from various stress sources (e.g., work-related, sleep quality), the model was further adjusted for sleep score, length of the working week for the primary job, and shift work involvement. Eighth, considering that depression and anxiety are frequently comorbid with other psychiatric comorbidities, logistic regression models were further adjusted for attention deficit hyperactivity disorder (ADHD) and eating disorders. Stata version 17.0 (StataCorp) was used to conduct RRR. R software (version 4.0.5) was used for the remaining statistical analyses. Two-sided P < 0.05 indicated statistical significance.

Results

Population characteristics

Seventy-five thousand four hundred sixty-six participants (mean age 55.8 years, 55.9% women) were finally included in this study and followed up for an average of 7.6 years until the PHQ-9 and GAD-7 questionnaires were completed. 2746 depressive symptoms and 2202 anxiety symptoms were recorded during this period, respectively. Table 1 shows the baseline characteristics of the study participants according to depression and anxiety status. Additional file 1: Table S2 shows the baseline characteristics of the study participants according to three dietary patterns.

Table 1 Baseline characteristics of participants by outcomes (N = 75,466)

Characteristics of DPs

Four DPs were derived according to the RRR model (Additional file 1: Table S1). DP1 (44.0%), DP2 (20.0%), and DP3 (10.1%) yielded a total of 74.1% of the variation explained by energy density, free sugars, saturated fat, and fiber intakes. DP4 only explained 4.3% in all nutrient response variables. DP1 (named “high caloric diet”) was primarily loaded by high intakes of chocolate and confectionery, butter and other animal-fat spreads, and low intakes of vegetables and fresh fruit. DP2 (named “high sugar, low fat diet”) was primarily loaded by high intakes of sugar-sweetened beverages and other sugary drinks, table sugars and preserves, and low intakes of butter and other animal fat spreads, and high-fat cheese. DP3 (named “high sugar, high fat, high fiber diet”) was primarily loaded by high intakes of butter and other animal fat spreads, milk-based desserts, and low intakes of alcoholic drinks (wine, beer, spirits), and low-fiber bread (Fig. 2). In sensitivity analyses, we repeated RRR analysis with participants completing different occasions (≥ 1 to ≥ 4 times) of dietary assessments, and the results indicated the robustness of DPs derived by RRR model (Additional file 1: Fig. S2).

Fig. 2
figure 2

Factor loadings for food groups in dietary patterns

Associations of DPs with depressive and anxiety symptoms

To examine relationships between DPs and depressive and anxiety symptoms, logistic regression analyses and dose–response analyses were performed. As shown in Fig. 3, we found that DP1 was associated with depressive or anxiety symptoms. Compared to the lowest quintile of DP1, the odds ratio (95% CI) of depressive symptoms was 0.82 (0.72–0.93) for Q2, 0.86 (0.76–0.98) for Q3, 1.02 (0.90–1.15) for Q4, and 1.17 (1.03–1.32) for Q5. Compared to the lowest quintile of DP1, the odds ratio (95% CI) of anxiety symptoms was 0.84 (0.73–0.97) for Q2, 0.91 (0.79–1.05) for Q3, 1.01 (0.88–1.15) for Q4, and 1.18 (1.03–1.35) for Q5. Similar association was observed between DP3 and depressive or anxiety symptoms. Compared to the lowest quintile of DP3, the odds ratio (95% CI) of anxiety symptoms was 0.90 (0.79–1.01) for Q2, 1.00 (0.88–1.13) for Q3, 1.06 (0.94–1.20) for Q4, and 1.17 (1.03–1.32) for Q5. Compared to the lowest quintile of DP3, the odds ratio (95% CI) of anxiety symptoms was 0.90 (0.78–1.04) for Q2, 1.05 (0.91–1.20) for Q3, 1.02 (0.89–1.17) for Q4, and 1.21 (1.05–1.38) for Q5. DP2 was not significantly associated with depressive symptoms (P for trend > 0.05), whereas a significant association was found between DP2 and anxiety symptoms (OR [95% CI] for Q5 v. Q1 = 1.16 [1.02 to 1.33], Q4 v. Q1 = 0.99 [0.86 to 1.13], Q3 v. Q1 = 0.93 [0.81 to 1.06], and Q2 v. Q1 = 0.93 [0.81 to 1.06]). After adjusting for potential confounders, restricted cubic splines showed non-linear associations between three DPs and depressive or anxiety symptoms (P for non-linear < 0.001) (Fig. 4). In the dose–response analysis, we found that the OR (95% CI) per standard deviation (SD) increase for DP1 with depressive symptoms was 0.82 (0.76–0.89) (DP1 z-score <  − 0.63) and 1.18 (1.13–1.24) (DP1 z-score >  − 0.63), for DP2, it was 0.93 (0.84–1.04) (DP2 z-score <  − 0.10) and 1.24 (1.15–1.33) (DP2 z-score >  − 0.10), and for DP3 it was 0.78 (0.65–0.94) (DP3 z-score <  − 0.37) and 1.27 (1.15–1.40) (DP3 z-score >  − 0.37). We found that the OR per SD increase for DP1 with anxiety symptoms was 0.89 (0.82–0.96) (DP1 z-score <  − 0.28) and 1.17 (1.10–1.24) (DP1 z-score >  − 0.28), for DP2, it was 0.92 (0.80–1.07) (DP2 z-score <  − 0.29) and 1.20 (1.11–1.29) (DP2 z-score >  − 0.29), and for DP3, it was 0.80 (0.65–0.99) (DP3 z-score <  − 0.35) and 1.29 (1.16–1.44) (DP3 z-score >  − 0.35) (Additional file 1: Table S3). In summary, worse dietary patterns (high sugar, fat, low fiber) were associated with higher odds of depressive and anxiety symptoms in a predominantly non-linear fashion.

Fig. 3
figure 3

ORs (95% CIs) for depressive and anxiety symptoms by dietary patterns. All models were adjusted for age, sex, ethnicity, Townsend deprivation index, education level, smoking status, physical activity, history of hypertension, history of diabetes, and history of cardiovascular disease

Fig. 4
figure 4

ORs (95% CIs) of continuous dietary pattern z-scores for the risk of depressive and anxiety symptoms. ac Depressive symptoms. df Anxiety symptoms. Bold lines represent ORs, while shaded areas indicate 95% CIs. All models were adjusted for age, sex, ethnicity, Townsend deprivation index, education level, smoking status, physical activity, history of hypertension, history of diabetes, and history of cardiovascular disease

Sensitivity analyses

Several sensitivity analyses were conducted to evaluate the robustness of the primary findings. Results were consistent when using linked hospital admissions data as the source of outcomes and found non-linear significant associations between DPs and depression and anxiety (Additional file 1: Table S4 and Fig. S3). Results were similar when using the imputed data set with multiple imputations (Additional file 1: Table S5), when DPs characterized by single nutrients were taken into account (Additional file 1: Figs. S4-S6), and when food groups were taken into account (Additional file 1: Fig. S7). Results were attenuated after individual adjustment for sleep score, length of working week for the main job, and job involving shift work (Additional file 1: Figs. S8-S9); results were similar when additionally adjusted for other common psychiatric comorbidities (Additional file 1: Fig. S10).

Noteworthy, there were significant interactions between DP1 and sex and physical activity, as well as DP3 and age. The association between DP1 and depressive symptoms was more pronounced in males (OR = 1.12; 95% CI: 1.07–1.18) than females (OR = 1.03; 95% CI: 0.98–1.07). The association between DP1 and anxiety symptoms was more pronounced among individuals with physical inactive (OR = 1.08; 95% CI: 1.03–1.14) than physical active (OR = 1.01; 95% CI: 0.96–1.07). The association between DP3 and anxiety symptoms was more pronounced among older people (OR = 1.20; 95% CI: 1.02–1.40) (Additional file 1: Fig. S11).

Discussion

Utilizing data of 75,466 participants from UK Biobank, this study investigated the associations between dietary patterns characterized by energy density, saturated fat, free sugars, and fiber and depressive and anxiety symptoms, with three main dietary patterns derived. DP1 explained the most variance in nutrient intakes (44%) and energy density was one of the most explained (65.4%). DP1 was characterized by high intakes of energy, saturated fatty acids, free sugars, and low intakes of fiber. There were non-linear associations between DP1 with depressive and anxiety symptoms. DP2 explained less of the variance in nutrient intakes (20%), in which free sugar was one of the most explained nutrients (56.1%). It was characterized by high intakes of free sugars, and low intakes of saturated fatty acids, but no significant associations with depressive and anxiety symptoms were observed. DP3 explained much less variance (10%) and saturated fatty acid was one of the most explained nutrients (23.2%), along with high intakes of saturated fatty acids, free sugars and fiber, and low intakes of energy. In the main analyses, DP3 was non-linearly associated with depressive and anxiety symptoms, with stronger associations found among people aged ≥ 60 years for anxiety symptoms. The findings were largely consistent in a series of sensitivity analyses.

Our findings highlight the intricate relationships between overall diet pattern and symptoms of depression and anxiety. The current analysis has yielded robust findings that increased consumption of free sugars and saturated fatty acids was associated with a heightened risk of symptoms related to depression and anxiety. Previous published studies have shown inconsistent associations between saturated fatty acids or free sugars and common mental disorders. In an observational study of 12,059 Spanish university graduates, no correlation between saturated fatty acids and depression was found [7]. A Whitehall II cohort study based on 5044 middle-aged British adults show that dietary patterns characterized by high sugar were not associated with depression [32]. Moreover, in a prospective analysis based on 69,954 women from the Women’s Health Initiative cohort, an inverse correlation was reported between fiber intake and the risk of depression [33]. However, we found that a moderate intake of dietary fiber was associated with a lower risk of depressive and anxiety symptoms. Conversely, inadequate or excessive dietary fiber may elevate the risk of experiencing depressive and anxiety symptoms, as evidenced by a U-shaped relationship. In observational analyses, the investigation of nutrient intake and anxiety remains limited [22].

The DP1 in this study, referred to as a “high-calorie diet,” was found to be associated with an increased risk of depressive and anxiety symptoms. In the present study, we found excessive consumption of butter and other animal-fat spreads, high-fat cheese, and low consumption of fresh fruit and vegetables in DP1 was significantly associated with depressive symptoms, which was in line with the previous study [12, 34]. DP2 was an abnormal dietary pattern with high intakes of saturated fatty acids mainly distributed at quintile 1 (9.4%) and remarkably high intakes of free sugars at quintile 5 (17.5%), which lead to null association with depressive symptoms in logistic regression analyses. DP2 can be named as “high sugar, low fat diet”. However, DP2 showed a significant ascending trend with depressive symptoms in the restricted cubic splines analyses, indicating that excessive intakes of high-sugar foods or drinks (e.g., sugar-sweetened beverages, table sugars and preserves) were associated with an increased risk of depression. Meanwhile, a significant non-linear association between DP2 and anxiety was found, which confirmed the U-shaped trend between nutrients and anxiety, and indicated that food intakes characterized by inadequate intakes of saturated fatty acids and excessive intakes of free sugars combined (e.g., high intakes of sugar-sweetened beverages and low intakes of high-fat cheese) increased the risk of anxiety, and this finding was not investigated ever before. DP3 is a hybrid dietary pattern that can be named as “high sugar, high fat, high fiber diet”. As against DP1, DP3 had a relatively low level of energy density (6.2% v. 8.2%) and free sugars (13.8% v. 15.1%) at quintile 5, indicating that people in DP3 quintile 5 consumed less energy-dense foods. Unfortunately, we did not find any useful interaction between DP3 and given risk factors, so the mechanism for DP1–DP3 difference is unclear.

Using the RRR approach, our findings of curvilinear relation between nutrients suggest to limit intakes of chocolate and confectionery, butter and other animal fat spreads, high-fat cheese, sugar-sweetened beverages, and other sugary drinks, table sugars and preserves, and milk-based desserts. The excessive consumption of these foods may trigger systemic inflammation, increase oxidative stress, and cause alterations in gut microbiota [35], thereby contributing to the risk of developing symptoms of depression and anxiety.

Several strengths should be acknowledged. A strength of this study is that we applied both self-reported scales and clinical diagnosis as the source of depression and anxiety. Besides, we did not assume linearity between dietary patterns and depression and anxiety, and we investigated links between single nutrients and depression and anxiety in the sensitivity analyses, which further supported the non-linear relationship. Furthermore, we excluded individuals with depression and anxiety at baseline to avoid reverse causation. Most importantly, we used the reduced rank regression method to obtain objective dietary scores. This approach provides a more robust and reliable analysis of the relationship between dietary patterns and mental health outcomes.

Several limitations should also be acknowledged. First, we used PHQ-9 and GAD-7 questionnaires as the source of depression and anxiety, which are subjective and have a limited accuracy. For example, as reported by a recent study, PHQ-9 (with cut-off score ≥ 10) has a sensitivity of 88% (95% CI: 80 to 90%) and specificity of 85% (95% CI: 82 to 87%) [24], which means still some of the people are under-detected. Considering this limitation, we performed sensitive analyses using clinical diagnosis as the source of depression and anxiety and yielded robust results. Second, although we have taken measures to exclude patients with pre-existing depression and anxiety at baseline by incorporating hospital admissions data and antidepressant medication status, the unique nature of depression and anxiety diagnoses still prevents us from ensuring the complete inclusion of all cases. However, the diagnoses of depression and anxiety, from linking to hospital admissions data, have been validated against detailed clinical evaluations, and exhibit good positive predictive value (75%) [36, 37]. Third, as the 24-h dietary data were provided by a small subset of participants, we could not roll out the selection bias. Forth, intakes of each food item are self-reported, and we did not carefully exclude participants with misreporting energy intakes, so this may lead to the misreporting bias. However, we repeated the main analyses with participants completing the questionnaire with 1 to 5 occasions, implying consistent results. Fifth, time-varying exposure and covariates were not considered due to the lack of repeated measurement data in the UK Biobank. Though we calculated the mean intakes of the five times of dietary questionnaires, our estimates of dietary pattern within a short follow-up period capture only the most recent segment of lifetime’s exposure. Finally, choice of how many DPs need to retain is subjective, and the selection of nutrients is narrow that could not reflect and explain the whole pathway of depressive and anxiety symptoms, so future validation is needed.

Conclusions

The present study revealed that a dietary pattern characterized by elevated consumption of chocolate and confectionery, butter, high-fat cheese, added sugars, and milk-based desserts, coupled with reduced intake of fresh fruit and vegetables, was associated with higher risks of depressive and anxiety symptoms. Our findings highlight that moderate consumption of foods and beverages may contribute to reducing the current burden of mental disorders at the population level.

Availability of data and materials

The data that support the findings of this study are available from the UK Biobank project site, subject to registration and application process. Further details can be found at https://www.ukbiobank.ac.uk.

Abbreviations

CI:

Confidence interval

DP:

Dietary pattern

GAD-7:

General Anxiety Disorder-7

ICD:

International Classification of Diseases

OR:

Odds ratio

PHQ-9:

Patient Health Questionnaire-9

RRR:

Reduced rank regression

SD:

Standard deviation

SSBs:

Sugar-sweetened beverages

References

  1. Global, regional, and national burden of 12 mental disorders in 204 countries and territories, 1990–2019: a systematic analysis for the Global Burden of Disease Study 2019. Lancet Psychiatry. 2022;9:137–50.

  2. Scott KM, Lim C, Al-Hamzawi A, Alonso J, Bruffaerts R, Caldas-de-Almeida JM, et al. Association of Mental Disorders With Subsequent Chronic Physical Conditions: World Mental Health Surveys From 17 Countries. JAMA Psychiat. 2016;73:150.

    Article  Google Scholar 

  3. Moitra M, Santomauro D, Degenhardt L, Collins PY, Whiteford H, Vos T, et al. Estimating the risk of suicide associated with mental disorders: A systematic review and meta-regression analysis. J Psychiatr Res. 2021;137:242–9.

    Article  PubMed  PubMed Central  Google Scholar 

  4. Marx W, Moseley G, Berk M, Jacka F. Nutritional psychiatry: the present state of the evidence. Proc Nutr Soc. 2017;76:427–36.

    Article  PubMed  Google Scholar 

  5. Lassale C, Batty GD, Baghdadli A, Jacka F, Sánchez-Villegas A, Kivimäki M, et al. Healthy dietary indices and risk of depressive outcomes: a systematic review and meta-analysis of observational studies. Mol Psychiatry. 2019;24:965–86.

    Article  PubMed  Google Scholar 

  6. Firth J, Solmi M, Wootton RE, Vancampfort D, Schuch FB, Hoare E, et al. A meta-review of “lifestyle psychiatry”: the role of exercise, smoking, diet and sleep in the prevention and treatment of mental disorders. World Psychiatry. 2020;19:360–80.

    Article  PubMed  PubMed Central  Google Scholar 

  7. Sánchez-Villegas A, Verberne L, De Irala J, Ruíz-Canela M, Toledo E, Serra-Majem L, et al. Dietary Fat Intake and the Risk of Depression: The SUN Project. PLoS ONE. 2011;6:e16268.

    Article  PubMed  PubMed Central  Google Scholar 

  8. Knüppel A, Shipley MJ, Llewellyn CH, Brunner EJ. Sugar intake from sweet food and beverages, common mental disorder and depression: prospective findings from the Whitehall II study. Sci Rep. 2017;7:6287.

    Article  PubMed  PubMed Central  Google Scholar 

  9. Fatahi S, Matin SS, Sohouli MH, Găman M-A, Raee P, Olang B, et al. Association of dietary fiber and depression symptom: A systematic review and meta-analysis of observational studies. Complement Ther Med. 2021;56:102621.

    Article  PubMed  Google Scholar 

  10. Hu D, Cheng L, Jiang W. Sugar-sweetened beverages consumption and the risk of depression: A meta-analysis of observational studies. J Affect Disord. 2019;245:348–55.

    Article  PubMed  Google Scholar 

  11. Zhang Y, Yang Y, Xie M, Ding X, Li H, Liu Z, et al. Is meat consumption associated with depression? A meta-analysis of observational studies. BMC Psychiatry. 2017;17:409.

    Article  PubMed  PubMed Central  Google Scholar 

  12. Saghafian F, Malmir H, Saneei P, Milajerdi A, Larijani B, Esmaillzadeh A. Fruit and vegetable consumption and risk of depression: accumulative evidence from an updated systematic review and meta-analysis of epidemiological studies. Br J Nutr. 2018;119:1087–101.

    Article  CAS  PubMed  Google Scholar 

  13. Li F, Liu X, Zhang D. Fish consumption and risk of depression: a meta-analysis. J Epidemiol Community Health. 2016;70:299–304.

    Article  PubMed  Google Scholar 

  14. Hoffmann K. Application of a New Statistical Method to Derive Dietary Patterns in Nutritional Epidemiology. Am J Epidemiol. 2004;159:935–44.

    Article  PubMed  Google Scholar 

  15. Zhao J, Li Z, Gao Q, Zhao H, Chen S, Huang L, et al. A review of statistical methods for dietary pattern analysis. Nutr J. 2021;20:37.

    Article  PubMed  PubMed Central  Google Scholar 

  16. Sudlow C, Gallacher J, Allen N, Beral V, Burton P, Danesh J, et al. UK Biobank: An Open Access Resource for Identifying the Causes of a Wide Range of Complex Diseases of Middle and Old Age. PLOS Med. 2015;12:e1001779.

    Article  PubMed  PubMed Central  Google Scholar 

  17. Davis KAS, Coleman JRI, Adams M, Allen N, Breen G, Cullen B, et al. Mental health in UK Biobank – development, implementation and results from an online questionnaire completed by 157 366 participants: a reanalysis. BJPsych Open. 2020;6:e18.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Willett W. Nutritional Epidemiology. Oxford University Press. 2012.

  19. Liu B, Young H, Crowe FL, Benson VS, Spencer EA, Key TJ, et al. Development and evaluation of the Oxford WebQ, a low-cost, web-based method for assessment of previous 24 h dietary intakes in large-scale prospective studies. Public Health Nutr. 2011;14:1998–2005.

    Article  PubMed  Google Scholar 

  20. Gao M, Jebb SA, Aveyard P, Ambrosini GL, Perez-Cornago A, Papier K, et al. Associations Between Dietary Patterns and Incident Type 2 Diabetes: Prospective Cohort Study of 120,343 UK Biobank Participants. Diabetes Care. 2022;45:1315–25.

    Article  PubMed  Google Scholar 

  21. Piernas C, Perez-Cornago A, Gao M, Young H, Pollard Z, Mulligan A, et al. Describing a new food group classification system for UK biobank: analysis of food groups and sources of macro- and micronutrients in 208,200 participants. Eur J Nutr. 2021;60:2879–90.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  22. Kris-Etherton PM, Petersen KS, Hibbeln JR, Hurley D, Kolick V, Peoples S, et al. Nutrition and behavioral health disorders: depression and anxiety. Nutr Rev. 2021;79:247–60.

    Article  PubMed  Google Scholar 

  23. Englyst HN, Cummings JH. Improved method for measurement of dietary fiber as non-starch polysaccharides in plant foods. J - Assoc Off Anal Chem. 1988;71:808–14.

    CAS  PubMed  Google Scholar 

  24. Levis B, Sun Y, He C, Wu Y, Krishnan A, Bhandari PM, et al. Accuracy of the PHQ-2 Alone and in Combination With the PHQ-9 for Screening to Detect Major Depression: Systematic Review and Meta-analysis. JAMA. 2020;323:2290.

    Article  PubMed  PubMed Central  Google Scholar 

  25. Levis B, Benedetti A, Thombs BD. Accuracy of Patient Health Questionnaire-9 (PHQ-9) for screening to detect major depression: individual participant data meta-analysis. BMJ. 2019;365:l1476.

  26. Kroenke K, Spitzer RL, Williams JBW, Monahan PO, Löwe B. Anxiety Disorders in Primary Care: Prevalence, Impairment, Comorbidity, and Detection. Ann Intern Med. 2007;146:317.

    Article  PubMed  Google Scholar 

  27. Löwe B, Decker O, Müller S, Brähler E, Schellberg D, Herzog W, et al. Validation and Standardization of the Generalized Anxiety Disorder Screener (GAD-7) in the General Population. Med Care. 2008;46:266–74.

    Article  PubMed  Google Scholar 

  28. Grambsch PM, Therneau TM. Proportional hazards tests and diagnostics based on weighted residuals. Biometrika. 1994;81:515–26.

    Article  Google Scholar 

  29. Anderson JJ, Celis-Morales CA, Mackay DF, Iliodromiti S, Lyall DM, Sattar N, et al. Adiposity among 132 479 UK Biobank participants; contribution of sugar intake vs other macronutrients. Int J Epidemiol. 2017;46(2):492–501.

  30. Desquilbet L, Mariotti F. Dose-response analyses using restricted cubic spline functions in public health research. Stat Med. 2010;29:1037–57.

    PubMed  Google Scholar 

  31. Buuren S van, Groothuis-Oudshoorn K. mice : Multivariate Imputation by Chained Equations in R. J Stat Softw. 2011;45(3):1–67.

  32. Vermeulen E, Knüppel A, Shipley MJ, Brouwer IA, Visser M, Akbaraly T, et al. High-Sugar, High-Saturated-Fat Dietary Patterns Are Not Associated with Depressive Symptoms in Middle-Aged Adults in a Prospective Study. J Nutr. 2018;148:1598–604.

    Article  PubMed  PubMed Central  Google Scholar 

  33. Gangwisch JE, Hale L, Garcia L, Malaspina D, Opler MG, Payne ME, et al. High glycemic index diet as a risk factor for depression: analyses from the Women’s Health Initiative. Am J Clin Nutr. 2015;102:454–63.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  34. Wolfe AR, Arroyo C, Tedders SH, Li Y, Dai Q, Zhang J. Dietary protein and protein-rich food in relation to severely depressed mood: A 10year follow-up of a national cohort. Prog Neuropsychopharmacol Biol Psychiatry. 2011;35:232–8.

    Article  CAS  PubMed  Google Scholar 

  35. Marx W, Lane M, Hockey M, Aslam H, Berk M, Walder K, et al. Diet and depression: exploring the biological mechanisms of action. Mol Psychiatry. 2021;26:134–50.

    Article  PubMed  Google Scholar 

  36. Davis KAS, Sudlow CLM, Hotopf M. Can mental health diagnoses in administrative data be used for research? A systematic review of the accuracy of routinely collected diagnoses. BMC Psychiatry. 2016;16:263.

    Article  PubMed  PubMed Central  Google Scholar 

  37. Davis KAS, Bashford O, Jewell A, Shetty H, Stewart RJ, Sudlow CLM, et al. Using data linkage to electronic patient records to assess the validity of selected mental health diagnoses in English Hospital Episode Statistics (HES). PLoS ONE. 2018;13:e0195002.

    Article  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

This study was conducted using the UK Biobank resource (application 79095). We want to express our sincere thanks to the participants of the UK Biobank, and the members of the survey, development, and management teams of this project.

Funding

This work was supported by the National Natural Science Foundation of China (grant number 72204071, 72274051); Zhejiang Provincial Natural Science Foundation of China (grant number LY23G030005); and Scientific Research Foundation for Scholars of HZNU (grant number 4265C50221204119).

Author information

Authors and Affiliations

Authors

Contributions

HC, ZC, and CX conceived and designed the research question; HC and ZC contributed to the analysis and interpretation of the data; HC and ZC wrote the first draft of the manuscript; ZC, YH, HY, XW, and CX provided critical revision of the article for important intellectual content; CX obtained the funding, had full access to all the data in the study, and takes responsibility for the integrity of the data and the accuracy of the data analysis; all authors read and approved the final manuscript.

Corresponding authors

Correspondence to Xiaohe Wang or Chenjie Xu.

Ethics declarations

Ethics approval and consent to participate

The UK Biobank study was conducted according to the Declaration of Helsinki and ethical approval was granted by the North West Multi-Centre Research Ethics Committee (reference number 06/MRE08/65). At recruitment, all participants gave informed consent to participate and be followed up through data linkage.

Consent for publication

Not applicable.

Competing interests

None of the funders had any role in the design and conduct of the study; the collection, management, analysis, and interpretation of the data; and the preparation, review, or approval of the manuscript.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1: Table S1.

Explained variation in food intake and nutrient response variables for each DP and correlation coefficient between DPs and response variables. Table S2. Baseline characteristics of participants in DP 1, DP 2 and DP 3. Table S3. Cut-off points and OR (95% CI) per SD increase in the dose-response analysis. Table S4. HRs (95% CIs) of depression and anxiety from linked hospital admissions data associated with each z-score increase in DPs. Table S5. Completing all missing covariates using multiple imputation with 10 imputations. ORs (95% CIs) for depression and anxiety by DPs. Figure S1. Theoretical direct acyclic graph guiding the analyses. Figure S2. Factor loadings for food groups in DPs with participants completing 1, 3, 4, 5 times of 24-h dietary questionnaires. Figure S3. HRs (95% CIs) of continuous DP z-scores for the risk of depression and anxiety from linked hospital admissions data. Figure S4. ORs (95% CIs) for associations between DPs characterized by single nutrients and depression and anxiety. Figure S5. ORs (95% CIs) of continuous single nutrients DPs z-scores for the risk of depression and anxiety. Figure S6. HRs (95% CIs) of continuous single nutrients DP z-scores for the risk of depression and anxiety from linked hospital admissions data. Figure S7. ORs (95% CIs) for depression and anxiety by each food groups. Figure S8. ORs (95% CIs) for depression and anxiety by DPs after further adjustment for sleep score, length of the working week for the primary job, and shift work involvement. Figure S9. ORs (95% CIs) of DP for the risk of depression and anxiety after further adjustment for sleep score, length of the working week for the primary job, and shift work involvement. Figure S10. ORs (95% CIs) for depression and anxiety by DPs after further adjustment for ADHD, and eating disorders. Figure S11. ORs (95% CIs) for associations between DPs and depression and anxiety modified by risk factors.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, H., Cao, Z., Hou, Y. et al. The associations of dietary patterns with depressive and anxiety symptoms: a prospective study. BMC Med 21, 307 (2023). https://doi.org/10.1186/s12916-023-03019-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12916-023-03019-x

Keywords