What causes leg cramps?

Join Our Community of Science Lovers!

Mark A. W. Andrews, associate professor of physiology and associate director of the Independent Study program at the Lake Erie College of Osteopathic Medicine, provides the following explanation:

Muscle cramping is a common problem encountered by athletes and nonathletes alike. Defined as painful involuntary skeletal muscle contractions, cramps may be categorized as either nonexercise related or exercise related. The etiology of the former group may involve hormonal, electrolyte or metabolic imbalances, or it may result from long-term medication. Diagnostic medical testing may be required if cramps are a persistent problem. Exercise-related muscle cramps (ERMC) are much more common. They typically affect the large muscles of the legs during or immediately after exercise and last for seconds to a few minutes. These are typically benign but result in intense pain and may not seem innocuous at the time.

There is little definitive knowledge of the etiology of ERMC. Traditionally, such cramping was believed to arise from dehydration, electrolyte imbalances (including magnesium, potassium and sodium), accumulation of lactic acid, or low cellular energy levels. These proposals, however, have been shown to have minimal scientific value. More recent developments indicate that the cause of cramps most likely involves hyperactivity of the nerve-muscle reflex arc. In this scheme, some of the normal inhibitory activity of the central nervous system (CNS) reflexes is lost as a result of CNS fatigue or overuse of feedback communication with muscles. These spinal reflexes use two receptors, known as Golgi tendon organs and muscles spindles, found in skeletal muscles. Golgi tendon organs may become inhibited and muscles spindles can become hyperactive, leading to sustained activation of the muscle. It has been suggested that prolonged sitting, poor or abnormal posture or inefficient biomechanics (all of which may be related to poor flexibility) predispose these reflexes to malfunctioning. Age also seems to predispose individuals to cramping--the phenomenon may develop later in life for people who exercise for years without prior problems. Other factors include increased body weight and improper footwear. Eccentric muscle contraction and other musculoskeletal injuries can contribute to the problem.


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


If a muscle's hyperexcitability is the basis of cramping, then stretching should attenuate the response. In evidence, it is well recognized that, once induced, stretching the affected muscle can ameliorate cramping. Stretches should be held for 15 to 30 seconds or until the muscle relaxes and the cramp does not recur when the muscle is returned to its normal relaxed position. In addition, once cramping starts, exercise should be curtailed for at least an hour, which allows the muscles and the CNS to recover. It is never a good idea to "run through" these cramps. Applying heat to the area for a few minutes while stretching may also help the muscle.

Prophylactic stretching of the major muscles of the lower limbs for at least five to 10 minutes during warm-up and cool-down periods can help prevent cramps. The importance of flexibility cannot be overstated, particularly for older athletes. Other recommendations include minimizing running hills and stairs (limiting eccentric contractions); undergoing a biomechanical evaluation of your exercise technique; making sure shoes and other equipment are appropriate and not excessively worn. If, after a few months, cramps do not respond to these measures, see a qualified sports physician or physical therapist.

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe