SymptomBones, joints & muscles

Foot and Toe Cramps and Spasms

Foot and toe cramps are sudden, painful, involuntary tightening of the muscles in the arch or toes, often curling the toes down or pulling them apart. They usually last seconds to a few minutes and are most common at night, during exercise or in pregnancy. Most are harmless and linked to muscle fatigue, tight calves, dehydration or footwear. Frequent cramps can point to medicines, low magnesium or potassium, nerve damage or poor circulation. Stretching the toes upward stops most cramps quickly.

Also called: Foot spasms, toe spasms, pedal cramps, charley horse in the foot, toe curling cramps

At a glance

What it is
A sudden, painful, involuntary contraction of the small muscles of the foot or toes.
Common triggers
Night-time, exercise and fatigue, tight calves, dehydration, unsupportive footwear and pregnancy.
Medical causes
Medicines (diuretics, statins), low magnesium, potassium or calcium, nerve damage, poor circulation, kidney disease.
Duration
Seconds to minutes; soreness can last a day.
Treatment
Stretch the toes and foot upward, massage, walk; regular calf and foot stretching to prevent.

When to get help

See a doctor within a day or two

  • Cramps with a swollen, warm, painful calf (possible blood clot)
  • Cramping with muscle weakness, twitching, tingling around the mouth or spasms in the hands (possible low calcium)
  • Foot cramps with pain on walking that eases with rest and a cold foot (possible poor circulation)
  • Severe cramps with very little urine, confusion or after heavy vomiting or diarrhea

Book a routine appointment

  • Cramps several times a week or that disturb your sleep
  • Cramps that started after a new medicine
  • Cramps with numbness, burning or tingling in the feet
  • Toes that curl or twist and stay that way during walking or writing (possible dystonia)

Usually safe to manage at home

  • Occasional cramps after a long walk, sport, standing all day or new shoes
  • Night cramps in pregnancy without swelling or pain between episodes

What a foot or toe cramp feels like

A cramp strikes suddenly. The muscle becomes hard and knotted, and the toes may curl down, spread apart or bend at odd angles. The arch can tighten into a hard ridge. The pain is sharp and peaks within seconds. Once it releases, the muscle may stay sore and tender for hours. Cramps can also affect the calf at the same time.

Common causes of foot and toe cramps

Muscle fatigue and overuse

Small foot muscles tire easily during long walks, running, dancing, standing on hard floors or playing sports. Tired muscles are more prone to misfire. Starting a new exercise routine or increasing distance quickly is a common trigger.

Night-time cramps

Night cramps are very common, especially after age 50. Lying with the toes pointed (from heavy blankets or sleeping face down) keeps calf and foot muscles shortened, which can trigger a cramp. Sedentary days and tight calves increase the risk.

Footwear

High heels, narrow toe boxes, tight shoes and worn-out shoes without arch support force foot muscles to work harder and can cause cramping. Flip-flops make the toes grip to keep them on.

Dehydration and heat

Sweating heavily during exercise or hot weather, especially without replacing salt, increases cramp risk. See dehydration.

Pregnancy

Leg and foot cramps are common in the second and third trimesters, often at night.

Foot structure

Flat feet, high arches and bunions change how foot muscles work and can cause fatigue and cramping. Plantar fasciitis causes heel pain that can be mistaken for a cramp.

Medical causes

Medicines

  • diuretics (water pills), which lower potassium and magnesium
  • statins, which can cause muscle aches and cramps
  • some asthma medicines (albuterol, long-acting beta-agonists)
  • some osteoporosis and blood pressure medicines
  • raloxifene and some hormone treatments

Mineral imbalances

Low levels of magnesium (hypomagnesemia), potassium (hypokalemia) or calcium make muscles irritable. Causes include diuretics, vomiting and diarrhea, heavy alcohol use, some acid-reducing medicines taken long-term, and kidney problems. Low calcium can cause characteristic spasms of the hands and feet, with tingling around the mouth.

Nerve problems

Peripheral neuropathy, most often from diabetes, causes cramps with numbness, tingling or burning in the feet. A pinched nerve in the lower back can cause cramping in the foot as well.

Circulation problems

Peripheral artery disease causes cramping pain in the calf or foot during walking that eases with rest. The foot may be cold or pale.

Other conditions

  • Kidney disease and dialysis
  • Underactive thyroid
  • Foot dystonia: sustained curling or twisting of the toes during walking, sometimes an early sign of Parkinson's disease; see dystonia
  • Motor neuron disease: rare; cramps with weakness and muscle twitching

How to stop a foot cramp fast

  1. Stretch the toes upward: grab your toes and pull them gently back toward your shin, or stand and press the ball of your foot on the floor while lifting the heel slightly.
  2. Stand and walk: putting weight on the foot stretches the arch.
  3. Massage: knead the arch and the cramping muscle firmly.
  4. Apply heat to relax the muscle, then cold for any lingering soreness.
  5. Flex the ankle: if the calf is involved, straighten your leg and pull your foot toward you.

Preventing foot and toe cramps

  • Stretch daily: calf stretches against a wall, toe extensions, and rolling the arch over a ball or frozen water bottle, especially before bed.
  • Strengthen feet: towel scrunches and picking up marbles with your toes.
  • Choose supportive shoes with room for your toes; replace worn running shoes.
  • Stay hydrated, especially in hot weather and during exercise.
  • Keep bedding loose over your feet at night.
  • Increase exercise gradually.
  • Review medicines with your doctor if cramps began after a new prescription.

Magnesium supplements are popular but evidence shows little benefit for typical night cramps in older adults; they may help in pregnancy for some women. Quinine is not recommended for cramps because of serious side effects.

When to see a doctor

See a doctor if cramps are frequent, severe, disrupt sleep, began after a new medicine, or come with weakness, numbness, swelling or skin changes. Your doctor will ask about your medicines, exercise, alcohol and other symptoms, examine your feet, pulses and nerves, and may order blood tests for magnesium, potassium, calcium, kidney function, thyroid and blood sugar.

Frequently asked questions

What causes foot and toe cramps at night?

Night cramps are linked to muscle fatigue, tight calves, lying with toes pointed, dehydration, pregnancy and aging. Medicines such as diuretics and statins, low magnesium or potassium, and nerve damage from diabetes can also contribute. Stretching before bed helps many people.

How do I stop my toes from cramping?

Pull your toes back toward your shin and hold the stretch, or stand up and press your foot flat on the floor. Massage the arch and walk around. Regular calf and toe stretches, supportive shoes and good hydration help prevent cramps.

What deficiency causes toe cramps?

Low magnesium, potassium or calcium can cause muscle cramps, including in the toes. Low calcium in particular causes spasms of the hands and feet with tingling around the mouth. A blood test can check these levels. Most foot cramps are not caused by a deficiency.

Are frequent foot cramps a sign of something serious?

Usually not, but frequent cramps can be a sign of nerve damage, poor circulation, mineral imbalances, kidney or thyroid disease, or a medicine side effect. See a doctor if cramps are frequent, worsening, or come with numbness, weakness or swelling.

Does drinking water help foot cramps?

It can if dehydration is a factor, such as after sweating during exercise or in hot weather. Drinks with electrolytes may help during prolonged exercise. For typical night cramps, regular stretching is more effective than extra water.

Sources

This guide was written from current patient and clinical guidance, including:

  • American Academy of Family Physicians: Nocturnal leg cramps
  • American Academy of Neurology: Treatment of muscle cramps (evidence-based guideline)
  • NHS: Leg cramps
  • MedlinePlus: Muscle cramps
  • American Podiatric Medical Association: Foot health information