Diet and Mental Health: Can What We Eat Affect How We Feel?

Ana Luz Crespi/Stocksy United

It’s well-established that diet plays a fundamental role in health and wellbeing.

But as time goes on, we’re learning how diet plays in a role in social, emotional, and mental health specifically.

Though there’s still much to uncover about the underlying relationship between diet and mental health, we have compelling evidence that suggests the two are in fact very closely related (12).

This article is your guide to understanding how your diet may affect your mental health and wellbeing.

We’ll cover what we know so far about the relationship between diet and mental health, look at specific dietary patterns that may improve mental health, and explore simple steps you can take to support a healthy mental state.

Diet And Mental Health: Is There A Link?

Historically, mental health conditions have been treated with psychiatric therapies like counseling, medication, and sometimes hospitalization.

Today, an emerging field called nutritional psychiatry emphasizes how diet and nutrition affect the way people feel mentally. It aims to support treatment of mental health conditions with diet and lifestyle changes (2).

It’s something we may have taken for granted in the past, but it makes perfect sense that the foods we eat have just as much effect on our brains as they do on the rest of our bodies.

One reason our food choices affect our brains so strongly is that our gastrointestinal system — or what’s more commonly referred to as “the gut” — is actually very closely connected to the brain.

The gut is home to trillions of living microbes that have many functions in the body, such as synthesizing neurotransmitters that send chemical messages to the brain to regulate sleep, pain, appetite, mood, and emotion.

In fact, there’s such an intricate network of interactions between the two that the gut has been nicknamed the “second brain.” Formally, the relationship between the two is called the gut-brain connection or gut-brain axis (345).

We still have more to learn, but research suggests that the foods we eat influence the health of gut microbe colonies, which subsequently influences our brains and, thus, our mental and emotional health (6789).


Existing research in the field of nutritional psychiatry suggests that our diet can affect our mental and emotional health. Food we eat affects our gastrointestinal systems, which are directly tied to our brains and the ways we process emotions.

Dietary Patterns Linked With Improved Mental Health

There is some evidence that certain dietary patterns may help reduce symptoms of depression, anxiety, and mood in general.

For Depression: The Mediterranean Diet

In the past few years, multiple studies have observed links between dietary patterns, gut health, and the risk of depression (11121314).

One study found that a diet rich in fruits, vegetables, whole grains, and legumes and low in red and processed meats was associated with 10% lower odds of depressive symptoms (15).

At least two landmark studies directly measured the Mediterranean diet’s ability to reduce measurements of depression in experimental study groups with promising results (1617).

Not all studies on the topic found such striking results, though, and more human trials are still needed. Nevertheless, the early evidence is compelling (1819).

Some health agencies are even beginning to recommend a Mediterranean-like diet to support gut health and lower the risk of depression (20).

To follow a Mediterranean diet, increase your intake of (1421):

A Mediterranean diet limits (1421):

  • fried foods
  • processed meats
  • baked goods
  • sweetened beverages

Remember that choosing an eating pattern rooted in the principles of the Mediterranean diet doesn’t have to mean giving up your cultural foods.

In fact, it’s important that your eating habits incorporate foods that are easy to access locally and meaningful to you culturally or personally.

For example, learn more about giving the Mediterranean diet a Caribbean twist here.

For Stress And Anxiety: Limit Alcohol, Caffeine, And Sugary Foods

There are a few substances in particular that might exacerbate anxiety symptoms: alcohol, caffeine, and added sugars (2223).

What’s more, research has observed correlations between anxiety and a high intake of saturated fat, low intake of fruit, and poor diet quality overall (24252627).

If you notice you’re feeling particularly stressed or anxious, you may want to adjust your diet as part of your treatment plan. Consider reducing your intake of alcohol, caffeine, and added sugars.

Instead, choose more foods that may reduce inflammation and stress throughout the body, such as fiber-rich fruits and veggies, unsaturated fats, and bacteria-laden fermented foods (22282930).

For Mood And Mental Well-Being: A Nutrient-Dense Diet

To improve your mood, one of the best things you can do in terms of diet is simply to eat a well-balanced diet that contains a variety of health-promoting nutrients.

Though researchers are still exploring the relationships between food and mental health, there are multiple studies that support eating a high-quality, nutrient-dense diet for an improved mood (3132).

For example, three studies found that eating more fruits and vegetables is linked with less worry, lower tension, and greater life satisfaction, while a literature review linked higher diet quality with improved mood (333435).

Want to make your diet more nutrient-dense but not sure where to start? Check out Healthline’s guide to healthy eating in real life.

A Note About Medications

Medications are commonly used to manage neurological and psychological conditions like depression, anxiety disorders, insomnia, and bipolar disorder.

Many of these medications interact with certain foods. Some foods may weaken or intensify the effects of medications, while the medicines themselves could affect a person’s nutritional status.

Therefore, if you’re taking any medications to treat a mental health condition, it’s crucial that you consult with your prescribing doctor(s) before making any drastic changes to your diet.

Some medications with known food-drug interactions include (10):

  • anticonvulsants
  • antipsychotics
  • sleeping pills
  • antidepressants like Levodopa, selective serotonin reuptake inhibitors (SSRIs), tricyclic antidepressants (TCAs), and Monoamine oxidase inhibitors (MAOIs)


Though more research is needed, early findings suggest certain diets may support mental health. These include the Mediterranean diet for depression, a nutrient-dense diet for mood, and a diet low in sugar, caffeine, and alcohol for anxiety.

Simple Diet Tips To Support Your Mental Health

If you’re experiencing symptoms of any mental health conditions, you may want to work directly with a specialist, like a psychiatrist or psychologist, for individualized care.

On the other hand, if you’re simply looking to make some straightforward changes to your diet to support your emotional health and wellbeing, here are a few suggestions you can start with.

As you read through these tips, remember that the overall quality of your diet is more powerful than any one decision you make in a day. Try to focus on a variety of healthy nutrients rather than just one individually (2936).

Load Up On These Nutrients

Here are some of the nutrients most notably linked with mental health, as well as a few foods they’re found in (293637):

  • Omega-3 fatty acids: walnuts, chia and flaxseeds, salmon, herring, sardines (38)
  • Folate: beef liver, rice, fortified cereals, black-eyed peas, spinach, asparagus, Brussels sprouts (39)
  • Iron: oysters, beef liver, fortified cereals, spinach, dark chocolate, white beans, lentils, tofu (40)
  • Magnesium: spinach, pumpkin and chia seeds, soy milk, black beans, almonds, cashews, peanuts (41)
  • Zinc: oysters, chicken, pork chops, beef roast, Alaska king crab, lobster, pumpkin seeds (42)
  • B vitamins: chicken breast, beef liver, clams, tuna, salmon, chickpeas, potatoes, bananas (4344)
  • Vitamin A: beef liver, herring, cow’s milk, ricotta cheese, sweet potatoes, carrots, cantaloupe (45)
  • Vitamin C: red and green peppers, orange and grapefruit juice, strawberries, broccoli (46)

Pack In Prebiotics And Probiotics

Prebiotics are foods that provide nutrition to the bacteria already living in your gut, while probiotics actually contain healthy bacteria themselves.

A diet that includes pre- and probiotics helps maintain a balances state of homeostasis (stability) in the gut. Some research also suggests they may play a role in the body’s response to stress and depression (32474849).

Some foods that contain prebiotics or probiotics are (5051):

  • fermented foods: yogurt, kefir, buttermilk, kimchi, sauerkraut, tempeh, kombucha
  • alliums: garlic, onions, leeks
  • vegetables: artichokes and asparagus
  • fruits: apples and bananas
  • grains: barley and oats

Eat A Variety Of Fruits And Vegetables

Fruits and vegetables are rich in many nutrients that support mental health — like fiber, complex carbohydrates, vitamin B, vitamin C, and healthy plant chemicals called polyphenols (2952).

A recent review looked at 61 studies that compared fruit intake and mental health and found that eating more fruits and vegetables was associated with higher levels of optimism and self-efficacy, yet lower levels of depression and psychological distress (52).

Some fruits and veggies that may affect mental health include (3752):

  • berries
  • citrus fruits
  • leafy greens

Fuel Up With Whole Grains

Whole grains are cereals like rice, wheat, and oats that are left fully intact during processing. Therefore, they contain more fiber and nutrients than refined grains, which have had certain parts of the plant discarded.

One recent study including more than 3,000 adults found that a higher dietary fiber intake was linked with lower risks of anxiety, depression, and psychological distress (28).

What’s more, the type of fiber found in whole grains may have anti-inflammatory effects when it’s digested in the gut, which may also benefit mental health via the gut-brain axis (29).

Share A Meal With Your Loved Ones

For many of us, our food choices are shaped by a myriad of factors.

A food’s nutritional value is often a primary consideration, but many other factors can and should influence food choices — including the pleasure we associate with social eating (53).

Sharing meals among family, friends, and community members is one of the oldest human traditions and may be one way to brighten your spirits when you’re feeling down.


The best way to support your mental health through diet is to eat a variety of nutritious foods like fruits, vegetables, and whole grains that are rich in pre- and probiotics, omega-3 fatty acids, vitamins, minerals, and fiber.

Foods And Habits That May Harm Your Mental Health

Just like there seem to be certain foods, nutrients, and habits that support mental health, there are also some that may hinder it.

Here are a few things you may want to consider having only in moderation or eliminating completely if you’ve noticed they tend to affect your mental state.

Ultra-Processed Foods

Ultra-processed foods are those that have undergone industrial processing techniques.

They tend to be higher in calories, salt, added sugar, and unsaturated fats and include foods like candy, baked goods, sugar-sweetened beverages, and salty snacks.

Eating ultra-processed foods regularly throughout the week has been linked with a higher incidence of symptoms associated with anxiety, depression, and stress (545556).

Therefore, ultra-processed foods may be best left as an occasional treat.

Remember, though, that the term “processed foods” includes a wide variety of products, many of which are more convenient and less expensive than other foods. Not all foods that undergo processing are considered harmful. Learn more here.

Alcohol Consumption

Alcohol intake is closely linked with mental health conditions, and the two often become entangled in a feedback loop (575859).

Those experiencing symptoms of mental health conditions may use alcohol for temporary relief, only to find that it actually exacerbates the symptoms they’re trying to alleviate.

In particular, drinking too much alcohol may aggravate symptoms of depression, stress, anxiety, and mood disorders (585960).

When you’re struggling with mental health, it may be best to abstain from alcohol or drink only in moderation, which The Centers for Disease Control and Prevention (CDC) defines as no more than one drink for women or two drinks for men per day (61).

Irregular Mealtimes

The time intervals at which we eat throughout the day have been shown to influence our food choices, circadian rhythm, inflammation, and even the gut microbiome — all of which may affect mental health (2962).

A recent study including nearly 4,500 adult workers found that irregular meal patterns were correlated with higher levels of neuroticism, productivity loss, sleep problems, and more factors that affect mental health (63).

Though it’s not always possible, eating at regular mealtimes as often as you can may be one way to balance your mood.

A Lack Of Sleep

Along with a healthy diet, regular physical activity, and avoidance of tobacco and alcohol, proper sleep is a fundamental factor of mental health (646566).

Not only is a lack of sleep itself associated with poorer mental health, but it may also influence gut health and food choices (67686970).

One culprit that could be harming your sleep habits is caffeine, and its effects may be particularly significant in young people. A small study among college students observed a link between caffeine intake and symptoms of anxiety and depression (71).

A larger study including more than 68,000 adolescents found that energy drinks were significantly associated with poor sleep, severe stress, and depression. Interestingly, the effect was highest in those who also ate processed foods frequently (72).

If you find that you have trouble sleeping, try to limit your caffeine intake to the morning hours. And in the meantime, check out Healthline Sleep for more resources.


When you notice symptoms of a mental health condition, try to eat nutritious meals regularly during the day and cut back on ultra-processed foods, alcohol, and excessive caffeine while prioritizing good sleep hygiene.

How To Implement Dietary Changes To Support Mental Health

Change does not always come easily, especially if you’re working in opposition to habits you’ve formed over the years.

Thankfully, if you plan ahead, there are some steps you can take to help make change easier.

1. Go easy on yourself

Making any type of lifestyle change takes time, and getting from the starting line to the finish point won’t happen overnight.

Remember that change is a process. If you slip and stumble along the way, it’s normal and OK.

2. Eat mindfully

One of the most powerful steps you can take towards eating for your mental health is to pay particularly close attention to how various foods and beverages affect the way you feel.

If you’re wondering whether or not certain foods could be influencing your mental health, try eliminating them from your diet to see if anything about the way you feel changes.

Then, reincorporate them back into your diet and again observe any changes to the way you feel.

Personalized approaches like mindful eating are the basis of the growing field of nutritional psychiatry.

3. Start small

Rather than trying to completely reinvent your entire diet overnight, start with making one small change at a time.

This could be as simple as aiming to have at least one piece of fruit every day or limiting yourself to a certain number of caffeinated beverages per week.

4. Try swapping these foods

A small change that’s easy to start with is swapping foods that seem to support mental health for those that may not.

Some examples of healthy food swaps are:

  • whole foods instead of packaged and processed foods
  • whole grains instead of refined grains
  • whole fruits instead of dried fruits and juices
  • seafood or lean poultry instead of red and processed meats
  • fermented dairy instead of sweetened dairy
  • fruit infused waters instead of soda
  • kombucha or herbal tea instead of alcohol
  • herbs and spices instead of sugar and salt

5. Monitor your progress

Making a change and sticking with it is always a great feeling itself.

But unless you monitor how that change is influencing your big picture goals, it’s difficult to say whether or not the changes you’ve made are actually working.

Think of a few ways you’ll monitor your progress and how you’ll document it.

Monitoring your progress can be as simple as journaling about how different foods make you feel or using a checklist to help track the food groups you eat from in a day.


Remember: it will take some time after making changes to you diet until you feel noticeable changes to your mental health. Be patient, be mindful, and start with a few small changes that you can monitor your progress with.

The Bottom Line

Nutritional psychiatry is a fascinating field with potential to reshape the way we think about our mental health.

There’s still much to learn, but it’s become increasingly clear that the health of our gut and the bacteria that reside in it play a significant role in mental health management and emotional regulation.

Eating a nutritious diet may be one of the best ways to support gut health, while processed foods are associated with poorer outcomes and should likely be limited.

If you want to make changes to your diet to support your mental health, start with a few small food swaps and build up from there.

Important Notice: This article was originally published at by Cecilia Snyder, MS, RD where all credits are due. Medically reviewed by Adrienne Seitz, MS, RD, LDN, Nutrition


The watching, interacting, and participation of any kind with anything on this page does not constitute or initiate a doctor-patient relationship with Dr. Farrah™. None of the statements here have been evaluated by the Food and Drug Administration (FDA). The products of Dr. Farrah™ are not intended to diagnose, treat, cure, or prevent any disease. The information being provided should only be considered for education and entertainment purposes only. If you feel that anything you see or hear may be of value to you on this page or on any other medium of any kind associated with, showing, or quoting anything relating to Dr. Farrah™ in any way at any time, you are encouraged to and agree to consult with a licensed healthcare professional in your area to discuss it. If you feel that you’re having a healthcare emergency, seek medical attention immediately. The views expressed here are simply either the views and opinions of Dr. Farrah™ or others appearing and are protected under the first amendment.

Dr. Farrah™ is a highly experienced Licensed Medical Doctor certified in evidence-based clinical nutrition, not some enthusiast, formulator, or medium promoting the wild and unrestrained use of nutrition products for health issues without clinical experience and scientific evidence of therapeutic benefit. Dr. Farrah™ has personally and keenly studied everything she recommends, and more importantly, she’s closely observed the reactions and results in a clinical setting countless times over the course of her career involving the treatment of over 150,000 patients.

Dr. Farrah™ promotes evidence-based natural approaches to health, which means integrating her individual scientific and clinical expertise with the best available external clinical evidence from systematic research. By individual clinical expertise, I refer to the proficiency and judgment that individual clinicians acquire through clinical experience and clinical practice.

Dr. Farrah™ does not make any representation or warranties with respect to the accuracy, applicability, fitness, or completeness of any multimedia content provided. Dr. Farrah™ does not warrant the performance, effectiveness, or applicability of any sites listed, linked, or referenced to, in, or by any multimedia content.

To be clear, the multimedia content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health providers with any questions you may have regarding a medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read or seen in any website, video, image, or media of any kind. Dr. Farrah™ hereby disclaims any and all liability to any party for any direct, indirect, implied, punitive, special, incidental, or other consequential damages arising directly or indirectly from any use of the content, which is provided as is, and without warranties.