Muscle twitching and spasms are common in people with multiple sclerosis (MS) and may feel worse at night, during sleep. A small twitch may be a brief, involuntary movement in one muscle. Muscle spasms and stiffness affect between 40 percent and 80 percent of people with MS at some point.
Spasms can be painful and make parts of the body jerk uncontrollably, which can make it hard to get a good night’s rest. “I couldn’t sleep because of spasms,” one MyMSTeam member shared.
Read on to learn why muscle twitching and spasms may feel worse at night with MS. You’ll also find tips to help manage them and sleep more comfortably.
You may be wondering: Does MS cause muscle twitching? It can.
When muscles affected by spasticity stretch, they may twitch or jerk in an uncontrolled way. In fact, spasticity is one of the most common symptoms of MS.
Spasticity means there’s increased muscle tone or tension in the muscle. MS-related nerve damage can affect the messages between the brain, spinal cord, and muscles, which may lead to increased muscle tone, muscle spasms, and sometimes pain.
Muscle spasms can be worse at night because spasticity is worse when you move less and your muscles stay in the same position for hours, 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.
Spasms can also worsen because of triggers. Common triggers include infections, such as urinary tract infection (UTI), constipation, skin irritation like that caused by tight clothing, pain, fatigue, and stress.
Muscle spasms at night may cause you to lose sleep and feel more fatigued the next day. Not getting good sleep can make life with MS harder and may make other symptoms, such as fatigue and weakness, feel worse.
MS leg pain at night can also be part of the problem. Muscle spasms and stiffness can be painful.

Sometimes, just knowing you’re not alone can help. Many MyMSTeam members express the pain and frustration of dealing with 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:
Exercise may help with spasms by improving flexibility and reducing stiffness. A physical therapist can recommend exercises and movements that may increase flexibility and decrease spasticity.

Gentle activities like yoga, gardening, and range-of-motion exercises can be good places to start. Check with your healthcare provider or a physical therapist before beginning any new exercise routine.
You can also try steps at home:
If you wake up with spasms, gentle stretching may help some people. You might try slowly bringing your knees toward your chest, letting one knee fall to the opposite side, and then repeating on the other side. You can also try flexing your feet.

Members of MyMSTeam often share what has helped them cope with nighttime spasms. These are personal experiences, not medical advice.
Instead of adding unsafe weight or pressure to your legs, consider safer support, such as pillows or foam wedges. Positioning supports may help put your body where muscles are less likely to stiffen or spasm.
Each person with MS is different, but here are a few tips from members of MyMSTeam:
If your spasms suddenly get worse, look for possible triggers instead of assuming a food or supplement change will fix the problem. Keeping a diary may help you identify trigger factors.
Getting enough sleep is important, but MS can make it hard. Nighttime spasms, pain, bladder symptoms, stress, and medication side effects can all interfere with sleep.
Managing spasms is an important step toward better rest. Reviewing triggers, improving your sleeping position, and asking your care team about medication timing may help.
If you take medication for muscle stiffness or spasms, ask your doctor whether timing it before bed could help. Some guidance suggests taking these medications around 30 minutes before sleep so they’re working when needed.
If you’re losing sleep because of MS, talk with your healthcare professional or neurologist. They can review your symptoms, medications, pain, bladder or bowel concerns, and positioning needs.
On MyMSTeam, people share their experiences with MS, get advice, and find support from others who understand.
What helps you manage MS muscle twitching or spasms at night? Let others know in the comments below.
Get updates directly to your inbox.
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.
Become a member to get even more
This is a member-feature!
Sign up for free to view article comments.
I hate my muscle spasms... sometimes my whole body jumps up and scares me. I live with chronic pain and I'm feeling that the baclofen after 25 years is not working. I get up and move.. all day and… read more
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.