Depression, anxiety, and nutrition: the role of diet in mental health
Depression and anxiety disorders are among the most frequent mental health conditions and can profoundly affect quality of life. Although they are usually associated primarily with emotional or psychological factors, we now know that their origin is much more complex.
Brain function depends on energy, vitamins, minerals, fatty acids, amino acids, and proper communication between the nervous system, the immune system, and the gut.
This does not mean that diet or a supplement can "cure" depression or anxiety. Mental health requires a comprehensive approach, where nutrition can play a complementary role alongside psychotherapy, medical treatment, exercise, sleep, and other lifestyle-related factors.
Are depression and anxiety just an emotional problem?
No.
Depression can manifest as persistent sadness, loss of interest or pleasure, fatigue, sleep and appetite disturbances, difficulty concentrating, or feelings of hopelessness.
Anxiety disorders, on the other hand, are characterized by excessive and persistent worry or fear, which can be accompanied by restlessness, tension, sleep problems, palpitations, and digestive symptoms.
Both conditions are multifactorial. Genetic, psychological, social, environmental, metabolic, inflammatory, and lifestyle-related factors can all play a role in them.
Therefore, reducing them simply to a "serotonin imbalance" is an overly simplified explanation.
Diet and mental health: the overall pattern matters
Available evidence increasingly points to a relationship between the overall quality of diet and mental health.
Dietary patterns like the Mediterranean diet, characterized by a high intake of vegetables, fruits, legumes, whole grains, nuts, seeds, fish, and olive oil, have been associated with better mental health.
A review and meta-analysis published in 2024 found that interventions based on the Mediterranean diet could reduce depressive symptoms, although researchers note that higher-quality studies are still needed to draw definitive conclusions.
Conversely, higher consumption of ultra-processed foods has been associated in various studies with a higher risk of depressive symptoms. This does not mean that occasionally consuming an ultra-processed food causes depression, but rather that overall diet quality seems to be more relevant than any single isolated food.
A diet aimed at brain health should prioritize real, varied foods, sufficient protein, fiber, healthy fats, and adequate micronutrient density.
The brain also needs nutrients
Our brain requires a constant supply of energy and nutrients to maintain communication between neurons, produce neurotransmitters, form cell membranes, and regulate processes related to inflammation and oxidative stress.
Among the nutrients of greatest interest are:
Omega-3
especially EPA and DHA
B-complex vitamins
Vitamin D
Magnesium
Zinc
Proteins and amino acids
Antioxidant compounds
Supplements: a tool that can make a difference
Nutritional supplements can play an important role in addressing mental health, especially when there is a deficiency, insufficient intake, a specific nutritional need, or scientific evidence that supports their use.
Not all supplements have the same level of evidence nor are they indicated for the same people. However, this does not mean their role is secondary. When well-selected, they can become a relevant tool for correcting deficits, meeting specific needs, and complementing other interventions.
Therefore, rather than simply asking:
"What supplement works for depression?"
It is better to ask a more precise question:
"Is there any deficit or nutritional factor that might be influencing this person, and which supplement, dosage, and duration make sense in their context?"
The key is not to take many supplements, but to identify what might be missing, select the right compound, use an appropriate dose, and set a clear goal with the advice of a professional nutritionist. Under certain circumstances, such an intervention can be an important piece within a comprehensive approach to mental health.
Among the nutrients and compounds that have been most studied in relation to mental health are omega-3 fatty acids, vitamin D, magnesium, zinc, certain B-complex vitamins, and some interventions aimed at the gut microbiota. The available evidence varies considerably among them and depends on both the nutrient and the person's specific situation.
Below, we will review the role these nutrients play in brain function and what scientific evidence currently tells us about their potential utility in the context of mental health.
Omega-3: especially EPA and DHA
Long-chain omega-3 fatty acids, mainly EPA (eicosapentaenoic acid) and DHA (docosahexaenoic acid), are fundamental components of cell membranes and play relevant roles in the nervous system.
DHA is particularly abundant in the brain and is involved in the structure and function of neuronal membranes. EPA, on the other hand, has received special attention for its possible involvement in the regulation of inflammatory processes and cell signaling related to mood.
Clinical evidence on omega-3 and depression has not been entirely uniform. However, several meta-analyses of clinical trials have found a reduction in depressive symptoms with omega-3 supplementation, especially in certain formulations with a higher proportion of EPA.
2023 Meta-analysis · benefit with EPA ≥60% of EPA+DHA
This is especially interesting because knowing how many milligrams of "fish oil" a product contains is not enough. From a clinical perspective, it also matters how much EPA and DHA it actually provides and what their proportion is.
Regarding anxiety, a 2024 meta-analysis that included 23 clinical trials found a potential reduction in symptoms with omega-3.
Therefore, omega-3 can be considered one of the nutrients of greatest interest within a complementary nutritional strategy for mental health, particularly when evaluating the effective amount of EPA and DHA and the person's clinical context.
B-complex vitamins: brain metabolism and neurotransmitters
B-complex vitamins participate in numerous biochemical reactions essential for the nervous system.
Among them, B6, B9 (folate), and B12 stand out particularly, as they participate in processes related to the synthesis and metabolism of neurotransmitters.
Vitamin B6, for example, participates as a cofactor in reactions necessary for the synthesis of neurotransmitters such as serotonin, dopamine, and GABA. Folate and vitamin B12 are involved in methylation processes that are fundamental for cellular function.
The importance of these vitamins becomes especially evident when there is insufficient intake or a deficiency. Observational studies have found associations between lower intake of vitamins B1, B2, B6, and B12 and a higher risk of depression.
Therefore, rather than considering the B-complex as a "natural antidepressant," it is more appropriate to understand it as a set of essential cofactors for the proper functioning of numerous brain metabolic pathways.
Vitamin D: more than a vitamin
Vitamin D has particular characteristics because, in addition to its well-known function in bone and mineral metabolism, its receptors are found in different tissues, including the nervous system.
Mechanisms have been described through which vitamin D could participate in processes related to neuroinflammation, neuronal function, immune regulation, and the synthesis of certain neurotrophic factors.
The association between low levels of vitamin D and depression has been observed in numerous studies.
2026 Meta-analysis · 15 studies · 962 participants with depressionRegarding supplementation, the most recent evidence is interesting. A meta-analysis of clinical trials published in 2026, which included 15 studies and 962 participants diagnosed with depression, found a significant improvement in depressive symptoms with vitamin D supplementation compared to a placebo.
This does not mean that every person with depression needs high doses of vitamin D. Its utility must be interpreted by considering nutritional status, sun exposure, diet, individual characteristics, and, where appropriate, the measurement of 25-hydroxyvitamin D.
In this context, correcting a deficiency can be much more relevant than simply supplementing indiscriminately.
Magnesium: neuronal regulation and stress response
Magnesium is an essential mineral involved in hundreds of biochemical reactions. In the nervous system, it participates in neuromuscular transmission, cell signaling, and the regulation of processes related to neuronal excitability.
It also intervenes in mechanisms related to NMDA and GABA receptors, signaling systems that participate in the balance between neuronal excitation and inhibition.
Evidence regarding supplementation is promising. A meta-analysis of clinical trials published in 2024 found a significant decrease in depression scores in adults with depressive disorders who received magnesium supplementation, although the authors noted the need for larger, higher-quality trials.
Regarding anxiety, a systematic review found potentially beneficial results in some populations with vulnerability to anxiety.
Therefore, magnesium represents a nutrient of interest both for its physiological role in the nervous system and for the emerging clinical evidence on its use as a supplement.
Zinc: a mineral closely related to brain function
Zinc participates in numerous neurological processes, including communication between neurons, the activity of certain enzymes, receptor regulation, and the antioxidant response.
A meta-analysis found lower peripheral zinc concentrations in people with depression compared to controls, although the presence of this association does not prove that the deficit is necessarily the cause of the disease.
Evidence on supplementation is also of interest. A meta-analysis of clinical trials found a reduction in depressive symptom scores with zinc supplementation.
Furthermore, a systematic review and meta-analysis focusing on zinc as an adjunct to antidepressants found a modest reduction in depressive symptoms.
Proteins and amino acids: the brain's building blocks
Proteins are often relegated when discussing nutrition and mental health, but their biochemical importance is fundamental.
Amino acids do not just form proteins. Some are precursors to neurotransmitters and other bioactive molecules.
One of the most well-known examples is L-tryptophan, an essential amino acid used as a precursor for serotonin and melatonin. Tryptophan availability can be influenced by nutritional and metabolic factors, and alterations in its metabolism have been studied in depression.
Meta-analysis · +15,000 people · significantly lower tryptophan in affective disordersL-tryptophan supplementation has also been studied. A systematic review of clinical trials found results that suggest possible effects on mood and some symptoms of anxiety in healthy adults.
On the other hand, the most recent epidemiological evidence has also found an association between higher total protein intake and a lower risk of depression, although the available data are primarily observational and do not yet allow for the establishment of causality or the determination of an optimal amount of protein to prevent depression.
For this reason, before thinking exclusively about isolated amino acids, it is advisable to ensure something much more basic and fundamental: a diet that provides sufficient quality protein and an adequate variety of essential amino acids.
Antioxidant compounds: protecting the brain against oxidative stress
The brain exhibits high metabolic activity and uses a significant amount of oxygen. This makes it particularly sensitive to the imbalance between the production of reactive species and the body's antioxidant capacity.
Oxidative stress has been studied extensively in relation to depression. A meta-analysis that included 23 studies and nearly 5,000 participants found an association between depression and higher markers of oxidative stress, along with alterations in different markers of antioxidant status.
This has led to the study of the possible role of nutrients and antioxidant compounds such as vitamin C, vitamin E, carotenoids, polyphenols, and other bioactive compounds present primarily in fruits, vegetables, nuts, seeds, legumes, and other plant foods, as well as in supplements.
For example, a meta-analysis of observational studies found inverse associations between the consumption of certain carotenoids, such as beta-carotene, alpha-carotene, lycopene, and lutein/zeaxanthin, and the presence of depressive symptoms.
Therefore, the goal should be to promote an adequate antioxidant capacity through a rich and varied diet, and to consider specific supplementation when there is a nutritional or clinical reason to justify it.
What about the gut?
In recent years, the so-called gut-brain axis has become one of the most interesting areas of research.
The gut microbiota communicates with the nervous system through different pathways related to the immune system, metabolites produced by intestinal bacteria, hormones, and nerve signals.
This has led to the study of the use of probiotics, prebiotics, and symbiotics in mental health.
A review and meta-analysis published in 2025 found a reduction in depressive and anxious symptoms with certain interventions on the microbiota, although the authors also highlight significant variability between the strains, formulations, and studies available. Therefore, speaking simply of "taking probiotics for anxiety" is too general.
Not all probiotics are the same, and their effects depend on the strains and the individual.
One of the simplest strategies to promote a diverse microbiota remains consuming foods rich in fiber and plant variety regularly.
Exercise: a tool that doesn't come in a capsule
When we talk about mental health, there is an intervention that is often unfairly relegated in favor of supplements: physical exercise.
The BMJ 2024 · +200 studies · +14,000 participants with depressionA systematic review published in The BMJ in 2024, which included more than 200 studies and over 14,000 participants with depression, found benefits of exercise in reducing depressive symptoms.
Physical activity has also shown benefits regarding symptoms of anxiety.
This does not mean that a person with depression should simply "exercise and do their part." The illness itself can significantly diminish energy and motivation.
For this reason, the goal must be realistic: walking, starting with a few minutes, doing strength exercises, or choosing a pleasant activity can be a good starting point, always adapting to the possibilities of each person.
A comprehensive approach to mental health care
Nutrition can be part of a broader strategy that considers:
Diet
prioritize minimally processed foods and good nutritional density.
Micronutrients
detect and correct deficiencies when appropriate.
Gut health
promote dietary diversity and sufficient fiber, considering specific interventions when indicated.
Movement
incorporate physical activity adapted to each individual.
Sleep and stress
both have a close relationship with brain function and emotional well-being.
Professional support
psychologists, psychiatrists, physicians, nutritionists, and other professionals can participate according to individual needs.
Nutrition does not replace psychology or medicine. It is part of a team.
To remember
Depression and anxiety are complex conditions that do not have a single cause or a single solution.
Current evidence shows us that diet, nutrients, physical activity, sleep, and gut health can influence different aspects related to mental health, but none of these tools should be presented as a miracle cure.
Rather than looking for an "anxiety capsule" or a "depression supplement," a true integrative perspective consists of identifying what each person needs and building a personalized strategy.
Taking care of your mental health also means taking care of the organism that sustains your brain.
This article is for informational and educational purposes and does not replace the evaluation of a mental health professional. If you or someone close to you is going through a difficult time, you do not have to go through it alone.
In Chile, you can call the Suicide Prevention Hotline *4141, or Salud Responde (600 360 7777), mental health option, for free and confidential support, 24 hours a day.
Bibliography
- World Health Organization. Depressive disorder (depression). WHO, 2026.
- World Health Organization. Anxiety disorders. WHO, 2025.
- Sánchez-Villegas A, et al. The impact of the Mediterranean diet on alleviating depressive symptoms in adults: a systematic review and meta-analysis of randomized controlled trials. Nutrition Reviews. 2024.
- Adherence to the ultra-processed dietary pattern and risk of depressive outcomes: Findings from the NutriNet Brasil cohort study and an updated systematic review and meta-analysis. 2024.
- Clinical impacts of n-3 fatty acids supplementation on depression symptoms: an umbrella review of meta-analyses. 2023.
- Ghaemi S, et al. The effect of vitamin D supplementation on depression: a systematic review and dose-response meta-analysis of randomized controlled trials. Psychological Medicine. 2024.
- Rawji A, et al. Examining the Effects of Supplemental Magnesium on Self-Reported Anxiety and Sleep Quality: A Systematic Review. Cureus. 2024.
- Asad A, et al. Effects of Prebiotics and Probiotics on Symptoms of Depression and Anxiety in Clinically Diagnosed Samples: Systematic Review and Meta-analysis of Randomized Controlled Trials. Nutrition Reviews. 2025.
- Noetel M, et al. Effect of exercise for depression: systematic review and network meta-analysis of randomised controlled trials. BMJ. 2024.
- Comparative efficacy and tolerability of nutraceuticals for depressive disorder: A systematic review and network meta-analysis. 2025.

