Nighttime Leg Cramps

Search Knowledgebase

Topic Contents

Nighttime Leg Cramps

Topic Overview

Is this topic for you?

Nighttime leg cramps are different from another common nighttime leg problem called restless legs syndrome. With restless legs syndrome, your legs feel fidgety or crawly unless you move them. For more information, see the topic Restless Legs Syndrome.

What are nighttime leg cramps?

Nighttime (or nocturnal) leg cramps are usually sudden spasms, or tightening, of muscles in the calf. But the muscle cramps can sometimes happen in the thigh or the foot. They often occur just as you are falling asleep or waking up. These painful cramps can last a few seconds to a few minutes.

These leg cramps are also called charley horses.

What causes nighttime leg cramps?

Though nighttime leg cramps are common, experts don't know exactly what causes them. But most of the time it is not because of illness. Some of the things that may cause leg cramps include:

  • Getting too much exercise or overusing the muscles.
  • Standing on concrete for a long time, sitting for a long time, or putting your legs in awkward positions while you sleep.
  • Not having enough potassium, calcium, and other minerals in your blood.
  • Being dehydrated, which means your body has lost too much fluid.
  • Taking certain medicines, such as antipsychotics, birth control pills, diuretics, statins, and steroids.
  • Having flat feet.
  • Having thyroid disease.

How can you stop a nighttime leg cramp when it happens?

You may need to try several different ways to stop a leg cramp before you find what works best for you. Here are some things you can try:

  • Walk around, or jiggle your leg.
  • Stretch your calf muscles. You can do this stretch while you sit or stand:
    • While sitting, straighten your leg and flex your foot up toward your knee. It may help to place a rolled towel under the ball of your foot and, while holding the towel at both ends, gently pull the towel toward you while keeping your knee straight.
    • While standing about 0.5 m (2 ft) from a wall, lean forward against the wall. Keep the knee of the affected leg straight and the heel on the ground. Do this while you bend the knee of the other leg. See a picture of how to do this calf stretch.
    These exercises stretch your calf muscles, and you will probably feel the leg cramp go away after a few minutes.
  • Some people find that a hot shower or a warm bath helps. Others get relief by rubbing the calf with an ice pack.

How can you prevent them?

Use these tips to help prevent nighttime leg cramps:

  • Drink plenty of water and other fluids during the day.
  • Limit or avoid drinks with alcohol or caffeine. These can make you dehydrated, which means your body has lost too much fluid.
  • Make sure you are eating healthy foods (especially if you are pregnant) that are rich in calcium, potassium, and magnesium.
  • Ride a stationary bike to condition and stretch your muscles.
  • Stretch your leg muscles for a few minutes before you go to bed.

If you are taking medicines that are known to cause leg cramps, your doctor may prescribe different medicines.

If your leg cramps bother you a lot, your doctor may prescribe medicines that calm leg nerves or relax the muscles.

What if nighttime leg cramps keep coming back?

Talk with your doctor if you have muscle cramps that keep coming back, are severe, or occur in other muscles of your body. These may be symptoms of another problem.

Related Information

References

Other Works Consulted

  • American Academy of Neurology (2010). AAN summary of evidence-based guideline for clinicians: Symptomatic treatment for muscle cramps. Available online: http://www.aan.com/practice/guideline/uploads/394.pdf.
  • American Academy of Neurology (2010). AAN summary of evidence-based guideline for patients and their families: Drug treatments for symptoms of muscle cramps. Available online: http://www.aan.com/practice/guideline/uploads/395.pdf.
  • Katzberg HD, et al. (2010). Assessment: Symptomatic treatment for muscle cramps (an evidence-based review): Report of the Therapeutics and Technology Assessment Subcommittee of the American Academy of Neurology. Neurology, 74(8): 691–696. Available online: http://www.neurology.org/cgi/content/full/74/8/691.
  • Walters AS (2007). Clinical identification of the simple sleep-related movement disorders. Chest, 131(4): 1260–1266.
  • Young G (2009). Leg cramps, search date September 2008. Online version of BMJ Clinical Evidence: http://www.clinicalevidence.com.

Credits

By Healthwise Staff
Primary Medical Reviewer Anne C. Poinier, MD - Internal Medicine
Primary Medical Reviewer Brian D. O'Brien, MD - Internal Medicine
Specialist Medical Reviewer Karin M. Lindholm, DO - Neurology
Last Revised October 19, 2010

This information does not replace the advice of a doctor. Healthwise, Incorporated disclaims any warranty or liability for your use of this information.