Leg Cramps At Night

Leg Cramps At Night: Overview

Nocturnal leg cramps are sudden, involuntary contractions of the calf muscles that occur during the night or while at rest.  The cramps can affect persons in any age group, but they tend to occur in middle-aged and older populations.  Sometimes muscles in the soles of the feet also cramp.

Diagnose your symptoms now!
  • check your overall health status
  • understand what's happening to your body
  • learn what you should be doing right now

Causes and Development

Research has not identified precisely what causes nighttime muscle cramps.  The problem is most likely with the nerves controlling the muscles rather than with the muscles themselves.  Some research points to a problem with the transition from wakefulness to sleep.  Many individuals who have nocturnal leg cramps have them at the time of dreaming.  That's why some researchers think that these cramps result from a subtle malfunction in the control system that normally separates our brain from the body movements we make in our dreams.  However, most scientists believe that the problem is not a disorder within the brain.

Sometimes the cramps are caused by overexertion of the muscles, structural disorders (flat feet), standing on concrete, prolonged sitting, inappropriate leg positions while sedentary, or dehydration.  Doctors do know that those who are more muscular seem to have more leg cramps.  Less common causes include diabetes, Parkinson's disease, hypoglycemia, anemia, thyroid and endocrine disorders and use of some medications.

Low levels of certain minerals known as electrolytesmagnesium, potassium, calcium and sodium – have long been linked to leg cramps.  (Marathon runners sweating out the miles are particularly prone to this variety.)  Certain drugs, such as diuretics have also been cited as a cause of leg cramps.  Dialysis patients often complain of leg cramps, and pregnancy is also a factor.

Treatment and Prevention

When cramping occurs, try walking on the affected leg and then elevate it.  Stretch your calf by grabbing your toes and pulling them upward toward your knee, especially with you leg extended straight.  Take a hot shower or warm bath, or apply an ice massage to the cramped muscle.

Persistent or severe leg cramps often are treated with medication.  Such medications include diphenhydramine hydrochloride (Benadryl), simple muscle relaxants such as meprobamate (Equanil, Miltown) and verapamil hydrochloride (Calan, Isoptin, Verelan).  Quinine, while effective, has too many side-effects and has been banned in the US for this use.

To prevent cramping consider the regular use of supplements, especially calcium, magnesium, potassium and sodium (only if your sodium intake is low or if you sweat a lot).  Stretching your calves regularly during the day and at night will help.  You can often prevent night cramps by exhausting the stretch reflex before you go to bed by stretching your calf muscles with wall pushups and applying a heating pad for 10 minutes before going to bed.  Keeping blankets loose at the foot of the bed will help prevent unnatural positioning of your feet and toes which can cause night time cramping.

Signs, symptoms & indicators of Leg Cramps At Night:

Symptoms - Muscular

Concerned or curious about your health?  Try The Analyst™
Symptom Entry
Symptom Entry
Full Explanations
Optional Doctor Review
Review (optional)

Risk factors for Leg Cramps At Night:



Dehydration may play a role in muscle cramping.

Symptoms - Muscular

Recommendations for Leg Cramps At Night:


GHB (Gamma-Hydroxybutyrate)

An IND (Investigational New Drug Application) has been filed with the FDA for GHB's proposed action on reducing nocturnal myoclonus (painful leg cramps at night).


Aerobic Exercise

Exercise, such as riding an exercise bicycle for a few minutes before bedtime, can help prevent cramps from developing during the night, especially if a person does not get a lot of exercise during the day.



Because of its nerve and muscle support, magnesium may also be helpful for muscle cramps.  Some people taking magnesium may get relief from leg cramps right away, but a long-standing deficiency can take weeks to overcome with supplements.

Report by The Analyst™
Click to see sample report
Health problems rarely occur in isolation or for obvious reasons

Your body is a highly complex, interconnected system.  Instead of guessing at what might be wrong, let us help you discover what is really going on inside your body based on the many clues it is giving.

Our multiple symptom checker provides in-depth health analysis by The Analyst™ with full explanations, recommendations and (optionally) doctors available for case review and answering your specific questions.


Weak or unproven link: may increase risk of
Weak or unproven link:
may increase risk of
Strong or generally accepted link: often increases risk of
Strong or generally accepted link:
often increases risk of
Definite or direct link: is a sign or symptom of
Definite or direct link:
is a sign or symptom of
May be useful: may help with
May be useful:
may help with
We use cookies for traffic analysis, advertising, and to provide the best user experience