Can fasting make your brain sharper?
Most people know intermittent fasting as a way to lose weight or get a grip on metabolism. But in animal studies, the research points to something more: fasting seems to be able to affect the brain's own ability to adapt, learn and repair itself. That ability is called neuroplasticity.
Neuroplasticity is the brain's ability to form new connections, strengthen old ones and adapt throughout life. It is the foundation for learning, remembering and keeping a clear head. The question is whether fasting can strengthen that ability in humans, and there the answer is still uncertain.
In short: In animal studies, fasting raises levels of BDNF, a substance that works like fertilizer for brain cells, and the animals do better on tests of memory and learning. In humans the results are mixed: BDNF rose in only 5 of 16 studies, and during a short fast people do as well on tests of thinking as when they have eaten. This article explains what researchers think happens in the brain during a fast. If you are pregnant or under 18, have bipolar disorder, or take lithium or diabetes medication, fast only after talking it through with your doctor or psychiatrist.
What does the research say?
In a review in the journal Frontiers in Neuroendocrinology (2022), Seidler and Barrow went through 82 peer-reviewed studies of the link between intermittent fasting and brain function, with a special focus on BDNF.
BDNF helps new brain cells grow, strengthens the connections between cells and protects the cells that are already there. A low level of BDNF is linked to depression, Alzheimer's, age-related memory loss and other diseases of the brain.
Results from animal studies
Seidler and Barrow found that in animal studies, fasting consistently raised BDNF and improved the animals' results in tests of memory and learning.
The improvements went hand in hand with more brain cells surviving in the hippocampus, the part of the brain central to memory and learning, and with the connections between cells getting stronger depending on how much they were used. A bit like a path through a forest that becomes clearer the more often you walk it.
Two more recent studies in mice point to mechanisms behind it. In 2020, Baik and colleagues found in the journal Brain and Behavior that the Notch signaling pathway, which controls when cells divide and survive, was more active in the hippocampus after three months of intermittent fasting. At the same time, a protein found in the brain's stem cells rose, which the researchers read as a sign that more new brain cells may be forming.
In 2021, Dias and colleagues found in the journal Molecular Psychiatry that fasting every other day for three months gave female mice more new brain cells in the hippocampus and turned up the longevity gene Klotho there, and experiments in mice lacking the gene showed that Klotho is needed to form new brain cells.
Results from human studies
The human studies showed more mixed results. A systematic review in the journal Medicina (2024) found 16 studies of fasting and calorie restriction in humans: in 5, BDNF in the blood rose, in 5 it fell, and in 6 it did not change. The researchers point out that differences in how long and how people fasted, who took part, and how BDNF was measured make the studies hard to compare.
Thinking has mostly been measured during the fast itself. A meta-analysis, a combined analysis of many studies, by Bamberg and Moreau in Psychological Bulletin (2025) included 3,484 healthy adults who took tests of attention, inhibitory control (the ability to hold back an impulse) and more, either fasted or fed. Half of the fasts lasted 12 hours or less. Fasted people did as well on the tests as fed people, and only longer fasts and younger participants showed a small dip.
What fasting over a longer period does to BDNF and thinking in humans has not yet been fully studied. Both Seidler and Barrow and the authors of the Medicina review call for more and larger studies in humans.
Fasting and the brain: animal studies and humans
· More new brain cells in the memory center
· Better results in tests of memory and learning
· During a short fast (half lasted 12 hours or less), fasted people did as well as fed people on tests of attention and inhibitory control. Longer fasts gave a small dip
The metabolic switch: researchers' idea of why fasting affects the brain
To understand why fasting affects the brain, you need to know what researchers call the metabolic switch. In a review in Nature Reviews Neuroscience (2018), Mattson and colleagues described a repeated swing between challenge (fasting or exercise) and recovery (food, rest and sleep).
When the body has fasted for more than 10 to 14 hours (less with physical activity), the liver's sugar store is used up, and the body switches to burning fat and making ketone bodies, mainly BHB (beta-hydroxybutyrate). The ketone bodies are an extra fuel for the brain. In animal and cell studies, fasting and the ketone bodies also set off:
- more BDNF
- more mitochondria (the cells' energy factories)
- cleanup in the cells, where worn-out parts are broken down and reused
- less inflammation
Based mainly on animal studies, Mattson and colleagues suggest that it is this repeated swing between challenge and recovery, not constant hunger, that benefits the brain most, in the same way that muscles grow in the rest period after training.
What does this mean in practice?
If you fast for the sake of your brain, there is no measurable gain to promise yet.
What can you take away?
- If you want to try: For many people the easiest way is to skip breakfast and eat between noon and 8 p.m. What you can realistically expect for focus, memory and mood is covered in our guide to keto, fasting and the brain.
- Not for everyone: Several groups should fast only after talking it through with their doctor or psychiatrist, and they are listed at the end of this article. If you are an older adult, start gently and make sure you get enough protein in your eating windows.
In brief
In animal studies, intermittent fasting can, through the switch to ketone bodies, turn on the brain's own maintenance and growth mechanisms, from more BDNF and new cells to cleaning up waste and less inflammation. In humans this has not been shown: the BDNF results are mixed, and during a short fast people do as well on tests of thinking as when they have eaten. Larger and longer studies in humans are needed before anyone can say whether fasting benefits the brain.
Who is this for?
Fasting changes the brain's fuel and, in animal studies, also BDNF and the cleanup in the cells. Some groups need to be especially careful:
- If you have a disease of the brain or nervous system (epilepsy, Parkinson's, MS, Alzheimer's): fasting can affect both symptoms and medication. Use it only under the guidance of a neurologist.
- If you have a mental health diagnosis (severe depression, bipolar disorder, psychosis): fasting can worsen symptoms. In a small study without a control group (International Journal of Neuropsychopharmacology, 2000) of 20 people with bipolar disorder who took lithium and fasted during Ramadan, when people neither eat nor drink during daylight hours, 45% relapsed, most of them into mania. The relapses were not related to their blood lithium level, and the researchers point instead to the way Ramadan changes the daily rhythm. Always talk to your psychiatrist before changing anything, and stop fasting if you get worse. If you have thoughts of self-harm or suicide, call or text 988, which is open 24/7, or call 911 right away.
- Signs of mania: If you sleep much less than usual without feeling tired, have unusually high energy, or your thoughts race during your first months of keto or fasting, contact your doctor or psychiatrist the same day. This is called hypomania, or mania in its more severe form. It applies even if you have never had bipolar disorder.
- If you get migraines: fasting can trigger attacks in some people. Introduce it gradually, or drop it if it makes things worse.
- If you take lithium (a mood-stabilizing medication for bipolar disorder): talk to your psychiatrist before you fast, and have your lithium level checked. Your kidneys get rid of lithium along with salt and water, so how much you drink and how much salt you get during the fast both matter.
- SSRI or SNRI antidepressants can cause too little sodium (salt) in the blood, especially in older people and people with low body weight, and the salt loss during fasting and at the start of keto pulls the same way. Headache and nausea can be signs of it, so have your sodium checked, and contact your doctor the same day if you become confused.
- If you take epilepsy medication or antipsychotic medication (for psychosis): plan the fast with the doctor who prescribes the medication before you start, including what time of day you take it.
- If you take diabetes medication: insulin and sulfonylureas (tablets that make the pancreas release more insulin) can cause low blood sugar during fasting, and SGLT2 inhibitors (such as Jardiance and Farxiga) can cause ketoacidosis, a dangerous buildup of acid in the blood, even with normal blood sugar. Talk to your doctor before you start fasting.
- If you are pregnant or breastfeeding: fast only after talking it through with your doctor.
- If you are under 18: fast only after talking it through with your doctor, because your body and brain are still growing.
- If you have or have had an eating disorder: fasting can reawaken old patterns.
- If you are underweight or undernourished, or have type 1 diabetes: fast only after talking it through with your doctor.
For healthy adults without diseases of the brain or mind, mild forms of fasting (12 to 16 hours) are usually safe. Start gradually, and keep an eye on your sleep and your concentration. If you notice big changes for the worse, stop and talk to your doctor.
Related Reading
Brain, fasting and metabolism are closely connected. These articles widen the picture:
- The metabolic switch: how your body shifts from sugar to ketones when you fast explains the background to how the brain can use ketones as an extra fuel.
- Eat with your body clock: why your eating times matter more than you think covers how the timing of food affects your body clock and so your sleep and thinking.
- Prolonged fasting and renewal of the immune system covers what long fasts do to the immune system.
