Intermittent Fasting and Anxiety: Helpful or Harmful?
Quick Answer: Intermittent fasting can temporarily worsen anxiety during the adaptation period (first 1–2 weeks) due to cortisol and blood sugar fluctuations. Long-term, fasting is associated with reduced anxiety for most people — through improvements in blood sugar stability, inflammation, and brain health markers. Whether it's right for you depends on your specific anxiety type and current stress context.
⚕️ Medical Disclaimer: This article is for informational purposes only. If you have a diagnosed anxiety disorder, discuss any significant dietary changes with your mental health care provider.
The Anxiety-Fasting Relationship: Two Phases
To understand how fasting affects anxiety, you need to separate the adaptation phase from the steady-state phase. These have opposite effects.
Adaptation Phase (Weeks 1–2)
When you first start intermittent fasting, several changes occur that can trigger anxiety symptoms:
Blood sugar fluctuations: Your body isn't yet metabolically flexible. It's accustomed to regular glucose delivery from meals. When blood glucose dips during an extended fasting window, the brain — which runs primarily on glucose — signals stress. This manifests as:
- Shakiness
- Heart palpitations
- Lightheadedness
- Heightened startle response
- Generalized worry or nervousness
These symptoms closely mimic anxiety and are often mistaken for an anxiety disorder worsening. They are primarily metabolic adaptation symptoms, not psychiatric pathology.
Cortisol elevation: As detailed in fasting and cortisol, cortisol rises during fasting windows, particularly in the morning. Cortisol itself can cause anxiety-like symptoms — heightened alertness, racing thoughts, tremor.
Electrolyte depletion: Low magnesium and sodium can both cause anxiety-like physical sensations. Electrolyte shifts are common in early fasting. See electrolytes and fasting.
Steady-State Phase (After Adaptation)
After 2–4 weeks, the picture often reverses:
- Blood sugar stability improves — the body learns to switch between glucose and fat oxidation, reducing glucose volatility
- Cortisol patterns normalize — the HPA axis adapts to the fasting schedule
- BDNF increases — brain-derived neurotrophic factor, elevated by fasting, has anxiolytic effects in multiple studies
- Inflammation decreases — systemic inflammation is a documented contributor to anxiety disorders; fasting reduces inflammatory markers
- Gut microbiome shifts — emerging research suggests fasting-related microbiome changes may positively influence the gut-brain axis and mood
A 2020 study in JAMA Network Open found that time-restricted eating (8-hour window) in adults with obesity was associated with significantly reduced mood disturbance scores, including anxiety, over 12 weeks.
Types of Anxiety and Fasting Compatibility
Not all anxiety is the same. How fasting interacts with your anxiety depends on the type:
Generalized Anxiety Disorder (GAD)
For most people with GAD, fasting is cautiously compatible after the adaptation period. The blood sugar stability and BDNF improvements may be genuinely beneficial. However, if hypoglycemic symptoms (low blood sugar feelings) are a significant anxiety trigger for you, the adaptation period may be particularly uncomfortable. Start with a 12-hour fast and extend gradually.
Panic Disorder
The physiological sensations of adaptation-phase fasting (racing heart, lightheadedness, shakiness) can closely mimic panic attack precursors and may trigger them in people who are sensitized to these sensations. If you have panic disorder, starting fasting during a stable, low-stress period and using gradual ramp-up is particularly important.
Social Anxiety
Not directly affected by fasting physiology. However, if your social anxiety intersects with food situations (eating in public, social meals), intermittent fasting adds another layer of dietary restriction that can increase social friction. Consider this in your protocol design.
Anxiety Associated With Blood Sugar Dysregulation
For people with reactive hypoglycemia or pre-diabetes, blood sugar swings are a major driver of anxiety. Intermittent fasting, once adapted, typically improves blood sugar stability and may significantly reduce anxiety that was blood-sugar-driven. See fasting and insulin.
Fasting and Anxiolytic Medications
If you take medications for anxiety (benzodiazepines, buspirone, SSRIs, SNRIs), the timing and food interaction considerations from fasting and antidepressants apply.
Key points:
- Benzodiazepines (Xanax, Valium, Clonazepam): can be taken with or without food. Fasting doesn't alter their mechanism.
- Buspirone: best taken at the same time relative to meals for consistent absorption. With food slightly increases bioavailability.
- SSRIs/SNRIs for anxiety: see the antidepressants article for full guidance.
Practical Signs That Fasting Is Helping Anxiety
After the adaptation period, look for:
- More stable mood and energy throughout the fasting window
- Reduced anxiety-driven eating (eating for stress relief rather than hunger)
- Better sleep (itself a major anxiety regulator)
- Reduced physical anxiety symptoms (palpitations, shakiness between meals)
Practical Signs That Fasting Is Worsening Anxiety
Beyond the initial 2 weeks, watch for:
- Persistent or worsening anxiety symptoms
- Anxiety specifically concentrated around mealtimes or food
- Compensatory behaviors around eating (rigidity, distress around eating)
- Sleep worsening rather than improving
- Physical anxiety symptoms that don't resolve as you adapt
If anxiety is persistently worsening beyond the 2-week adaptation period, the fasting protocol may not be right for you in your current context. Consider shortening the fasting window, addressing sleep, reducing other stressors, or pausing temporarily.
The Blood Sugar-Anxiety Connection
One of the most clinically underappreciated connections is between blood sugar variability and anxiety. People with frequent blood sugar swings — going from high to low after meals — often experience:
- Post-meal drowsiness followed by jitteriness as blood sugar drops
- "Needing to eat" urgently with associated anxiety
- Hypoglycemic-feeling states that trigger worry and physical symptoms
Intermittent fasting, after adaptation, substantially reduces blood sugar variability. When you're not eating frequently, you're not riding glucose rollercoasters. Many people with anxiety find that stable blood sugar is a major contributor to their improved mental state.
This is well-mechanized through the insulin pathway — see how fasting affects insulin and hormonal effects of fasting.
Scientific References
- Fond G, et al. "Fasting in mood disorders: neurobiology and effectiveness." Psychiatry Res. 2013;209(3):253–258.
- Mattson MP, et al. "Intermittent metabolic switching, neuroplasticity, and brain health." Nat Rev Neurosci. 2018;19(2):63–80.
- Mayer EA, Tillisch K, Gupta A. "Gut/brain axis and the microbiota." J Clin Invest. 2015;125(3):926–938.
- Lutter M, Nestler EJ. "Homeostatic and hedonic signals interact in the regulation of food intake." J Nutr. 2009;139(3):629–632.
FAQ
Can intermittent fasting cause anxiety? During the first 1–2 weeks, yes — adaptation-phase symptoms (blood sugar dips, cortisol elevation, electrolyte shifts) can cause anxiety-like sensations. After adaptation, most people experience reduced anxiety, not increased.
Why do I feel anxious during my fasting window? Likely causes: blood glucose dropping (your body isn't yet fat-adapted), cortisol rising for energy mobilization, or electrolyte depletion. These are common during the first week. Try extending your eating window slightly and ensuring electrolyte intake.
Is intermittent fasting safe for people with anxiety disorders? Cautiously yes — with a gradual start, attention to electrolytes, and willingness to shorten the fasting window if symptoms worsen. People with panic disorder should be particularly attentive to hypoglycemia-like symptoms triggering panic attacks during adaptation.
How long until fasting starts helping rather than hurting anxiety? Most people notice improvement after 2–4 weeks of consistent fasting, once blood sugar stability improves. If anxiety is still significantly worse after a month, consider whether fasting is the right approach for your current physiological and psychological context.