Your gut makes about 95% of your body’s serotonin. The catch: that serotonin doesn’t reach your brain. Food won’t cure depression or anxiety, but it can influence some of the systems involved in mood and wellbeing. And unlike most interventions, it’s a lever you can pull three times a day, without thinking about it.
Inside this article:
TL;DR
Diet is not a treatment for depression or anxiety, and a lot of what gets written about food and mood is more confident than the research behind it. Here is what actually holds up. Cutting back on ultra-processed food has the strongest evidence of any single change. Fixing a genuine nutrient shortfall makes a real difference, if you have one. And even mild dehydration drags your mood down within hours. Everything else is a small edge. Start with one meal, watch what happens over two weeks, and check your sleep before you blame your plate.

1. The Science Behind Nutrition and Mental Health
Your brain is about 2% of your body weight but uses roughly 20% of your energy. It is expensive to run, and what you feed it matters. But the link between food and mood works through three specific routes, not a vague sense of nourishment.
The serotonin claim, corrected
Serotonin is a chemical messenger that helps regulate mood, sleep, appetite and digestion. Around 90 to 95% of the body’s serotonin is made in the gut, mainly by cells lining the intestines.
But there is an important catch: the serotonin made in your gut does not travel to your brain. It stays mostly in the digestive system, where it helps control things like gut movement and digestion.
The serotonin involved in mood is made separately in the brain, using an amino acid called tryptophan. So while the gut and brain are closely connected, it is not as simple as saying that more gut serotonin means better mood.
How the gut actually talks to the brain:
- Vagus nerve: a physical nerve connecting your gut and brain, carrying signals both ways
- Immune messengers: proteins released during gut inflammation that can reach the brain
- Bacterial by-products: compounds made by gut bacteria that can affect brain function
- Raw materials: nutrients absorbed by your gut that the brain uses to make chemical messengers
None of those four involve gut serotonin travelling up to the brain. The gut-brain connection is real. The popular explanation of it is not.
The other two routes:
- Building blocks: Protein supplies amino acids for serotonin and dopamine, while B vitamins, iron, zinc and magnesium help. Fixing a real shortfall matters; adding more when you’re already getting enough doesn’t.
- Inflammation: Chronic low-level inflammation is common in depression, while diets high in refined carbs are linked to more inflammation. What causes what is still unclear.
Emeran Mayer’s The Mind-Gut Connection is the best plain-English account of how that two-way conversation works. Our full review of The Mind-Gut Connection covers what it gets right and where it runs ahead of the evidence.

2. Key Nutrients for Mental Health
Four nutrients come up in every article on this subject. Here is what each one is genuinely backed by, and where the usual version gets ahead of itself.
1. Omega-3 fatty acids
EPA is best known for its role in regulating inflammation and supporting cardiovascular health, while DHA is a major structural component of the brain and retina.
Together, they are the two omega-3s that matter most for the brain health, helping form brain-cell membranes and regulate inflammation. But the evidence for their benefits splits in three distinct directions, and collapsing it all into a single claim is where most articles go wrong.
- Where it works: supplements taken alongside normal treatment, give a small but real benefit to people already diagnosed with depression
- Where it does not: prevent depression in people who do not have it, the effect is weak or missing entirely
- Where it is unclear: anxiety. Some trials find a benefit, several find nothing
- What to eat: two portions of oily fish (salmon, mackerel or sardines), gives you roughly 2g of EPA and DHA
- If you do not eat fish: flaxseed, chia and walnuts contain a different omega-3 called ALA, and your body converts only a few percent of it into EPA. Worth raising with your doctor
2. Vitamin B
B12, B6 and folate help your body make its chemical messengers and maintain the protective coating around your nerves. Being genuinely short of them is linked to low mood and foggy thinking, and it is fixable. But the flip side matters just as much.
- A real shortfall is worth finding: correcting one can change how someone feels considerably
- Topping up when you are not short does nothing: the MooDFOOD trial gave over 1,000 at-risk adults either a multivitamin or a dummy pill for a year. The supplement was no better than the dummy at preventing depression
- Same story for memory and thinking: a Cochrane review pooling nearly 28,000 people found B vitamins probably make little or no difference to brain function in healthy adults
- What to do: if you might be short, because of a restricted diet, being vegan without B12, heavy drinking or ongoing fatigue, get a blood test. Do not guess, and do not supplement in the dark
- Where to find them: eggs, beans and lentils, leafy greens, whole grains, fortified foods, nutritional yeast
3. Probiotics and prebiotics
The most promising area on this list, and the least settled.
- The headline: a 2025 review pooling 20 trials in people with a diagnosis found probiotics meaningfully reduced depression and anxiety symptoms
- Prebiotics: had no meaningful effect in the trials
- Where to find them: yogurt, kefir, sauerkraut, kimchi, live-culture cheeses. For prebiotic fiber: garlic, onions, leeks, asparagus, oats, slightly under-ripe bananas
4. Antioxidants
Here the honest answer is duller than the usual one.
- In whole foods: antioxidant-rich foods show up consistently in the diets linked to better mental health
- In pill form: the same Cochrane review found no evidence that vitamin E, vitamin C or beta-carotene supplements meaningfully affect memory, thinking or dementia risk
- Dark chocolate: the mood claim rests on small, short, inconsistent trials. Enjoy it. Do not rely on it
- Where to find them: berries, colorful vegetables, herbs and spices, extra virgin olive oil, tea and coffee
For how these nutrients sit alongside movement and rest, see Physical Wellbeing: Nutrition, Sleep, and Exercise for Optimal Health.
Key Insight: Correcting a genuine nutrient deficiency can make a noticeable difference in how you feel. But if you already get enough of a nutrient, adding more usually doesn’t provide the same benefit.

3. Dietary Patterns and Mental Health
How you eat overall predicts mental health better than any single nutrient does. The effects are also smaller than the headlines suggest.
1. The Mediterranean pattern
- The famous trial: in SMILES, adults with major depression who switched to a Mediterranean-style diet improved considerably more than a comparison group who got social support instead. Genuinely encouraging. It also involved 67 people
- The bigger picture: a 2025 review in Annals of Internal Medicine pooled 25 trials lasting three months or more and found only modest effects overall
- What it found: eating fewer calories produced a small drop in depression symptoms among people with heart and metabolic risk factors. Low-fat diets barely registered. For other diets, and for anxiety, the evidence was rated weak
- The honest read: worth doing for a dozen reasons. Not the transformation it is usually sold as
Dan Buettner’s The Blue Zones looks at the food cultures where this pattern happens naturally: mostly plants, mostly unprocessed, mostly eaten with other people. Our review of The Blue Zones unpacks which of its claims hold up, and Tom Rath’s Eat Move Sleep makes the case that diet only works as one leg of a tripod with movement and sleep.
2. Ultra-processed food
This is the clearest signal in the whole subject, and the single most useful change in this article.
- The scale: a review of 17 studies covering 385,541 people
- Snapshot studies: eating more ultra-processed food led to 44% more likely depression symptoms
- Follow-up studies: a 22% higher risk of developing depression over time
- The limitation: studies observed what people already ate rather than testing a change, so they cannot prove cause. And feeling low may make convenience food more appealing
- Why it still counts: the same pattern turns up across different countries and populations, and the change it points to is cheap and easy to undo
- What is ultra-processed: Wrapped in plastic and lists an ingredient you would never find in a home kitchen, treat it as ultra-processed
Chris van Tulleken’s Ultra-Processed People argues the category matters in its own right, not just as a stand-in for sugar and salt. These foods are built to be eaten fast and in volume, which makes “eat less of it” a design problem rather than a willpower one.
3. Blood sugar spikes
- The study: over 70,000 postmenopausal women in the Women’s Health Initiative
- Linked to higher risk: a diet high on the glycemic index, meaning plenty of added sugar and refined grains that push blood sugar up fast
- Linked to lower risk: fiber, whole grains, vegetables and whole fruit
- What it does not show: this is about the risk of developing depression in one specific group. It is not evidence that eating this way lifts symptoms in someone who already has them
Key Insight: Cutting back on ultra-processed foods has stronger evidence behind it than adding any single nutrient or “superfood” to your diet.

4. Practical Strategies for Nourishing Your Mind
Four things to actually do, each with a specific instruction rather than “eat better”.
Where to start:
- Fix the crash before the diet: for most people the clearest food and mood link is the mid-afternoon slump. Instead of overhauling everything, change one meal. Add protein and fiber to lunch, then see whether 3pm feels different within a week
- Track instead of guessing: Write down what you ate, then rate your mood and energy out of 10 three hours later, for two weeks. That will tell you more about your own body than any general advice
- Drink before you feel thirsty: Controlled trials in healthy adults found even mild dehydration (1–1.5% of body weight) can affect mood, concentration, and perceived effort.
- Sort your sleep first: poor sleep reliably ramps up cravings for sugary, fatty food and lowers mood on its own. A nutrition plan built on four hours of sleep will fail for reasons that have nothing to do with food
Peter Attia’s Outlive makes the broader case for measuring rather than guessing: something you can actually track beats a diet you are following on faith. Our guide to building a wellbeing journal covers a format people keep up. If sleep is your weak link, start with The Power of Sleep: Improving Your Life Through Better Rest instead of your shopping list.
Key Insight: Change one meal at a time so you can actually tell what’s making a difference. Track what happens for two weeks, and fix your sleep before you blame your diet.

5. What Food Can Realistically Help With
Food is not a treatment for a mental health condition. But for several everyday complaints there is something specific worth trying. Find the row that matches what you are actually noticing. The last column tells you how much weight the research puts behind it.
| What you are noticing | What to try | How much and how often | How strong is the evidence |
|---|---|---|---|
| A mid-afternoon energy crash and mood dip | Swap the refined carbs at lunch for whole grains, beans or whole fruit, and add some protein | Every lunch for two weeks | Moderate. Big population studies link blood-sugar-spiking diets to depression risk, but no trials on easing symptoms |
| Foggy thinking, irritability, trouble concentrating | Rule out mild dehydration before anything else | Drink until your urine is pale straw by mid-morning | Good. Proper controlled trials, though with small numbers of people |
| Persistent low mood, already in treatment | Oily fish for its omega-3, added to your existing treatment and never instead of it | Two portions a week. Talk to your doctor before taking supplements | Moderate. A small add-on benefit in diagnosed depression, weak for prevention |
| Low mood alongside a restricted or long-term limited diet | Ask your doctor for a blood test covering B12, folate, iron and vitamin D instead of self-supplementing | Once, then repeat if advised | Good for fixing a real shortfall. Nothing for topping up |
| Digestive discomfort alongside low mood | Fermented food every day, plus a real increase in fiber | One serving of fermented food daily, working toward 30g of fiber | Low to moderate. Promising trials that disagree with each other, and food is not the same as the strains tested |
| Generally flat, and eating mostly packaged or convenience food | Replace one ultra-processed meal a day with something you cook | One meal a day, ongoing | Moderate. A consistent pattern across 385,000+ people, but based on observation rather than testing |
How to use this table:
- Pick one row, not six. Do them all at once and you learn nothing about which one worked
- Give it the time listed. Hydration shows up in hours. Changing how you eat overall takes a month
- Let the last column set your expectations. A “moderate” row deserves less confidence than a “good” one
- None of this replaces professional care. If low mood or anxiety is persistent, or getting in the way of daily life, speak to your doctor. Diet sits alongside treatment, not instead of it
For a quicker list of specific foods for a specific bad day, we have covered that separately in Mood Boosters: 12 Things to Eat When You’re Feeling Like Crap. If you are currently managing anxiety, Understanding and Managing Anxiety in Daily Life is a better starting point than your shopping list.
Key Insight: Match the change to the problem, and check the strength of the evidence before expecting meaningful results.
Nourishing Your Mind
Diet won’t cure depression or replace treatment. But across large groups, how people eat is linked to how they feel, and the reasons are more complex than most nutrition advice suggests.
Cutting ultra-processed food has the strongest evidence. Correcting a real nutrient shortfall can have the biggest impact if one exists. Everything else is a small edge—and small edges, repeated daily, can add up. Consistency, not perfection, drives sustainable wellbeing.
Your next steps
- Pick one row from the table and start it today, not Monday.
- Log food and mood for two weeks: what you ate, then a rating out of 10 three hours later.
- Replace ultra-processed food: Replace one ready-meal with something you cook.
- Book a blood test: If your diet has been restricted, or fatigue has dragged on for months.
- Fix your sleep first: Sleeping less than seven hours, will undo everything else.
Frequently Asked Questions
When should I speak to a doctor or dietitian?
Before you change much at all, if low mood or anxiety has lasted more than a couple of weeks, if you have lost or gained weight without meaning to, or if you are already taking medication. A dietitian is the right call for restricted diets, suspected shortfalls or a diagnosed condition. Food is a support, not a substitute for care.
Can changing your diet really improve depression?
It can help a little, and it works best alongside normal treatment rather than instead of it. Trials of Mediterranean-style diets in people with depression show real but small to moderate improvements, and the most careful recent review found the effects were modest overall. Diet is a support, not a treatment. If symptoms persist, speak to your doctor.
What foods are best for anxiety?
No food reliably reduces anxiety, and claims that specific ones do are ahead of the evidence. What does have support: avoiding the blood sugar swings that come with refined carbs, staying properly hydrated, and going easy on caffeine, which measurably winds your body up. Omega-3 results for anxiety are inconsistent, unlike the somewhat stronger evidence in depression.
How long does it take for diet changes to affect mood?
There are two timescales. Blood sugar and hydration show up within hours, so you may notice a steadier afternoon within days. Changes working through inflammation and your gut bacteria take longer, and the trials showing mood benefits usually ran for eight to twelve weeks. Give any change to your diet at least a month before you judge it.
Do probiotics help with depression?
Possibly, but it is not settled. Reviews pooling controlled trials report reductions in depression symptoms, but the studies are small, they disagree with each other, and many were set up in ways that could flatter the result. Prebiotics show no meaningful effect. The trials also used specific strains at set doses, which fermented foods do not match. Promising, not proven.
Important Disclaimer:
The information in this article is provided for general educational and informational purposes only. It is not intended as medical, health, or professional advice and should not replace guidance from a qualified healthcare provider.
Any actions you take based on this content are at your own discretion. We strongly recommend consulting a qualified healthcare professional before making changes to your diet, sleep routine, exercise program, supplements, or other wellbeing practices. Everyone’s body and circumstances are different, so it’s important to make choices that feel safe, appropriate, and supportive for your personal health journey.
Related articles
Physical Wellbeing: Nutrition, Sleep, and Exercise for Optimal Health
How diet, sleep and movement reinforce each other.
Mood Boosters: 12 Things to Eat When You’re Feeling Like Crap
A food-first list for the days you need something specific.
Understanding and Managing Anxiety in Daily Life
Anxiety approaches that go well beyond your plate.
12 Science-Backed Ways to Boost Your Brain Health in 2026
The wider set of levers for cognitive health.
Building a Wellbeing Routine: Habits for Mental and Physical Health
Turning one-off changes into a routine that survives a bad week.
Further reading
“Ultra-Processed People” by Chris van Tulleken
Why processed food harms beyond what its label shows.
“The Mind-Gut Connection” by Emeran Mayer, MD
How gut and brain actually communicate, and where the gaps are.
“The Blue Zones” by Dan Buettner
What the world’s longest-lived communities eat.
“Outlive” by Peter Attia, MD
Metabolic health, and which markers are worth measuring.
“Why We Sleep” by Matthew Walker
Why poor sleep quietly undoes a good diet.




