New Issue: Orbital Catastrophe Ahead? Read Now

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.

Subscribe to Support Independent Journalism

Great science journalism requires human expertise, time, effort and creativity. And it costs money. That’s why I and the journalists here at Scientific American hope you’ll join our community.

When you subscribe, you are supporting staff and freelance journalists who are passionate about telling science stories that are true, important and compelling. Our editors and reporters are often experts in their fields, which means they understand the nuances of big discoveries and can untangle the breakthroughs from the hype. With a subscription, you are also supporting rigorous fact-checking to ensure the words we publish are precise and accurate. And you’re supporting original illustrations, graphics and photos that bring you closer to an advanced laboratory, an ice sheet in Antarctica or a space mission in orbit. You’re helping us craft other types of high-quality journalism as well: Our newsletters are carefully written, edited and curated by staffers you have or will come to know and love. Our Science Quickly podcast is based on original reporting, collaboration with editors and scientists and exacting production.

Subscriptions keep this engine running so we can continue to deliver thoughtful, rigorous and independent science journalism to you. In an era of viral misinformation, this work is crucial. If you value what we do, I hope you’ll consider joining us as a subscriber

Thank you,

Jeanna Bryner, Editor in Chief, Scientific American

Subscribe