Articleconditions

Fasting and Insomnia: Can Abstaining from Food Improve Sleep?

Upton Sinclair's 1911 book The Fasting Cure recorded consistent sleep improvements during extended fasts. Here's what history and modern science now both say about fasting and insomnia.

FastingInPractice Editors

Fasting and Insomnia: Can Abstaining from Food Improve Sleep?

Millions of people who start intermittent fasting report that their sleep improves — sometimes dramatically — without changing a single sleep habit. Others, particularly in the first week, find their sleep becomes lighter or fragmented. Which pattern is more accurate? And what does history tell us? Upton Sinclair's 1911 book The Fasting Cure noted sleep improvement repeatedly — in his own personal fasts and in the 277 cases he collected from readers who had tried fasting. Modern science has spent the last decade beginning to understand why.

Historical Context: What Sinclair Observed in 1911

In The Fasting Cure (Mitchell Kennerley, 1911), Upton Sinclair described his pre-fasting life as one of chronic nervous exhaustion. He had spent roughly $15,000 over several years on physicians, surgeons, and sanatoriums — suffering from persistent headaches, insomnia, and what he called "nervousness" that no conventional treatment had resolved.

During his first major fast — 12 days — Sinclair recorded something that surprised him: he slept well throughout. Despite the physical weakness he felt during the early days, his mind quieted and sleep deepened. He wrote that he slept better during the fast than he had in years before it.

From the 277 reader cases he collected and tabulated in the book, insomnia appears explicitly in the list of conditions reported helped by fasting — alongside rheumatism, asthma, nervous exhaustion, and digestive disorders.

Sinclair's theoretical explanation was that overfeeding creates a state of perpetual internal agitation. He argued that excess food fermented in the digestive tract, producing what he called toxic products that circulated in the blood and kept the nervous system in a state of chronic irritation. When fasting stopped that fermentation, the nervous system settled — and with it, sleep deepened.

Why Fasting Would Logically Improve Sleep

Sinclair couldn't measure insulin or inflammatory cytokines in 1911. But his observation that food quality and timing affected sleep maps closely onto mechanisms we now understand:

Insulin and sleep architecture: High insulin, driven by frequent eating of sugars and refined carbohydrates, disrupts the hormonal cascade that regulates sleep. Insulin spikes late in the evening suppress melatonin production and keep the body in a metabolically alert state when it should be winding down.

Inflammation and deep sleep: Inflammatory cytokines — particularly TNF-α and IL-6, elevated by diets rich in seed oils and processed foods — are directly associated with disrupted slow-wave sleep, the deepest and most restorative phase. Fasting consistently and significantly reduces both markers.

Cortisol timing: Eating late at night — especially carbohydrate-heavy meals — elevates cortisol at the time it should be declining. Cortisol is a wakefulness hormone. When fasting means the eating window closes by late afternoon or early evening, cortisol naturally falls through the evening and melatonin rises unimpeded.

Gut activity and the vagus nerve: The enteric nervous system (the gut's own nervous system) is highly active during digestion. When the gut is processing a large meal at 9pm, neural signalling via the vagus nerve can interfere with sleep onset and depth. Fasting gives the gut a true rest period during the overnight hours — which is arguably what the digestive system is designed for.

What Modern Research Adds

A 2024 systematic review in Frontiers in Nutrition examined six randomised controlled trials on time-restricted eating (at least 14 hours of fasting daily) and sleep outcomes. The findings were mixed across the six studies — only one showed a statistically significant improvement in sleep disturbances. However, the review noted that study durations were short (8–12 weeks in most cases) and that participants who showed the greatest metabolic improvements also tended to report better sleep.

Longer-term observational data is more consistent. A large-scale 2019 prospective study of 1,422 participants undergoing supervised Buchinger fasting of 4–21 days found sleep quality improvement to be one of the most consistently reported positive outcomes — alongside mood enhancement and reduced pain. Notably, hunger was low after the first day despite the extended fast, and general wellbeing scores improved progressively across all measured dimensions.

These long-term patterns align with Sinclair's 1911 observations far more closely than the mixed short-term RCT findings, suggesting that sleep improvement from fasting may be a benefit that accumulates over weeks and months rather than appearing within a two-week study window.

When Sleep Temporarily Gets Worse

Some people — particularly those transitioning from high-carbohydrate eating — experience lighter or fragmented sleep in the first 5–10 days of fasting. This is primarily an electrolyte issue: when insulin drops, the kidneys excrete sodium, magnesium, and potassium more rapidly. Low magnesium specifically is strongly associated with difficulty staying asleep, muscle cramps at night, and light, unrefreshing sleep.

The practical solution: maintain electrolytes during fasting. Sea salt in water addresses sodium, magnesium glycinate (taken in the evening) directly supports sleep quality, and avocados or leafy greens replace potassium. These are the same measures Sinclair's era addressed through mineral water and daily bathing routines — different means, same goal.

Another common issue is eating too late. Sinclair observed that the timing of breaking a fast mattered considerably — a heavy meal taken close to bedtime disrupted the recovery he otherwise noted during fasting. The modern equivalent: finish your eating window at least 3 hours before bed, ideally 4. Many people who struggle with sleep during intermittent fasting find that shifting their eating window earlier by two hours is the only change needed.

The Bottom Line

Upton Sinclair's 1911 observations about fasting and insomnia are now supported by plausible biological mechanisms and a growing body of clinical evidence. For most people — especially those whose poor sleep is driven by late-night eating, chronic inflammation, or blood sugar instability — fasting offers a genuine pathway to improvement. The key variables are consistent: close the eating window early, maintain electrolytes, and give the adaptation period the weeks it needs to complete.

Book Callout

For the complete guide, get Intermittent Fasting in Practice on Amazon → [Amazon link]. Buy the book and claim 3 months free on our fasting app at https://www.fastinginpractice.com/redeem

Frequently Asked Questions

Did Upton Sinclair specifically say fasting helped his insomnia?

Yes. Sinclair documented years of chronic sleep difficulty before discovering fasting. During his 12-day fasts, he reported sleeping well throughout — which surprised him given the physical weakness in the early days. He attributed the improvement to the quieting of what he called "nervous irritation" caused by overfeeding and internal fermentation.

Will intermittent fasting definitely improve my sleep?

Not necessarily, and not immediately. Some people experience lighter sleep during the first 1–2 weeks of adaptation, primarily from electrolyte shifts. Most people report meaningful sleep improvement after the adaptation period, particularly those who also shift their eating window earlier in the day.

Does the timing of my eating window affect sleep?

Significantly. Finishing your eating window at least 3 hours before bed allows insulin to decline, the gut to begin resting, and cortisol to drop before sleep. Eating large, carbohydrate-rich meals close to bedtime is one of the most common reasons people sleep poorly despite consistent fasting practice.

Can fasting help with sleep apnea?

There is evidence that weight loss — including through fasting — reduces the severity of obstructive sleep apnea by decreasing fat deposits around the airway. This is a secondary effect, not a direct mechanism. Anyone with diagnosed sleep apnea should continue prescribed treatment while making dietary changes.

How long does sleep improvement take after starting fasting?

Most people who report sleep improvement notice it within 2–4 weeks of consistent practice. The improvement correlates with the reduction of systemic inflammation and stabilisation of blood sugar — both of which require at least 2–3 weeks to shift meaningfully.

Related Articles

This article draws on historical research from 1911 and is for informational purposes only — not medical advice. Always consult a qualified healthcare professional before making any dietary changes.

Sinclair, U. (1911). The Fasting Cure. Mitchell Kennerley.

📗

Want the complete guide?

Intermittent Fasting in Practice

Everything in this article — and hundreds more pages of practical guidance, protocols, recipes, and mindset strategies — is covered in depth in the book, available now on Amazon.

💬

Have personal experience with this? Your story helps thousands of people.