← Back to the blog Mental Health

Depression and Diet: Foods That Affect Your Mood

📅 ⏱️ 7 min read ✏️ Kalorita Nutrition Editor

The link between food and mental health has become a field of study called nutritional psychiatry. In the SMILES trial, published in 2017, 67 adults with major depression were assigned to either a Mediterranean-style diet or social support for 12 weeks. About 32% of the diet group reached remission, compared with 8% of the social support group. Diet is not a replacement for treatment. It works best alongside medical and psychological care.

Don't just read it, track itSnap a photo of your meal and Kalorita logs calories and macros in seconds. 3 days free.→

Serotonin, tryptophan and the gut-brain connection

Most of the body's serotonin is made in the gut, but the serotonin that affects mood is made in the brain from tryptophan, an amino acid your body cannot make. You need to get it from food. Carbohydrates can help tryptophan reach the brain, because insulin clears competing amino acids from the blood. That is partly why carb cravings are sometimes linked to low mood:

FoodTryptophan (per 100 g)
Pumpkin seeds576 mg
Turkey breast, cooked404 mg
Chicken breast, cooked340 mg
Salmon, grilled335 mg
Cottage cheese236 mg
Almonds214 mg
Egg167 mg
Banana9 mg

Bananas are often said to boost serotonin, but their tryptophan content is very low. Their real value is vitamin B6. Turkey, pumpkin seeds and salmon are much more useful sources of tryptophan.

Foods that may raise or lower depression risk

Observational studies and trials link several eating patterns to mood. These links show association, not proof of cause:

Food or patternLinked toPossible mechanism
Omega-3 fats (EPA and DHA)Lower risk in several studiesLess brain inflammation, healthier nerve cell membranes
Mediterranean-style dietLower risk in observational studiesHealthier gut bacteria, anti-inflammatory effects
Free sugar (above about 25 g a day)Higher risk in some studiesInflammation, insulin resistance, disrupted dopamine signaling
Ultra-processed foodHigher risk in a large UK studyChanges in gut bacteria, oxidative stress
Vitamin B12 deficiencyAssociated with higher riskRaised homocysteine, affects nerve function
Folate deficiencyAssociated with weaker response to treatmentNeeded to make serotonin and dopamine
Magnesium deficiencyAssociated with higher riskAffects brain receptors and stress hormone regulation
Vitamin D deficiencyAssociated with higher riskLower levels of brain growth factor (BDNF)
Fiber (over about 25 g a day)Associated with lower riskHealthier gut bacteria, short-chain fatty acid production
Fermented foodsEarly evidence of benefitMay support gut bacteria balance

A large UK study published in The BMJ found that people who ate the most ultra-processed food had a higher risk of depression, even after accounting for many other factors.

Omega-3 and mental health: what the research shows

Omega-3 supplements and depression are among the most studied topics in nutrition. A meta-analysis of randomized trials found that omega-3 supplements, especially those higher in EPA, reduced depressive symptoms more than placebo. EPA and DHA behave differently, so the balance between them matters:

Vitamins and minerals that matter for mood

Some mood symptoms come from deficiencies that can be corrected. Ask your doctor about blood tests before starting supplements:

NutrientLink to moodAdult daily amount (US)Good food sources
Vitamin DLow levels are common in winter in northern countries600 to 800 IUSunlight, salmon, egg yolks, fortified milk
Vitamin B12Deficiency raises homocysteine2.4 mcgMeat, fish, eggs, dairy
Folate (B9)Low folate is linked to a weaker response to antidepressants400 mcg DFESpinach, lentils, asparagus, oranges
MagnesiumLow intake is linked to higher risk310 to 420 mgPumpkin seeds, almonds, spinach, dark chocolate
ZincLow levels are linked to poorer treatment response8 mg (women), 11 mg (men)Oysters, beef, pumpkin seeds, lentils
IronDeficiency affects energy and concentrationBased on a blood testRed meat, spinach, lentils, shellfish

Low vitamin D is common in winter in many northern countries. Test your levels before supplementing, because high doses you do not need are not useful.

Frequently asked questions

Can changing my diet treat depression?

Not on its own. Diet cannot replace psychiatric or psychological care. But better eating can ease symptoms and may support the effect of antidepressant medication. In the SMILES trial, the Mediterranean-style diet group improved more than the social support group.

Which foods increase serotonin?

Serotonin in food cannot cross into the brain. The effect comes from tryptophan, which is found in turkey, pumpkin seeds, salmon and cottage cheese. Eating these with a small amount of carbohydrate, such as brown rice or potatoes, may help tryptophan reach the brain.

Does sugar make depression worse?

The evidence leans that way. Large amounts of free sugar may disrupt dopamine signaling, increase inflammation and contribute to insulin resistance, all of which affect mental health. Health bodies suggest keeping free sugar under about 25 g a day, roughly 6 teaspoons.

Is caffeine good or bad for depression?

Moderate coffee, around 2 to 3 cups a day, has been linked to a slightly lower risk of depression in some observational studies. Caffeine can improve alertness briefly. Too much disrupts sleep and can increase anxiety, so your personal tolerance matters.

Does vitamin D help depression?

Results are mixed. Some trials of vitamin D supplements show small benefits and others do not. If your blood level is low, a supplement may help, but the effect is usually modest if your level is already adequate. Ask your doctor for a blood test first.

Why is the Mediterranean diet linked to better mood?

It is rich in oily fish for omega-3, colorful vegetables and fruit with antioxidants, fiber from legumes and whole grains, and healthy fats such as olive oil. These components may lower inflammation, support gut bacteria and raise brain-derived neurotrophic factor (BDNF). If you feel persistently low or hopeless, see a doctor or mental health professional.

Make calorie tracking simple

Take a photo of your food and Kalorita's AI estimates its calories and macros in seconds.

Download free