Several categories of food can meaningfully influence anxiety levels by supplying nutrients your brain needs to regulate mood, manage inflammation, and produce calming neurotransmitters. No single food is a cure for an anxiety disorder, but dietary patterns rich in omega-3 fats, magnesium, tryptophan, probiotics, and selenium are consistently linked to lower anxiety symptoms. Here’s what to eat, why it works, and how much actually matters.
Omega-3 Rich Fish and Seeds
Fatty fish like salmon, mackerel, sardines, and anchovies are among the most studied foods for mental health. The omega-3 fatty acids they contain work through several pathways in the brain: they reduce neuroinflammation by competing with compounds that produce inflammatory molecules, they support the flexibility of brain cell membranes, and they help regulate neurotransmitter systems involved in mood. Omega-3 deficiency is associated with both depression and anxiety disorders.
If you don’t eat fish, plant sources like walnuts, flaxseeds, chia seeds, and hemp seeds provide a shorter-chain form of omega-3 that your body partially converts. The conversion rate is low, so you’d need to eat these more consistently to get a comparable effect. Two to three servings of fatty fish per week is a practical target that most nutrition guidelines support.
Tryptophan Foods and Serotonin
Your brain makes serotonin, its primary mood-stabilizing chemical, from an amino acid called tryptophan. Humans can’t produce tryptophan on their own, so it has to come from food. When tryptophan levels drop, serotonin production falls with it, and low serotonin is directly linked to increased anxiety and stress reactivity.
Foods rich in tryptophan include eggs, bananas, milk, almonds, dark chocolate, honey, and various seeds and grains. Turkey is another well-known source. The key is pairing these foods with some carbohydrate, which helps tryptophan cross into the brain more efficiently. A handful of almonds with a banana, or eggs on whole-grain toast, gives your brain the raw material it needs.
Fermented Foods and Gut Health
Your gut produces a surprising amount of your body’s serotonin, and the bacteria living in your digestive tract communicate directly with your brain through what researchers call the gut-brain axis. Multiple clinical trials have tested specific probiotic strains for anxiety, and the results are encouraging. Combinations of Lactobacillus and Bifidobacterium species have shown the most consistent benefits, reducing anxiety-like behavior in both animal studies and human trials.
One well-studied combination, Lactobacillus helveticus R0052 and Bifidobacterium longum R0175, significantly reduced anxiety-like behavior in research subjects and produced measurable psychological benefits in humans. A multi-strain trial using seven different probiotic species, including L. acidophilus, L. rhamnosus, and B. longum, found broad mental health improvements.
You don’t necessarily need a supplement to get these strains. Yogurt with live active cultures, kefir, sauerkraut, kimchi, miso, and kombucha all contain beneficial bacteria. Eating fermented foods regularly, rather than occasionally, is what builds and maintains the gut populations that influence your mood.
Magnesium-Rich Foods
Magnesium plays a role in hundreds of processes in the body, including nerve function and stress hormone regulation. While research hasn’t definitively proven magnesium supplements treat anxiety in controlled human studies, the mineral is consistently associated with relaxation, better sleep, and improved mood. Most adults need between 310 and 420 milligrams daily, depending on age and sex.
Dark leafy greens like spinach and Swiss chard are excellent sources, along with pumpkin seeds, black beans, avocado, and dark chocolate (another reason it keeps appearing on mood-boosting food lists). Magnesium deficiency is surprisingly common, partly because stress itself depletes magnesium stores, creating a cycle where anxiety worsens the very deficiency contributing to it. Getting enough through food is preferable to supplements because whole foods deliver magnesium alongside other nutrients that aid its absorption.
Brazil Nuts for Selenium
Selenium is a trace mineral with antioxidant properties that protect brain cells from oxidative damage. Brazil nuts are the richest known food source of selenium by a wide margin. A single Brazil nut contains roughly 240 micrograms, which is more than four times the recommended daily intake of 55 micrograms. That means eating just one or two Brazil nuts a day covers your selenium needs entirely.
This is one case where more is not better. Because Brazil nuts are so concentrated, eating a large handful daily could push you toward excess selenium intake over time. Stick to one to three nuts per day. Other selenium sources include tuna, shrimp, eggs, and sunflower seeds, though none come close to the concentration in Brazil nuts.
Complex Carbs and Blood Sugar Stability
The link between blood sugar and anxiety is more direct than most people realize. A diet heavy in refined carbohydrates and added sugars can cause a rapid blood sugar spike followed by an exaggerated insulin response, dropping blood sugar below normal levels. That dip, called reactive hypoglycemia, triggers symptoms that closely mirror anxiety: nervousness, irritability, racing thoughts, and worry. For someone already prone to anxiety, these blood sugar swings can make episodes feel more frequent and harder to distinguish from psychological triggers.
Swapping refined carbs for complex ones stabilizes this cycle. Oats, sweet potatoes, quinoa, brown rice, lentils, and whole-grain bread release glucose slowly, keeping blood sugar steady for hours instead of spiking and crashing. Pairing carbohydrates with protein or fat at every meal slows digestion further. If you notice that your anxiety tends to peak an hour or two after eating, or worsens when you skip meals, blood sugar instability is worth investigating as a contributor.
Foods and Drinks That Can Worsen Anxiety
What you remove from your diet can matter as much as what you add. Caffeine is the most obvious culprit. It triggers the same fight-or-flight stress response that anxiety does, raising heart rate and blood pressure and increasing restlessness. If you already have anxiety, caffeine won’t necessarily create new anxious thoughts, but it amplifies existing physical symptoms and makes them feel more intense. This is especially true above two or three cups of coffee per day, though sensitivity varies widely between people.
Alcohol is another common trap. Many people use it to calm anxiety in the short term, but as the body metabolizes alcohol, it produces a rebound effect that increases anxiety hours later, often the next morning. Sugary drinks and highly processed snacks contribute to the blood sugar instability described above. Reducing these while increasing the nutrient-dense foods on this list creates a compounding effect, calming the nervous system from multiple directions at once.
Putting It All Together
The most effective dietary approach to anxiety isn’t about any single superfood. It’s about a consistent pattern: regular meals built around whole foods, plenty of vegetables, adequate protein, healthy fats, and fermented foods. Mediterranean-style eating, which emphasizes fish, olive oil, nuts, legumes, and produce, naturally covers nearly every nutrient linked to lower anxiety. You don’t need to overhaul your diet overnight. Adding one or two servings of fatty fish per week, snacking on nuts instead of processed foods, and including a fermented food daily are three changes that cover a lot of ground with minimal effort.

