The Link Between What You Eat and How You Feel Has Never Been Stronger
The SMILES trial - the first randomised controlled trial of dietary intervention for depression - found that switching to a Mediterranean-style diet reduced depression scores more effectively than social support alone. That's a significant result.
The idea that diet influences mental health has been treated with scepticism by mainstream psychiatry for decades. Psychiatrists treat brain chemistry with medication; nutritionists worry about physical health. The overlap was considered weak and largely anecdotal. Then a team of Australian researchers ran a proper randomised controlled trial - and produced results that are difficult to explain away.
The SMILES Trial
The Supporting the Modification of Lifestyle In Lowered Emotional States (SMILES) trial enrolled 67 adults with moderate to severe depression in 2017. Half received seven sessions with a dietitian over 12 weeks, focused on shifting to a Mediterranean-style diet rich in whole grains, vegetables, legumes, oily fish, and olive oil. The other half received social support - the same amount of contact time with a friendly, non-dietary conversation.
After 12 weeks, 32% of the dietary intervention group had achieved full remission from depression - compared to just 8% of the social support group. The depression score reduction in the diet group corresponded to a clinically significant improvement, with an effect size (Cohen's d = 1.16) larger than many pharmacological interventions. [Jacka et al., BMC Medicine, 2017]
This was the first randomised controlled trial to show that dietary improvement reduces depression symptoms. It didn't prove that diet causes depression - but it demonstrated that changing diet can measurably improve it, even in people already receiving medication.
Why Food Affects Mood: The Mechanisms
The gut produces approximately 90% of the body's serotonin. The bacteria in your gut regulate this production through multiple pathways, including the metabolism of tryptophan - the amino acid precursor to serotonin. Dietary tryptophan comes from protein-rich foods: poultry, eggs, fish, dairy, and some seeds. But tryptophan conversion to serotonin in the gut is regulated by microbial enzymes, which means gut bacteria composition affects serotonin availability.
Anti-inflammatory diets also matter because systemic inflammation is increasingly recognised as a driver of depression. Pro-inflammatory diets - high in ultra-processed foods, refined carbohydrates, and seed oils - elevate inflammatory cytokines that cross the blood-brain barrier and disrupt neurotransmitter metabolism. This "inflammatory theory of depression" is now well enough established to have its own treatment branch (anti-inflammatory dietary interventions for depression-resistant cases).
The Magnesium–Depression Link
Magnesium is a cofactor for over 300 enzymatic reactions, including those involved in serotonin and dopamine synthesis. Surveys of Western populations consistently find 50–70% of people failing to meet magnesium requirements. Multiple observational studies show an inverse relationship between magnesium intake and depression prevalence, and a small randomised trial found that magnesium supplementation reduced depression and anxiety symptoms as effectively as low-dose antidepressants in a subset of adults with mild to moderate depression.
What a Depression-Protective Diet Looks Like
The evidence converges on patterns rather than individual nutrients. The Mediterranean diet, the traditional Japanese diet, and the traditional Norwegian diet all show protective associations - and they share common features: diverse plant foods, fermented foods, oily fish, minimal ultra-processed food, and adequate protein. The processed food signal is one of the most consistent in the literature: every 10-percentage-point increase in the share of ultra-processed food in the diet is associated with approximately 22% higher odds of depression in large cohort studies.