Some habits help no matter which decade you're in. Here's what the evidence actually supports — and what it doesn't.
Stretch (the strongest single habit)
If there's one thing worth doing, it's stretching. In a randomized trial of adults over 55 who were prone to nighttime cramps, those who stretched their calf and hamstring muscles each night before bed for six weeks ended up with noticeably fewer and less severe cramps than those who didn't — roughly 1.2 fewer cramps per night, as reported in the trial published by Hallegraeff and colleagues. The likely reason is simple: stretching lengthens chronically tight calf muscles and tendons, easing the over-excitable state that triggers cramps in the first place.
This lines up with the broader evidence on non-drug approaches. A Cochrane review of non-drug treatments for leg and foot cramps points to stretching and similar measures as the sensible first line, given their low risk. A practical routine many people use takes about two minutes: a standing calf stretch with the back leg straight and heel down, leaning gently into a wall, plus a seated stretch where you loop a towel around the ball of your foot and draw it toward you, holding each for 20 to 30 seconds in the evening.
Hydrate sensibly
Staying reasonably hydrated is an easy, low-risk step, and it matters most in heat and during exercise. The Cleveland Clinic lists dehydration among the most common triggers for foot and leg cramps, alongside overexertion. Drinking enough through the day is a fair baseline; just keep the expectation realistic, since hydration is a contributor rather than a cure-all.
Mind your footwear and training load
Because overload and fatigue sit at the heart of so many cramps, how you move is worth attention. Warming up and cooling down, raising your activity gradually rather than in big leaps, and wearing shoes that genuinely support your foot — especially if you have flat or high arches — all reduce the muscle strain that sets cramps off. These are quiet, structural fixes, the kind that work in the background.
A word on magnesium
Magnesium is the internet's favorite cramp remedy, so it's worth being straight about it. A clinical review summarized by the American Academy of Family Physicians found that magnesium supplements are unlikely to meaningfully reduce nocturnal leg cramps in the general adult population, and in pregnancy the research has been inconsistent. It's low-stakes to get magnesium from food, and some individuals feel it helps them, but it isn't a proven fix — and in pregnancy, any supplement is best run past your provider first.
Why quinine isn't the answer
For decades, quinine was a go-to for stubborn leg cramps. It shouldn't be anymore. The U.S. Food and Drug Administration has warned that using quinine for nighttime leg cramps can cause serious, even life-threatening reactions — including severe blood disorders, kidney damage, irregular heart rhythm, and severe allergic reactions — and that the drug is only approved to treat malaria. That's why doctors generally won't prescribe it for cramps. The safer path runs through the stretching, movement, and hydration habits above, plus a conversation with a clinician if cramps persist.