Skip to content

Medical emergency? What to do

Medical Symptoms

Muscle Cramp

Also called: Muscle Spasm, Charley Horse

A muscle cramp or "charley horse" is a painful, involuntary muscle contraction. Muscle cramps are also called muscle spasms.

What are the causes and risks of the condition?

The exact cause of muscle cramps is not well understood. They can occur in any muscle at any time. Cramps occur most often in the muscles of the leg or foot. They usually occur while playing sports, exercising, or lying in bed. The calf muscle in the back of the lower leg is a common place for nighttime cramps. These often occur after vigorous exercise.

Tight muscles are more likely to cramp than flexible muscles that have been stretched. A low level of physical fitness increases the risk of muscle cramps. Overexertion and muscle fatigue also contribute to cramping. Excess sweating or dehydration can deplete minerals in the body. These minerals are important for good muscle function and include sodium, potassium, calcium, magnesium, and phosphorus. Medications like diuretics or water pills can also lead to cramping due to loss of sodium and potassium.

Other situations can contribute to muscle cramping.

  • A person with one leg longer than the other is more likely to develop cramps.
  • People who run with too much rolling in of the foot or too much rolling out of the foot, are more likely to get leg cramps.
  • Wearing high heel shoes can also cause cramping.
  • A poor blood supply to leg muscles caused by smoking and atherosclerosis (hardening of the arteries) can cause a type of calf pain called claudication.

The common muscle cramp lasts a few seconds to minutes. It does not carry any risk of other long-term medical problems.

Author: Minot Cleveland, MDReviewer: Adam Brochert, MDDate reviewed: 09/19/01

This article was last medically reviewed in 2001. Medical knowledge and treatments change. Use it as background, and talk to your doctor about your own situation.

When to get help

Reading is for later. These need care now.

Call 911 or go to an emergency department if you or someone with you has any of these:

  • Chest pain or pressureEspecially with breathlessness, sweating or pain in the arm, jaw or back. It can be a heart attack.
  • Face drooping, arm weakness, slurred speechSigns of a stroke. Note the time they started: treatment works best within hours.
  • Severe trouble breathingIncluding a severe allergic reaction with swelling of the lips, tongue or throat.
  • Thoughts of suicideCall or text 988 (Suicide & Crisis Lifeline, US) any time, day or night.

Outside the US, call your local emergency number.

See a doctor within days

  1. 01A new lump, or a sore that does not healMost lumps are harmless, but anything that grows or lasts more than a few weeks should be checked.
  2. 02Unexplained weight loss or lasting fatigueLosing weight without trying, or tiredness that does not lift, can have many causes worth finding.
  3. 03A new medicine and new symptomsSide effects and interactions are common. Ask your pharmacist or prescriber before you stop anything.

General guidance only. If you are unsure how urgent a symptom is, call your doctor or a nurse advice line.