man with leg cramp, muscle cramps disappear

Leg cramps are nasty whenever they occur. Leg cramps at night are even worse. That’s because they can strike without any notice. You can be fast asleep one moment and the next be writhing in agony. Sadly, neither health professionals nor the Food and Drug Administration have come up with effective treatments. Maybe that’s because nocturnal leg cramps have not been perceived as worthy of research dollars.

Leg Cramps At Night Are Serious!

On a scale of 1 to 10 of health problems, leg cramps may not seem like such a big deal. They’re certainly not as dangerous as heart disease or diabetes. But nighttime leg cramps can be extremely painful and disruptive.

Many people get them so often that they can’t get a good night’s sleep. Lack of sleep often leads to next-day drowsiness. Sleep deprivation can also impact concentration, memory and mood. Immune function can be affected increasing susceptibility to infection.

When you can’t get a good night’s sleep on a regular basis there are even more serious consequences. A recent review noted (Nature Medicine, Dec. 2017):

Sleep deprivation is a major source of morbidity with widespread health effects, including increased risk of hypertension, diabetes, obesity, heart attack, and stroke. Moreover, sleep deprivation brings about vehicle accidents and medical errors and is therefore an urgent topic of investigation.”

All of a sudden leg cramps at night are a big deal. Doctors have no FDA-approved medications to treat this painful condition that can have such serious long-term health ramifications.

Stories from Readers About Leg Cramps At Night:

Here are just a few stories from readers to illustrate how serious this problem can be and the lengths people go to for relief. One reader wrote:

I have a history of severe leg cramps that could last up to two hours. Both my husband and I lost a lot of sleep when I woke us both, screaming in pain.

“The first solution was a ‘karate chop’ my chiropractor taught my husband to do on the calf because nothing else would stop it at the time. The alternative was crying and screaming for hours. I’ve had primary care doctors tell me, ‘It’s just a cramp. It will go away.’ They have never had such severe pain as I experienced.

“Later, I took quinine and that was a good solution for me for years. The FDA banned it, so I had to switch to tonic water. It is probably the bitterness of the tonic water that stopped the cramps.

“Neither soap nor mustard worked for me, but pickle juice gave relief in less than a minute. I tried those after reading your newsletters.

“I almost never have cramps as severe as I had thirty years ago because I am very proactive. I don’t allow myself to become dehydrated. I make sure I don’t strain my calves by standing on tip-toe. I also take action at the least hint of an impending cramp, any tiny pain or twinge so I can head off a painful wakening in the night.

“With all this, I usually avoid most cramps. Recently, though, I had cramps threaten every night for over a week. My primary care doctor has me taking potassium gluconate and magnesium glycinate. That solved the problem quickly. The pickle juice I prefer is natural Bubbie’s Pickles with a cloudy ‘mother’ floating around in it, made the old-fashioned way.”

Another reader shared this painful story:

I too have suffered severe leg cramps off and on for over 15 years now. I have them 4 to 5 times a night for a week straight. Then, all of a sudden they go away, only to come back weeks or a month later.

“I have never felt such pain as when the cramping begins in my inner thighs and radiates to my hamstrings. I cannot walk when this happens, but I certainly cannot stay still in bed. Somehow, I get up and try stretching, only to cry out loud with the pain. I have had them in toes, feet, ankles and thighs.”

What Causes Leg Cramps At Night?

Health professionals have come up with some interesting explanations for nocturnal leg cramps. Here are just a few of the purported triggers:


Over-exertion of leg muscles is frequently trotted out as a reason for nighttime cramping. In our opinion this is nonsensical. Most of our readers report that they are lying in bed peacefully sleeping when out of the blue a leg cramp strikes. Many of these folks are older individuals who have not been running marathons or climbing mountains during the day.

Standing or Sitting Too Long:

Other common explanations blame daytime activities or lack thereof. Some health professionals say that if you stand too long on hard floors you will get leg cramps. Others say too much sitting is the cause. If these reasons were true, why do the cramps come on at night when people are sleeping instead of during the day when people are sitting or standing?

Dehydration and/or Electrolyte Imbalances:

We suspect that dehydration and electrolyte imbalances are the most often cited contributors to leg cramps at night. Health professionals and victims of exercise associated muscle cramps (EAMC) frequently blame cramps on not enough fluids or a lack of potassium or magnesium or both.

Athletes and Muscle Cramps:

It seems logical to blame muscle cramps on dehydration and electrolyte imbalances. The only trouble with these explanations is that the data don’t support them. Elite athletes are like canaries in the coal mines. That’s because they exercise much harder than the rest of us. They also have been carefully studied.

Over two decades ago exercise physiologists from South Africa challenged traditional theories about muscle cramps (Journal of Sports Sciences, June, 1997):

Scientific evidence in support of the ‘electrolyte depletion’ and ‘dehydration’ hypotheses’ for the aetiology of EAMC [Exercise Associated Muscle Cramps] comes mainly from anecdotal clinical observations, case series totalling 18 cases, and one small (n = 10) case-control study. Results from four prospective cohort studies do not support these hypotheses. In addition, the ‘electrolyte depletion’ and ‘dehydration’ hypotheses do not offer plausible pathophysiological mechanisms with supporting scientific evidence that could adequately explain the clinical presentation and management of EAMC.”

a female runner on her back holding her thigh in pain from a leg cramp, leg cramp remedies

You have no doubt seen elite athletes fall down in extreme pain brought on by muscle cramps. It could be a basketball player paid millions of dollars to win a championship game or a sprinter in the Olympics. These incredibly fit individuals have high-priced trainers who are diligent about preventing both dehydration and electrolyte imbalances.

An experiment conducted on ultra-marathoners who ran a 56 km race demonstrated that neither dehydration nor electrolyte imbalance accounted for muscle cramping (British Journal of Sports Medicine, Aug. 2004).

The results of our study do not support the common hypotheses that EAMC [exercise associated muscle cramping] is associated with either changes in serum electrolyte concentrations or changes in hydration status following ultra-distance running. An alternative hypothesis to explain the aetiology of EAMC must therefore be sought.”

An Alternative Explanation for Leg Cramps at Night:

Exercise physiologists and sports medicine experts have come up with a completely different explanation for muscle cramps. We think it is much more plausible (British Journal of Sports Medicine, June, 2009).

There is a growing body of evidence to suggest that the mechanism for muscle cramping has a neuromuscular basis. Firstly, as has been discussed, voluntary muscle contraction or stimulation of the motor nerve can reliably cause muscle cramping. Secondly, there is evidence from experimental work in human subjects that stimulation of the 1a afferents through electrical stimulation or using the tendon tap (activating the 1a afferents) can induce cramping”

OK, that’s complicated. But it boils down to “altered neuromuscular control.” That means problems with the connections between nerves and muscles. When muscles are fatigued and/or nerves are overstimulated or damaged, cramping can occur. This would explain why people with type 1 diabetes who experience nerve dysfunction are also very susceptible to muscle cramps (Clinical Neurophysiology, Jan. 2018).

Why Home Remedies Work for Leg Cramps at Night:

Why have we bored you with all this scientific gobbledygook? Because we think it explains how so many home remedies work so fast to end muscle cramps.

A study published in Medicine and Science in Sports and Exercise (May 2010) proved that swallowing a little pickle juice could terminate muscle cramps. The effect was so fast that it could not be explained by restoration of body fluids or electrolytes.

We now know that strong flavors like pickle juice, mustard, quinine, capsaicin (the hot stuff in hot chili peppers), ginger and cinnamon stimulate specialized nerve TRP (transient receptor potential) channels in the mouth, throat and stomach.

Stimulating these TRP channels can stop muscle cramps in their tracks (Muscle & Nerve, Sept. 2017). We suspect that this works whether the muscle cramp is brought on by fatigue due to exercise, electrical stimulation, medications or nerve damage caused by diabetes (Muscle & Nerve, Sept. 2017). Some people may just be more susceptible to problems with the nerve-muscle connections.

Don’t Believe Us? How About A Harvard Professor:

We had an opportunity to interview a world class neuroscientist at Harvard University. Bruce Bean, PhD, is a professor of neurobiology. He and his Nobel-Prize-winning colleague, Rod MacKinnon, MD, figured out the underlying cause of muscle cramps and came up a surprising treatment. You can listen to Dr. Bean’s interview at this link. The streaming audio (green arrow) and mp3 downloadable file are free:

Show 1054: The Scientific Explanation for a Weird Remedy

Read the scientific explanation behind yellow mustard for leg cramps at night at this link:

How Does A Teaspoon of Mustard Cure Muscle Cramps?

Remedies for Leg Cramps at Night:

Remedies that people have used with varying success include swallowing a teaspoon of yellow mustard, drinking a few sips of pickle juice or tonic water and holding a bar of soap next to the cramping muscle. Read some stories from readers:

Blanche in Greensboro, N.C. found a cheap way to counteract cramps:

I keep the small packets of mustard that you get with take out sandwiches on my bed stand. I don’t relish the thought of swallowing mustard in the middle of the night, but it’s easier than trying to get to the kitchen and the cramp is gone in about a minute.”

Jackie and her brother use different strategies:

My brother and I have both suffered from painful night cramps in our feet, calves, and inner thighs. He drinks pickle juice to stop the cramping.

“I take another approach: I prevent the cramps from starting in the first place by drinking tonic water. I used to get cramps all the time, but now I never do. About 4 to 6 ounces of diet tonic per day does the trick for me. Perhaps there’s a neurological effect. Whatever the mechanism, this is an approach that other cramp sufferers might want to try.”

Lyn in Waxhaw uses soap:

Rather than experience the unpleasantness of swallowing pickle juice or mustard, I much prefer holding a bar of soap where the cramp is. It works in about two seconds for me. I keep the soap on my bedside table. It’s wonderful.

“From what I’ve read on People’s Pharmacy before, it’s the fragrance of the soap that makes it work. So if I think it’s not working as well as before, I replace it with a fresh bar, which I’m guessing may be every 6-12 months.

Read about the soap remedy at this link:

Why Put Soap Under Your Bottom Sheet?

You can learn more about remedies for muscle cramps in our book, Quick & Handy Home Remedies. This book is filled with kitchen table wisdom that offers simple solutions for common ailments.

Share your own experience for leg cramps at night in the comment section below.

Get The Graedons' Favorite Home Remedies Health Guide for FREE

Join our daily email newsletter with breaking health news, prescription drug information, home remedies AND you'll get a copy of our brand new full-length health guide — for FREE!

  1. Sherry
    Richland, Ms.

    I don’t just get the cramps in my legs. I also get them in my forearms and hands, ribcage and sometimes my THROAT. Those are when I am awake. At night the cramps start under my outer ankle bone and make a huge dent in the outside of my calf. I thought it was the dehydration but I have FIBROMYALGIA, and I’m just not certain anymore. I use A magnesium spray from Swanwick. It DOES work but I hate the way it feels on my skin. Last night was a dancing and crying night. I was miserable until I could get the cramps to stop long enough so I COULD use the spray. After reading your article, I’ve begun to think it’s a combination of dehydration and muscle-nerve problems, working against me. I keep myself busy due to the fiber, and I love digging in the dirt. I’m convinced that more research NEEDS to be done. It’s embarrassing, as well as PAINFUL, to have hands and forearms cramp up in public. Not to mention having to stop my car, get out and walk or do the ‘cramp dance.’ It’s better than having an accident I suppose. I NEED some real help…. Thanks.

  2. Jesse
    WA state

    I found my night leg cramps were always (yes always) associated with late night fruit eating or fruit juice drinking. I can get away with cereal and raisins or a little ice cream, but I have to quit the fruit 3 hours before sleep. Cherries, apples, oranges and orange juice, apple juice, grapes… if I eat or drink more than an ounce at night they all affect me and can lead to multiple fits of utter agony throughout the night. It’s apparently not just the sugar, as I can eat cereal OK. So it is apparently a combination or catalyst effect. This came on after the age of 40. It took several years to discover the main cause. Of course heavy leg use after a layoff is another trigger, but not as consistent as the late night fruit.

  3. Peggy

    Between drinking vinegar, (Heinze apple cider) honey and water twice a day and a dollop of mustard every once in awhile, the cramps are nonexistent for me. Every time I have meat loaf or anything that I can put mustard on I do it and I don’t remember when I had cramps last! Wish I had known that in the early 1980s!

  4. Chuck
    Durham, NC

    I know this will sound like a “One Weird Trick!” e-mail, but I have discovered a technique that, for me at least, relieves leg and foot cramps in 15-30 seconds 100% of the time. And, you don’t even have to get out of bed to use the technique.

    I would really appreciate finding out whether or not this technique works for other people and, if so, to what degree.

    There are further details below, but the basic technique is to turn on the bedside light to its brightest setting and stare directly at it. When I do this the cramp totally relaxes in 15-30 seconds. Something in the neural pathway from the eye is disrupting or suppressing the signal from the brain to the leg. This fits with the concept of “altered neuromuscular control” mentioned in the January 29th article on leg cramps.

    To confirm that the effect was real, and was acting in the brain, I tried covering one eye. When I cover the eye on the opposite side of my body from the cramp, nothing happens. When I cover the eye on the same side of the body, the technique works. Since the hemispheres of the brain control the opposite side of the body, this confirms that the effect is acting in the brain.

    Next, I discovered that the technique doesn’t work if I leave my head lying on the pillow. I have to raise my head to the vertical position. This indicates that the vestibular system of the ears is somehow involved. This could correlate with Benadryl sometimes being used as a preventative for leg cramps. Benadryl is also used for seasickness, which involves integration of the eyes and vestibular systems.

    Finally, I found out that the technique works if the room is dark but doesn’t work if the room is even dimly lighted (i.e. after sunrise, even with the blinds drawn). I then tried shining a flashlight directly into the eye on the opposite side of my body from the cramp, and the cramp relaxed in 15-30 seconds. Apparently the signal from the eye has to be significantly stronger than the background lighting.

    To recap, the technique that works for me 100% of the time to relieve leg cramps in 15-30 seconds is:

    • Raise the head to the vertical position.
    • In a dark room, turn on the bedside light to its brightest setting and stare directly at it.
    • In a dark or lighted room, shine a flashlight directly into the eye on the opposite side of the body from the cramp.

    Taken together, this information might also explain, at least in part, why leg and foot cramps happen when sleeping, in the dark and when the head is horizontal, and not during the day in light and when the head is normally upright.

  5. Margaret

    INSTANT Relief. I don’t remember where I learned this remedy, but it works. Pinch (massage) your upper lip just under your nostrils. The pain will subside Immediately.

  6. Barbara
    North Carolina

    My husband and I suffer from leg cramps at night. The thought of taking mustard or vinegar on an empty stomach in the middle of the night just didn’t appeal to us. Soap under the sheet did not work. Someone mentioned using the essential oil, Lavender, so I decided to try it. I put 3 to 4 drops of Lavender oil on each leg and smooth it on just before going to bed. My skin does not seem sensitive to it. It works great for both of us even though I’m the only one using it. I think we sleep more soundly, too. No more leg cramps.

  7. Carol
    Washington state

    I’ve suffered from leg cramps since I was a little girl. I keep a small bottle of diluted apple cider vinegar by my bed and it works in seconds every time! (I suppose it’s in the same family as pickle juice,) My local health food store carries Hyland’s homeopathic remedies; their leg cramp pills are very effective and fast as well.

  8. Sharon

    Yellow mustard does work for me but not not in extreme cases. For severe cramps I keep a small bottle of glycerin bedside and apply it to cramping area which always provides immediate relief.

  9. Stacy

    I would reliably have quadricep cramping a few hours after karate training until recently when my Sensei added some warm up exercises that were were particularly challenging to the opposing muscles in my legs and hips .
    I’ ve had relief from pickle juice and topical magnesium in the past.

  10. Charles
    Reading, PA

    I had terrible leg cramps. I used to eat one banana every day. I stopped eating the bananas and my cramps diminished.

  11. Missy W

    I buy the individual packets of pediaolite for infants and dissolve in a 10 oz. bottle of water. I drink one daily and this has practically eliminated leg cramps. Throughout the day I drink lots of water too.

  12. Deloris

    I used to have night-time leg cramps after a day of a lot of physical activity. I found that drinking Gatorade during the day kept the cramps from even starting. Then I took the cholesterol-lowering drug simvastatin for a year and a half. I cramped up almost all night long and it was horrible. The worn-out muscle pain usually continued into the next day. Though I quit the drug, the cramps didn’t stop, and now I have permanent nerve damage.

    Through the years, I tried many home remedies, and some worked for a while but most stopped working after a month or so. This includes lavender soap, pickle juice, yellow mustard, magnesium oil (rubbed in), calcium/magnesium supplements, and CBD oil capsules from hemp. My latest remedy is a liquid mineral supplement. I only take a quarter of the recommended daily dose, but I haven’t had any painful cramps since I started taking it. Sometimes my muscles seize up but I have no pain. I hope it keeps working.

    • Mary

      Last summer I came home with a case of traveler’s diarrhea and discovered by accident that drinking Pedialyte before going to bed prevented my frequent, painful leg cramps. I have since found that if I use one effervescent electrolyte tablet dissolved in a cup of water before going to bed, I am cramp-free all night long. (Rite Aid carries a brand called Hydralyte.)

  13. Sandy

    Pickle juice works for me. Some times if I feel a cramp coming on before bedtime, I will use an ache relieving cream to rub my legs down. That seems to help also

  14. paula
    harrisburg, nc

    I have found that when my legs are not warm enough while sleeping, I will get leg cramps.
    So I have a blanket (in addition to other blankets) that I place from the bottom of the bed to my hips to keep my legs warm while asleep.

  15. Linda

    I buy Hyland’s Leg Cramp Pills, they are small little tablets that dissolve on the tongue. I keep them on my night table next to my bed and at the first twinge of cramping pain I take 2. Within minutes the cramp is gone. The formula is homeopathic: Cinchona Officinalis 3X HPUS: pains in limbs & joints
    Aconitum Napellus 6X HPUS: pains in joints, legs
    Gnaphalium Polycephalum 3X HPUS: cramps in calves & feet
    Ledum Palustre 6X HPUS: pain and cramps in legs
    Magnesia Phosphorica 6X HPUS: cramps in calves
    Rhus Toxicodendron 6X HPUS: pain and stiffness
    Viscum Album 3X HPUS: pains in joints

    They can be bought on line or at Walmart, etc.

    • Mickey
      LA, CA

      I have started using Hyland’s Leg Cramps and it works for me also. A friend put me on to this remedy a year ago and it is great.

  16. Jan

    My severe foot and leg cramps started several years ago. My husband did an internet search and found Cramp Defense Magnesium capsules. They have stopped my cramps. I started out taking 2 capsules twice daily and for the past three or four years take only 2 capsules daily in the evening. It is pure magnesium with 70 mg per capsule. No stomach or digestive upset.

What Do You Think?

We invite you to share your thoughts with others, but remember that our comment section is a public forum. Please do not use your full first and last name if you want to keep details of your medical history anonymous. A first name and last initial or a pseudonym is acceptable. Advice from other commenters on this website is not a substitute for medical attention. Do not stop any medicine without checking with the prescriber. Stopping medication suddenly could result in serious harm. We expect comments to be civil in tone and language. By commenting, you agree to abide by our commenting policy and website terms & conditions. Comments that do not follow these policies will not be posted. Learn how your comment data is processed.

Your cart

Shipping and discount codes are added at checkout.