I now have rich, clinically detailed information from multiple textbook sources. Here is a thorough, well-organized answer:
Leg Pain at Night - Causes
Nocturnal leg pain is not a single disease but a symptom that can arise from muscular, vascular, neurological, skeletal, and systemic causes. The location, character, and timing of the pain - along with associated features - are the key to narrowing the diagnosis.
1. Muscle Cramps (Nocturnal Leg Cramps / "Charley Horse")
The most common cause of nighttime leg pain. These are sudden, involuntary, painful contractions of the calf, foot, or thigh muscles that awaken the sleeper.
Triggers include:
- Dehydration and electrolyte imbalances (low magnesium, potassium, calcium)
- Muscle fatigue from overexertion or prolonged standing/sitting
- Pregnancy (especially 2nd and 3rd trimester)
- Medications: diuretics, statins, beta-agonists, calcium channel blockers
- Older age (the threshold for spontaneous muscle contraction decreases)
- An exaggerated neuromuscular response to stretch during sleep
The cramp typically lasts seconds to minutes and may leave the muscle sore for hours afterward. - Textbook of Family Medicine 9e, p. 1042
2. Restless Legs Syndrome (RLS)
A neurological sensorimotor disorder affecting ~10% of the population. Characterized by:
- An irresistible urge to move the legs, usually with uncomfortable sensations (crawling, aching, tingling, "ants under the skin")
- Symptoms worse in the evening and night
- Relieved by movement
- Worsened at rest or lying down
RLS is associated with brain iron deficiency (reduced iron in the substantia nigra and red nucleus), dopamine dysregulation, and genetics. It overlaps with Periodic Limb Movement Disorder (PLMD), where repetitive leg jerks during sleep (every 20-40 seconds) disrupt sleep architecture. - Bradley and Daroff's Neurology in Clinical Practice; Eric Kandel Principles of Neural Science
Secondary RLS can be caused by: iron deficiency anemia, end-stage renal disease, pregnancy, and peripheral neuropathy.
3. Peripheral Arterial Disease (PAD) / Critical Limb Ischemia (CLI)
- Claudication (intermittent) = cramping calf pain with walking, relieved by rest. Not typically nocturnal.
- Rest pain from CLI = a more severe, constant aching pain or dysesthesia occurring while lying horizontal (legs at heart level = reduced perfusion pressure). It is relieved by dangling the leg over the side of the bed (gravity helps blood flow).
- Pain can be so severe it is not relieved by narcotic analgesia.
- Associated with risk factors: smoking, diabetes, hypertension, hyperlipidemia, older age.
This is a red-flag presentation requiring urgent vascular assessment. - Textbook of Family Medicine 9e, p. 1044
4. Venous Insufficiency / Varicose Veins
Chronic venous disease causes increased venous pressure in the legs, leading to:
- Aching leg pain, heaviness, and fullness
- Nocturnal leg cramps
- Symptoms worse at the end of the day and in heat
- Relieved by leg elevation
Risk factors include female sex, obesity, prolonged standing, pregnancy, prior DVT, and advanced age. - Symptom to Diagnosis: An Evidence-Based Guide, 4th Ed.
5. Peripheral Neuropathy
Damaged peripheral nerves (commonly from diabetes, alcohol, B12 deficiency, chemotherapy, or hypothyroidism) can cause:
- Burning, tingling, or shooting pain in the legs and feet
- Often worse at night when there are no distracting stimuli
- Associated numbness and weakness in advanced cases
Diabetic peripheral neuropathy is one of the most common causes of nocturnal leg burning. Paradoxically, severe neuropathy may cause painlessness despite significant tissue damage.
6. Lumbar Spine and Radicular Causes
- Lumbar spinal stenosis: Aching or cramping in both legs while walking or standing (neurogenic claudication), relieved by sitting or leaning forward. Night pain can occur with severe disease.
- Sciatica / disc herniation: Burning or shooting pain radiating down the leg along a dermatomal distribution. Lying flat can increase pressure on the nerve root, worsening symptoms at night.
- Cauda equina lesions: Pain is often nocturnal and worse with recumbency. Associated with bladder/bowel dysfunction in severe cases. - Localization in Clinical Neurology, 8e
7. Musculoskeletal Causes
- Osteoarthritis of the hip or knee: aching joint pain at rest, particularly at night
- Bone tumors / metastases: Night bone pain that wakes the patient is a red-flag symptom, especially in cancer patients
- Growing pains (in children): bilateral aching in the thighs or calves at night, no daytime symptoms, benign
- Stress fractures: localized bone pain, worse with activity and sometimes at night
- Inflammatory arthritis (e.g., rheumatoid arthritis): joint pain and stiffness that can flare at night
8. Deep Vein Thrombosis (DVT)
- Unilateral calf or leg pain, swelling, warmth, and redness
- Risk factors: prolonged immobility, surgery, cancer, hormonal contraceptives, clotting disorders
- Can occur at any time including during sleep; patient often notices it upon waking
- Requires urgent investigation (D-dimer, Doppler ultrasound)
9. Vitamin & Electrolyte Deficiencies
| Deficiency | Effect |
|---|
| Magnesium | Muscle cramps, spasms |
| Potassium | Cramping, weakness |
| Calcium | Muscle cramps, tetany |
| Vitamin D | Muscle weakness, aching bone/muscle pain |
| Vitamin B12 | Neuropathic pain, tingling |
10. Medication-Induced
Several drugs can cause or worsen nocturnal leg cramps:
- Diuretics (furosemide, thiazides) - electrolyte depletion
- Statins - myopathy
- Beta-agonists (inhalers)
- Calcium channel blockers
- Antipsychotics (can worsen RLS)
11. Other Less Common Causes
- Syphilis (late/tertiary): periostitis causing nocturnal bone pain ("nocturnal tibia pain"), progressing to saber tibia - Fitzpatrick's Dermatology
- Buerger's disease (TAO): pain on elevation, especially at night, in young smokers
- Polymyalgia rheumatica: aching in proximal muscles, worse in morning but also at night in elderly patients
- Fibromyalgia: widespread musculoskeletal pain with sleep disturbance
When to Seek Urgent Medical Attention
Seek prompt evaluation if leg pain at night is associated with:
- Swelling, redness, warmth (possible DVT)
- Pallor, coldness, absent pulse (acute arterial occlusion - emergency)
- Pain relieved only by dangling the leg (CLI - urgent vascular referral)
- Numbness/weakness or bowel/bladder changes (spinal emergency)
- Unintentional weight loss, night sweats, or known malignancy (bone metastases)
- Severe pain unresponsive to analgesics
Quick Diagnostic Summary by Pain Character
| Pain Pattern | Likely Cause |
|---|
| Sudden calf cramp waking from sleep | Nocturnal muscle cramp |
| Urge to move + crawling sensation, relieved by movement | Restless Legs Syndrome |
| Aching calf with walking only, relieved by rest | PAD (claudication) |
| Aching at rest, relieved by dangling leg | Critical limb ischemia |
| Heaviness + aching, worse at day-end | Venous insufficiency |
| Burning + tingling in feet/legs | Peripheral neuropathy |
| Shooting pain down one leg | Sciatica / radiculopathy |
| Unilateral swelling + calf pain | DVT |
| Bone pain waking at night | Metastatic disease / tumor |
| Leg pain with urge to move, in child | Growing pains vs. RLS |