Emergency Open 24/7 · Morning OPD from 9:00 AM
10-Bedded Hospital24/7 Emergency Care+91 90633 66983+91 95053 74057❤️ Best Neurologist in Hyderabad10-Bedded Hospital24/7 Emergency Care+91 90633 66983+91 95053 74057❤️ Best Neurologist in Hyderabad
Back to all articlesNeurology

Night Leg Cramps: Why Your Legs Cramp at 2AM and How to Stop Them

Dr. Anand Karnam 2026-05-26 4 min
Night Leg Cramps: Why Your Legs Cramp at 2AM and How to Stop Them

Nocturnal leg cramps wake millions of Indians every night. They are usually benign but occasionally signal nerve or circulation problems. Dr. Anand Karnam explains the causes, the neurological link, and what actually works.

Nocturnal leg cramps — sudden, involuntary, painful contractions of calf or foot muscles during sleep — affect approximately 60% of adults at some point and are a common complaint in neurology clinics. They typically last from seconds to minutes and leave the muscle sore for hours afterward. While usually benign, recurrent severe cramps — particularly when accompanied by other symptoms — warrant evaluation.

Why Nocturnal Cramps Happen

The exact mechanism is incompletely understood, but the most accepted theory involves motor nerve hyperexcitability during sleep. Possible contributing factors:

  • Electrolyte imbalance: Low magnesium, calcium, or potassium impairs normal muscle relaxation after contraction. Common in people who sweat heavily (outdoor workers, athletes), use diuretics, or have poor dietary intake. Most common in Hyderabad's hot summer months
  • Dehydration: Reduces plasma volume, concentrating electrolytes and impairing nerve conduction
  • Prolonged sitting or abnormal leg position: Sleeping with feet plantarflexed (toes pointed down) shortens the calf — a common precipitant
  • Peripheral vascular disease: Reduced blood flow to the legs causes muscle ischaemia and cramping — typically in older patients with vascular risk factors, and associated with calf pain on walking (claudication)
  • Peripheral neuropathy: Nerve damage from diabetes, B12 deficiency, or other causes produces motor nerve instability and abnormal spontaneous muscle activity including cramps
  • Lumbar stenosis or disc disease: Nerve root compression can produce nocturnal cramps in the distribution of the compressed nerve
  • Medications: Statins (very common cause — muscle-related adverse effects); diuretics (electrolyte loss); beta-agonists; nifedipine

What Immediately Helps During a Cramp

  • Forcefully dorsiflex the foot (pull toes towards you) — stretches the calf and terminates the cramp
  • Stand up and bear weight on the affected leg
  • Massage the cramping muscle vigorously

Prevention

Adequate hydration throughout the day. Magnesium glycinate or magnesium citrate at bedtime (400mg) — evidence for reduction of nocturnal cramp frequency, particularly in pregnancy. Calf stretches before bed: stand facing a wall, lean forward with both hands on wall, one leg behind, heel flat on floor — hold 30 seconds each side. Avoid sleeping with feet plantarflexed — use a pillow to prop the feet in a neutral position. Review statin and diuretic use with your doctor if cramps are frequent.

If cramps are very frequent, severe, or associated with leg weakness, numbness, or calf pain on walking: evaluation for peripheral neuropathy or vascular disease. Sri Anand CNC, Chanda Nagar, Hyderabad. Call +91 90633 66983.

Have questions about this topic?

Our specialist doctors at Sri Anand Child and Neuro Center can help — in person or via WhatsApp.

K

Dr. Anand Karnam

DrNB Neurology · Sri Anand CNC, Chanda Nagar Hyderabad · Sri Anand Child and Neuro Center

DrNB-qualified Neurologist, Fellow of the World Headache Society (FWHS), and Headache Specialist with 12+ years of experience treating epilepsy, stroke, migraine, and movement disorders. Practices at Sri Anand Child and Neuro Center, Chanda Nagar, Hyderabad.

Health Information Standards

IMAIndian Medical Association

Content follows IMA ethical guidelines for patient education

WHOWorld Health Organization

Treatment information aligned with WHO clinical guidelines

MoHFWGovt. of India — Ministry of Health

Follows MoHFW National Health Programme protocols

NMCNational Medical Commission

All doctors hold NMC-recognised qualifications (DrNB / MD / MPT)

All health tips and medical content on this website are written by qualified specialist doctors (DrNB / MD / MPT), follow the above guidelines, and are intended for general health education only. This content is original and evidence-based — not a substitute for professional medical advice. Always consult your doctor before making any health decisions.

Concerned about your health?

Talk to our specialist doctors directly — WhatsApp response within minutes during clinic hours.

Share:WhatsAppFacebook

Talk to a Specialist

Dr. Anand (Neuro) · Dr. Sushma (Paeds) · Dr. Harisha (Physio)

Verified Health Info

IMA GuidelinesWHO GuidelinesMoHFW GuidelinesNMC Guidelines