Connect with others who understand.

Sign up Log in
Resources
About MyMSTeam
Powered By
See answer

Why Are MS Muscle Spasms Worse at Night?

Medically reviewed by Joseph V. Campellone, M.D.
Written by Emily Brown
Updated on February 1, 2024

“I couldn’t sleep because of spasms,” one MyMSTeam member shared.

Muscle spasms are common among people with multiple sclerosis (MS), and they can feel worse at night. As many as 80 percent of people with MS experience muscle spasms or stiffness. Spasms can be painful and make parts of the body jerk uncontrollably. Leg spasms often happen during sleep, which can make it hard to get a good night’s rest.

Reduced movement, body positioning, and temperature may play a role in making muscle spasms feel worse at night. Learn more about nighttime muscle spasms and tips for managing them.

Why Do MS Muscle Spasms Happen at Night?

According to the National Multiple Sclerosis Society, spasticity is one of the most common symptoms of MS. MS-related nerve damage in the brain and spinal cord can disrupt normal muscle contractions, causing muscles to jerk. MS spasticity, which makes for stiff or tight muscles, can cause muscles to spasm when the muscle is stretched, such as when you move your legs.

Muscle spasms can be worse at night because spasticity is worse when you move less, such as when you’re sleeping. Your body positioning in your bed also matters — unsupported joints can cause extra tension and tightness in your muscles. In addition, tight muscles and pain associated with MS can make it hard to relax, which not only makes it harder to sleep but can also lead to muscle stiffness associated with spasms.

Muscle spasms can be worse at night because spasticity is worse when you move less, such as when you’re sleeping.

Enter Cell 2 Content Here...

Enter Cell 3 Content Here...

Enter Cell 4 Content Here...

Enter Cell 5 Content Here...

Enter Cell 6 Content Here...

Fatigue is a common trigger for spasticity, so addressing fatigue is an important part of managing spasticity and spasms. However, managing fatigue can be much easier said than done. Other triggers of spasticity include temperature changes, stress, and anxiety.

How Do Muscle Spasms at Night Affect People With MS?

Muscle spasms at night may cause you to lose sleep and become more fatigued. Having insomnia is hard enough, let alone managing symptoms of MS while you’re trying to sleep. Sometimes, just knowing you are not alone can help. Many MyMSTeam members express the pain and frustration of dealing with muscle spasms at night:

  • “I get them every day — sometimes, even in the middle of the night. I was just drifting off to sleep last night when the arch of my left foot decided to do something.”
  • “Had a horrible foot spasm last night, and my hip was hurting for days too.”
  • “Bad night with left and right shoulder and arm spasm.”
  • “Last night kinda sucked … not much sleep due to left leg spasms.”


I get them every day — sometimes, even in the middle of the night. I was just drifting off to sleep last night when the arch of my left foot decided to do something.

— A MyMSTeam member

Enter Cell 2 Content Here...

Enter Cell 3 Content Here...

Enter Cell 4 Content Here...

Enter Cell 5 Content Here...

Enter Cell 6 Content Here...

Tips for Managing MS Muscle Spasms at Night

MS muscle spasms are common, but they can be managed. Managing spasticity, in general, can help reduce spasms at night. There are several treatment options for muscle spasms and stiffness, such as:

  • Physical therapy and occupational therapy
  • Muscle relaxants and medications such as baclofen (Lioresal), tizanidine (Zanaflex), dantrolene (Dantrium), gabapentin (Lyrica), diazepam (Valium), clonazepam (Klonopin), or onabotulinumtoxin A (Botox)
  • Equipment like braces or splints for stretching stiff muscles
  • Electrical stimulation therapy

Exercise for Muscle Spasms

Exercise can also help with spasms, as it increases flexibility and muscle tone. Gentle exercises like yoga, gardening, and range-of-motion exercises can be good places to start. Check with your health care provider or a physical therapist before beginning any new exercise routine to make sure it works for you and doesn’t aggravate your MS symptoms.

You can try to manage your muscle spasms at home. Consider some tips for preventing MS spasms that you can start tonight:

  • Make sure your mattress is supportive enough and you have plenty of pillows.
  • Ensure good positioning when you lie down, with support for your neck and back to reduce strain.
  • Avoid sleeping in tight pajamas or other garments.
  • Keep a comfortable temperature where you sleep, using air conditioning, a fan, heating, or more or less bedding as necessary.

If you find yourself with spasms in the middle of the night, try some stretching exercises in bed. For example, pull your knees into your chest and let one knee fall to the opposite side, and repeat on the other side. You can also try flexing your feet and pointing your toes.

If you find yourself with spasms in the middle of the night, try some stretching exercises in bed — pull your knees into your chest and let one knee fall to the opposite side, and repeat on the other side.

Enter Cell 2 Content Here...

Enter Cell 3 Content Here...

Enter Cell 4 Content Here...

Enter Cell 5 Content Here...

Enter Cell 6 Content Here...

MyMSTeam Members Share Tips

Members of MyMSTeam often share tips on what works for them, apart from prescribed medication, to reduce muscle spasms at night. One popular solution is to add weight. Members report using weighted blankets and even sacks of rice on their legs to calm down the spasms. “My dog lays on mine,” wrote one member.

Each person with MS is different, but here are a few more tips from members of MyMSTeam:

  • “The only thing that seemed to help was putting on multiple layers of socks to create counterpressure in my foot. It made the twitching less disruptive to my sleep.”
  • “I cut sugar out of my diet and muscle spasms at night stopped. I miss sugar but like sleeping better.”
  • “Have your potassium levels checked. In the meantime, maybe a banana before you go to sleep might help.”
  • “I have to make myself get up and walk it off when I have leg spasms at night.”

Tips for Getting Better Sleep

It’s no secret that getting enough sleep is important for quality of life. But with MS, it’s not always easy. Not only can MS muscle spasms make you lose sleep, but increased fatigue from lost sleep can increase stress and spasticity, which can lead to spasms. Hence, it can turn into a cycle.

Managing spasticity and spasms is critical to getting better sleep. There are many ways to reduce sleep disturbances specific to MS to reduce fatigue. Remedies like melatonin, changing up your pillows, and even therapy are helpful for some people. If you’re losing sleep because of MS, talk with your health care professional or neurologist about ways to get the sleep you need and deserve.

Talk With Others Who Understand

MyMSTeam is the online social network for people with MS and their loved ones. On MyMSTeam, more than 207,000 members come together to ask questions, give advice, and share their stories with others who understand life with MS.

Have you noticed your muscle spasms worsening at night or negatively affecting your daily life? What other symptoms of multiple sclerosis are you living with? Share in the comments below, or start a conversation by posting on your Activities page.

Updated on February 1, 2024

A MyMSTeam Member

Gabapentin did nothing for me except make me sleep
I'm on prampaxile 3 at night, no leg spassims.
My problem is lipodema. Anyone have surgery to correct

May 30
All updates must be accompanied by text or a picture.

We'd love to hear from you! Please share your name and email to post and read comments.

You'll also get the latest articles directly to your inbox.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service.
All updates must be accompanied by text or a picture.

Subscribe now to ask your question, get answers, and stay up to date on the latest articles.

Get updates directly to your inbox.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service.

Thank You

November 30, 2023 by A MyMSTeam Member 4 answers

Are Their Pain Meds For MS?

December 5, 2023 by A MyMSTeam Member 2 answers

Pay Attention To What You Eat

December 7, 2023 by A MyMSTeam Member 2 answers

Has Anyone Heard Of A Snapping Hip.

March 10, 2024 by A MyMSTeam Member 1 answer

I Don't Have Much For Spasms, Thank Goodness. I Have Restless Legs At Night. Hard To Sleep. Is This A Symptom Of MS. I Have Been Diagnosed.

March 10, 2024 by A MyMSTeam Member 65 answers

How Much Magnesium Is Safe To Take A Day For This?

March 11, 2024 by A MyMSTeam Member 8 answers

Are Spasms The Same As Cramps? If So, When I Get Them At Night I Get Up And Drink A Sports Drink With Electrolytes In It. I Use Bodyarmor.

March 11, 2024 by A MyMSTeam Member 1 answer

Awesome Article - Thank You - Regards @stuartschlossman

March 14, 2024 by A MyMSTeam Member

Is There A Reason Y I Always End Up Walking On My Tippy Toes?

August 20, 2024 by A MyMSTeam Member 2 answers
Joseph V. Campellone, M.D. is board-certified in neurology, neuromuscular disease, and electrodiagnostic medicine. Review provided by VeriMed Healthcare Network. Learn more about him here.
Emily Brown is a freelance writer and editor, specializing in health communication and public health. Learn more about her here.

Related Articles

Muscle spasms (also called cramps or fasciculations) are a common symptom of multiple sclerosis (...

Muscle Spasms in MS: What Do They Feel Like?

Muscle spasms (also called cramps or fasciculations) are a common symptom of multiple sclerosis (...
Learn the top 5 causes of peripheral cyanosis, how to reduce risk, and treatment options for blue...

Blue or Purple Toes and MS: Possible Causes and When To Seek Care

Learn the top 5 causes of peripheral cyanosis, how to reduce risk, and treatment options for blue...
Some people with MS find that their symptoms include changes to or problems with their toenails.

Can Multiple Sclerosis Affect Your Toenails?

Some people with MS find that their symptoms include changes to or problems with their toenails.
If you have multiple sclerosis, numbness and tingling are common symptoms. Learn why they occur, ...

Numbness and Tingling in MS: Causes and Tips for Relief

If you have multiple sclerosis, numbness and tingling are common symptoms. Learn why they occur, ...
Ever try to sleep but feel like your bed is vibrating beneath you? That might seem very strange, ...

Do You Ever Feel Like Your Bed Is Vibrating?

Ever try to sleep but feel like your bed is vibrating beneath you? That might seem very strange, ...
People with multiple sclerosis (MS) may experience abnormal sensations, including pain, burning, ...

What Causes MS Scalp Pain, Itchiness, and Numbness?

People with multiple sclerosis (MS) may experience abnormal sensations, including pain, burning, ...

Recent Articles

Learn about the 5 common causes of heavy arms in MS, and treatment options to help improve your d...

Heavy Arms and Multiple Sclerosis

Learn about the 5 common causes of heavy arms in MS, and treatment options to help improve your d...
Living with multiple sclerosis (MS) often involves managing the condition with disease-modifying ...

8 Drugs To Avoid While on Multiple Sclerosis Treatment

Living with multiple sclerosis (MS) often involves managing the condition with disease-modifying ...
4 Ways To Reduce the Cost of Medication The price of medication affects the quality of life f...

4 Ways To Reduce the Cost of Medication (VIDEO)

4 Ways To Reduce the Cost of Medication The price of medication affects the quality of life f...
Multiple sclerosis is not hereditary, but it does occur within families. Click to learn more!

Is Multiple Sclerosis Hereditary? 5 Factors That Matter (VIDEO)

Multiple sclerosis is not hereditary, but it does occur within families. Click to learn more!
Although scientists don’t fully understand what causes multiple sclerosis (MS), they believe that...

Genetic Factors in MS: HLA-DRB1 and More (VIDEO)

Although scientists don’t fully understand what causes multiple sclerosis (MS), they believe that...
Scientists have proposed different ideas about why autoimmune diseases such as multiple sclerosis...

Multiple Sclerosis in Men vs. Women: 5 Symptom Differences and More

Scientists have proposed different ideas about why autoimmune diseases such as multiple sclerosis...

Thank you for subscribing!

Become a member to get even more: