Skip to main content

Vitamin D deficiency mediates the relationship between dietary patterns and depression: a case–control study



Depression is a major contributor to disability-adjusted life years (DALY) lost in the world. Dietary patterns are widely used to investigate diet–disease relations. In the current study, the relationship between dietary patterns and depression was investigated. Besides, the role of serum vitamin D, zinc, magnesium, and total antioxidant capacity as potential mediatory variables was studied.


It was an individually matched case–control study in which 330 depressed and healthy subjects were recruited for the extraction of dietary patterns; psychiatrists diagnosed major depressive disorder, using the criteria of the Diagnostic and Statistical Manual of Mental Disorders. Serum vitamin D and aforementioned biomarkers were measured for a number of randomly selected depressed and healthy individuals. We conducted mediatory analysis by regression models.


Healthy and unhealthy dietary patterns were associated with the lower and higher odds of depression (OR 0.39, CI 0.17–0.92 and OR 2.6, CI 1.04–6.08), respectively. A significant relationship between serum vitamin D with depression after adjusting for potential confounders was observed as well (OR 0.93, CI 0.87–0.99). According to the mediatory analysis the unhealthy dietary patterns were related to depression via altering the serum vitamin D concentration.


This study showed that vitamin D deficiency mediates the relationship between unhealthy dietary patterns and depression. However, to get a clearer result further prospective studies are required.


Depression is a common heath problem all over the world which currently affects 264 million people [1]. It is a leading cause of disability worldwide and is a major contributor to DALY lost in the world [2]. Depression is highly prevalent in developed and developing countries. In the USA, it has been estimated that 6.3% of adult population are depressed [3]. Depression ranks the forth contributing factor for burden of disease and is anticipated to rank the second until 2020. In Iran, depression constitutes 35% to 45% of mental illnesses and about 8% to 20% of the population suffer from it [4]. There are some medications for treatment of depression such as drugs that increase serotonin concentration as tricyclic antidepressants (TCAs), monoamine oxidase inhibitors (MAOIs) and serotonin-specific reuptake inhibitors (SSRIs) which are reported to have either side effects or not to be effective enough [5].

Diet has long shown to contribute to the treatment of depression. Prior studies on diet–depression associations have mostly focused on nutrients [6,7,8], foods [9] and food groups [10] rather than dietary patterns. Due to the complex interactions between nutrients and foods, nutritional epidemiologists have suggested to deploy dietary pattern approach in investigating diet–disease relations [11]. This approach can provide a more comprehensive and new insight toward the diet–mental health relations [12]. Some studies have assessed the association between dominant dietary patterns and risk of depression [13,14,15] which most of them have been driven from food questioners and not biochemical assessment. Some potential biomarkers like 25(OH) D, total antioxidant capacity (TAC), zinc (Zn), and magnesium (Mg) in serum are reported to be significantly related to depression. For example, low levels of serum 25(OH) D were associated with depressive symptoms [16], and in a large cohort study it was concluded that hypovitaminosis D may increase vulnerability for depression [17]. According to another study vitamin D-deficient people had higher risk for depression [18] which was confirmed by a meta-analysis [19]. It is documented that vitamin D has some receptors in the hypothalamus [20], and plays an important role in brain development [21]. Furthermore, case–control studies have shown TAC concentration is lower in depressed people compared with their healthy counterparts, as well as a negative dose–response relation observed between depression severity and TAC [22]. According to several studies a negative relationship was seen between zinc and depression [23, 24], and magnesium showed to have a protective effect in treatment of depression via glutamate system [25], neurotransmitter metabolism [23] and psychomotor function [26].

So far it is not established if biochemical ingredients mediate the relation between dietary patterns and depression. So, in the current study we aimed to investigate the mediatory role of all above-mentioned biomarkers in the relation of dietary patterns and depression.


We acknowledge that the paper has been compliance with STROBE checklist.

Participants and study design

A total of 110 depressed patients and 220 healthy individuals participated in this individually matched case–control observational study. Serum vitamin D, zinc, magnesium, and total antioxidant capacity were considered as potential mediatory variables, when evaluating the relationship between dietary patterns and depression. The patients were selected from two psychiatric clinics in Tehran. For recruitment of controls, we reached each patient’s residential area, and invited eligible people to participate in the study.

According to the criteria of the Diagnostic and Statistical Manual of Mental Disorders-IV, the patients’ diseases were diagnosed by the psychiatrist as major depressive disorder [27]. No one in the case and control groups did not have history of depression in the past year. Individual matching between two groups was done, based on sex, age, and residential area. Each people with depression was matched with two people as control within 10-year age categories.

For evaluating the relationship between biochemical markers and depression, the sample size was calculated for each quantitative biochemical marker separately and the highest obtained sample size was 43 matched cases and controls (86 depressed and healthy people out of total cases and controls). They were randomly selected for biochemical analysis including serum levels of 25(OH) D, TAC, Zn, and Mg. It is notice worthy that in this study biases were minimized by matching, considering precise criteria for inclusion and exclusion, correct selection of the case and control participants and using new cases.

Inclusion criteria

People aged 18–65 years, residing in Tehran, having major depressive disorder with a maximum period of 3-month intervals from onset of five symptoms of depression to the beginning of the study were included in the case group. For inclusion of the control group, the criterion was the absence of major depressive disorder, based on Beck Depression Inventory questionnaire (BDI-II), standardized in Iran [28].

Exclusion criteria

People who suffered from cognitive impairment or other psychotic illnesses diagnosed by a psychiatrist; those who had severe depression or lacked ability to cooperate and answer the questions; took any anti-depression drugs or treatments; suffered from hormonal disorders like Addison’s, Cushing’s disease; had hyperthyroidism, hypothyroidism, and hyperparathyroidism; suffered from chronic diseases like cancer, heart disease, diabetes, stroke, fibromyalgia, kidney or liver failure, multiple sclerosis and Parkinson disease; had history of trauma, cuts, fractures, bleeding, burns, accidents and other similar events in the past 3 months that resulted in unconsciousness and hospitalization; suffered from chronic and infectious diseases like HIV, mononucleosis, tuberculosis, viral hepatitis and pneumonia in the past 2 weeks; people who were addicted to alcohol and/or drug at the time of the study or in the past 3 months; had BMI ≥ 40 kg/m2, pregnancy and lactation at the time of the study or in the past year, any type of special diet in the past 2 months, any type of special diet for more than 2 months in the past year; took vitamin D more than once in the last 6 months; took Zn and Mg within at least 2 previous months; and people who took other nutritional supplements continuously, by injection or orally in the past month.

After describing the aim of the study, the written informed consent form was signed by all the participants. The study protocol was approved by the Ethics Committee of Tehran University of Medical Sciences. The ethics code was 19374-161-03-91.

Assessment of covariates

A demographic questionnaire was employed to collect general information and some confounders. Anthropometric measurements were obtained from all subjects with a precision of 100 g for weight and 0.5 cm for height. Dietary intakes of the subjects in the last 12 months were assessed using a valid and reliable semi-quantitative food frequency questionnaire (FFQ) [29]. Physical activity was measured by a valid questionnaire in Iran [30]. The questionnaire consisted of nine levels of activity from rest and sleep (MET = 0.9) to vigorous activity (MET ≥ 6), based on the metabolic equivalent task hours per day (MET-h/day). An M.Sc. holder in nutrition collected data of physical activity. Depression was diagnosed based on the fourth edition of DSM criteria by a psychotherapist. For quantitative measurement of anxiety as a confounder, the Iranian standardized Beck Anxiety Inventory or BAI-II [31] was utilized. We used standardized Beck Depression Inventory questionnaire or BDI-II [28] for screening controls.

Assessment of serum biomarkers

Blood samples were collected before patients took any antidepressant drugs. To measure biomarkers, 5 ml blood samples were collected from the subjects who fasted for 12 h, between 7 and 10 AM and transferred into tubes with no anticoagulant. After centrifuging for 20 min at 1500g in room temperature, the serum was separated and stored at − 70 °C. Serum 25(OH) D was assay by Enzyme immunoassay (EIA) method (IDS, UK). We measured serum total antioxidant capacity (TAC) with 3-ethylbenzothiazoline-6-sulfonic acid as a peroxidase substrate suitable for using in ELISA procedures. Serum Mg and serum Zn were measured with colorimetric assay (0.05–5 mg/dl pars azemun) and chemistry methods (Selecta E, Vitalab, Netherland in µg/dl), respectively.

Statistical analysis

“Kolmogorov–Simonov test was applied to analyze the normality of covariates, followed by t test or Mann–Whitney test to compare variables in two groups. To compare qualitative variables Chi square was used. The exploratory factor analysis/principal component analysis was applied to determine the dietary patterns. According to the nutrient profiles and culinary recipes, food items of the FFQ were classified into 26 food groups. Food groups with factor loadings ≥ 0.3 were considered as important contributors to a dietary pattern. The factors were orthogonally converted using varimax rotation to improve interpretability. To identify whether a factor should be retained, the study factors were naturally interpreted in conjunction with eigenvalues that was equal to 1.5 and the scree plot was determined. The factor score for each person was calculated by summing the intakes of food groups weighted by his/her factor loading. The derived factors (two dietary patterns) were labeled based on our interpretation of the data and of the earlier literature. To identify the association of dietary patterns with other dependent variables, the calculated scores for each individual in each pattern were used as independent variables.

Finally, two dietary patterns, healthy (high in fruits, cruciferous, yellow, green leafy and other vegetables, low-fat dairies, whole grains, nuts, and olives) and unhealthy (high in refined grains and breads, high-fat dairy, solid oils, liquid oils and mayonnaise, pickles, snacks, soft drinks, industrial fruits and juice, red meats, poultry, processed meats, and sweets), were defined [32, 33].

Then, dietary patterns were used to evaluate the association of depression with dietary patterns and to adjust the confounders in multiple logistic regression. Multiple logistic regression models were used to assess the mediatory role of blood biomarkers related to depression. The following criteria were used to seek mediatory role of a variable [34]:

  1. 1.

    Significance of the relationship between dietary pattern(s) and depression;

  2. 2.

    No longer significance of the relationship between dietary pattern and depression after adding the mediatory variable to the model. In other words, after adding the mediatory variable(s) into the model, the relationship between dietary pattern(s) and depression had to transfer into the relationship between the mediatory variable and depression. Therefore, a third model had to be designed for ensuring the significant relationship between the mediatory variable(s) and depression.

  3. 3.

    Significance of the relationship between the mediatory variable and depression.

The mediatory analysis was performed after adjusting some confounding variables such as job, education, marital status, children number, energy intake, and so on. The mentioned covariates were related to both dietary patterns (as the independent variables) and depression (as the dependent variable) which indicated they were confounders. In this way, the mediatory variables were in the causal path of dietary pattern and depression [35].

All statistical analyses were carried out using SPSS (version 20; Chicago, IL).


According to Table 1 for some important variables including weight, height, age, energy intake, smoking, and hookah, there was not a significant difference between case and control group indicating the matching had been done correctly.

Table 1 Baseline characteristics of study population in case and control groups

Based on our published results [33], the healthy dietary pattern significantly was related to the lower odds ratio of depression (OR 0.39, CI 0.17–0.92), and the unhealthy dietary pattern significantly was related to the higher odds ratio of depression (OR 2.6, CI 1.04–6.08).

We observed a significant relationship between serum vitamin D (OR 0.93, CI 0.87–0.99) and TAC (OR 2.08, CI 1.17–3.72) with depression after adjustment for some potential confounders. However, there was no significant association between serum zinc and magnesium, and depression (Table 2).

Table 2 Compare of some serum biochemical factors in case and control groups

In addition, in mediatory analysis unhealthy dietary pattern was inversely related to depression via changing the serum level of vitamin D after adjusting for job, education, marital status, children number, smoking and hookah, depression history, unemployment history in past 5 year, tragic events in past 6 months, energy intake, and physical activity (Table 3).

Table 3 Logistic regression model for mediation analysis in the pathway of the relation of dietary patterns with depression

Model 1 in Table 3 illustrates the significant relation between dietary patterns and depression. For hypothesis testing of mediatory role, vitamin D was added in regression in model 2 (the same Table). By adding this variable, the significant relation between both dietary patterns and depression eliminated. In other words, the relationship between dietary patterns and depression moved to the relationship between the mediatory variable and depression. Therefore, it can be concluded that vitamin D is an intermediate variable. For confirmation of the idea, we examined the relation of vitamin D with depression (Table 3—model 3). This mediatory role could be established by the significant results of the latest model. It was concluded that only unhealthy dietary pattern is related to depression via the intermediary role of vitamin D. In other words, people who had an unhealthy diet, if their vitamin D was increased by one unit, their odds of depression would be reduced by 11%.

Complete mediation in which other exposures no longer affects outcome after intermediary variable was controlled. Based on the results, vitamin D was a complete mediator because after serum vitamin D had been entered the relationship between unhealthy dietary pattern and depression disappeared [36].

We repeated testing the model for TAC (Table 3) because TAC was significantly related to depression (Table 2). However, the goodness of fit for the logistic regression model (based on confidence intervals and p value for Hosmer and Lemeshow test), was not valid (Table 3). There was no significant association between depression and serum zinc and magnesium. Hence, we did not do mediatory analysis for them.


In our study, there was a significant relationship between depression and serum vitamin D as well as between the unhealthy dietary pattern and depression after adjustment for some potential confounders. There was also a mediatory role for vitamin D in the pathway between unhealthy dietary pattern and depression. Therefore, we concluded that if people on an unhealthy diet try to raise their serum vitamin D levels by consuming more vitamin D, the chance of depression will be reduced among them. To the best of our knowledge, it is the first study that evaluates mediatory role of serum vitamin D in the associations between dietary pattern and depression.

According to our findings hypovitaminosis D resulted in higher odds of depression. In accordance with the present study, Eyles et al. [37] showed that in rats whose mothers were vitamin D deficient their brain in terms of gross morphology, cellular proliferation, and growth factor signaling as well as expression of nerve growth factor was not developed properly. In contrast with the mentioned study, in a cross-sectional study conducted in middle-aged and elderly Chinese, depressive symptoms were not associated with 25(OH) D concentrations [38].

Several mechanisms have been proposed to explain the association between vitamin D and depression. Effects of active form of vitamin D (1, 25 dihydroxycholecalciferol) in brain tissue have been established by the detection of vitamin D receptors (VDR) in different parts of the brain [10, 39] such as amygdale as the center of the limbic system that affects behavior and emotions [40]. Vitamin D has also several neuroprotective functions, for example calcitriol regulates concentrations of calcium in neurons that could decrease toxicity resulted from excess calcium [13, 15, 18]. However, more studies are needed to examine the long-term effect of vitamin D depletion on the brain.

We could not establish the mediatory roles of TAC in the pathway of the relationship between the dietary pattern and depression because the goodness-of-fit criterion for the Logistic regression models was not acceptable (logical confidence intervals and p values for the Hosmer–Lemeshow test). Similar to the current study, Gonoodi et al. [41] did not find any significant relation between serum Zn levels and depression score in 408 adolescent girls aged 12–18 years. There were other studies which reported serum Zn concentrations did not differ between depressed patients and healthy group that support our results [42,43,44]. A randomized clinical trial demonstrated the efficacy of zinc supplementation in treatment of depression [45]. Moreover, one meta-analyses confirmed an inverse association between serum Zn concentration and depression [46]. All depressed patients in our study were new cases and it is the probable reason we could not observe any relationship in this regard. In other words, there was not enough time for reduction of zinc in the newly recognized patients. Another possible cause can be justified by the fact that the populations in different studies were not the same.

Results concerning evaluating serum magnesium concentrations in depressive disorders were inconsistent. Some authors found higher levels of serum Mg in depressed patient compared to healthy group [47, 48] which are in contrast to our finding. On the other hand, several studies reported an inverse association between serum Mg levels and depression [49,50,51,52]. However, it seems serum Mg levels may not be a proper indicator of depressive disorders [52].

Strengths and limitations

In the current study we recruited new cases of depression. In addition, we conducted mediatory analysis, considered all inclusion and exclusion criteria precisely and minimized selection bias in the control group by going to the residential area of each patient.

The most important limitation of our study goes back to the nature of case–control studies in which the chance of recall bias is high, as well as the temporal relationship between depression and dietary patterns cannot be realized in such studies. Another limitation was related to financial restrictions which forced us not to do biochemical measurements for all the participants.


Some oxidative stress biomarkers such as albumin, HDL cholesterol, and uric acid are likely to be associated with depression. Therefore, we highly recommend future studies which evaluate the mediatory role of the mentioned biomarkers in the relationship between dietary pattern and depression.


This study showed that Vitamin D deficiency mediates the relationship between unhealthy dietary patterns and depression. However, to confirm the finding further prospective studies are suggested.

Availability of data and materials

The datasets produced and analyzed during the current study are not publicly available, but they are available from the corresponding author on reasonable request.


  1. 1.

    WHO. Newsroom. Depression 2020. Updated 30 Jan 2020; Accessed 26 Mar 2020.

  2. 2.

    Kessler RC, Chiu WT, Demler O, Walters EE. Prevalence, severity, and comorbidity of 12-month DSM-IV disorders in the National Comorbidity Survey Replication. Arch Gen Psychiatry. 2005;62(6):617.

    PubMed  PubMed Central  Article  Google Scholar 

  3. 3.

    Walt G. WHO’s World health report 2003. BMJ. 2004;328(7430):6.

    PubMed  PubMed Central  Article  Google Scholar 

  4. 4.

    Sarokhani D, Parvareh M, Dehkordi AH, Sayehmiri K, Moghimbeigi A. Prevalence of depression among iranian elderly: systematic review and meta-analysis. Iran J Psychiatry. 2018;13(1):55.

    PubMed  PubMed Central  Google Scholar 

  5. 5.

    Sanchez-Villegas A, Henriquez-Sanchez P, Ruiz-Canela M, Lahortiga F, Molero P, Toledo E, et al. A longitudinal analysis of diet quality scores and the risk of incident depression in the SUN Project. BMC Med. 2015;13:197.

    PubMed  PubMed Central  Article  Google Scholar 

  6. 6.

    Amani R. Is dietary pattern of schizophrenia patients different from healthy subjects? BMC Psychiatry. 2007;7:15.

    PubMed  PubMed Central  Article  Google Scholar 

  7. 7.

    Murakami K, Miyake Y, Sasaki S, Tanaka K, Arakawa M. Dietary folate, riboflavin, vitamin B-6, and vitamin B-12 and depressive symptoms in early adolescence: the Ryukyus Child Health Study. Psychosom Med. 2010;72(8):763–8.

    CAS  PubMed  Article  Google Scholar 

  8. 8.

    Appleton KM, Hayward RC, Gunnell D, Peters TJ, Rogers PJ, Kessler D, et al. Effects of n–3 long-chain polyunsaturated fatty acids on depressed mood: systematic review of published trials. Am J Clin Nutr. 2006;84(6):1308–16.

    CAS  PubMed  Article  Google Scholar 

  9. 9.

    Sanchez-Villegas A, Verberne L, De Irala J, Ruiz-Canela M, Toledo E, Serra-Majem L, et al. Dietary fat intake and the risk of depression: the SUN project. PLoS ONE. 2011;6(1):e16268.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  10. 10.

    Miyake Y, Sasaki S, Yokoyama T, Tanaka K, Ohya Y, Fukushima W, et al. Risk of postpartum depression in relation to dietary fish and fat intake in Japan: the Osaka Maternal and Child Health study. Psychol Med. 2006;36(12):1727–35.

    PubMed  Article  Google Scholar 

  11. 11.

    Ocké MC. Evaluation of methodologies for assessing the overall diet: dietary quality scores and dietary pattern analysis. Proc Nutr Soc. 2013;72(02):191–9.

    PubMed  Article  Google Scholar 

  12. 12.

    Suzuki T, Miyaki K, Tsutsumi A, Hashimoto H, Kawakami N, Takahashi M, et al. Japanese dietary pattern consistently relates to low depressive symptoms and it is modified by job strain and worksite supports. J Affect Disord. 2013;150(2):490–8.

    PubMed  Article  Google Scholar 

  13. 13.

    Akbaraly TN, Brunner EJ, Ferrie JE, Marmot MG, Kivimaki M, Singh-Manoux A. Dietary pattern and depressive symptoms in middle age. Br J Psychiatry. 2009;195(5):408–13.

    PubMed  PubMed Central  Article  Google Scholar 

  14. 14.

    Weng TT, Hao JH, Qian QW, Cao H, Fu JL, Sun Y, et al. Is there any relationship between dietary patterns and depression and anxiety in Chinese adolescents? Public Health Nutr. 2012;15(4):673–82.

    PubMed  Article  Google Scholar 

  15. 15.

    Jacka FN, Pasco JA, Mykletun A, Williams LJ, Hodge AM, O’Reilly SL, et al. Association of Western and traditional diets with depression and anxiety in women. Am J Psychiatry. 2010;167(3):305–11.

    PubMed  Article  Google Scholar 

  16. 16.

    Kjaergaard M, Waterloo K, Wang CE, Almas B, Figenschau Y, Hutchinson MS, et al. Effect of vitamin D supplement on depression scores in people with low levels of serum 25-hydroxyvitamin D: nested case-control study and randomised clinical trial. Br J Psychiatry. 2012;201(5):360–8.

    PubMed  Article  Google Scholar 

  17. 17.

    Milaneschi Y, Hoogendijk W, Lips P, Heijboer AC, Schoevers R, van Hemert AM, et al. The association between low vitamin D and depressive disorders. Mol Psychiatry. 2014;19(4):444–51.

    CAS  PubMed  Article  Google Scholar 

  18. 18.

    Ganji V, Milone C, Cody MM, McCarty F, Wang YT. Serum vitamin D concentrations are related to depression in young adult US population: the Third National Health and Nutrition Examination survey. Int Arch Med. 2010;3:29.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  19. 19.

    Ju SY, Lee YJ, Jeong SN. Serum 25-hydroxyvitamin D levels and the risk of depression: a systematic review and meta-analysis. J Nutr Health Aging. 2013;17(5):447–55.

    CAS  PubMed  Article  Google Scholar 

  20. 20.

    Eyles DW, Smith S, Kinobe R, Hewison M, McGrath JJ. Distribution of the vitamin D receptor and 1 alpha-hydroxylase in human brain. J Chem Neuroanat. 2005;29(1):21–30.

    CAS  PubMed  Article  Google Scholar 

  21. 21.

    McCann JC, Ames BN. Is there convincing biological or behavioral evidence linking vitamin D deficiency to brain dysfunction? FASEB J. 2008;22(4):982–1001.

    CAS  PubMed  Article  Google Scholar 

  22. 22.

    Prohan M, Amani R, Nematpour S, Jomehzadeh N, Haghighizadeh MH. Total antioxidant capacity of diet and serum, dietary antioxidant vitamins intake, and serum hs-CRP levels in relation to depression scales in university male students. Redox Rep. 2014;19(3):133–9.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  23. 23.

    Indriasari R, Kurniati Y, Syam A, Syamsuddin S, Mansur M, Amir S. Relationship between serum zinc concentration with post-partum depression among women in coastal area of Indonesia. Pak J Nutr. 2019;18(8):747–52.

    CAS  Article  Google Scholar 

  24. 24.

    Amani R, Saeidi S, Nazari Z, Nematpour S. Correlation between dietary zinc intakes and its serum levels with depression scales in young female students. Biol Trace Elem Res. 2010;137(2):150–8.

    CAS  PubMed  Article  Google Scholar 

  25. 25.

    Murck H. Ketamine, magnesium and major depression—from pharmacology to pathophysiology and back. J Psychiatr Res. 2013;47(7):955–65.

    PubMed  Article  Google Scholar 

  26. 26.

    Barra A, Camardese G, Tonioni F, Sgambato A, Picello A, Autullo G, et al. Plasma magnesium level and psychomotor retardation in major depressed patients. Magnes Res. 2007;20(4):245–9.

    CAS  PubMed  Google Scholar 

  27. 27.

    Goncalves DM, Stein AT, Kapczinski F. Performance of the Self-Reporting Questionnaire as a psychiatric screening questionnaire: a comparative study with Structured Clinical Interview for DSM-IV-TR. Cad Saude Publica. 2008;24(2):380–90.

    PubMed  Article  Google Scholar 

  28. 28.

    Ghassemzadeh H, Mojtabai R, Karamghadiri N, Ebrahimkhani N. Psychometric properties of a Persian-language version of the Beck Depression Inventory-Second edition: BDI-II-PERSIAN. Depress Anxiety. 2005;21(4):185–92.

    PubMed  Article  Google Scholar 

  29. 29.

    Mirmiran P, Esfahani FH, Mehrabi Y, Hedayati M, Azizi F. Reliability and relative validity of an FFQ for nutrients in the Tehran lipid and glucose study. Public Health Nutr. 2010;13(5):654–62.

    PubMed  Article  Google Scholar 

  30. 30.

    Kelishadi R, Rabiee K, Khosravi A, Famuri F, Sadeghi M, Roohafza H, et al. Assessment of physical activity in adolescents of Isfahan. Sharekord Univ Med Sci J. 2004;3:55–65.

    Google Scholar 

  31. 31.

    Kaviani H, Mosavi AS. Psychometric properties of the Beck Anxiety Inventory the age and sex classes in Iranian population. J Med Sch Tehran Univ Med Sci. 2008;66(2):136–40.

    Google Scholar 

  32. 32.

    Khosravi M, Sotoudeh G, Raisi F, Majdzadeh R, Foroughifar T. Comparing dietary patterns of depressed patients versus healthy people in a case control protocol. BMJ Open. 2014;4(2):e003843.

    PubMed  PubMed Central  Article  Google Scholar 

  33. 33.

    Khosravi MSG, Majdzadeh R, Nejati S, Darabi S, Raisi F, Esmaillzadeh A, Sorayani M. Healthy and unhealthy dietary patterns are related to depression: a case–control study. Psychiatry Investig. 2015;12(4):434–42.

    PubMed  PubMed Central  Article  Google Scholar 

  34. 34.

    Li SD. Testing mediation using multiple regression and structural equation modeling analyses in secondary data. Eval Rev. 2011;35(3):240–68.

    CAS  PubMed  Article  Google Scholar 

  35. 35.

    Imai K, Keele L, Yamamoto T. Identification, inference and sensitivity analysis for causal mediation effects. Stat Sci. 2010;25(1):51–71.

    Article  Google Scholar 

  36. 36.

    Maxwell SE, Cole DA, Mitchell MA. Bias in cross-sectional analyses of longitudinal mediation: partial and complete mediation under an autoregressive model. Multivar Behav Res. 2011;46(5):816–41.

    Article  Google Scholar 

  37. 37.

    Eyles DW, Burne TH, McGrath JJ. Vitamin D, effects on brain development, adult brain function and the links between low levels of vitamin D and neuropsychiatric disease. Front Neuroendocrinol. 2013;34(1):47–64.

    CAS  PubMed  Article  Google Scholar 

  38. 38.

    Pan A, Lu L, Franco OH, Yu Z, Li H, Lin X. Association between depressive symptoms and 25-hydroxyvitamin D in middle-aged and elderly Chinese. J Affect Disord. 2009;118(1–3):240–3.

    CAS  PubMed  Article  Google Scholar 

  39. 39.

    Woo J, Lynn H, Lau WY, Leung J, Lau E, Wong SYS, et al. Nutrient intake and psychological health in an elderly Chinese population. Int J Geriatr Psychiatry. 2006;21(11):1036–43.

    CAS  PubMed  Article  Google Scholar 

  40. 40.

    Li YC, Kong J, Wei M, Chen Z-F, Liu SQ, Cao L-P. 1, 25-Dihydroxyvitamin D 3 is a negative endocrine regulator of the renin-angiotensin system. J Clin Investig. 2002;110(2):229–38.

    CAS  PubMed  Article  Google Scholar 

  41. 41.

    Gonoodi K, Moslem A, Ahmadnezhad M, Darroudi S, Mazloum Z, Tayefi M, et al. Relationship of dietary and serum zinc with depression score in Iranian adolescent girls. Biol Trace Elem Res. 2018;186(1):91–7.

    CAS  PubMed  Article  Google Scholar 

  42. 42.

    Salustri C, Squitti R, Zappasodi F, Ventriglia M, Bevacqua MG, Fontana M, et al. Oxidative stress and brain glutamate-mediated excitability in depressed patients. J Affect Disord. 2010;127(1–3):321–5.

    CAS  PubMed  Article  Google Scholar 

  43. 43.

    Nguyen PH, Grajeda R, Melgar P, Marcinkevage J, DiGirolamo AM, Flores R, et al. Micronutrient supplementation may reduce symptoms of depression in Guatemalan women. Arch Latinoam Nutr. 2009;59(3):278–86.

    CAS  PubMed  Google Scholar 

  44. 44.

    Gronli O, Kvamme JM, Friborg O, Wynn R. Zinc deficiency is common in several psychiatric disorders. PLoS ONE. 2013;8(12):e82793.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  45. 45.

    Ranjbar E, Kasaei MS, Mohammad-Shirazi M, Nasrollahzadeh J, Rashidkhani B, Shams J, et al. Effects of zinc supplementation in patients with major depression: a randomized clinical trial. Iran J Psychiatry. 2013;8(2):73–9.

    PubMed  PubMed Central  Google Scholar 

  46. 46.

    Swardfager W, Herrmann N, Mazereeuw G, Goldberger K, Harimoto T, Lanctôt KL. Zinc in depression: a meta-analysis. Biol Psychiatry. 2013;74(12):872–8.

    CAS  PubMed  Article  Google Scholar 

  47. 47.

    Styczeń K, Siwek M, Sowa-Kućma M, Dudek D, Reczyński W, Szewczyk B, et al. The serum magnesium concentration as a potential state marker in patients with unipolar affective disorder. Psychiatr Pol. 2015;49:1265–76.

    PubMed  Article  Google Scholar 

  48. 48.

    Imada Y, Yoshioka SI, Ueda T, Katayama S, Kuno Y, Kawahara R. Relationships between serum magnesium levels and clinical background factors in patients with mood disorders. Psychiatry Clin Neurosci. 2002;56(5):509–14.

    CAS  PubMed  Article  Google Scholar 

  49. 49.

    You HJ, Cho S-E, Kang S-G, Cho S-J, Na K-S. Decreased serum magnesium levels in depression: a systematic review and meta-analysis. Nord J Psychiatry. 2018;72(7):534–41.

    PubMed  Article  Google Scholar 

  50. 50.

    Serefko A, Szopa A, Poleszak E. Magnesium and depression. Magnes Res. 2016;29(3):112–9.

    CAS  PubMed  Google Scholar 

  51. 51.

    Gu Y, Zhao K, Luan X, Liu Z, Cai Y, Wang Q, et al. Association between serum magnesium levels and depression in stroke patients. Aging Dis. 2016;7(6):687–90.

    PubMed  PubMed Central  Article  Google Scholar 

  52. 52.

    Stanislawska M, Szkup-Jablonska M, Jurczak A, Wieder-Huszla S, Samochowiec A, Jasiewicz A, et al. The severity of depressive symptoms vs. serum Mg and Zn levels in postmenopausal women. Biol Trace Elem Res. 2014;157(1):30–5.

    CAS  PubMed  Article  Google Scholar 

Download references


We are appreciated Research Deputy of Tehran University of Medical Sciences.


The Research Deputy of Tehran University of Medical (19374-161-03-91) supported financial resources of the study.

Author information




GS has made substantial contributions to conception and design. She revised the manuscript critically as well. FR has made substantial contributions to conception and recruitment. MA has made substantial contributions to revise the manuscript in all of terms to satisfy your valuable comments and criticisms. MH has made substantial contributions to interpretation of data, and has been involved in the drafting of the manuscript. RM has made substantial contributions to design and statistical analysis. FK has been involved in the drafting of the manuscript. MK has made substantial contributions to conception and design, recruitment, biochemical analysis, interpretation of data, and the drafting of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Maryam Khosravi.

Ethics declarations

Consent for publication

The authors provided consent for publication.

Competing interests

We all authors declare that we have no competing interests.

Additional information

Publisher's Note

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

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 The Creative Commons Public Domain Dedication waiver ( 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

Verify currency and authenticity via CrossMark

Cite this article

Sotoudeh, G., Raisi, F., Amini, M. et al. Vitamin D deficiency mediates the relationship between dietary patterns and depression: a case–control study. Ann Gen Psychiatry 19, 37 (2020).

Download citation


  • Depression
  • Dietary pattern
  • Vitamin D
  • Zinc
  • Magnesium
  • Total antioxidant capacity
  • Mediatory analysis