Skip to content
My WebMD Sign In, Sign Up

Sleep Disorders Health Center

Font Size
A
A
A

Leg Cramps

If you’ve had a charley horse, you probably know it wasn’t a comfortable ride. These spasms usually happen at night and affect your calf muscle.

The tight, knotted sensation you feel lasts several seconds to several minutes. Sometimes the pain lingers. If the cramp is severe, your muscle may be sore for days afterward.

Recommended Related to Sleep Disorders

Narcolepsy Resources

Left untreated, narcolepsy may be devastating both psychologically and socially. However, with proper management and treatment, people with narcolepsy usually lead meaningful and productive personal and professional lives. If you are diagnosed with narcolepsy, consider joining a support group. By becoming a member of a support group, you'll get emotional support from people who are having similar problems. This will alleviate isolation and the feeling that you are the only one with this condition...

Read the Narcolepsy Resources article > >

Men and women are equally prone to leg cramps. While they can strike people of all ages, if you’re 50 or older you might get them more often.

As painful as they feel, leg cramps are harmless.

What Causes Leg Cramps?

Experts don’t know for sure, but it may be that your nerves sent the wrong signals to your muscles.

One theory: Your brain might mistakenly tell your leg to move while you dream. That confuses your calf muscles and causes them to contract incorrectly.

Whatever the cause, more likely to get a leg cramp if you:

  • Overwork your muscles.
  • Sit too long without moving.
  • Don’t drink enough water.
  • Stand too long on hard surfaces.

Other things can raise the likelihood of leg cramps, including:

  • Diabetes
  • Parkinson’s disease
  • Alcoholism
  • Low blood sugar
  • Some hormone disorders, such as hypothyroidism
  • Imbalances in chemicals in your body, such as calcium, potassium, and magnesium
  • Flat feet

Certain medications can also cause leg cramps. These include:

  • High blood pressure drugs
  • Statins to treat high cholesterol
  • Medications for chronic obstructive pulmonary disease (COPD)

 

What to Do When You Get a Leg Cramp

Next time a leg cramp strikes, try any of these:

  • Stretch the muscle.
  • Stand on the cramped leg.
  • Massage the muscle.
  • Flex your foot.
  • Grab your toes and pull them toward you.
  • Ice the cramp.
  • Take a warm bath.

 

How to Prevent Leg Cramps

Here are some simple things you can do:

  • Stretch during the day and before bed. Focus on your calf and foot muscles.
  • Drink plenty of water.
  • Move around during the day to exercise your feet and legs.
  • Wear comfortable, supportive shoes.
  • Sleep under loose covers, especially if you sleep on your back.

And that old advice about eating bananas for leg cramps? It’s true. The potassium helps. You might also add multivitamins with magnesium and zinc.

If you have frequent and severe leg cramps, talk to your doctor. You'll want to make sure there's not a health problem causing the cramps.

Your doctor might also prescribe medication. Drugs don't always work for leg cramps, and they can cause harmful side effects. The anti-malaria drug quinine, for example, was once used for leg cramps, but doctors and the FDA no longer recommend it -- side effects include severe bleeding.

WebMD Medical Reference

Reviewed by Brunilda Nazario, MD on November 18, 2013

Today on WebMD

Alcohol Disrupting Your Sleep
Article
Sweating Evaluator
Article
 
Lavender sprig
Article
Always Sleepy Causes Fixes For Fat
Slideshow
 

Is This Normal? Get the Facts Fast!

How Many Hours Did You Sleep Last Night?
Is that amount of sleep typical for you?
Did you get enough sleep to feel alert today and function at your best?

Get the latest Sleep Disorders newsletter delivered to your inbox!


or
Answer:
0-6
7-8
9+

Your level is currently

You say you are able to function well with fewer than seven hours of sleep. Some people say they can function on four to six hours of sleep each night, but research shows that adults who get fewer than seven hours of sleep — whether for just one night or over the course of days, weeks, or months — have more difficulty concentrating and more mood problems than people who sleep seven to nine hours.

Since you usually get too little sleep, please talk to your doctor about your sleep patterns. Poor quality sleep can affect many areas of your life and health, and your doctor may be able to help you if you have insomnia or other conditions affecting your sleep.

Sleep deprivation can have both short- and long-term consequences. Learn more about the health consequences of sleep loss. If you're concerned about having trouble falling asleep or staying asleep, assess your risk for a sleep disorder.

It's not surprising you feel that you're not functioning at your best today. Some people say they can function on four to six hours of sleep each night, but research shows that adults who get fewer than seven hours of sleep — whether for just one night or over the course of days, weeks, or months — have more difficulty concentrating and more mood problems than people who sleep seven to nine hours.

Since you usually get too little sleep, please talk to your doctor about your sleep patterns. Poor quality sleep can affect many areas of your life and health, and your doctor may be able to help you if you have difficulty sleeping, have insomnia, or have other sleep disorders.

Learn more about the health consequences of sleep loss. If you're concerned about having trouble falling asleep or staying asleep, assess your risk for a sleep disorder.

It's not surprising you feel that you're not functioning at your best today. Some people say they can function on four to six hours of sleep each night, but research shows that adults who get fewer than seven hours of sleep — whether for just one night or over the course of days, weeks, or months — have more difficulty concentrating and more mood problems than people who sleep seven to nine hours.

It's good that you usually do get more sleep, since sleep deprivation can have both short- and long-term consequences. Learn more about the health consequences of sleep loss. And if you're concerned about having trouble falling asleep or staying asleep, assess your risk for a sleep disorder.

You say you are able to function well with fewer than seven hours of sleep. Some people say they can function on four to six hours of sleep each night, but research shows that adults who get fewer than seven hours of sleep — whether for just one night or over the course of days, weeks, or months — have more difficulty concentrating and more mood problems than people who sleep seven to nine hours.

It's good that you usually do get more sleep because sleep deprivation can have both short- and long-term consequences. Learn more about the health consequences of sleep loss. And if you're concerned about having trouble falling asleep or staying asleep, assess your risk for a sleep disorder.

It's not surprising you feel that you're not functioning at your best today. Some people say they can function on four to six hours of sleep each night, but research shows that adults who get fewer than seven hours of sleep — whether for just one night or over the course of days, weeks, or months — have more difficulty concentrating and more mood problems than people who sleep seven to nine hours.

Since you usually get less sleep, please talk to your doctor about your sleep patterns. Poor quality sleep can affect many areas of your life and health, and your doctor may be able to help you if you have difficulty sleeping or have insomnia or other sleep disorders.

Learn more about the health consequences of sleep loss. If you're concerned about having trouble falling asleep or staying asleep, assess your risk for a sleep disorder.

It's wonderful that you got a good night's sleep last night. Many people struggle to do so. Having a good sleep routine often is the key to getting the quality sleep night after night that your body needs for optimal health. Whether your sleep routine involves taking a warm bath, reading a book, or meditating, it's important to keep your bedtime and routine consistent every night and wake up around the same time every morning.

Click here to read more about the importance of sleep. If you're concerned about having trouble falling asleep, staying asleep, or sleeping too much, assess your risk for a sleep disorder.

It's unfortunate you're not functioning at your best today. You say you had a good quantity of sleep last night, but maybe the quality of your sleep is not as good as it could be? Having a good sleep routine — including a consistent bedtime and wake time — often is the key to getting the quality sleep night after night that your body needs for optimal health. Since you usually sleep this amount, if you often aren't feeling your best, you should consider talking to your doctor. Could you have an underlying condition? Are you feeling anxious or depressed? Have you taken medication that disrupted your sleep? Do you or could you have sleep apnea? Or do you naturally require a little bit more sleep?

Although sleep is crucial for optimal health, some research suggests that sleeping too much can also have negative consequences. Learn more about sleep. If you're concerned about having trouble falling asleep, staying asleep, or sleeping too much, assess your risk for a sleep disorder.

It's unfortunate you're not functioning at your best today. You say you had a good quantity of sleep last night, but maybe the quality of your sleep is not as good as it could be? Having a good sleep routine — including a consistent bedtime and wake time — often is the key to getting the quality sleep night after night that your body needs for optimal health. Since you usually sleep longer, if you often aren't feeling your best, you should consider talking to your doctor. Could you have an underlying condition? Are you feeling anxious or depressed? Have you taken medication that disrupted your sleep? Do you or could you have sleep apnea? Or do you naturally require a little bit more sleep?

Although sleep is crucial for optimal health, some research suggests that sleeping too much can also have negative consequences. Learn more about sleep. If you're concerned about having trouble falling asleep, staying asleep, or sleeping too much, assess your risk for a sleep disorder.

It's wonderful that you got a good night's sleep last night. Many people struggle to do so. Having a good sleep routine often is the key to getting the quality sleep night after night that your body needs for optimal health. Whether your sleep routine involves taking a warm bath, reading a book, or meditating, it's also important to keep bedtime consistent and wake up around the same time every morning.

Although sleep is crucial for optimal health, some research suggests that sleeping too much can have negative consequences. Learn more about sleep. If you're concerned about having trouble falling asleep, staying asleep, or sleeping too much, assess your risk for a sleep disorder.

It's unfortunate you're not functioning at your best today. You say you had a good quantity of sleep last night, but maybe the quality of your sleep is not as good as it could be? Having a good sleep routine — including a consistent bedtime and waking up at the same time — often is the key to getting the quality sleep night after night that your body needs for optimal health.

Since you usually get less sleep, please talk to your doctor about your sleep patterns. Poor quality sleep can affect many areas of your life and health, and your doctor may be able to help you if you have insomnia, another sleep disorder, or conditions affecting your sleep.

Learn more about the health consequences of sleep loss. If you're concerned about having trouble falling asleep or staying asleep, assess your risk for a sleep disorder.

It's wonderful that you got a good night's sleep last night. Many people struggle to do so. Having a good sleep routine often is the key to getting the quality sleep night after night that your body needs for optimal health.

Since you usually get less sleep, talk to your doctor about your sleep patterns. Poor quality sleep can affect many areas of your life and health, and your doctor may be able to help you if you have insomnia or another sleep disorder or conditions affecting your sleep.

Learn more about the health consequences of sleep loss. If you're concerned about having trouble falling asleep or staying asleep, assess your risk for a sleep disorder.

SOURCES:

Centers for Disease Control and Prevention (CDC). Effect of short sleep duration on daily activities--United States, 2005-2008. MMWR Morb Mortal Wkly Rep 2011; 60:239.

Carskadon, MA, Dement, WC. Normal Human Sleep: An Overview. In: Principles and Practices of Sleep Medicine, Fifth, Kryger, MH, Roth, et al. (Eds), Elsevier Saunders, St. Louis, MO 2011. p.16.

Harvard University: "Sleep, Performance, and Public Safety."

Did You Know Lifestyle Choices
Impact Your Sleep?

Use the WebMD Sleep Tracker to track
your ZZZs over time.

Get Started

This tool is intended only for adults 18 and older.

Start Over

Step:  of 

Young woman sleeping
Quiz
The Truth About Naps
Video
 
child sitting in bed
Article
Woman with insomnia
Quiz
 
Sleep Specialists in Your Area

nurse sleeping
ARTICLE
Foods That Help Or Harm Your Sleep
SLIDESHOW
 
Insomnia 20 Tips For Better Sleep
Slideshow
Pain at Night
ARTICLE