Find Information About:

Drugs & Supplements

Get information and reviews on prescription drugs, over-the-counter medications, vitamins, and supplements. Search by name or medical condition.

Pill Identifier

Pill Identifier

Having trouble identifying your pills?

Enter the shape, color, or imprint of your prescription or OTC drug. Our pill identification tool will display pictures that you can compare to your pill.

Get Started

My Medicine

Save your medicine, check interactions, sign up for FDA alerts, create family profiles and more.

Get Started

WebMD Health Experts and Community

Talk to health experts and other people like you in WebMD's Communities. It's a safe forum where you can create or participate in support groups and discussions about health topics that interest you.

  • Second Opinion

    Second Opinion

    Read expert perspectives on popular health topics.

  • Community


    Connect with people like you, and get expert guidance on living a healthy life.

Got a health question? Get answers provided by leading organizations, doctors, and experts.

Get Answers

Sign up to receive WebMD's award-winning content delivered to your inbox.

Sign Up

Font Size

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

Is It Possible to Get Too Much Sleep

By Jana Kaplan You're groggy, dizzy even. You can't see straight and you sure as hell can't keep your eyes (or your mind) focused on the screen in front of you. And you're pretty sure your boss has noticed. You want to assure her that you're not drunk and you got enough sleep. In fact, you got more than enough. Could that be the problem? The Rumor: Sleeping too much is just as bad as not sleeping enough We've all heard how important it is to get enough rest, even though most of us don't...

Read the Is It Possible to Get Too Much Sleep 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:

Certain medications can also cause leg cramps. These include:

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

fatigued senior woman
We’ve got 10 tips to show you how
Man snoring in bed
Know your myths from your facts.
Young woman sleeping
What do your dreams say about you?
woman eith hangover
It’s common, and really misunderstood.
Young woman sleeping
Cannot sleep
child sitting in bed
Woman with insomnia
nurse sleeping
Foods That Help Or Harm Your Sleep
Insomnia 20 Tips For Better Sleep
Pain at Night