Yes, food affects mood, but more through your overall eating pattern than through any single "mood food". Studies link a Mediterranean-style diet, rich in vegetables, fruit, wholegrains, legumes, nuts, olive oil and fish, with a lower risk of depression, while diets high in ultra-processed foods are linked with a higher risk. Regular meals that keep blood sugar steady help against irritability and energy dips. Food supports mood; it does not replace treatment for depression or anxiety.
Key facts about food and mood
- In a 2019 meta-analysis of long-term studies, people who followed a Mediterranean diet most closely had about a third lower risk of developing depression.
- In the SMILES trial (2017), adults with depression who received dietary support for 12 weeks improved more than those who received social support only.
- The Swiss dietary recommendations advise five portions of vegetables and fruit a day (three of vegetables, two of fruit) and wholegrain for at least half of your grain products.
- Adults are advised to eat about 30 g of fibre a day; most people in Switzerland and Germany eat less.
- For healthy adults, up to 400 mg caffeine a day (about four cups of coffee) is considered safe by EFSA.
Does food affect your mood?
Food influences how you feel in three ways that research supports reasonably well. First, it supplies the building blocks and vitamins the brain needs to make neurotransmitters. Second, what and when you eat affects blood sugar, energy and alertness over the day. Third, eating patterns shape the gut microbiome, which researchers are studying as a possible link to the brain. The evidence is strongest for the overall pattern, which is why swapping one food is unlikely to make much difference, while changing how you eat over weeks can.
The relationship runs both ways. Low mood and stress change appetite and food choices, often towards quick, sweet or fatty foods, which is one reason observational studies are hard to interpret. Trials such as SMILES are small, but they point in the same direction as the long-term studies.
Which foods improve mood?
No food works like a medicine, but some foods contribute nutrients that matter for the brain and nerves. Building meals around them is a good default:
| Food | What it provides | Why it matters |
|---|---|---|
| Leafy greens (spinach, lamb's lettuce) | Folate | Folate contributes to normal psychological function |
| Legumes (lentils, chickpeas, beans) | Fibre, folate, magnesium, protein | Steady energy release; feeds gut bacteria |
| Wholegrains and oats | Fibre, thiamine, magnesium | Thiamine contributes to normal psychological function |
| Nuts and seeds | Magnesium, vitamin E, healthy fats | Magnesium contributes to normal psychological function |
| Oily fish or algae oil | Omega-3 DHA | DHA contributes to the maintenance of normal brain function (from 250 mg a day) |
| Eggs, dairy, fortified plant drinks | Vitamin B12 | B12 contributes to normal psychological function |
| Peppers, kiwi, berries, acerola | Vitamin C | Vitamin C contributes to normal psychological function |
| Yoghurt, kefir, sauerkraut | Live cultures (fermented foods) | Being studied for the gut-brain axis |
If you eat plant-based, plan a reliable vitamin B12 source and consider algae-based omega-3; our article on vitamin B12 benefits and deficiency signs explains why. Magnesium-rich foods are listed in the benefits of magnesium.
Blood sugar, hunger and mood swings
Being "hangry" is real: in a 2022 study in which adults reported their feelings several times a day, hunger was linked with more anger and irritability and less pleasure. Long gaps between meals, or meals made mostly of white bread, sweets or sugary drinks, can lead to quick rises and falls in blood sugar that many people feel as tiredness, poor concentration and a short temper.
What helps with mood swings related to eating:
- eat at regular times and do not skip breakfast if you get irritable before lunch;
- combine carbohydrates with protein, fibre and some fat (for example oats with yoghurt and nuts instead of a croissant);
- choose wholegrain bread, pasta and rice;
- keep a planned snack, such as fruit with a handful of nuts, for long afternoons.
Mood swings that are severe, last for weeks or come with other symptoms are not a food problem; please speak to your doctor.
The gut-brain axis: what research says
The gut and brain communicate through the vagus nerve, hormones, immune signals and substances made by gut bacteria. Most of the body's serotonin is produced in the gut, although this serotonin does not pass into the brain. Animal studies show that changing the microbiome can change behaviour, and people with depression have, on average, a different gut microbiome composition.
Whether this can be used to improve mood in people is still open. Trials with probiotics have been small and their results mixed. What is reasonably well supported: a diet rich in fibre and plant variety and regular fermented foods support a diverse microbiome, and the same foods are part of the Mediterranean pattern linked with better mental health.
Caffeine, alcohol and ultra-processed food
Caffeine improves alertness in the short term, but late in the day it disturbs sleep, and high amounts can cause jitteriness and a racing heart, especially in people prone to anxiety. Alcohol may feel calming at first but disturbs sleep and is linked with low mood and anxiety. A 2024 umbrella review in the BMJ linked higher intake of ultra-processed foods with a higher risk of depression and anxiety; these foods also tend to displace the vegetables, legumes and wholegrains that matter most.
A practical plate for good mood
Use this as a simple template for lunch and dinner:
- Half the plate: vegetables and some fruit, ideally of different colours.
- A quarter: wholegrains or potatoes (wholegrain pasta, brown rice, quinoa, rye bread).
- A quarter: protein, such as lentils, beans, tofu, eggs, fish or yoghurt.
- Plus: a spoonful of rapeseed or olive oil, or a small handful of nuts or seeds.
Example day: oats with berries, yoghurt and walnuts; a lentil and vegetable salad with wholegrain bread; an apple and almonds in the afternoon; salmon or tofu with roasted vegetables and potatoes in the evening. Plenty of water, coffee before early afternoon. For more on daily energy, see natural ways to feel more energetic.
Food is one part of mental well-being; sleep, movement and relationships matter just as much, as our guide to everyday habits for mental wellness explains. If you want to know which nutrients are discussed for stress specifically, read the best vitamins for stress and anxiety.
Where Sanbera fits
A supplement cannot replace a varied diet, but it can help you cover vitamins consistently. Per daily serving of three tablets, Daily Essential Women provides vitamin B6 1.05 mg (75% NRV), folic acid 150 µg (75%), vitamin B12 1.88 µg (75%) and vitamin C 43.1 mg (54%); Daily Essential Men provides vitamin B6 1.4 mg (100%), folic acid 100 µg (50%), vitamin B12 1.88 µg (75%) and vitamin C 51.8 mg (65%). These vitamins contribute to normal psychological function and to the reduction of tiredness and fatigue. The formulas also contain plant extracts such as acerola, a natural source of vitamin C, and black elderberry (women) or guarana, which contains caffeine (men). They are vegan and made in Switzerland.
Frequently asked questions
How does food affect your mood?
Food affects mood through the nutrients the brain needs to make neurotransmitters, through blood sugar and energy levels across the day, and possibly through the gut microbiome. Long-term studies link a Mediterranean-style diet with a lower risk of depression and ultra-processed food with a higher risk. The overall eating pattern matters far more than any single food.
What foods help with mood swings?
Regular meals that combine wholegrains, protein, fibre and some healthy fat keep blood sugar steadier than sweets, white bread or sugary drinks. Oats with yoghurt and nuts, lentil dishes, wholegrain bread with eggs or hummus, and fruit with almonds are good examples. If mood swings are strong or last for weeks, talk to your doctor.
What is the best food for mood and energy?
There is no single best food. A plate with half vegetables and fruit, a quarter wholegrains and a quarter protein, plus nuts or a good oil, provides steady energy and the B vitamins, vitamin C, folate and magnesium that contribute to normal psychological function. Drinking enough water and keeping caffeine to the morning help as well.
Can food replace treatment for depression?
No. A healthier diet can be a helpful part of care, and the SMILES trial found that dietary support helped adults with depression alongside their usual treatment. Depression needs professional assessment, and psychotherapy or medication are the treatments with the best evidence. Speak to your doctor before changing or stopping any treatment.
Does sugar affect your mood?
A sugary snack can give a short lift, but meals high in sugar and refined starch can be followed by a dip in energy and concentration. Studies also link a high intake of sugary drinks and ultra-processed foods with a higher risk of low mood. You do not need to avoid sugar completely; combining sweet foods with a proper meal softens the effect.
Sources
- Jacka FN et al. (2017): A randomised controlled trial of dietary improvement for adults with major depression (the SMILES trial), BMC Medicine
- Lassale C et al. (2019): Healthy dietary indices and risk of depressive outcomes: a systematic review and meta-analysis of observational studies, Molecular Psychiatry
- Lane MM et al. (2024): Ultra-processed food exposure and adverse health outcomes: umbrella review, BMJ
- Swami V et al. (2022): Hangry in the field: an experience sampling study on the impact of hunger on anger, irritability, and affect, PLOS ONE
- Swiss Federal Food Safety and Veterinary Office (FSVO): Swiss dietary recommendations for adults
- EFSA: Caffeine
This article is for general information and does not replace advice from a doctor or pharmacist. Food supplements are not a substitute for a varied, balanced diet and a healthy lifestyle.