Anxiety treatment usually starts with therapy, medication, or both. Food rarely comes up at the first appointment, even though what you eat affects the same brain chemistry those treatments target. Nutritional psychiatry is the field that studies this link, and its findings are practical enough to use on your next trip to the grocery store.
This guide covers what the research says about diet and mental health, which foods help with anxiety, which ones make it worse, and how a psychiatrist can fit diet changes into a treatment plan.
What is nutritional psychiatry?
Nutritional psychiatry studies how diet affects mood, anxiety, sleep and thinking. It looks at the nutrients the brain needs to build neurotransmitters, at inflammation in the body, and at the bacteria living in your gut.
The field drew wide attention in 2017, when Felice Jacka and her team at Deakin University in Australia published the SMILES trial in BMC Medicine. Adults with moderate to severe depression were assigned either to a modified Mediterranean diet with dietitian support or to a social support group. After 12 weeks, about 32% of the diet group met the criteria for remission. In the social support group, 8% did.
That trial studied depression. Research on anxiety is younger, but it points the same way, and the two conditions often show up in the same person. Diet changes work alongside medication and therapy. A psychiatrist who uses this approach still prescribes medication when a patient needs it.
How diet affects anxiety
The gut-brain connection and anxiety
Your gut and brain send signals to each other all day through the vagus nerve, the immune system and chemicals made by gut bacteria. Around 90% of the body’s serotonin is produced in the gut. That serotonin does not cross directly into the brain, but gut bacteria change levels of inflammation and stress hormones, and those do reach it.
In animal studies, changing gut bacteria changes anxious behavior. Human research is smaller in scale. A 2019 review in General Psychiatry looked at 21 studies on regulating gut bacteria to treat anxiety. More than half found a benefit, and changes to diet worked better than probiotic supplements.
Blood sugar swings
Skipping meals or eating mostly refined carbohydrates makes blood sugar spike and then fall. When it falls, the body releases adrenaline and cortisol. The result is shakiness, a fast heartbeat and irritability, which feel almost identical to anxiety. For someone with an anxiety disorder, a blood sugar dip can start a panic spiral.
Inflammation
Chronic low-grade inflammation is linked in research to both anxiety and depression. Diets heavy in ultra-processed food tend to raise inflammation. Diets built on vegetables, legumes, fish and olive oil tend to lower it.

Foods that help with anxiety
Fatty fish (omega-3 for anxiety)
Salmon, sardines, mackerel, trout and anchovies are high in the omega-3 fats EPA and DHA, which the brain uses to build cell membranes and control inflammation.
In a 2011 study published in Brain, Behavior, and Immunity, researchers at Ohio State University gave medical students either omega-3 supplements or a placebo during the school term. The omega-3 group had a 20% drop in anxiety symptoms. A 2018 meta-analysis of 19 clinical trials in JAMA Network Open found that omega-3 supplements reduced anxiety, with stronger results at doses of at least 2,000 mg a day.
Aim for two servings of fatty fish a week. If you are thinking about supplements, ask your prescriber first. High doses of fish oil can interact with blood thinners.
Leafy greens, nuts and seeds (magnesium for anxiety)
Magnesium helps regulate the body’s stress response system. Low intake is common, especially in diets light on vegetables and whole grains.
A 2017 systematic review in the journal Nutrients found suggestive evidence that magnesium helps people with mild anxiety, though the authors noted that the studies were small and of mixed quality. Food sources carry little risk, so they are a sensible place to start:
- Spinach and Swiss chard
- Pumpkin seeds
- Almonds and cashews
- Black beans
- Avocado
- Dark chocolate (70% cocoa or higher, in small amounts)
People with kidney disease should talk to their doctor before taking magnesium supplements.
Fermented foods
Yogurt with live cultures, kefir, sauerkraut, kimchi and miso contain live bacteria that support a healthy gut. A 2015 study from the College of William and Mary, published in Psychiatry Research, found that young adults who ate more fermented foods reported fewer social anxiety symptoms. The study was observational, so it shows a pattern and cannot prove cause, but fermented foods are cheap and easy to add.
Whole grains, beans and lentils
Oats, brown rice, quinoa, chickpeas and lentils release glucose slowly. That keeps blood sugar steady through the morning and afternoon. They also contain fiber, which feeds the gut bacteria discussed above.
Eggs, legumes and greens for B vitamins
The brain uses vitamin B6, folate and B12 to make serotonin, dopamine and GABA. Eggs, chickpeas, lentils, leafy greens and fortified cereals cover most of these. Older adults and people who eat no animal products are more likely to run low on B12 and may need a blood test.
Chamomile tea
Chamomile is caffeine-free, which already helps. Researchers at the University of Pennsylvania have run small trials of chamomile extract in people with generalized anxiety disorder and found modest reductions in symptoms. A cup in the evening is a reasonable swap for a second coffee or a glass of wine.
Foods and drinks that can make anxiety worse
Some items on the menu work against you.
Caffeine is the most common one. The FDA cites 400 mg a day (about four cups of brewed coffee) as an amount not generally linked to harmful effects in healthy adults, but people with panic disorder can react to much less. Energy drinks and pre-workout powders often contain more caffeine than the label makes obvious.
Alcohol calms the nervous system at first. As it wears off, the brain rebounds, and many people wake at 3 a.m. with a racing mind. This is sometimes called “hangxiety.”
Ultra-processed foods and drinks with added sugar cause the blood sugar swings described earlier and tend to crowd out the foods that help.

A sample day of eating for anxiety
This is a starting point you can adjust to your tastes, budget and any medical needs.
- Breakfast: Greek yogurt with berries, walnuts and a spoonful of pumpkin seeds
- Lunch: Lentil and spinach salad with olive oil and lemon, plus a slice of whole grain bread
- Snack: An apple and a handful of almonds
- Dinner: Baked salmon with brown rice and roasted broccoli
- Evening: A cup of chamomile tea
Eating at regular times matters as much as the menu. Going five or six hours without food is a common trigger for afternoon anxiety.
When diet is not enough
Food changes take weeks to show results, and they rarely resolve an anxiety disorder alone. See a psychiatrist if anxiety:
- Keeps you from sleeping, working or going to school
- Causes panic attacks
- Makes you avoid places or people you used to be fine with
- Has lasted more than a few weeks
- Comes with low mood or thoughts of self-harm
If you are having thoughts of suicide, call or text 988 to reach the Suicide and Crisis Lifeline.
How Open Minds Psychiatry uses nutritional psychiatry
At Open Minds Psychiatry, nutrition and wellness coaching are part of the clinical treatment plan from the first visit. Our board-certified team treats anxiety, ADHD, depression, PTSD and mood disorders in children, adolescents and adults.
For patients who need medication, we use pharmacogenetic testing to predict how your body will respond to specific drugs. That cuts down on the trial and error of finding the right prescription. Diet changes then work alongside the medication instead of competing with it.
Appointments are available in person at our Sacramento office and through our secure telehealth platform for patients in several states.

Frequently asked questions
No. Diet can lower symptoms and make other treatments work better, but anxiety disorders usually need therapy, medication, or both. Nutritional psychiatry adds food to that plan.
Most people notice steadier energy within a week or two of eating regular meals and cutting back on caffeine. Changes tied to gut bacteria and inflammation take longer. In the SMILES trial, researchers measured results at 12 weeks.
Start with food. Omega-3 and magnesium supplements are generally safe for healthy adults, but they can interact with some medications. Ask your psychiatrist or primary care doctor before you start one.
The Mediterranean diet has the most research behind it: vegetables, fruit, whole grains, legumes, nuts, olive oil and fish, with little processed food or added sugar.




