Most of us understand that food fuels our bodies, but fewer realise just how profoundly what we eat shapes our mental wellbeing. For many people, anxiety caused by food is a real and significant issue, with certain dietary choices directly triggering or worsening symptoms of nervousness, restlessness, and panic. The emerging field of nutritional psychiatry is revealing that our plates hold more power over our minds than we ever imagined. At Abbey Wood Hospital, our dietitian services work alongside our clinical team to help patients understand and address the complex relationship between nutrition and mental health.
In This Article
Research increasingly demonstrates the powerful link between what we consume and how we feel. According to guidance from NHS Every Mind Matters, making positive changes to your diet can have a meaningful impact on your mental wellbeing. Understanding which foods help and which may harm your mental state empowers you to take practical steps towards calmer, more balanced days.
The Gut-Brain Connection Explained
To understand how anxiety can be caused by food, we need to explore the remarkable connection between your gut and your brain. Often called the gut-brain axis, this bidirectional communication system means that what happens in your digestive tract directly influences your mental state, and vice versa.
Perhaps the most striking fact is that approximately 95% of your body’s serotonin, often called the happiness chemical, is produced in your gut rather than your brain. Serotonin plays a crucial role in regulating mood, sleep, and anxiety levels. When your gut health suffers, so does your serotonin production, potentially contributing to increased anxiety and low mood.
Your gut contains trillions of bacteria, collectively known as the microbiome, which influence everything from digestion to immune function to mental health. An imbalanced microbiome has been linked to higher rates of anxiety and depression, whilst a diverse, healthy gut flora appears to have protective effects against mental health conditions.
Foods That Can Trigger Anxiety
Certain foods and dietary patterns are more likely to provoke or worsen anxiety symptoms. Understanding these triggers can help you make informed choices about what you consume.
Caffeine
That morning coffee might feel essential, but caffeine is a powerful stimulant that directly affects your nervous system. It increases heart rate, elevates blood pressure, and triggers the release of stress hormones like cortisol and adrenaline. For anxiety-prone individuals, even moderate amounts can mimic or intensify anxiety symptoms, including jitteriness, racing thoughts, and difficulty sleeping. Consider reducing intake gradually if you notice a connection between caffeine and your anxiety levels.
Ultra-Processed Foods
Research on university students suggests that consuming more than 40% of daily energy from ultra-processed foods is associated with moderate-to-high mental distress. When intake exceeds 51%, studies show a measurable decrease in mental quality of life. Ultra-processed foods typically contain high levels of refined sugars, unhealthy fats, artificial additives, and preservatives whilst lacking the nutrients your brain needs to function optimally.
Refined Sugars and High-GI Foods
Foods with a high glycaemic index, such as white bread, sugary cereals, and sweets, cause rapid spikes and crashes in blood sugar. These fluctuations can trigger symptoms that feel remarkably similar to anxiety, including shakiness, irritability, and a racing heart. Research has linked high-GI diets to the development of Generalised Anxiety Disorder (GAD), with clinical case studies showing that modifying diet to include more protein, fat, and fibre can substantially decrease anxiety symptoms within weeks.
Alcohol
Whilst alcohol may initially feel calming, it disrupts sleep quality, depletes B vitamins, and can cause rebound anxiety as it leaves your system. Regular consumption can worsen anxiety over time and interfere with the effectiveness of anxiety treatments.
Foods That Help Reduce Anxiety
Just as some foods can trigger anxiety, others have calming, mood-stabilising properties. Incorporating these into your regular diet can support better mental health.
Omega-3 Rich Foods
Your brain is approximately 60% fat by dry weight, and it cannot produce omega-3 fatty acids internally, meaning these essential fats must come from your diet. Research indicates that individuals who consume fish frequently may experience up to a 50% reduction in anxiety and a 70% reduction in depression compared to those with lower intake. Good sources include oily fish such as salmon, mackerel, and sardines, as well as flaxseeds, chia seeds, and walnuts.
Fermented Foods
Foods like kefir, kimchi, sauerkraut, and live yoghurt contain beneficial bacteria that support gut health. Studies suggest fermented foods may have a protective effect against social anxiety, particularly for those with higher levels of neuroticism. By nurturing your gut microbiome, you support the gut-brain axis and serotonin production.
Complex Carbohydrates
Unlike refined carbohydrates, complex carbs from whole grains, vegetables, and legumes provide steady, sustained energy that helps stabilise mood. They also support the production of serotonin in the brain, promoting feelings of calm and wellbeing.
Magnesium-Rich Foods
Magnesium plays a role in regulating the stress response and supporting healthy nervous system function. Good sources include dark leafy greens, nuts, seeds, and dark chocolate. Many people in the UK do not consume adequate magnesium, which may contribute to heightened stress and anxiety.
Blood Sugar and Mood Stability
The connection between blood sugar and anxiety caused by food is often underestimated. When you skip meals or eat irregularly, your blood sugar can drop too low, triggering your body’s stress response. This can cause symptoms including irritability, shakiness, difficulty concentrating, and feelings of anxiety or panic.
Building balanced meals that combine protein, healthy fats, and fibre-rich carbohydrates helps maintain steady blood sugar levels throughout the day. Eating at regular intervals rather than grazing or going long periods without food also supports more stable moods. If you frequently experience anxiety symptoms between meals or after eating sugary foods, blood sugar fluctuations may be contributing.
Nutrient Deficiencies Linked to Anxiety
Certain nutrient deficiencies can directly contribute to anxiety and other psychiatric symptoms. According to NHS guidance on vitamin B12 deficiency, this essential nutrient is crucial for healthy nerve function and brain communication.
Vitamin B12 deficiency impairs the production of myelin, the protective coating that helps nerve signals travel quickly through the brain. Research suggests that up to 40% of people with B12 deficiency experience psychiatric symptoms, including panic disorders and anxiety. Symptoms often begin when serum levels fall below 400 picograms per millilitre. Those following vegetarian or vegan diets, older adults, and people with digestive conditions affecting absorption are at higher risk of deficiency.
If you suspect nutritional deficiencies may be contributing to your anxiety, our GP services can arrange blood tests to check your levels and advise on appropriate supplementation or dietary changes.
The Mediterranean Diet and Mental Health
Rather than focusing on individual foods or supplements, research increasingly points to overall dietary patterns as the key to mental wellbeing. The Mediterranean diet, rich in vegetables, fruits, legumes, nuts, whole grains, olive oil, and fish, has emerged as particularly beneficial for mental health.
The landmark SMILEs trial produced remarkable results: one-third of participants with major depression who adopted a Mediterranean-style diet achieved full remission after only three months, compared to just 8% in the control group. This dietary pattern provides a synergy of nutrients including magnesium, B vitamins, omega-3 fatty acids, and antioxidants that collectively support brain health and mood regulation.
According to the British Dietetic Association’s guidance on food and mood, focusing on whole foods and balanced nutrition is more effective than relying on individual supplements. Think of your brain as a high-performance engine: providing premium fuel in the form of nutrient-dense whole foods ensures the machinery remains smooth, responsive, and resilient under daily stress.
Frequently Asked Questions
Can food really cause anxiety attacks?
Yes, certain foods can trigger or worsen anxiety symptoms. Caffeine, refined sugars, and alcohol are common culprits. Blood sugar crashes from skipping meals or eating high-GI foods can also provoke anxiety-like symptoms. However, food is rarely the sole cause of clinical anxiety disorders, which typically require professional treatment.
How quickly can dietary changes improve anxiety?
Some people notice improvements within days of reducing caffeine or stabilising blood sugar. However, more significant changes, such as adopting a Mediterranean-style diet, typically show meaningful results over several weeks to months. Consistency is key.
Should I take supplements for anxiety?
Whilst certain supplements like omega-3s and magnesium may help, it is best to focus on obtaining nutrients from whole foods where possible. If you suspect a deficiency, speak to your GP for testing before starting supplementation. Some supplements can interact with medications or may not be appropriate for everyone.
Can focusing too much on healthy eating become a problem?
Yes. Excessive preoccupation with eating only healthy foods, known as orthorexia nervosa, can lead to social isolation, nutritional imbalances, and paradoxically worsen health anxiety. Balance and flexibility in your approach to eating are important for both physical and mental wellbeing.
When to Seek Professional Support
Whilst dietary changes can be a powerful tool for managing mild anxiety, food alone cannot cure clinical anxiety disorders. If you experience persistent anxiety that interferes with daily life, panic attacks, or symptoms that do not improve with lifestyle changes, professional support is important.
Our team at Abbey Wood Hospital can help you explore the role nutrition may be playing in your mental health. Our registered dietitians provide personalised nutritional assessments and guidance, whilst our consultant psychiatrists can assess and treat underlying anxiety disorders. For digestive symptoms that may be affecting your gut-brain axis, our gastroenterology specialists offer comprehensive evaluation.
To discuss how diet may be affecting your mental health, or to book an appointment with our dietitian or mental health team, call 020 8358 7100 or book an appointment online. Abbey Wood Hospital, Page Street, Mill Hill, London NW7 2ED.
Please note: This article provides general health information and is not a substitute for professional medical advice. If you are experiencing severe anxiety, panic attacks, or thoughts of self-harm, please contact your GP, call NHS 111, or visit your nearest A&E department.