Your eyelid twitching at the wheel on the way to the gym, 15 hours into your fast. Your calf jerking slightly right as you drift off, never quite building into a full cramp. Chopped, shallow sleep that fixes nothing, even though you're eating clean and training hard. The instinct: sodium, again. Except this time the real suspect is a mineral most electrolyte guides treat as an afterthought — magnesium — and the mechanism has nothing to do with sweat.
A Different Signal Than a Cramp
A cramp is a sustained, painful contraction. A twitch (fasciculation) is something else: a spontaneous, involuntary nerve discharge, usually benign, that signals excess neuromuscular excitability. Magnesium normally acts as a brake on that excitability — it partially blocks the calcium channels and NMDA receptors that would otherwise let the nerve signal run hot. When magnesium drops, that brake loosens, and the central nervous system gets more excitable. According to the clinical literature on hypomagnesemia, tremors, muscle spasms, and tetany signs (Trousseau, Chvostek) rank among the earliest neuromuscular manifestations of a deficit — often before anything else clicks.
Why Your Sleep Takes a Hit Too
The same mechanism that calms your nerves also slows your brain down at bedtime. Magnesium acts as an NMDA receptor antagonist (less glutamatergic excitation) and potentiates GABA-A receptors (more inhibition) — exactly the combination that promotes sleep onset. It also supports a key enzyme in melatonin synthesis and helps lower cortisol. The documented result in the sleep disorders literature: magnesium deficiency reduces circulating melatonin, keeps the nervous system in a more alert state, and may even contribute to restless legs syndrome. This isn't just "sleeping worse" — it's a specific biochemical mechanism explaining why fasting, mismanaged on the mineral side, can sabotage your night as thoroughly as it can sabotage your morning workout.
The "Normal Bloodwork" Trap
Here's what makes magnesium sneakier than sodium or potassium: less than 1% of your body's total magnesium circulates in blood. The rest lives in bone and soft tissue. A standard blood panel can come back perfectly normal while your intracellular status — the one that actually matters for muscle and nerve function — is already low. Clinical thresholds confirm the problem: symptoms typically don't show up until levels fall below roughly 1.2 mg/dL, a point where the deficit is already significant. In other words, your doctor can tell you everything looks fine on paper while you keep twitching and sleeping badly.
Where Creatine Fits In
Here's the detail almost nobody mentions: the reaction catalyzed by creatine kinase — the one that regenerates muscle ATP from phosphocreatine during effort — doesn't run on free ATP. The actual substrate is the magnesium-ATP complex (MgATP). The harder your phosphocreatine cycle turns over during training, the more this mechanism draws on magnesium available at the cellular level. Creatine and magnesium aren't just two ingredients sitting next to each other for convenience — one literally needs the other to do its job.
The Move
Sodium, potassium, and magnesium at real doses — not homeopathic traces buried in a generic blend — paired with a creatine that runs on the same biochemistry. That's exactly why all three are in the same can, instead of scattered across three separate products you'd have to juggle while fasted.
We didn't build Fasted Rebels to sell powdered wellness. We built it because staying in ketosis, training hard, and actually sleeping well at the same time is a discipline — not a coincidence. Feed the mission. Not the hunger.
Sources: NIH Office of Dietary Supplements — Magnesium Fact Sheet for Health Professionals; Nature and Science of Sleep (Dove Medical Press) — "The Mechanisms of Magnesium in Sleep Disorders"; NCBI Bookshelf (StatPearls) — "Hypomagnesemia"; International Journal of Molecular Sciences (MDPI) — "Creatine Kinase Equilibration and ΔG_ATP over an Extended Range of Physiological Conditions".
French version: Pourquoi tu tressailles et dors mal en pleine série de jeûne
Also read, the fasting and electrolytes series: Why You're Cramping Mid-Fast · More Water While Fasted Isn't Always Safer · Why You Get Dizzy Standing Up Mid-Fast · Why Your Heart Pounds Mid-Fast · Why You Get a Headache Mid-Fast · Why Your Uric Acid Spikes Mid-Fast · Why You're Always Cold Mid-Fast · Why Your Creatinine Spikes on a Blood Test · Do You Need Sugar to Get Creatine Into Your Muscles?