Better Me

5 Ways Your Diet May Affect Anxiety and Steps to Support Your Mental Health

Have you ever wondered if something you ate or drank made you feel more anxious, stressed or overwhelmed? Maybe your heart races after drinking too much caffeine. Or you feel irritable when you skip a meal. Perhaps you crave sweets during stressful times.

Many people ask questions about how food and anxiety are connected. But the answer is not always simple.

“Food can affect how we feel but it is never the only cause of stress and anxiety,” said Alyssa Post, RD, a registered dietitian nutritionist with Banner Health. “Genetics, sleep problems, life stress and health issues also play a role. Diet is just one part."

Keep reading to learn which foods and drinks may influence stress and anxiety. Discover the steps you can take today to help your well-being.

Five ways food and drink may affect anxiety symptoms

1. Caffeine may increase feelings of nervousness or restlessness

Caffeine can make some people feel more alert but it affects everyone differently. Drinks like coffee, energy drinks and certain teas can cause shakiness, nervousness or increased anxiety in some people. Caffeine can also disrupt sleep and poor sleep can make anxiety worse the next day. 

Learn more about the effects of caffeine.

2. Alcohol may affect sleep and mood

Some people drink alcohol to relax after a stressful day. At first, alcohol may seem calming but it can affect sleep quality and mood. Alcohol can also interfere with certain anxiety or depression medicines. If you take mental health medication, ask your doctor, provider or pharmacist if it’s safe to drink alcohol. 

3. Blood sugar changes may create anxiety-like sensations

Sugary foods and drinks can cause blood sugar levels to spike quickly and then crash. This can cause symptoms that look like anxiety because they trigger the body’s fight-or-flight response.

“When blood sugar drops suddenly, the brain releases stress hormones like adrenaline and cortisol to raise it again," Post said. “This can cause physical feelings like shakiness, a racing heart and a wave of panic that seem just like anxiety.”

4. Stress can change your eating habits

Stress affects everyone differently. Some people lose their appetite when they feel overwhelmed, while others start craving sweets, salty foods or familiar comfort foods.

In the short term, stress can cause your body’s fight-or-flight response to decrease your appetite. But if stress continues, you might find you get hungrier or have stronger cravings.

“If you’ve ever reached for comfort foods during a stressful week, you’re not alone,” Post said. “Many people turn to familiar, enjoyable foods because they can temporarily make them feel better."

Stress also makes it harder to keep up with other habits that improve mental health, like getting enough sleep, exercising and preparing healthy meals.

5. Fried, fast and highly processed foods may affect how you feel

Consuming a lot of sugary treats, soda and fried or fast foods may have a negative impact on your mental health. These foods might cause unstable blood sugar levels and disturb the good bacteria in your gut. This could increase the risk of anxiety and depression over time.

“The key is balance,” Post said. “You don't need to stop eating any of these foods. There is always room for fun and flexibility in your diet.”

Five diet tips to support your mental health

You don’t need a perfect diet or a strict set of food rules to support your mental health. Small, consistent habits can help your body get the nutrients it needs. 

1. Eat on a regular schedule

Going for long periods without eating can cause changes in energy and symptoms that seem like anxiety. Post suggests not going more than three to five hours without eating. Eating regular meals helps keep blood sugar levels steady.

2. Build balanced meals

Divide your plate into three sections: one-quarter complex carbohydrates, one-quarter protein and half colorful fruits and vegetables. Combining carbs with protein or healthy fats, like an apple with nut butter, helps keep your blood sugar steady. 

A complex carbohydrate:

  • Whole grains
  • Beans
  • Lentils
  • Starchy vegetables

A protein source:

  • Fish
  • Chicken
  • Turkey
  • Eggs
  • Yogurt
  • Tofu
  • Beans

Color from fruits and vegetables:

  • Leafy greens
  • Berries
  • Peppers
  • Broccoli
  • Carrots

3. Ease off caffeine and alcohol gradually

Instead of quitting caffeine suddenly, try drinking half-caffeinated coffee or replacing it with green tea or decaf chamomile when you want to cut back.

4. Add probiotic and mood-supporting foods

“About 95% of the body’s serotonin receptors are in the gut lining,” Post said. “Early research links probiotic foods to lower anxiety.”

Probiotic foods include yogurt, kefir, sauerkraut, kimchi and pickles. Learn more about how probiotics and prebiotics support your gut health. 

Other nutrients tied to mood regulation include:

  • Omega-3 fatty acids: Salmon, walnuts, flaxseed, chia seeds
  • Tryptophan: Turkey, tart cherries, nuts, bananas
  • Magnesium: Almonds, black beans, oatmeal, brown rice
  • Zinc: Oysters, beef, crab, fortified breakfast cereals and oatmeal
  • Selenium: Brazil nuts, seafood, beans, lentils
  • B vitamins: Meat, fish, milk, cheese, eggs
  • Folate: Dark leafy greens (like spinach), asparagus, whole grains, beans

Food is the best way to get these nutrients. If you want to take a supplement, talk to your doctor or dietitian first; however, supplements can't replace eating a balanced diet.

5. Pay attention to how your body responds

Everyone’s body is different. What works for one person might look different for another.

Keeping a simple journal to track your meals, sleep, stress and symptoms can help you see patterns. For instance, you might find that drinking caffeine late in the day affects your sleep or skipping lunch lowers your energy in the afternoon.

Don’t let tracking become stressful. If rules about food, restrictions or fears about eating raise your anxiety, talk to your doctor or a Banner Health specialist. 

Remember: Food is one part of the plan

What you eat and drink can affect your energy, sleep, blood sugar and how your body responds to stress. For some people, caffeine, alcohol, skipped meals or certain eating patterns may make anxiety symptoms feel worse.

But nutrition is just one part of mental health. Exercise, social connections, stress management, quality sleep and professional help like therapy or medication are also very important.

If anxiety disrupts your daily life, relationships or hobbies, don't hesitate to seek support. If you or someone you know is in crisis or thinking about self-harm, call or text 988 to reach the Suicide and Crisis Lifeline anytime.

FAQs

Can certain foods cause anxiety?

No. Anxiety is not caused by a specific food. However, some foods and drinks may affect sleep, energy and physical sensations that can make anxiety symptoms feel worse.

Should I avoid sugar if I have anxiety?

You do not need to eliminate sugar. Focus on balance and eating meals that include protein, fiber and a variety of whole foods.

Can caffeine increase anxiety?

Caffeine may increase anxiety symptoms for some people, especially those who are sensitive to it or consume high amounts.

What foods are good for anxiety?

There is no single food that treats anxiety. A balanced eating pattern that includes fruits, vegetables, whole grains, protein and healthy fats can support overall health.

Should I track my food if I think it affects my anxiety?

Tracking may help identify patterns but it should not create stress or lead to restrictive eating. Talk with a health care provider if food concerns become overwhelming.

Should I try an elimination diet for anxiety?

Talk to your doctor or dietitian first. Restrictive diets aren’t recommended without clinical guidance and can create new problems. 

Related articles:

Anxiety Depression Nutrition