Most cyclists have been there at some point: it's a tough ride - long, hilly, fast, hot, or all four. You’re keeping pressure on the pedals at a constant rate and then a spasm like an electric shock tears through your calf, hamstring or quad.
Muscle cramps are common, though they affect individuals to varying degrees and there are a number of theories as to the cause.
The honest truth is that even the biggest of science brains have not figured it out, but there are certainly some themes and trends that, anecdotally, seem to hold tight.
Why do cyclists get cramp?
Unfortunately, there is not one simple answer.
“Quite often cramp is presented as a superficial topic - as though there is one cause and we need to argue about what it is - but in reality it’s a very complicated issue with lots of different causes and still no one can totally pin it down - but there are practical things you can try that often do work for people,” explains sports scientist, Andy Blow.
At a very basic level, focus needs to be placed on “anything that can cause undue fatigue: position, set up, nutrition and glycogen intake, hydration and salt intake, and training specificity,” he says.
So let's drill down on the detail.
Can better hydration prevent cramp?
The most common solution offered up to a person struggling with cramp is that they need to repopulate their body with electrolytes.
Firstly, Blow – the founder of Precision Hydration, a brand which produces electrolyte loaded drinks - doesn’t suggest electrolyte loss is the only cause, saying “the problem comes when electrolyte imbalance is presented as the only possible cause.”
But he reckons it’s a "low hanging fruit" that’s worth experimenting with.
Electrolytes are salts and minerals lost through sweat. The seven key ingredients are: sodium, chloride, potassium, magnesium, calcium, phosphate and bicarbonate.
For decades, sodium has been considered to be the key to the puzzle, following studies on miners and construction workers.
Delving into the history books, we discover that in 1945, Donald Stewart concluded that (opens in new tab) “fluid replacement is necessary and should include sufficient sodium chloride" to avoid cramp and fatigue.
We're now in 2022, and the scientific evidence is limited. Studies examining dehydration and sodium intake across athletes who do and don’t experience cramp have shown no clear differences. (opens in new tab)
But anecdotal evidence seems to suggest replacing salt helps: “whilst anecdote is definitely not science and shouldn’t ever be presented as such, often where there’s smoke there’s fire,” Blow says.
“In general we see a trend towards people with higher levels of salt loss in sweat getting cramping and other issues in the heat.
“Some people could be losing as little as 200mg of sodium in a litre, whilst others could be losing up to 2000mg. That doesn’t mean you need to replace 100 per cent of what you’re losing, but if you’re just using a standard sports drink which is maybe 400mg per litre, it’s not going to take long to incur a bit of a deficit.
"Same for people who have high sweat rates, even if it’s very dilute, if you’re sweating litres and litres you’ve got a requirement to replace a lot of electrolyte."
Precision Hydration produces drinking tablets designed to be mixed to provide between 250mg-1500mg a litre. You can complete a free online 'sweat test' (opens in new tab) to get an idea what you need - or go all out and get a full advanced test which Cycling Weekly did some years ago.
Blow says: “A high dose is between 1000-2000mg per litre. What you bump in to above that is a ceiling at which your stomach and taste buds won't tolerate it and you risk getting gastrointestinal upsets.
"There are products out there that are much stronger, but they’re made for use with massive caution and intelligence, and tested before the event in controlled conditions.”
Can bananas fight off cramp when cycling?
There is one myth Blow is keen to put to bed: “People are often told by their mates ‘you need to eat bananas because you need potassium’.
"For starters, bananas don’t have tons of potassium in them. And even if they had, that’s probably not going to be the likely scenario, because being deficient in potassium is quite a serious condition.
"Ironically, it may cause cramps; potassium is the counterbalancing electrolyte to sodium in fluid balance. But most people aren’t walking round with a severe potassium deficiency, if they were they’d be hospitalised.”
That’s, that then – no bananas needed - unless you just like them, and are looking for a healthy carbohydrate hit.
Food is important, though: “Glycogen depletion can play a role, but a lot of these things happen at same time, as a rider gets dehydrated, electrolytes get out of balance, and they also deplete glycogen and feel fatigue.
"It’s worth attacking all of those. There’s a modern trend towards recreation athletes looking at low carb, high fat diets – but there’s still not a lot of great science to back that up from a performance point of view.”
'Low salt' health warnings, athletes and cramp
The most expensive health concern for the UK NHS is diabetes, not over-training syndrome. Therefore, most NHS advice and government funded healthy eating information is not targeted at athletes.
Athletes, then, should take some advice with a pinch of, well, salt.
Asked if public health warnings could negatively affect sports people, Blow says yes “just because something is perceived to be generally healthy, doesn’t mean it’s right for you. You need to take an amount of salt that is relative to what you do.”
“We had a client who was a double Olympic gold medallist, he was very into healthy living and eating. He tried to cut salt out of his diet, and started experiencing cramping issues in training.
"His coach sent him for a sweat test with us, and we found he lost a lot of salt in training. He put salt back into his diet to compensate for this loss; the fatigue and cramping problems went away over night."
Does hot weather increase the chance of getting cramp when cycling?
Of course, the amount you sweat can be directly related to heat. But it turns out you can adapt to that.
“Heat is one of things your body can adapt to very well. If you put your body through heat stress, in time sweat rate increases, sweating starts earlier, you lower your core body temperature.
“It takes about 14-days to achieve maximum adaptations, but you can achieve a lot, 60-70 per cent in the first five days,” says Blow.
So if you’re planning on racing or completing an event somewhere hot, try to get there early to do a few training rides to help you acclimatise.
Stretching and fighting fatigue to beat cramp
Fuelling and hydration are just one piece of the puzzle. And they might not even feature in your own personal puzzle.
Multiple studies have shown (opens in new tab) there to be no link between salt lost in sweat and the frequency of cramps (though the anecdotal evidence is strong), so scientists have looked for other causes. Namely: muscle fatigue.
Let’s run through some brain-numbingly confusing science very quickly. The Golgi tendon organs (GTO) are located in your skeletal muscles.
They act a bit like an RCD in an electric circuit, by stopping your muscle spindles from causing contractions. In a normal state, your muscles contract, and relax. When the GTO stops working the circuit gets blocked, the muscle is locked in contraction. Et voila – cramp.
Stretching creates tension in the muscle, and kicks the GTO back into action.
Blow says: “Cramp for cyclists often starts in the calf as the toes are pointing during the stroke, so dropping the heel, stretching the leg and letting it recover helps take some of load off and is important short term.”
Long term we need to get to the bottom of why the muscle is experiencing stress it’s not used to. Key causes could be riding a race bike that’s not set up the same as a training bike, or entering a race or event that covers very different terrain to that which your training regime has prepared you for.
"A classic one is road riders who rarely train on their TT bike - which causes much more load on the quads as opposed to the glutes, fatiguing muscles in a way they're not used to.
"Specificity in training is hugely important, too. We all know that riding up and down dual carriageways is not a good way of preparing to ride Alpe d'Huez, and if you ride a lot of hills, you might get localised muscular fatigue in stability and supporting muscles if you spend five hours on the flat."
He’s also keen to point out that cramp should be treated after it occurs, too: “Cramp is destructive to muscles and causes stiffness, and soreness, so breaking up scar tissue and working on trigger points [with massage] is good.”
Can pickle juice relieve cramp?
Probably not what your taste buds wanted to hear, unless you’re perhaps several months into pregnancy and experiencing some interesting cravings. But pickle juice has been prescribed by coaches in the past as a cure for cramp.
Indeed, there’s a bit of science in this. This, along with other acidic foods, could stimulate the transient receptor potential (TRP) channels (opens in new tab) – which in turn could create a shock reaction, slowing down the disruption in the nerves causing cramp.
Blow is hesitant, but doesn’t write it off: “There’s a lot of interest in TRP agonists” he says.
“They’re in phase where there is lots of hype, then marketing gets behind it, and then it’s investigated further. There seems to be some science, but it’s not anywhere near the proven camp."
There are several brands creating products which utilise this approach - such as HotShot (opens in new tab) which aims to stimulate sensory neurons in the mouth, esophagus, and stomach, sending impulses to the spinal chord which block signals to and from the cramped muscle.
Cramp in the real world: Jasmijn Muller's story
Andy Blow makes it clear that the causes of and thus treatments for cramp vary between individuals. All the theory in the world hasn't led to an absolute cause - so you need to find what works for you.
To get a personal perspective on the issue, Cycling Weekly spoke to 2014 BAAR winner, 2015 National 12Hour Champion and 2017 World and UK 24hour champion Jasmijn Muller, (opens in new tab) who attempted to break the Lands End to John O'Groats record in 2017.
"I had heard many suggestions over the years: 'Oh, you must have just overdone it', 'You are not fit enough', 'You should drink more', 'Have you tried chilli, tonic, mustard?' - but I kept on struggling with cramp," she told us, back in 2018.
"Every long time trial I did between 2014 and 2016 was a struggle with cramp in my hamstrings. And even commutes were affected by cramp in my toes. Sometimes the cramp would come and go; other times it was so severe I could barely bring myself to a stop without falling off my bike as the cramp was simply debilitating and impossible to ride through.
"I would stretch for as while, relax my breathing, try to eat as many salty things as I had on me and drink any liquid left in my bottle, but when resuming my ride, the cramp would often reoccur with even stronger spasms.
"For a long time, I wasn't sure if it was a matter of hydration, salts, bike position or perhaps even a psychological issue. The breakthrough for me came in summer 2016 when I had an advanced sweat test done with Precision Hydration."
Muller took the test because her 2016 season had been aborted by Deep Vein Thrombosis, something she picked up following a three day ride in hot weather, followed by what she calls "severe inactivity."
"The test showed a high sweat rate and a very high loss of sodium per litre of sweat. My new hydration plan includes pre-loading with very strong electrolytes - 3 times stronger than anything I had ever used before - hydrating with strong electrolytes, irrespective of the weather or intensity of the ride, and always keeping a few sweat salts handy in case I need more electrolytes but am running out of fluid.
"Since adopting the new hydration plan I haven't had any issues with cramp. Which is a huge relief and has helped me enjoy my riding more."
On top of using Precision Hydration, Muller lists her own top tips:
- Taking magnesium supplements: magnesium is another electrolyte lost via sweat
- Drinking HotShot: "[I use this] both before a long race and if I feel cramp, but even when I only use Precision Hydration I haven't had cramp anymore, so I don't think HotShot isn't a must, just another approach that may help."
- Breathing techniques: "Long and slow breathing helps to relax my mind, but this doesn't work for long - the cramps can be so debilitating you simply can't move anymore, irrespective of breathing."
- Lowering her saddle: "This has has helped a little - changing my saddle to a saddle with more hamstring clearance (Cobb JOF 55 or Cobb Vflow Max) - this has also helped."
How to avoid cramp when cycling: the short answer
Your own method of avoiding and treating cramp needs to be formula based upon your individual physiology, training load at the time, and conditions in which you're completing that training or racing. "It does come down to good old fashioned, intelligent trial and error,” says Blow.
If cramp is bothering you, experiment with your hydration strategy, and ensure lack of fuelling is not causing fatigue. Make sure you're not drastically changing your position between bikes, and that your training stimulus is in line with the stressors your events will place on your body.
Thank you for reading 5 articles this month* Join now for unlimited access
Enjoy your first month for just £1 / $1 / €1
*Read 5 free articles per month without a subscription
Join now for unlimited access
Try first month for just £1 / $1 / €1
Cycling Weekly's Digital Editor Michelle Arthurs-Brennan is a traditional journalist by trade, having begun her career working for a local newspaper before spending a few years at Evans Cycles, then combining the two with a career in cycling journalism.
When not typing or testing, Michelle is a road racer who also enjoys track riding and the occasional time trial, though dabbles in off-road riding too (either on a mountain bike, or a 'gravel bike'). She is passionate about supporting grassroots women's racing and founded the women's road race team 1904rt.
Favourite bikes include a custom carbon Werking road bike as well as the Specialized Tarmac SL6.
'It felt like a bit of a bad dream' — Fred Wright on Bahrain Victorious police raids
British rider has twice been through police searching his hotel at the Tour de France
By Adam Becket • Published
Quinn Simmons fined on stage three of the Tour de France for 'riding on sidewalks, paths or bike lanes'
Riders and their directeur sportifs can be fined for anything from littering to reckless behaviour
By Adam Becket • Published
Get the best from a foam roller: exercises for cyclists
Foam rolling can aid recovery and stave off injury, we outline what muscle groups to focus on and how to ensure you’re reaping the benefits
By Nicole Oh • Published
Hot weather cycling: six tips to help you keep your cool
A spell of hot weather needn't stop you enjoying your riding, as long as you take some precautions to prevent over-heating and dehydration
By Richard Windsor • Published
What is VAM and can I use it to improve my climbing?
A cycling metric that doesn’t need power meters or heart rate data but can still be used to improve your climbing. Everything you need to know about your VAM
By Simon Richardson • Published
Nutrition for winter cycling: how to fuel off-season miles
Getting the most out of your winter training means making sure you are optimally fuelled for every ride. Joe Laverick investigates the specific demands of cold season nutrition
By Joe Laverick • Published
Tips to help you complete the CW5000 Challenge
Top tips from a coach and CW5000 riders
By Victor Alway • Published
CW5000: Eight ways to stay motivated
The days are short, roads grimy, and weather appalling. How to resist the urge to tuck away the bike and hibernate? Jim Cotton turns up the motivational heat
By Jim Cotton • Published
Take on the CW5000 Challenge as a team
Take on the CW5000 Challenge as a team
By Victor Alway • Published