What Foods Help With Anxiety? Best and Worst Picks

Several foods can meaningfully influence anxiety levels by affecting stress hormones, brain chemistry, and inflammation. No single food is a cure, but consistent dietary patterns built around specific nutrients have real, measurable effects on how anxious you feel day to day.

How Food Affects Anxiety in the Brain

Your brain manufactures serotonin, its primary calming chemical, from an amino acid called tryptophan that comes entirely from food. But getting tryptophan into your brain isn’t as simple as eating protein. Tryptophan competes with other amino acids to cross from your bloodstream into brain tissue, and it usually loses that competition. What tips the balance in tryptophan’s favor is insulin, which pulls the competing amino acids into your muscles while leaving tryptophan behind. This is why carbohydrates, which trigger insulin release, play such an important role in mood regulation.

Food also influences your levels of cortisol (the stress hormone), inflammatory markers throughout the body, and the balance of bacteria in your gut, which communicates directly with your brain through the vagus nerve. All of these pathways connect what you eat to how anxious you feel.

Complex Carbohydrates for Steady Serotonin

When you eat carbohydrates, insulin rises and shuttles most amino acids out of your blood and into muscle tissue. Tryptophan, however, stays in circulation because it travels bound to a protein called albumin that shields it from insulin’s effects. With less competition, tryptophan crosses into the brain more easily, where it’s converted into serotonin.

The key is choosing complex, slow-digesting carbohydrates over simple sugars. Oats, sweet potatoes, quinoa, brown rice, and whole-grain bread release glucose gradually, producing a sustained serotonin boost without the blood sugar crash that can actually worsen anxiety. Refined sugars and white bread cause a rapid spike and drop in blood sugar, which triggers a stress hormone response that mimics anxiety symptoms: racing heart, jitteriness, irritability.

Fatty Fish and Omega-3s

Omega-3 fatty acids, especially EPA, are among the most studied nutrients for anxiety. One clinical trial found significant reductions in anxiety severity with a daily dose of 2.1 grams of EPA, where EPA made up about 86% of the total omega-3 content. This matters because many fish oil supplements contain more DHA than EPA. If you’re choosing a supplement or planning meals with anxiety in mind, prioritize EPA-dominant sources.

In whole food terms, that means salmon, mackerel, sardines, anchovies, and herring. Two to three servings per week provides a solid baseline. These fish are also rich in vitamin D, which has its own relationship with anxiety (more on that below). Plant sources like walnuts and flaxseed contain a different form of omega-3 that your body converts to EPA inefficiently, so they’re helpful but not equivalent.

Vitamin D-Rich Foods

Low vitamin D is consistently linked to higher anxiety. A study published in Psychiatry Investigation found that people with deficient vitamin D levels (below 10 ng/mL) had significantly higher rates of clinical anxiety compared to those with sufficient levels (20 ng/mL or above). Even people in the insufficient range (10 to 20 ng/mL) had elevated anxiety risk. The relationship was linear: the lower the vitamin D, the higher the anxiety.

Few foods are naturally high in vitamin D, which is part of why deficiency is so common. Your best dietary sources are fatty fish (again), egg yolks, fortified milk or plant milks, and mushrooms that have been exposed to UV light. If you live in a northern climate, have darker skin, or spend most of your time indoors, food alone may not be enough. A blood test can tell you where you stand.

Dark Chocolate

Dark chocolate has a genuine effect on stress hormones, not just a comfort-food placebo effect. In a two-week study, participants who ate about 1.4 ounces (40 grams) of dark chocolate daily had measurably lower cortisol and catecholamines, both stress-related hormones, in their blood and urine by the end of the study. That’s roughly one and a half small squares from a standard bar.

The benefit comes from polyphenols in cocoa, so the darker the chocolate, the better. Look for bars with 70% cocoa or higher. Milk chocolate contains far less cocoa and far more sugar, which can work against you. Treat dark chocolate as a small daily addition, not a large indulgence.

Fermented Foods and Gut Health

Your gut produces roughly 90% of your body’s serotonin, and the bacteria living in your digestive tract play a direct role in that production. Fermented foods like yogurt, kefir, sauerkraut, kimchi, miso, and kombucha introduce beneficial bacteria that support this process. They also reduce inflammation in the gut lining, which can send stress signals to the brain through the vagus nerve.

A large study at the University of Virginia found that people who regularly consumed fermented foods reported fewer symptoms of social anxiety. The effect was strongest in people who were already prone to worry or nervousness. You don’t need to eat all of these foods. Even adding one serving of yogurt or a forkful of sauerkraut daily is a reasonable starting point.

Magnesium-Rich Foods

Magnesium helps regulate the body’s stress response system, and most people don’t get enough of it. When magnesium is low, your nervous system becomes more excitable, which can show up as muscle tension, difficulty sleeping, and heightened anxiety. Foods high in magnesium include spinach, pumpkin seeds, almonds, cashews, black beans, avocado, and dark chocolate (which pulls double duty here).

Pumpkin seeds are one of the most concentrated food sources, with about 150 mg of magnesium per ounce. The recommended daily intake is around 310 to 420 mg depending on age and sex. Chronic stress actually depletes magnesium faster, creating a cycle where anxiety burns through the nutrient your body needs to manage it.

Foods and Drinks That Can Worsen Anxiety

What you remove from your diet matters as much as what you add. Caffeine is the most obvious trigger. It blocks a calming brain chemical called adenosine and stimulates adrenaline release, which can feel indistinguishable from anxiety in sensitive people. The Mayo Clinic notes that even small amounts of caffeine can cause restlessness and nervousness in people who are sensitive to it. If you notice anxiety worsening after coffee, tea, or energy drinks, try cutting back gradually rather than quitting abruptly, which can cause withdrawal headaches.

Alcohol is deceptive. It calms you initially by boosting a sedative brain chemical, but as your body metabolizes it, it triggers a rebound excitatory response. This is why many people wake up at 3 a.m. with a racing mind after drinking. Over time, regular alcohol use can rewire your brain’s stress circuits to be more reactive even when you’re sober.

Highly processed foods, especially those high in added sugars and refined oils, promote systemic inflammation that has been linked to increased anxiety and depression. Ultra-processed diets also tend to displace the whole foods your brain needs to produce calming neurotransmitters.

The Overall Pattern Matters Most

Individual foods help, but your overall eating pattern has a larger effect than any single ingredient. Research consistently shows that people who follow a Mediterranean-style diet, built around vegetables, fruits, whole grains, legumes, nuts, olive oil, and fish, report lower rates of anxiety than those eating a typical Western diet high in processed food, sugar, and red meat.

This likely works through multiple pathways at once: better serotonin production from adequate tryptophan and carbohydrates, lower inflammation from omega-3s and polyphenols, healthier gut bacteria from fiber and fermented foods, and stable blood sugar from complex carbohydrates. No supplement or superfood replicates what a consistently nutrient-dense diet does over weeks and months.

If overhauling your entire diet feels overwhelming, start with two or three changes: swap refined grains for whole grains, add a serving of fatty fish twice a week, and include one fermented food daily. Small, consistent shifts in your eating tend to produce noticeable changes in anxiety within a few weeks.