All posts

Fasting headaches: why they happen and what helps

Headaches during a 16:8 or 18:6 fast are common. Caffeine, water and knowing when to eat matter more than pushing through.

6 min read

Late morning of a long fast, some people feel fine and some people feel a tight band across the forehead. It can feel like proof that the fast is “working”, or like proof that you should quit. It isn’t either of those. It’s a common, usually mild headache, and it’s a reason to adjust the morning, not to grind through it.

The short answer

A fasting headache is usually a mild to moderate, dull, all-over head pain that shows up after about 8 hours without food and eases once you eat. That’s how clinicians define it.1 It gets more likely the longer you go, and it’s more common in people who already get headaches.12

It is not a badge, and it is not a reason to push. Drink water. If you normally have coffee, have it black. If the pain is strong, or you feel dizzy, shaky, faint or unwell, eat. You can fast again tomorrow.

The rest of this post is about why these headaches happen, what actually helps on a 16:8 or 18:6 day, and when a headache is a signal to stop.

What a fasting headache feels like

The official description is a diffuse, non-pulsating headache, usually mild to moderate, that starts during a fast of at least 8 hours and gets better after a meal.1 It often feels more like a tension headache than a migraine. If you already live with migraine, a fast can trigger an attack that looks like your usual migraine, and that should be treated as migraine, not as a special fasting badge.1

The chance of a headache rises with the length of the fast.12 A 16-hour day is long enough for this to show up. Hours 16 to 18 can be the stretch where it bothers you most, which is also when the fat share of your energy is highest, as we wrote in what actually happens at hour 16. The headache is not a measure of those grams.

Why it happens

There isn’t one single cause, and some of the usual suspects are weaker than they sound.

The fast itself can be enough. The clinical definition exists because the headache can appear after 8 or more hours without food and ease after eating, even when the obvious alternatives don’t explain it.1

Caffeine withdrawal is a common overlap. If you usually drink coffee or tea and you skip it because you’re fasting, the headache may be withdrawal, not the empty stomach. In one study on the first day of Ramadan, people who fasted were much more likely to get a headache than people who didn’t, and caffeine withdrawal was the main external factor.3 The official classification still treats “headache attributed to fasting” as something that can happen without caffeine withdrawal or low blood sugar.1 In practice you don’t have to pick a single cause. If you drink coffee most days, drink it black during the fast. There’s no fasting prize for giving up caffeine and food at the same time. Black coffee and plain tea don’t break the fast.

Water matters, though it isn’t the whole story. You can drink during a 16:8 day, unlike a dawn-to-dusk religious fast. Still, some people simply forget to drink until late morning. Dehydration can cause or worsen a headache in its own right.4 Keep a bottle nearby. If you feel washed out, a pinch of salt or unflavored electrolytes can help. A sports drink will end the fast.

Low blood sugar is an easy story, and a shaky one. The classification notes that fasting headache can occur without hypoglycemia, and that low blood sugar in the emergency room is not typically a headache complaint.1 If you feel shaky, sweaty, confused or faint, don’t debate the mechanism. Eat.

Sleep and stress can pile on, the same way they do on any other day. A short night makes the next fast harder, and a late coffee can cost you that night.

What to try, in order

  1. Drink water. It’s the first and cheapest fix, and you may just have forgotten.
  2. Have your usual black coffee or plain tea if that’s already your habit. Don’t start a new caffeine habit just to get through a fast, and don’t stack extra cups to paper over a headache.
  3. Add a pinch of salt or unsweetened electrolytes if you feel flat, crampy or light-headed, especially after a walk or on a hot day.
  4. Eat if it stays bad, or if you feel unwell. A normal meal ends the headache for most people.1 That’s the point of an eating window, not a failure of the day.
  5. Shorten the fast tomorrow if this keeps happening. A 14:10 or 16:8 day you can keep is better than an 18-hour day you spend with a headache. You can always try a later window another week.

Painkillers are not a fasting strategy. If you occasionally need one, that’s your decision with a pharmacist or doctor, but don’t take medicine so you can extend a fast that is already making you miserable.

Does a headache change the fat grams you burn?

No. A headache is not a sign that you’re burning more fat, and relieving it doesn’t erase the grams you already burned.

Here’s an example from how Unpause works: a 34-year-old woman, 168 cm and 72 kg, on her feet a bit, who ate her last meal at 8 PM. These are illustrative estimates from the model, not a measurement.

Hours fasted Energy from fat Fat burned so far
12 59% 39 g
16 74% 67 g
18 79% 83 g

If she eats at hour 16 because of a headache, she keeps the 67 g the fast already burned. Eating doesn’t erase them. What eating does is stop the climb. Fat burned isn’t fat lost: some of that fat is stored again as she eats through the day, and fat loss over weeks still comes from her calorie balance.

A clean 16-hour fast she can repeat beats an 18-hour fast she dreads.

What Unpause assumes

Unpause estimates the fat you burn every minute from your age, sex, height, weight, your day and how long you’ve fasted. The model is published on how it works, step by step. It cannot see a headache, and it shouldn’t be used as a reason to ignore one.

It assumes nothing with calories goes in until you end the fast. Water, black coffee, plain tea and unflavored electrolytes fit that. A sugary “electrolyte” drink or a painkiller taken with a snack does not.

When you eat, stop the timer. The grams freeze at that moment. They are what the fast burned, not a score you have to protect by staying in pain.

If you’re pregnant or breastfeeding, under 18, have had an eating disorder, or have diabetes or another condition, talk to a doctor before fasting. If you get migraines, or the headaches are sudden, severe, one-sided with weakness or a change in vision, or they keep getting worse, that’s a doctor conversation, not a blog post. There’s more on fasting safely in our help pages.

See the grams, not just the hours. Unpause runs your fasting timer and shows the fat you burn in grams, live, as the fast goes on. Keep the drinks plain, and if a headache won’t ease, eat and try a shorter window tomorrow. Want a number before you start? Try the fasting calculator, or read how the model works.

Footnotes

  1. Headache Classification Committee of the International Headache Society, “10.5 Headache attributed to fasting”, The International Classification of Headache Disorders, 3rd edition (2018). https://ichd-3.org/10-headache-attributed-to-disorder-of-homoeostasis/10-5-headache-attributed-to-fasting/ ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9

  2. Torelli P and Manzoni GC, “Fasting Headache: A Review of the Literature and New Hypotheses”, Headache: The Journal of Head and Face Pain (2009). https://doi.org/10.1111/j.1526-4610.2009.01390.x ↩ ↩2

  3. Awada A and al Jumah M, “The first-of-Ramadan headache”, Headache (2001). https://doi.org/10.1046/j.1526-4610.2001.111006737.x ↩

  4. Arca KN and Halker Singh RB, “Dehydration and Headache”, Current Pain and Headache Reports (2021). https://doi.org/10.1007/s11916-021-00966-z ↩

Watch your
fat burn.

Unpause shows the fat you burn while you fast, gram by gram, on your iPhone, Lock Screen and Apple Watch.

Download on the App Store