The headache that arrives like clockwork

There is a particular kind of headache that shows up a few hours into a fast. It isn't sharp. It settles behind the eyes or across the forehead, a dull pressure that makes the afternoon feel heavier than it should. People who are new to intermittent fasting often read it as a verdict: my body needs food, this isn't for me. They reach for a snack, the ache fades, and they conclude that fasting and their head simply don't get along.

But the snack is misleading. What usually relieves a fasting headache isn't the calories — it's the salt and water that come with eating, and the cup of coffee that often accompanies the meal. Understand those two mechanisms and the headache stops being a mystery. More often than not, it stops being a headache at all.

Your kidneys behave differently when insulin drops

The first cause is the one almost nobody expects, because it has nothing to do with hunger. It has to do with sodium.

When you eat regularly throughout the day, your insulin stays relatively elevated. One of insulin's quieter jobs is to tell your kidneys to hold onto sodium. It's a background instruction, running constantly, and you never notice it.

When you fast, insulin falls. That fall is much of the point — it's what lets your body shift toward burning stored fat. But as insulin drops, the instruction to retain sodium drops with it. Your kidneys begin excreting more sodium than usual, and because sodium pulls water along with it, you lose fluid too. This is why people often shed a few pounds in the first days of fasting and why they find themselves visiting the bathroom more. It's largely water and salt leaving, not fat.

The trouble is that sodium isn't just seasoning. It's an electrolyte your nervous system runs on. When blood sodium dips even slightly, and blood volume drops with it, the result can be a headache, a faint lightheadedness on standing, and that drained, foggy feeling that gets blamed on low blood sugar. You're not starving. You're a little low on salt and water, and your brain is the first organ to complain.

This is also why drinking more plain water sometimes makes a fasting headache worse rather than better. Flooding an already sodium-depleted system with unsalted water dilutes things further. The fix isn't just fluid — it's fluid with a little salt in it.

The coffee you skipped is talking back

The second cause is more familiar but easy to overlook because of when it strikes.

Many people structure their fast around skipping or delaying breakfast, and breakfast is often when the first coffee of the day happens. Push the eating window later, and you may also be pushing your caffeine later — or accidentally cutting back on the total. Your brain notices immediately.

Caffeine works by blocking adenosine, a molecule that builds up through the day and signals drowsiness. Block it regularly and your brain compensates by growing more adenosine receptors, so it takes the same caffeine to feel normal. Skip or delay the dose and all those extra receptors sit open and unblocked. Adenosine floods in, blood vessels in the brain widen, and you get the classic caffeine-withdrawal headache — dull, throbbing, and stubbornly centered in the front of the head.

If your fasting headache appears around the time you'd normally be on your second cup, and especially if it eases the moment coffee finally arrives, caffeine timing is very likely the culprit. The fast isn't doing this. The schedule change around the fast is.

Two fixes that cost almost nothing

The good news is that both causes are cheap to address, and neither requires breaking your fast.

For the sodium side: a pinch of salt in your water during the fasting window is often enough. Not a health-food ritual — an actual small pinch of ordinary salt dissolved in a large glass of water, sipped through the afternoon. Black coffee and plain tea don't break a fast and help with hydration, but they don't replace what your kidneys are flushing out. Some people prefer a sugar-free electrolyte mix, which adds potassium and magnesium alongside sodium; just check that it has no calories or sweeteners that would defeat the purpose. If you tend to feel the ache mid-afternoon, get ahead of it — have some salted water before the slump usually lands, not after.

For the caffeine side: keep your caffeine consistent rather than letting the new eating window scramble it. Black coffee is fast-compatible, so there's no reason to delay your usual cup just because you're not eating yet. If you're deliberately trying to cut down on caffeine, do it gradually and separately from starting a fast — changing two variables at once guarantees you won't know which one is making your head hurt.

Give both fixes a few days. A genuine adjustment headache from electrolyte shifts usually fades within the first week or two as your body recalibrates how it handles sodium without constant insulin. If a headache is severe, comes with vision changes, or doesn't respond to salt, water, and your normal caffeine, that's no longer a fasting question — it's a reason to talk to a doctor.

Reading the signal instead of fearing it

What's worth holding onto is the reframe. A fasting headache is not your body sounding an alarm about missed meals. It's a fairly precise signal about fluid and electrolyte balance and about a disrupted caffeine routine — two things that have almost nothing to do with whether you've eaten in the last four hours.

That distinction matters because the instinctive response, grabbing food, treats the wrong problem. It works, but only incidentally, and it teaches you the wrong lesson: that you can't fast. The accurate lesson is gentler. Add a little salt. Keep your coffee where it's always been. The thing you thought was hunger usually wasn't.

Where this fits with Upvas

Most of what makes fasting headaches manageable comes down to timing — when your window opens, when the afternoon dip tends to land, when your usual coffee belongs in the day. Upvas is built around fitting a fasting window to your real evening, your actual dinner, so the rest of your day has a predictable shape instead of a guessing game. When you can see where your window sits, it's far easier to put a salted glass of water and your coffee in the right place — ahead of the slump, not scrambling after it. If you'd like fasting that works with your dinner instead of against your head, you can take a look at Upvas and start from there.