Night leg cramps – What works, and what doesn’t

May 09, 2026
Share:
Share via emailShare on Facebook
Getty Images

Dr Kathryn Fox is an Australian medical doctor and bestselling crime writer, best known for her forensic thrillers featuring pathologist Dr Anya Crichton. Drawing on her medical expertise, she crafts gripping, authentic crime fiction and is also a passionate advocate for forensic medicine education and public engagement. Her columns appear twice a week.

 

There’s a particular kind of frustration that comes with night leg cramps.

You’re all cozy in bed, ready to drift off to sleep, when suddenly a sharp pain grabs your calf. It’s a strong cramp that tightens up your muscle, and it also can be so bad that it wakes you up. You might even jump out of bed in pain, to stretch it out and try to calm it down.

For many people, it becomes something they simply put up with, but it affects quality and duration of sleep and sometimes even daily function as a result.

As we age, our bodies can start to ache more and are more susceptible to leg cramps at night. About one in three people over 50 experience them, and they can occur more frequently as we get older.

It’s often assumed that muscle cramps are caused by dehydration and electrolyte imbalances, particularly low levels of magnesium. It’s sounds like a simple explanation. Unfortunately, it’s not usually the right one.

As people age, the nerves that control their muscles can become more sensitive, which can cause sudden muscle contractions, or cramps, to happen more often.

This is now believed to be more related to changes in how nerves and muscles function together, rather than just being about electrolyte imbalances.

There are other contributing factors as well.

Reduced activity can lead to tightening and shortening of muscles, particularly in the calves.

Medications also play a role – diuretics, statins, and some asthma medications have all been linked to muscle cramps. Health issues, like diabetes, and problems with blood flow or nerves, can also make cramps more likely.

In most cases, there isn’t a single clear cause. It’s usually a combination of factors.

Night cramps are frustrating due to their intensity and impact on sleep, and no single treatment is consistently effective.

What are some of the proven treatments?

Some people swear by magnesium supplements to relieve their distress. It’s popular, readily available simple to take, and has lots of reviews recommending it – based on individual experiences.

When you look at the scientific evidence, though, it’s not as clear-cut. Most studies haven’t found any real, consistent advantages.

If it works, then that’s great. Applying heat to the cramp, and a warm bath before bed may also be beneficial.

Another treatment option people often hear about is quinine. Although it reduces cramp frequency to some degree, quinine has some significant downsides. It can lead to serious health issues, like problems with blood and heart rhythm. That’s why doctors don’t usually recommend using it.

Small trials and limited evidence show some potential benefits from vitamin B, vitamin E, and vitamin K in treating nocturnal leg cramps. When it comes to taking Vitamin K2 supplements, it’s really important to talk to a doctor first. Generally, they’re safe for most people to take, but there’s a big exception – if you’re already taking blood-thinning medications, you should avoid taking Vitamin K2 supplements.

And it’s not just Vitamin K2, too much of any vitamin can cause problems, so you need to be careful with how much you’re taking. It’s all about finding the right balance and making sure you’re not exceeding recommended doses. If in doubt, get your blood levels checked.

So what does help?

The most consistent evidence supports something simple.

Stretching. Stretching your calf and hamstring muscles before you go to bed can really help with night cramps. It can decrease the frequency and severity.

It’s not a magic fix, but it’s a pretty good way to work the muscles, and it’s safe too.

It’s also a good idea to take a closer look at the medications you’re taking. If you’re getting cramps a lot or they’re severe, you should talk to your doctor about the medications and supplements you’re on to see if they might be making things worse.

Staying hydrated is still important, even if it’s not the main reason for leg cramps. If you’re sick, working out more than you normally do, or taking medicine that can affect how your body uses fluids, drinking enough water can make a big difference.

Sometimes, diagnosing other causes, like nerve or circulation issues is important.

The reality is that night cramps are common, often painful, but not always easy to treat. There’s no single tablet that reliably fixes them, and no simple explanation that applies to everyone.

It’s clear that what works for one person might not work for another, and that’s because our bodies are all unique and we have differing levels of levels of exercise, degrees of muscle stretch, diets, and combinations of medical conditions.

If you only get cramps now and then, you might find that just stretching and keeping active is enough to help. Sometimes, our bodies just need a little extra movement to feel better.

If they’re frequent, severe or becoming worse, you should talk to your doctor about whether something else is going on.

We can’t always stop night cramps from happening, but we can try to make them happen less often and not bother us as much when we’re sleeping.