Are there really foods that improve mood? Research suggests that a balanced diet rich in vegetables, fruits, legumes, fish, nuts, and whole grains is linked to better mood and a lower risk of depression, while eating lots of processed foods and sugar is linked to worse outcomes. But food supports mental health; it doesn’t replace treatment, and no single food can improve your mood on its own.
Many people notice their mood swings when they start a new weight-loss diet or after bariatric surgery, leaving them irritable, sad, or short-tempered. In this article, we explain the link between food and mood, look at healthy foods that may help lift your mood while dieting, and share practical tips to avoid mood swings.
What is the link between food and mood?
Food affects mood in several ways:
- Neurotransmitters: the brain makes substances such as serotonin and dopamine from amino acids found in food, such as tryptophan, which is found in proteins. These processes also require vitamins and minerals such as vitamin B6, folic acid, vitamin B12, and magnesium.
- The gut-brain axis: about 90% of the body’s serotonin is found in the gut, where it helps regulate bowel movement. But this serotonin doesn’t travel directly to the brain; the brain makes its own serotonin. Even so, the gut communicates with the brain through nerves, hormones, and gut bacteria, and this is an active area of research.
- Stable blood sugar: the rapid rise and fall in blood sugar after eating sweets can cause irritability, fatigue, and mood swings.
- Inflammation: diets high in processed foods are linked to higher levels of inflammation, and some studies suggest a connection between chronic inflammation and depression.
Studies have also found that deficiencies in certain nutrients, such as vitamin B12, folic acid, and vitamin D, are more common in some people with depression, and that improving diet may help as part of a comprehensive treatment plan. But this doesn’t mean food alone treats depression.
What are the best foods that improve mood while dieting?
Here’s a selection of healthy foods you can add to your diet, while keeping an eye on portion sizes that fit your weight-loss goal:
1. Dark chocolate
Dark chocolate contains compounds such as flavonoids, theobromine, and a small amount of caffeine, and may be linked to improved blood flow to the brain and a feeling of pleasure. But it’s high in calories, so choose a variety with a high cocoa content (70% or more), and stick to one or two small pieces.
2. Coffee
Coffee contains caffeine, which boosts alertness, and compounds such as chlorogenic acid, and in some studies moderate coffee drinking has been linked to a lower risk of depression. But too much can cause anxiety and insomnia, and lack of sleep is one of mood’s biggest enemies. Drink it without much sugar or cream, and after bariatric surgery, follow your doctor’s advice on when you can return to it.
3. Seeds and nuts
Such as pumpkin seeds, cashews, almonds, walnuts, and peanuts. They’re a source of protein, healthy fats, magnesium, zinc, and tryptophan, the amino acid the body uses to make serotonin. Eating them as part of a balanced diet is linked to brain and heart health. But they’re high in calories, so a small handful a day is enough.
4. Berries
All kinds of berries are rich in antioxidants such as anthocyanins, which help fight oxidative stress and inflammation. Some studies suggest a link between eating fruits and vegetables and fewer symptoms of depression. Berries are an excellent choice when dieting because they’re low in calories and high in fiber.
5. Salmon and oily fish
Salmon, sardines, and mackerel are rich in omega-3 fatty acids, which are part of the structure of brain cell membranes. Some research suggests omega-3s may play a supporting role in improving mood, and heart associations recommend eating oily fish twice a week. They’re also an excellent source of protein and vitamin D.
6. Spinach and leafy greens
Spinach contains magnesium and folic acid, both of which are important for brain function and making neurotransmitters. In some studies, magnesium and folic acid deficiencies have been linked to increased symptoms of depression.
7. Mushrooms
Mushrooms are a source of vitamin B6 (pyridoxine), which the body needs to make serotonin and dopamine, and some types exposed to ultraviolet light contain vitamin D. They’re low in calories and very well suited to dieting.
8. Lentils and legumes
Lentils, chickpeas, and beans are rich in folic acid, fiber, and plant protein, and they provide steady energy that helps keep blood sugar and mood stable. Studies have found a link between folic acid deficiency and depression.
9. Fermented dairy
Such as laban (cultured milk) and kefir. They’re a source of protein and beneficial bacteria that support gut health, and researchers are interested in their possible role in the gut-brain axis.
How can you combine these foods in one day?
You don’t need a drastic change, just to gradually add these foods to your usual meals. Here’s a simple example of a balanced day that you can adjust to your needs:
- Breakfast: an egg with spinach and mushrooms cooked in a little olive oil, and a slice of whole-wheat bread.
- Snack: laban or yogurt with a small handful of berries.
- Lunch: a piece of salmon or sardines with a green salad and a small amount of brown rice.
- Snack: a few walnuts or almonds, and a cup of coffee without sugar.
- Dinner: lentil soup with vegetables, and a small piece of dark chocolate if you like.
What causes mood swings while dieting?
| Cause | What can you do? |
|---|---|
| A very strict diet with too few calories | Choose a moderate, sustainable plan under professional supervision |
| Skipping meals and low blood sugar | Stick to regular meals that contain protein |
| Completely cutting out favorite foods | Allow small, planned portions instead of a total ban |
| Lack of sleep | Sleep 7 to 9 hours and cut back on caffeine in the evening |
| Certain vitamin deficiencies | Check vitamin D, B12, and iron when needed |
| Lack of physical activity | Walk every day; physical activity is one of the best mood boosters |
Does mood change after bariatric surgery?
Many patients feel more self-confident and in a better mood after gastric sleeve surgery and other bariatric procedures, but some experience mood swings, especially in the first months. Reasons include the big change in their relationship with food, hormonal changes, fatigue, and deficiencies in certain vitamins such as B12, iron, and vitamin D.
That’s why bariatric surgery programs emphasize the importance of psychological support before and after surgery, and of sticking with supplements and regular lab tests. It’s also important to be aware that emotional eating can turn into other habits after surgery, so don’t hesitate to ask for help. You’ll find comprehensive tips on our life after surgery page.
When should you seek help?
If sadness or loss of interest in things lasts more than two weeks, affects your sleep, work, or relationships, or if you have thoughts of harming yourself, contact your doctor or a mental health professional right away. Depression is a treatable illness, and good nutrition is part of the support, not a substitute for treatment.
Frequently asked questions
Does sugar improve mood?
Sugar may give a quick, temporary feeling of comfort, but it’s often followed by a drop in energy and mood. It’s better to rely on balanced meals that contain protein and fiber.
Can dieting cause depression?
Very strict diets can cause irritability, fatigue, and mood swings in some people. Choosing a moderate, balanced plan reduces these problems.
Can omega-3 supplements replace eating fish?
Supplements may be an option for people who don’t eat fish, but it’s best to consult your doctor before starting them, especially if you take blood-thinning medications.
What’s the best snack to improve mood while dieting?
For example, laban or yogurt with a handful of berries and a few walnuts, which combines protein, fiber, and healthy fats and keeps you full.
Does vitamin D deficiency affect mood?
Vitamin D deficiency has been linked to symptoms of depression in some studies, and it’s common in our region and after bariatric surgery. Get your level checked and treat any deficiency as your doctor advises.
If you’re on a weight-loss journey and considering surgical options, or need follow-up after bariatric surgery, you can book a consultation with Dr. Hasan Jalamneh to assess your case through our contact us page.
This article is for educational purposes only and does not replace a consultation with a doctor or mental health professional.


