Muscle cramps
Sudden, involuntary, painful muscle contractions — most often night-time calf or foot cramps. Usually benign and related to exercise, dehydration or ageing, but persistent or widespread cramps can flag an electrolyte, thyroid, kidney or medication cause worth a simple blood check.
What it means
A cramp is an abrupt, sustained, involuntary contraction of a muscle. The everyday kind — nocturnal leg cramps, exercise-associated cramps — is common and usually harmless, driven by muscle fatigue, dehydration, ageing and prolonged positions. But cramps are also a classic signal of disturbed electrolytes and a handful of medical conditions. Low or high potassium, low sodium, low calcium and low magnesium all provoke cramps and spasms. Thyroid disease (especially hypothyroidism) and chronic kidney disease disturb the mineral balance. Medications matter — diuretics (which waste potassium and magnesium), statins (muscle aches and, rarely, damage), and some others. Widespread cramps with weakness, dark urine, or persistent symptoms deserve a blood panel rather than reassurance alone.
Common causes
- Benign nocturnal leg cramps — common with age; usually no cause found.
- Exercise / dehydration / heat — fluid and electrolyte loss.
- Electrolyte disturbance — low or high potassium, low sodium, low calcium, low magnesium.
- Diuretics — waste potassium and magnesium; a very common drug cause.
- Hypothyroidism — muscle stiffness, cramps, aches.
- Chronic kidney disease — mineral and electrolyte imbalance.
- Statins — muscle aches and cramps; rarely significant muscle breakdown (raised CK).
- Pregnancy — leg cramps are common.
- Nerve or circulation problems — if cramps come with numbness or claudication.
Lab work-up approach
Occasional exercise or night cramps in an otherwise well person rarely need tests. When cramps are frequent, widespread, or come with weakness, a basic panel is worthwhile: electrolytes (potassium, sodium), calcium and magnesium, kidney function (creatinine/eGFR), and TSH for thyroid. Add creatine kinase (CK) if there is muscle pain and weakness, or if you take a statin and symptoms are significant — a high CK signals muscle breakdown. Review diuretics and other contributing drugs. Mediora.AI surfaces the electrolyte, thyroid and kidney pattern from your results and highlights a raised CK; the clinical decision is your GP's.
Tests Mediora.AI can interpret
Related conditions
Panels to consider
When to see a doctor
Simple, occasional cramps need only hydration, stretching and attention to exercise. See a doctor if cramps are frequent, widespread, or come with muscle weakness, swelling, or numbness. Muscle pain and weakness with dark (cola-coloured) urine — especially on a statin — needs urgent assessment for muscle breakdown (rhabdomyolysis). Cramps with a known diuretic, kidney disease, or thyroid symptoms warrant an electrolyte and TSH check. Mediora.AI helps screen the electrolyte and thyroid contributors; persistent or severe cramps are evaluated by your doctor.