Hydration Is Only Half the Story
Cycling nutrition has gotten complicated with all the conflicting advice flying around. And nowhere is that more obvious than the cramping conversation — everyone defaults to “drink more water” and calls it solved.
As someone who bonked hard at mile 68 of a 100-mile gravel event last summer in the Midwest, I learned everything there is to know about why that advice falls embarrassingly short. Today, I will share it all with you.
Two full bottles. Electrolyte mix in both. My legs still seized up so badly I had to walk for five minutes on the side of a gravel road in 87-degree heat, basically arguing with my own quadriceps.
I’d done the math beforehand — roughly 500 milliliters every 30 minutes, which is about as textbook as it gets. My watch confirmed I was well-hydrated. Body weight hadn’t dropped more than 2 percent over four hours. None of that mattered.
But what is the actual problem here? In essence, it’s a mineral imbalance — not a fluid deficit. But it’s much more than that. You can drink three liters of plain water and still cramp if your sweat has stripped out more sodium, potassium, and magnesium than you’ve put back in. Your muscles need a specific mineral balance to contract and release properly. No balance. No contraction control. Cramp city.
That distinction shifts everything. If you’re cramping despite solid hydration habits, you’re not failing at drinking. You’re missing the mineral piece entirely.
The Four Real Reasons Cramps Hit Mid-Ride
Sodium Loss from Heavy Sweating
Sweat isn’t pure water. It’s water plus sodium, potassium, and trace minerals your body excretes to cool itself — and on hot days or during hard efforts, you lose sodium faster than almost any standard sports drink replaces it. A typical serving of Gatorade delivers around 200–300 milligrams of sodium. You might be sweating out 400–600 milligrams per hour depending on conditions and your personal sweat rate.
When sodium drops too low, your muscles can’t maintain the electrical gradient needed for contraction. That’s why cramping hits the large muscle groups first — quads, hamstrings, calves. They’re working hardest and demand the most precise mineral balance to function.
Magnesium Depletion Over Multi-Hour Efforts
Magnesium regulates muscle relaxation. After three or four hours of sustained riding, even athletes with solid sodium intake can deplete magnesium through sweat and metabolic turnover. Unlike sodium, magnesium barely appears in most standard sports drinks — you’re getting maybe 10–20 milligrams from a typical electrolyte mix when your daily baseline requirement runs 300–400 milligrams.
Magnesium depletion shows up differently than sodium cramping. Calves, foot arches, forearms — the smaller muscles go first. Tighter sensation. More sustained. Harder to stretch away. That’s your tell.
Glycogen Depletion and Neuromuscular Misfires
Your muscles run on glycogen — stored carbohydrate. Once those stores empty, your nervous system loses the fuel it needs to fire muscles with any precision. This isn’t garden-variety fatigue. It’s actual misfiring that manifests as involuntary contraction. Fat oxidation is still happening, but the electrical signals get muddy. Cramping is what that looks like from the outside.
Glycogen-related cramping usually arrives in the final hour or two of a long effort — even if you’ve been eating sporadically the whole time. Everything from hips to shins locks up simultaneously. That’s the giveaway.
Accumulated Muscle Fatigue and Recovery Debt
Two hard rides in three days. Training volume ramping too fast. Your muscles don’t fully recover between sessions, and residual fatigue makes cramping far more likely — earlier in the ride and harder than it should be at that point. Your nervous system arrives at mile 80 already compromised.
This is the one cause that can’t be fixed mid-ride. It’s systemic. It requires backing off volume or adding a recovery day — and no amount of sodium will work around it.
How to Tell Which Type of Cramp You Are Getting
Probably should have opened with this section, honestly. It’s the key diagnostic step most riders skip entirely — and mixing up cramp types means chasing the wrong fix for months.
Early-Ride, Large-Muscle Cramping
Cramping inside the first 90 minutes, targeting your biggest muscle groups — quads especially — almost always points to sodium loss. Particularly common on hot days or when you’re pushing harder than usual. The muscles doing the most work need the most mineral support.
Fix: Start electrolyte intake with adequate sodium — 200+ milligrams per 500-milliliter serving — from the opening miles. Not when you feel thirsty. Thirst is already too late.
Late-Ride, Multi-Muscle Seizing
Hour three or four. Everything locks up at once — quads, hamstrings, glutes, sometimes even your core. That’s glycogen depletion or compounded electrolyte loss, often both running simultaneously. You’re running on empty calorically and your nervous system is misfiring across multiple systems.
Fix: 30–60 grams of carbohydrate per hour depending on intensity, starting at the 90-minute mark. Consistent electrolyte replacement throughout — not just when things go sideways.
Localized, Smaller-Muscle Cramping
Foot arches. Forearms. Calves. These smaller muscles aren’t inherently weaker — they’re more sensitive to mineral imbalance because they recruit in brief, intense bursts. When magnesium drops, they’re first to protest.
Fix: Magnesium supplementation in the three or four days before long rides — 400–500 milligrams daily. And consider switching to a sports drink formulated with actual magnesium included. Most standard brands skip it entirely.
What to Change Before, During, and After Rides
Before Your Long Ride
The evening before and morning of any hot-weather effort or anything over two hours, consume 500–600 milligrams of sodium. That sounds like a lot until you realize it’s roughly one packet of Liquid IV mixed into 500 milliliters of water — or about half a teaspoon of table salt. Sodium stored this way increases plasma volume and helps your body hold hydration more effectively once the ride starts.
Carb-load normally. Three to four grams of carbohydrate per kilogram of body weight the night before. For a 70-kilogram rider, that’s 210–280 grams — a large pasta dinner handles it easily. Don’t overthink it.
Magnesium: 300–400 milligrams in the three days leading up, split into morning and evening doses. Magnesium malate or glycinate absorbs noticeably better than oxide — I’m apparently sensitive to the oxide form and Jigsaw Health MagSRT works for me while Natural Vitality Calm (the oxide version) never quite delivered the same result. Don’t make my mistake assuming all forms are equivalent.
During Your Ride
Electrolyte solution every 30 minutes — not when you’re thirsty. Thirst is a lag indicator. By the time it hits, you’re already behind. Aim for 200–300 milligrams of sodium per 500-milliliter serving. Skratch Labs, Liquid IV, and most Gatorade Endurance flavors land in that range.
Eat carbohydrate every 45 minutes starting around the 90-minute mark. Gels run 25–30 grams each. Rice cakes, dates, and fig bars work just as well — real food actually sits easier on long efforts. Target 30–60 grams per hour and you’ll feel the difference somewhere around hour three. It’s noticeable.
For rides over four hours, add a pinch of salt to your second or third bottle. I’ve had good results with a quarter-teaspoon of Himalayan pink salt dissolved into 500 milliliters of plain water, alternating that with my regular electrolyte bottle. Not glamorous. Works reliably.
After Your Ride
Within 30 minutes: carbohydrate, protein, sodium — together. This refills glycogen, starts muscle repair, and replenishes what sweat stripped out. Chocolate milk genuinely works. So does any sports drink with added protein. A simple formula that covers it: 20 grams of protein, 60–80 grams of carbohydrate, 200+ milligrams of sodium.
That evening, take magnesium again — another 300–400 milligrams. Your muscles are depleted, and magnesium supports both recovery and sleep quality — which compounds the benefit going into the next day. That single habit cuts cramping likelihood on back-to-back riding days more than almost anything else I’ve tested.
When Cramping Keeps Happening Despite Doing Everything Right
So, without further ado, let’s dive into the less obvious territory — because sometimes you nail sodium intake, carb timing, and magnesium supplementation, and cramping still shows up at mile 60.
Training load is too high. Four or five hard days a week without adequate recovery built in — that’s a fatigue problem, not a nutrition problem. One week of reduced volume will tell you fairly quickly whether this is the culprit. If cramping backs off during that week, you have your answer.
Your saddle fit is off. A saddle positioned too far forward, too high, or tilted even slightly wrong forces compensatory movement patterns throughout your legs. Your quadriceps work overtime just to stabilize. Cramping arrives earlier and hits harder than it should. A professional bike fit runs $150–300 — it’s a one-time fix that solves a recurring problem permanently. Worth every dollar.
There might be an underlying medical issue. Thyroid dysfunction, kidney or liver problems, or certain prescription medications can drive exercise-related cramping regardless of how dialed your nutrition is. Not common. Worth ruling out if cramping persists across different ride types, intensities, and conditions after you’ve genuinely addressed everything else. Mention it to your doctor — a basic panel catches most of it.
For your next ride, try one targeted change: add an extra 100 milligrams of sodium per serving to your electrolyte drink, and eat your first carb-based snack at 90 minutes instead of waiting until hunger forces the issue. That specific combination solves cramping for most riders within one or two rides. Simple starting point. Real results.
Subscribe for Updates
Get the latest cycling nutrition hub updates delivered to your inbox.
We respect your privacy. Unsubscribe anytime.