Advertisement · Sponsored by Cramp Defense®
Night & Day JournalA Cramp Defense® publication · Health & Sleep

Sleep & health

The 7 real causes of night leg cramps (No. 2 surprises most people)

Woken up by a charley horse again? Most night cramps trace back to one imbalance between two minerals. Here are the 2 root causes, the 5 everyday triggers that make them worse, and what to do about each.

By the Cramp Defense® team·5-minute read
Couple asleep in bed
Night leg cramps usually strike the calf, but can also hit the feet or thighs.

Few things wreck a good night's sleep like a leg cramp: a sudden, rock-hard knot in your calf, foot or thigh that jolts you awake. Night leg cramps are common, especially after 50, and they can feel random. Usually they aren't. Most come down to a few causes you can do something about. Here are the two root causes, the five everyday triggers that make them worse, and what to do about each.

The root cause: a magnesium–calcium imbalance

A cramp is a muscle that got the signal to tighten and never got the signal to let go. Two minerals carry those signals. Calcium tells a muscle to contract. Magnesium tells it to relax. They work as opposites, so when they fall out of balance, the "let go" signal loses and the muscle stays locked. At night, when you're still and your muscles are resting in a shortened position, that's when it bites.

Animated diagram of a calf muscle cramp. In a relaxed muscle fiber, calcium makes the filaments slide together, then magnesium pumps the calcium back into storage and the filaments slide apart. In a cramp, magnesium is low, calcium stays out, and the filaments stay locked together. CALF MUSCLEINSIDE ONE MUSCLE FIBERRELAXEDCALCIUM STORECaCaCaCaCaCaCaCaCaCaCaCaCaMgMgMagnesium (with ATP energy) pumps calcium back into storage.The filaments slide apart, and the muscle lets go.CRAMPSTORE EMPTYINGCaCaCaCaCaCaCaCaCaCaCaMgLOWWithout enough magnesium, calcium stays out.The filaments stay locked, and the muscle can't let go.
What happens inside a muscle fiber during a cramp. Magnesium, with ATP energy, pumps calcium back into storage so the fiber can relax. When magnesium is low, calcium lingers and the fiber stays contracted.

That balance can be thrown off from two directions: too little magnesium, or too much calcium. Those are the two root causes behind most night leg cramps. Five everyday triggers then make the imbalance worse.

1
The #1 cause

Not enough magnesium

This is the most common cause, especially after 50. Magnesium is what lets a muscle relax, and when it runs low, muscles become over-excitable and quick to seize. Many people fall short without knowing it: today's processed, low-mineral diet supplies less, the body absorbs less with age, and stress, sweat, caffeine, alcohol and some medicines drain more.

A standard blood test often misses it, because most of your magnesium is stored in your bones and cells, not your blood. Your levels can look "normal" on paper while your muscles run short.

Try thisTake an absorbable form of magnesium every day, such as a magnesium malate, and eat more leafy greens, nuts, seeds and beans.
2
Most surprising

Too much calcium, especially at night

This is the one that surprises people. Calcium is the "contract" signal, so piling it on tips the balance away from relaxation. The usual sources are dairy, calcium supplements and vitamin D, which boosts how much calcium you absorb. Hard tap water adds even more.

Timing matters too. A glass of milk, a calcium chew or a vitamin D capsule at bedtime loads your muscles with "contract" signals right before they need to rest.

Try thisMove dairy and calcium supplements to earlier in the day. Lower or pause high-dose vitamin D, and never take it at night. Check with your doctor before stopping anything they prescribed.
Calcium signals muscles to contract. Magnesium signals them to relax. Cramps happen when calcium wins.The Cramp Defense® approach
3

Medicines in your cabinet

Some common prescriptions are linked to cramps. Water pills (diuretics) flush magnesium and potassium out through your urine, and cholesterol-lowering statins are another frequent suspect.

Try thisDon't stop any medication on your own. Bring your list to your pharmacist and ask whether any could be draining your minerals.
4

Sweat and overexertion

Hard work, intense exercise, a long day in the yard or a hot afternoon all cost you minerals through sweat. Tired, overworked muscles that are also low on electrolytes are primed to cramp that night.

Try thisEase into new activities, take breaks, and replace minerals after a sweaty day with an electrolyte drink or a pinch of salt in water.
5

Caffeine and alcohol

Both make your body lose more magnesium through your urine. A few cups of coffee, a couple of evening drinks, or both, can quietly widen the gap night after night.

Try thisKeep caffeine to the morning and go easy on evening drinks.
6

Sitting most of the day

Long hours in a chair, a car or a recliner leave your calf muscles shortened and underused. Muscles that rarely work through their full range are more likely to lock up once you're lying still.

Try thisWalk for 20 minutes a day, stand up once an hour, and stretch your calves for two minutes before bed.
7

Getting older

Night cramps become more common with age. Hormonal changes affect how your body handles minerals, you absorb less magnesium from food, and you're more likely to be taking a medication from cause 3. The triggers stack up.

Try thisIf you're over 50, treat magnesium as a daily habit, not an occasional fix.

The science

What the research shows

Three published findings, including one that cuts against us.

2012Common medicines are linked to crampsA study of prescription records for about 4.2 million people found that new prescriptions for cramp treatment were more common in the year after people started a water pill, a statin or a long-acting asthma inhaler. Arch Intern Med
2020Magnesium doesn't help everyoneA Cochrane review of 5 trials in older adults found magnesium unlikely to meaningfully prevent cramps on average. The trials didn't check who was actually low in magnesium. Cochrane
2021A newer trial was encouragingIn a trial of 175 adults with night cramps, the magnesium group had a larger drop in cramp duration and better sleep than the placebo group. Nutr J

See all of our scientific references

The short version: what helps

  • Take an absorbable magnesium every day
  • Eat fruit and vegetables for potassium, magnesium and hydration
  • Keep dairy, calcium and vitamin D to earlier in the day, never at night
  • Ask your pharmacist whether a medication could be involved
  • Replace minerals after sweating, and limit caffeine and alcohol
  • Walk 20 minutes a day and stretch your calves before bed

See your doctor if cramps are severe, happen often, or come with swelling, numbness, weakness or lasting pain.

Does it work?

What 15 years of customer feedback show

80%Full reliefNo more cramps, as long as they keep taking their daily dose.
10%Partial reliefCramps become milder and less frequent.
10%No changeTheir cramps have another cause, so they get a full refund.

From customer feedback, not a clinical trial. Individual results vary.

A fair question

Is Cramp Defense® legit?

Yes. We're MgBRIGHT LLC, a small American company that has made one product since 2011. Here's the record, so you can check it yourself.

  • Since 2011One company, one product, 15 years.
  • 1,000,000+bottles sold.
  • 11,300+Amazon reviews, averaging 4.3 out of 5 stars.
  • A+rating with the Better Business Bureau. See our BBB profile
  • Made in the USAin an FDA-inspected, GMP-compliant facility.
  • 120 daysto get 100% of your money back, even on an empty bottle.

More about us and our values →

Questions readers ask

My blood test says my magnesium is normal. Why do I still cramp?
The standard blood test measures the small amount of magnesium in your blood, which your body keeps steady by pulling from bones and muscles. So the test can look normal while your muscles run low.
I tried magnesium before. Why would this be different?
Usually it's the form. Oxide is poorly absorbed, and citrate and Epsom salt act as laxatives. Truemag® is designed to absorb well without that effect, and it pairs magnesium with malate, which helps your cells make the energy muscles need to let go. The small capsules let you fine-tune your dose.
How do I take it?
Start with 1 capsule a day with food. If you need to, add a second, splitting morning and night. Most people do well on 1 to 2 a day.
How quickly does it work?
Some people notice a difference within days. Give it at least two weeks. If it doesn't help, you get your money back.
Is it safe with my medication?
Most people take it without any issue, but some medications and conditions affect how your body handles magnesium. Check with your doctor or pharmacist first, especially if you have kidney disease.
Is this a subscription?
No. The trial size is a one-time purchase.
Who are you?

We're MgBRIGHT LLC, a small American company that has made Cramp Defense® since 2011. We make one product: Truemag®, a special form of magnesium malate made for maximum absorption with few downsides.

It's made in the USA, we hold an A+ rating with the Better Business Bureau, we've sold more than 1,000,000 bottles, and every order is backed by our 120-day money-back guarantee.

Questions? Call or text 1-877-76CRAMP (9am–5pm Central) or email support@crampdefense.com.

This is a paid advertisement by Cramp Defense® for general information, not medical advice. *These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.