How Intermittent Fasting Triggers or Reduces Anxiety

Intermittent fasting can both soothe and aggravate anxiety, depending on the person, the fasting protocol, and where they are in the process. A systematic review with meta-analysis found that intermittent fasting did not significantly worsen anxiety across pooled studies, while one controlled human trial reported a meaningful drop in anxiety scores over about seven weeks of fasting. The picture is genuinely split, and the biological reasons for that split are more interesting than a simple thumbs-up or thumbs-down.

What the Human Evidence Shows So Far

The best snapshot of the overall research comes from a meta-analysis published in Critical Reviews in Food Science and Nutrition, which pooled five studies looking at intermittent fasting and anxiety. The combined result was essentially a wash: no statistically significant change in anxiety scores, with very little variation between studies. The same analysis did find that fasting reduced depression scores, which makes the non-result for anxiety stand out. The researchers concluded that intermittent fasting “did not modify anxiety or mood” in the general population.1Critical Reviews in Food Science and Nutrition. Does intermittent fasting impact mental disorders? A systematic review with meta-analysis

Against that backdrop, a more recent trial in healthy adults told a different story. Participants who followed an intermittent fasting protocol saw their standardized anxiety scores drop from about 32 at baseline to roughly 29 by day 50, a statistically significant decrease. Interestingly, the same group showed no meaningful change in depression scores, which is almost the mirror image of the meta-analysis finding. The study also used brain imaging and found shifts in how the amygdala, the brain’s threat-processing hub, communicated with other regions.2PubMed Central. Effects of Intermittent Fasting on Anxiety and the Functional Connectivity of the Amygdala in Healthy Adults

How do you reconcile these results? Partly it comes down to the type of fasting studied, the populations involved, and how long people stuck with it. The meta-analysis lumped together different intermittent fasting methods, different study durations, and different populations. A single well-controlled trial with a consistent protocol and longer follow-up can pick up signals that a meta-analysis of mixed designs might wash out. Neither result is wrong; they are answering slightly different questions.

The First Few Days Are the Rough Part

If you have tried intermittent fasting and felt jittery or irritable in the first couple of days, the research backs you up. A crossover study comparing two fasting protocols in women found that alternate-day fasting produced a significant jump in total mood disturbance on the first fasting day, with a large effect size. Importantly, the effect vanished by the second fasting day. Time-restricted feeding, the pattern where you eat within a daily window rather than skipping entire days, did not produce the same spike in mood disturbance.3PLoS One. Comparison of acute intermittent fasting interventions on mood, hunger, sleep quality, and diet satisfaction in females: A crossover experimental design

This matters practically because people often abandon fasting after the first bad day, concluding that it “causes anxiety.” The data suggest the early mood hit is temporary and protocol-dependent. Alternate-day fasting, where you go a full day with very little food, hits harder emotionally than an eating window approach where you simply skip breakfast and eat between noon and 8 p.m. If anxiety is a concern, starting with a gentler time-restricted pattern rather than diving into full-day fasts is a reasonable strategy.

Why Fasting Might Reduce Anxiety Over Time

Most of the mechanistic evidence comes from animal research, so it should be read with appropriate caution. That said, the biological pathways are plausible and consistent across multiple independent studies.

One of the clearest findings involves the stress hormone system. When animals are exposed to chronic stress, their corticosterone levels (the rodent equivalent of cortisol) stay elevated. An intermittent fasting intervention significantly lowered that elevated corticosterone, and it did so more effectively than fluoxetine, a standard antidepressant, which only showed a non-significant trend toward reduction. The researchers linked this to restored balance between two types of receptors that regulate how the brain responds to stress hormones.4PubMed Central. Intermittent Fasting Exerts Antidepressant‐Like Effects by Restoring HPA Axis Homeostasis Through Coordinated GR – MR Signaling

Inflammation in the brain is another thread. A study using alternate-day fasting in offspring exposed to an unhealthy maternal diet found that fasting improved social behavior and shifted immune cells in the hippocampus toward a less inflammatory profile. The fasting also raised levels of beta-hydroxybutyrate, a ketone body that has its own signaling roles in the brain.5PubMed. Intermittent Fasting Improves Social Interaction and Decreases Inflammatory Markers in Cortex and Hippocampus

The gut appears to play a role too. A review of the gut-brain axis literature found that intermittent fasting rebalances the ratio of major bacterial groups in the gut that have been linked to anxiety and depression. The downstream effects include increased production of short-chain fatty acids and tryptophan-derived compounds that support serotonin production.6PubMed Central. Effects of intermittent fasting on brain health via the gut-brain axis

Ketosis itself may also shift the brain’s neurotransmitter balance. When the body produces ketone bodies during fasting, this appears to stimulate an enzyme that converts the excitatory neurotransmitter glutamate into GABA, the brain’s main calming chemical. If you have ever noticed feeling unusually calm during an extended fast, this shift toward inhibitory signaling could be part of the explanation.7Journal of Education, Health and Sport. The therapeutic potential of the ketogenic diet in selected neurodegenerative diseases and psychiatric disorders

There is also evidence that fasting protects against the kind of cellular damage in the brain that accumulates under chronic high-fat diets. A study in rats showed that intermittent fasting preserved cognitive function and reduced oxidative stress and inflammation in the brain, partly by maintaining healthy autophagy, the cell’s internal cleanup process.8Scientific Reports. Regulatory impact of intermittent fasting on autophagy in high fat diet induced structural and cognitive brain deteriorations in rats

One wrinkle worth noting: a commonly cited explanation is that fasting reduces anxiety by boosting BDNF, a protein associated with brain plasticity and resilience. However, a study that specifically tested this found that while intermittent fasting did produce anxiety-reducing effects, it did so without any changes in BDNF levels or synaptic energy markers. The anti-anxiety effect was real, but the popular BDNF explanation did not hold up in that experiment.9PubMed. Intermittent fasting promotes anxiolytic-like effects unrelated to synaptic mitochondrial function and BDNF support

Why Fasting Can Trigger Anxiety in the Short Term

The mechanisms that eventually calm the brain down are not the only ones at play. In the early hours and days of fasting, the body mounts a genuine stress response. Blood sugar drops, cortisol rises, and adrenaline increases to mobilize stored energy. For someone already prone to anxiety, these are the exact physiological signals that feel like a panic attack: racing heart, shakiness, difficulty concentrating, a sense of dread.

Blood sugar is a particularly direct link. When glucose drops below comfortable levels, the body releases stress hormones to compensate. A clinical case report documented a teenage girl whose generalized anxiety disorder symptoms were closely tied to blood sugar swings driven by a diet heavy in refined carbohydrates. When she switched to meals with more protein, fat, and fiber, her anxiety dropped substantially. When she briefly returned to her old eating pattern, the anxiety came back.10PubMed Central. Generalized Anxiety Disorder and Hypoglycemia Symptoms Improved with Diet Modification

The parallel to fasting is straightforward: if your eating window ends and your last meal was mostly carbohydrates, you are more likely to experience a steep blood sugar drop that your body interprets as an emergency. The anxiety you feel during a fast may have less to do with fasting itself and more to do with what you ate before the fast started. This is one of those practical details that rarely shows up in the research summaries but makes a genuine difference. Ending your eating window with a balanced meal that includes protein and healthy fats can blunt the blood sugar crash that triggers anxiety-like symptoms hours later.

Micronutrient depletion can compound the problem over time. Magnesium, for example, is both depleted by stress and required for the body to manage stress effectively. A review on magnesium deficiency found that stress of any kind, whether physical or emotional, including anxiety itself, increases the body’s demand for magnesium.11Journal of the American College of Nutrition. Consequences of magnesium deficiency on the enhancement of stress reactions; preventive and therapeutic implications (a review) If a person’s fasting pattern leads them to eat less food overall without paying attention to nutrient density, they can end up in a cycle where fasting creates low-grade stress, the stress burns through magnesium stores, and the resulting deficiency makes them more reactive to the next stressor.

Sex Differences That Complicate the Picture

One of the more underappreciated aspects of this topic is that fasting appears to affect male and female brains differently. A study examining offspring of mothers who fasted during lactation found that the intermittent fasting pattern reduced anxiety-like behavior in male offspring but not in females. The same study found that caloric restriction, by contrast, increased anxiety in both sexes.12PubMed. Caloric Restriction or Intermittent Fasting During Lactation Have Different Impacts on Anxiety-Like Behaviours and Amygdala Redox Status of Adolescent Male and Female Wistar Rats

Separate research looking at long-term intermittent fasting in adult mice found that the amygdala was a key site where fasting changed the structure and protein expression of astrocytes, the support cells that help regulate how neurons fire. These changes varied by both brain region and sex, suggesting that the same fasting protocol can reshape anxiety-relevant brain circuits in fundamentally different ways depending on biological sex.13PubMed. Long-term intermittent fasting induces region- and sex-specific changes in astrocyte morphology and expression and anxiety-like behaviors in CD-1 mice

These are animal studies, so translating them directly to humans is premature. But they point to something worth watching: the popular framing of intermittent fasting as equally beneficial for everyone may not hold up as the science matures. Women who find that fasting makes them more anxious rather than less are not necessarily doing it wrong. Their neurobiology may be responding differently to the metabolic challenge.

Disordered Eating and the Anxiety Feedback Loop

For people with a history of disordered eating or clinical eating disorders, intermittent fasting carries risks that go beyond the usual metabolic adjustment. A commentary in the Journal of Eating Disorders urged clinicians to consider the potential for intermittent fasting to trigger or worsen disordered eating patterns, arguing that the structured restriction inherent in fasting protocols can provide cover for restrictive behaviors.14PubMed Central. Intermittent fasting: consider the risks of disordered eating for your patient

The anxiety connection here is circular. Restricting food can give a person a sense of control that temporarily reduces anxiety, which reinforces the restriction. But the physiological stress of undereating eventually amplifies anxiety, which drives more need for control, which drives more restriction. If you find that your relationship with fasting has taken on a rigid, rule-bound quality, or that breaking your fast even slightly early produces significant guilt or distress, that pattern is worth paying attention to. The line between disciplined eating and disordered eating is thinner than most fasting advocates acknowledge.

Caffeine, Sleep, and Other Confounders

A frustrating reality about studying fasting and anxiety is that people rarely change only one thing at a time. Someone who starts intermittent fasting often shifts their caffeine intake as well, drinking more coffee in the morning to suppress hunger during the fasting window. Caffeine is a potent anxiogenic, meaning it can produce anxiety symptoms on its own. And caffeine withdrawal, even from moderate intake, can cause headaches, fatigue, and anxiety.15Drugs. Pharmacological rationale for the clinical use of caffeine If someone starts fasting on a Monday, cuts their usual afternoon coffee because it falls outside their eating window, and feels anxious on Tuesday, it may be caffeine withdrawal rather than fasting itself causing the problem.

Sleep is another variable that gets tangled up with fasting. Hunger can delay sleep onset, and poor sleep is one of the most reliable triggers for next-day anxiety. If your fasting schedule means you are going to bed hungry and sleeping poorly, the anxiety you feel the next morning may be a sleep problem disguised as a fasting problem. Adjusting the timing of your eating window so your last meal is not too far from bedtime can make a meaningful difference.

The broader point is that “intermittent fasting gave me anxiety” or “intermittent fasting cured my anxiety” are both stories that could have multiple explanations. The metabolic effects of fasting are real, but they exist inside a web of behavioral changes, dietary shifts, sleep alterations, and psychological factors that move at the same time.

Choosing a Protocol When Anxiety Is a Concern

Not all fasting schedules are created equal when it comes to anxiety risk. The crossover study comparing alternate-day fasting and time-restricted feeding found that the full-day fast produced a sharp, large mood disturbance that the eating-window approach did not.16PLoS One. Comparison of acute intermittent fasting interventions on mood, hunger, sleep quality, and diet satisfaction in females: A crossover experimental design If you are anxiety-prone, a few practical decisions can tilt the odds in your favor:

  • Start gentle: A 14:10 or 16:8 eating window is less metabolically jarring than skipping an entire day of eating. You can always tighten the window later once your body adapts.
  • Watch what ends your eating window: A meal heavy in refined carbohydrates sets up a steeper blood sugar drop overnight. Protein, fat, and fiber at your last meal help stabilize glucose through the fast.
  • Keep caffeine steady: If you normally drink coffee in the afternoon and your new eating window cuts that out, taper the caffeine separately rather than dropping it abruptly alongside a new fasting schedule.
  • Pay attention to nutrient density: Eating fewer meals means each meal carries more nutritional weight. Magnesium-rich foods like dark leafy greens, nuts, and seeds are especially worth prioritizing given the connection between magnesium depletion and stress reactivity.
  • Track anxiety separately from hunger: Hunger pangs are uncomfortable but normal. True anxiety symptoms, like a racing heart, catastrophic thinking, or a sense of dread, are a signal worth taking seriously. If those persist past the first week, the protocol may not be right for you.

When the Amygdala Rewires

One of the more intriguing findings from the human trial that reported reduced anxiety is what happened in the brain alongside the mood improvement. The researchers used functional brain imaging and found that intermittent fasting changed how the amygdala connected with other brain regions, specifically the prefrontal cortex and the insula, areas involved in emotional regulation and body awareness.17PubMed Central. Effects of Intermittent Fasting on Anxiety and the Functional Connectivity of the Amygdala in Healthy Adults This resonates with the animal data showing that the amygdala is a primary site where fasting reshapes the support cells surrounding neurons.18PubMed. Long-term intermittent fasting induces region- and sex-specific changes in astrocyte morphology and expression and anxiety-like behaviors in CD-1 mice

The amygdala is often described as the brain’s alarm system, but that understates its role. It does not just detect threats; it integrates signals from the body, including metabolic signals like blood sugar levels and ketone availability, with contextual information from the cortex to decide how alarmed you should feel. Fasting changes the metabolic inputs the amygdala receives, and over weeks, the circuits that process those inputs appear to physically reorganize. The early-stage anxiety many people report during fasting may reflect a transitional period where the amygdala is receiving unfamiliar metabolic signals but has not yet adapted its wiring. Once it does, the same metabolic state that initially felt threatening becomes the new normal, and for some people, the recalibrated circuits may actually be less reactive than they were before fasting began.