You’re sound asleep when your calf suddenly locks into a hard, painful knot. You grab your leg and wait for it to let go. If this sounds familiar, you’re far from alone. Nighttime leg cramps affect an estimated 50 to 60 percent of adults, and they become more common with age (American Family Physician).
Most leg cramps are harmless. But when they happen often, they can wreck your sleep. Sometimes they’re linked to a medication or health condition worth a closer look. Here’s what our sleep medicine team wants you to know.
A nighttime (nocturnal) leg cramp is a sudden, involuntary tightening of a muscle. It usually happens in the calf, but it can also affect the foot or thigh. The muscle feels hard to the touch, and the pain can be intense.
A cramp can last from a few seconds to several minutes. Afterward, the muscle may feel sore for hours (Sleep Foundation).
In many cases, there’s no single clear cause. Researchers believe cramps are more closely tied to muscle fatigue and nerve activity than to low minerals like potassium or magnesium (AFP). Several factors can make them more likely.
Nighttime leg cramps are more common in people with:
Some medications are linked to leg cramps. These include diuretics (water pills), steroids, some antidepressants, and certain osteoporosis drugs. If your cramps began after starting a new medicine, tell your provider. Don’t stop any prescribed medicine on your own.
Nighttime leg cramps are often confused with restless legs syndrome (RLS), a sleep-related condition. They feel different and are treated differently.
| Leg Cramp | Restless Legs Syndrome | |
| Feeling | Sudden, painful tightening | Crawling, tingling, or uneasy feeling |
| The muscle | Hard and knotted | Not tight |
| What helps | Stretching the muscle | Moving your legs, but relief is short |
If you feel a strong urge to move your legs at night rather than a painful knot, talk with a sleep specialist. RLS is treatable.
When a cramp hits:
Stretching and massage are the first-line options for relief (AFP).
Does magnesium help leg cramps? For most older adults, probably not. A 2020 Cochrane review found magnesium is unlikely to reduce cramps meaningfully, and it often causes stomach side effects. Evidence in pregnancy is unclear. Ask your provider before starting any supplement.
What about quinine or tonic water? Quinine is not recommended for leg cramps. The FDA has warned against it because of serious, sometimes life-threatening side effects (AFP).
Are nighttime leg cramps a sign of something serious? Usually not. But frequent cramps can be linked to circulation problems, nerve damage, kidney disease, or medications. Your provider can help find the cause.
Call your provider if:
Losing sleep to leg pain adds up. At The Respire Institute, our sleep medicine team evaluates and treats conditions that disrupt sleep, including restless legs syndrome. When needed, we offer in-clinic and at-home sleep studies to find out what’s keeping you up.
Call 713-464-8099 or visit TheRespireInstitute.com to schedule a visit.
Katy Sleep Lab
Methodist Continuing Care
701 S. Fry Rd.
Suite 225
Katy Texas 77450
© 2026 The Respire Institute – Pulmonary and Sleep Disorders. All Rights Reserved.
West Houston & Katy Area
Advanced Respiratory Care Center
Primary Clinic and Pulmonary Rehabilitation Center
Methodist West Professional Building 2
18300 Katy Fwy Suite 615
Houston, Texas 77094
West Houston Clinic &
Pulmonary Rehabilitation Center
Methodist West Professional Building 2
18300 Katy Fwy Suite 615
Houston, Texas 77094
Memorial West
Sleep Lab
10 Medical Plaza
10837 Katy Freeway,
Suite 250
Houston, TX 77079
Contact Us
Careers
Marketing & Partnerships
Join a Research Study
New Patient Packet
Patient Portal
Sleep Study Referral Form
Meet our Doctors
Referral Form

