Skip to content
Achilles Neurology

Muscle twitching, also known as fasciculations, is very common and almost always harmless: stress, poor sleep, caffeine, hard exercise, and dehydration are the usual causes. The one finding that changes the picture is weakness or visible shrinking in the muscle that twitches.

If you've ever felt that subtle flutter under your skin, you're not alone. This guide will help you understand the ins and outs of muscle twitching, its potential causes, and when it might be time to consult a neurologist.

Why does muscle twitching happen?

Muscle twitching occurs when small muscle fibers contract involuntarily. These twitches can happen anywhere in the body but are most commonly noticed in the eyelids, calves, and arms. While often harmless, persistent or widespread twitching may sometimes indicate an underlying neurological condition.

Why muscles twitch: the common causes

A twitch is a small group of muscle fibers firing on its own because the nerve ending that controls them is briefly irritable. Caffeine, stress hormones, short sleep, a hard workout and dehydration all make those endings more excitable, which is why twitching comes and goes with them.

The everyday triggers come first below, then the medical conditions a neurologist looks for when twitching does not settle.

Lifestyle Factors

  • Stress and anxiety: Mental tension can manifest physically as muscle twitches.
  • Caffeine intake: Excessive consumption of coffee or other caffeinated beverages can trigger twitching.
  • Lack of sleep: Not getting enough rest can lead to muscle fatigue and twitching. Learn more about how stress and poor sleep affect the nervous system.
  • Dehydration: Insufficient fluid intake can cause electrolyte imbalances, leading to muscle spasms.
  • Nutrient deficiencies: Low levels of magnesium, calcium, or vitamin D can contribute to muscle twitching.
  • Overuse: Excessive physical activity or repetitive movements can cause muscle fatigue and twitching.
  • Alcohol: Can trigger muscle twitching and other symptoms during withdrawal.

Twitching after a workout

Twitching in a muscle you have just worked hard is common and normal. It can start within hours of a heavy session and come and go for up to two days, mostly in the muscle you trained. Fluids, a good night's sleep and an easier next session usually settle it.

One exception needs emergency care. Severe muscle pain with weakness and dark, cola-colored urine after extreme exercise can be a sign of muscle breakdown that can harm the kidneys: call 911 or go to an emergency department.

Medical Conditions

In some cases, muscle twitching may be associated with various medical conditions:

  • Benign Fasciculation Syndrome (BFS): A condition characterized by frequent muscle twitches without an underlying neurological disorder.
  • Multiple Sclerosis (MS): Can cause facial myokymia, a type of muscle twitching affecting the face.
  • Amyotrophic Lateral Sclerosis (ALS): A serious neurological condition where muscle twitching is often an early symptom.
  • Neuropathy: Damage to peripheral nerves can cause muscle twitching and other symptoms.
  • Pinched nerve: Twitching or cramps limited to the muscles of one nerve root, usually with neck or back pain.
  • Electrolyte imbalances: Low levels of potassium, calcium, or magnesium can lead to muscle spasms.
  • Medication side effects: Some drugs can cause muscle twitching as a side effect.
  • Thyroid disorders: Hyperthyroidism can lead to muscle twitching due to increased metabolic activity.
  • Isaacs' syndrome: A rare neuromuscular disorder characterized by continuous muscle activity and twitching.
  • Liver disease: Liver failure can cause muscle twitching due to the accumulation of toxins.

Muscle Twitching All Over the Body: When to Worry

Experiencing muscle twitching throughout your body can feel alarming, but it's important to understand that widespread twitching is actually more commonly associated with benign causes rather than serious neurological conditions.

Common Benign Causes of Widespread Twitching:

  • Stress and Anxiety: High stress levels can cause muscle twitching to occur in multiple areas simultaneously
  • Benign Fasciculation Syndrome (BFS): Characterized by random, migrating twitches that move around the body
  • Caffeine Overconsumption: Can trigger widespread muscle fasciculations
  • Electrolyte Imbalances: Dehydration or mineral deficiencies affecting multiple muscle groups
  • Exercise-Induced: Intense workouts can cause twitching across various muscle groups

When to Seek Medical Evaluation:

While most cases of widespread twitching are benign, see a neurologist if the twitching comes with weakness or visible wasting in the muscles that twitch, or with trouble speaking or swallowing, or if it keeps getting worse over weeks or months. The full list of warning signs is under when to seek medical advice.

A motor nerve branching into a bundle of muscle fibers beneath the skin.

From nerve signal to muscle movement

  • Signal: A motor nerve communicates with muscle fibers.
  • Twitch: A small group of fibers contracts involuntarily.
  • Context: Twitching with new weakness or visible muscle loss needs examination.
A fasciculation is a small involuntary contraction that can be visible under the skin.

Muscle twitching in the arm

The upper arm (biceps or triceps) and the forearm are among the most common places to notice a twitch, or fasciculation, and when the arm is as strong as ever the twitch is almost always harmless. These are large muscles you use all day and often work hard lifting or carrying, and you notice them most when the arm rests on a desk or in bed. The triggers are the same as anywhere else: caffeine, short sleep, stress, a hard session at the gym and dehydration. A twitch is not a tremor; shaking of the whole hand is covered under essential tremor.

Left arm or right arm. The side does not change the meaning. Twitching in the left arm is not a heart symptom. Chest pain or pressure that spreads to the arm, jaw or back, with breathlessness, sweating or nausea, is one of the warning signs of a heart attack: call 911 or go to an emergency department.

What changes the picture. Have the arm checked if the twitching comes with:

  • A weaker grip, or dropping things
  • Trouble lifting the arm overhead
  • A hand or forearm muscle that looks thinner than the same muscle on the other side
  • Pain or numbness running down from the neck, which can come from a pinched nerve in the neck
  • Numb or tingling fingers, which point to a nerve problem rather than the muscle

What the examination checks. Dr. Ntranos tests strength muscle by muscle on both sides, checks the reflexes at the elbow and wrist, and compares muscle bulk from side to side. An EMG, a test of the electrical activity in nerves and muscles, is added only when there is weakness or the examination leaves a question open.

Thigh, calf and leg twitching

Thigh twitching that shows up when you are relaxed or sitting, and calf twitching at night or after a run, follow the same rule as the arm: in a leg that is as strong as ever, they are almost always harmless. Three other things are often mistaken for a leg twitch:

  • Restless legs syndrome is an urge to move the legs, mostly in the evening and at night, that walking relieves. A twitch brings no urge to move.
  • A cramp is a hard, painful knot that locks the muscle for seconds to minutes. A twitch is a painless flicker.
  • The jerk of falling asleep is a single sudden start of a leg or the whole body as you drift off. A twitch is a small ripple inside one muscle.

What changes the picture. Have the legs checked if you start tripping or a foot slaps the ground as you walk, if rising from a chair or climbing stairs gets harder, or if one calf or thigh looks visibly thinner than the other. Burning or numb feet point to the nerves instead, often peripheral neuropathy.

Twitching by body part

Wherever a twitch shows up, strength is what matters most. A few places have their own usual triggers and their own reasons to get checked:

WhereWhat is usually behind itWhen to get it checked
ShoulderLifting, carrying or long hours at a desk, plus the everyday triggersWeakness lifting the arm, a shoulder muscle that looks hollow or thinner, or pain running down from the neck
Hand and thumbGripping, typing or phone use, plus the everyday triggersA weaker pinch or grip, a thinner muscle at the base of the thumb, or numb fingers
EyelidStress, short sleep, caffeine or eye strain; it usually settles within days to a few weeksIt lasts for weeks, closes the eye completely, or spreads to the rest of the face
FaceThe same everyday triggers; twitching that keeps going on one side can come from an irritated facial nerve or, rarely, MSIt spreads across one side of the face, or comes with facial weakness or numbness
BackMuscles held tense by posture, long sitting or liftingPain, numbness or weakness running down a leg
Stomach and gluteHard core or glute training, long sitting, plus the everyday triggersWeakness in the hip or leg, or back pain that runs into the buttock or leg
FeetLong hours on your feet or running, plus the everyday triggersBurning or numb feet, or a foot that slaps or catches when you walk

Muscle Twitching From Anxiety vs ALS

One of the most common concerns when experiencing muscle twitching is whether it could be a sign of a serious condition like ALS (Amyotrophic Lateral Sclerosis). The good news: most muscle twitching is from anxiety or benign fasciculation syndrome (BFS). Understanding the key differences between benign twitching and ALS can help ease your worries and guide you toward appropriate care.

Benign Muscle Twitching

The vast majority of muscle twitching cases are benign and fall into two main categories, anxiety-related muscle twitching and benign fasciculation syndrome (BFS):

Anxiety-Related Muscle Twitching

Anxiety and stress are among the most common causes of muscle fasciculations. When you experience anxiety, your body releases stress hormones like adrenaline that can overstimulate nerves and muscles. This type of twitching:

  • Is directly triggered or worsened by stress, panic attacks, or anxiety episodes
  • Often accompanied by other anxiety symptoms (racing heart, sweating, panic, difficulty breathing)
  • Improves when anxiety is managed or stress levels decrease
  • May disappear completely during calm periods
  • Creates a cycle: anxiety causes twitching, which creates more anxiety, leading to more twitching

Benign Fasciculation Syndrome (BFS)

BFS is a neurological condition characterized by persistent, widespread muscle twitching without any underlying serious disease. Unlike anxiety-related twitching, BFS involves continuous fasciculations that occur regularly over months or years, often without an obvious trigger. This type:

  • Often persists even during calm periods, though stress, caffeine, and fatigue can still worsen it
  • Continues even during relaxed, anxiety-free periods
  • May be present for months or years without significant change
  • Can be aggravated by exercise, caffeine, or fatigue, but persists independently
  • Often causes secondary anxiety about the twitching itself

What Both Have in Common:

Both anxiety-related twitching and BFS share these important characteristics:

  • No progressive muscle weakness or loss of function
  • No visible muscle atrophy (wasting)
  • Normal neurological examination
  • Excellent prognosis with no impact on lifespan
  • Do not indicate an underlying serious disease

ALS (Amyotrophic Lateral Sclerosis)

ALS is a rare, serious neurological condition where muscle twitching is often an early symptom, but it is rarely the only symptom. The defining characteristic of ALS is progressive muscle weakness. In ALS:

  • Twitching is usually accompanied by progressive, noticeable muscle weakness
  • Weakness typically starts in one specific area and spreads predictably
  • Visible muscle atrophy (wasting) could develop in affected areas
  • Twitching is usually linked to areas of weakness
  • Symptoms worsen over time, regardless of stress levels or lifestyle changes
  • Does not improve with anxiety management, stress reduction, or rest
  • Abnormal neurological examination and reflexes
FeatureAnxiety-Related Muscle Twitching & BFSAmyotrophic Lateral Sclerosis (ALS)
Muscle weaknessNo muscle weaknessProgressive, worsening muscle weakness that starts localized and spreads
Muscle atrophyNo muscle lossNoticeable muscle loss that progressively worsens
Twitching patternWidespread, random twitching; moves around frequently; may be intermittent or persistentTypically starts in one area and gradually spreads; linked to muscle weakness; persistent
Clinical progressionStable over time; may fluctuate but doesn't progressively worsen or become disablingSymptoms steadily worsen over months to years, becoming severely disabling
Impact on functionNo effect on daily functioning; purely annoyingSignificant decline in physical abilities; eventually interferes with daily tasks
Associated symptomsMay include anxiety symptoms, mild cramps, fatigue; no serious neurological issuesMuscle weakness, difficulty speaking, swallowing, breathing problems as it progresses
ReflexesNormal reflexesAbnormal reflexes, typically exaggerated (hyperreflexia)
Neurological examNormalAbnormal findings indicating nerve and muscle damage
EMG findingsNormal or shows only fasciculationsAbnormal EMG showing muscle and nerve damage in multiple body regions (denervation)
Response to lifestyle changesOften improves with stress management, sleep, hydration, reduced caffeineDoes not respond to lifestyle changes; requires disease-specific treatment
PrevalenceVery common; most frequent cause of muscle twitchingRare: about 5 to 9 people per 100,000 have it, with about 1.5 to 2 new cases per 100,000 each year
Age of onsetAny age; especially common in younger to middle-aged adultsUsually adults aged 55 to 75, most commonly in the sixties
Risk factorsStress, anxiety, fatigue, excessive caffeine, vigorous exerciseIncreasing age, genetic factors, smoking, exposure to toxins or heavy metals
PrognosisExcellent; benign, does not affect lifespan or overall healthSerious, progressive condition that needs specialist care

The Critical Distinction: Weakness Is the Key

The most important difference is progressive muscle weakness. ALS usually involves muscle weakness that interferes with function and worsens over time. If you've had muscle twitching for months without developing weakness or difficulty with daily tasks (walking, climbing stairs, lifting objects, writing, speaking), ALS is unlikely.

Benign muscle twitching, whether from anxiety, stress, or BFS, does not lead to muscle weakness, nerve damage, or loss of function. These conditions have excellent prognoses and do not shorten lifespan.

When to Seek Medical Evaluation

If you're concerned about your symptoms, a neurologist can perform a thorough evaluation to distinguish between benign twitching and ALS, providing appropriate reassurance or treatment. Any muscle weakness or loss of function, a muscle that looks thinner, or trouble speaking or swallowing is a reason to be seen soon; the full list is under when to seek medical advice.

Don't Ignore Persistent Symptoms

If you notice persistent muscle twitching and you are concerned about your symptoms, don't delay seeking medical advice. Early evaluation can help determine the cause and get you on the right track for effective treatment or reassurance.

Muscle Twitching at Rest: Common Causes

Many people notice muscle twitching primarily when they're sitting still, lying in bed, or relaxing. This is a common occurrence and usually has benign explanations.

Why Muscle Twitching Is More Noticeable at Rest:

  • Increased Awareness: When you're not distracted by activity, you're more likely to notice subtle muscle movements
  • Reduced Background Noise: Without the normal sensory input from movement, your nervous system becomes more attuned to small muscle contractions
  • Muscle Recovery: After physical activity, muscles may twitch during the recovery and repair process
  • Relaxation-Induced: As muscles transition from tension to relaxation, brief fasciculations can occur

Common Causes of Twitching at Rest:

  • Muscle Fatigue: Overworked muscles are more likely to twitch when finally at rest
  • Magnesium or Calcium Deficiency: These minerals are essential for proper muscle function, and deficiencies often manifest as twitching during rest
  • Stress and Anxiety: Mental tension can cause persistent muscle twitching that becomes more apparent during quiet moments
  • Caffeine: Stimulant effects may be more noticeable when your body is otherwise relaxed
  • Poor Sleep Quality: Insufficient or disrupted sleep can trigger muscle twitching that's most noticeable at rest
  • Benign Fasciculation Syndrome (BFS): Often presents as twitching that's particularly noticeable during rest periods

Night-Time or Bedtime Twitching:

Muscle twitching before sleep or during the night is especially common and usually benign. This can be due to:

  • Normal hypnic jerks (sudden muscle contractions as you fall asleep)
  • Accumulated muscle fatigue from the day
  • Electrolyte shifts during fasting (overnight without food or water)
  • Anxiety or stress about sleep itself
  • Restless leg syndrome (if accompanied by an urge to move)

When Twitching at Rest Needs Evaluation:

While twitching at rest is usually harmless, consult a neurologist if it comes with weakness, severe cramps, numbness, tingling or coordination problems, if it keeps you from sleeping, or if it steadily worsens. The full list is under when to seek medical advice.

Most cases of twitching at rest respond well to lifestyle modifications such as stress reduction, improved sleep hygiene, proper hydration, and nutritional supplementation.

Differentiating Between MS and Eyelid Twitching

While most people think about ALS when they experience twitching, another neurological condition associated with it is multiple sclerosis.

Good news is that while MS can occasionally cause twitching around the eye and face (a form called facial myokymia), most eyelid twitches are harmless and don't mean you have MS. Here is how the two tend to differ:

FeatureTypical Eyelid TwitchingEyelid Twitching in MS
OnsetSudden, commonly triggered by stress, fatigue, or caffeine intakeGradual onset, often alongside other MS symptoms, though it can occasionally be the first sign
DurationBrief, temporary episodes lasting days to a few weeksPersistent or frequently recurring episodes lasting weeks or longer
CauseLocal irritation of eyelid muscles (stress, fatigue, eye strain)Result of nerve damage in the brain or brainstem
Affected areaUsually limited to one eyelid, rarely affects other areasOften spreads beyond the eyelid to facial muscles (cheek, mouth, jaw)
Twitching patternIntermittent, irregular, and brief twitches; usually resolves spontaneouslyFrequent, sustained, or rhythmic spasms; may involve continuous facial twitching
SeverityMild, painless, more of an annoyance than a serious problemCan range from mild to more severe; sometimes affects facial movement or function
Associated symptomsGenerally no other neurological symptomsOften accompanied by other MS symptoms like fatigue, vision problems, numbness, balance issues, or cognitive changes
TriggersMay worsen with lack of sleep or increased stressCan be triggered or worsened by heat or fatigue
Response to restOften improves with sleep and stress reductionUsually settles on its own over weeks to months, but warrants evaluation rather than reassurance

Important to Remember

Eyelid twitching alone is rarely a sign of MS. If you're concerned about MS, look for additional neurological symptoms and consult a neurologist for a proper evaluation.

When to Be Concerned About Eyelid Twitching:

Seek medical attention if your eyelid twitching persists for several weeks, closes your eyelid completely, spreads to other parts of your face, or comes with muscle weakness, vision changes or other neurological symptoms.

Diagnosing the Cause of Muscle Twitching

Most of the answer comes from the examination room, not from a scan. When twitching is the worry, this is what Dr. Ntranos looks at:

  • Neurological Examination: Strength in each muscle group, compared side to side; muscle bulk, looking for any muscle thinner than its partner; the reflexes; the tongue and speech; and the twitch itself, watched while the muscle is relaxed.
  • Medical History Review: When the twitching started, where it moves, what makes it worse, your medications and supplements, and any family history of nerve or muscle disease.
  • Blood Tests: Electrolytes, magnesium, calcium, thyroid function and vitamin B12, to find the reversible causes.
  • Electromyography (EMG): A test of the electrical activity in nerves and muscles. It adds something when there is weakness, a thinning muscle or an examination that leaves a question open; when strength, bulk and reflexes are normal, it is usually not needed.
  • Magnetic Resonance Imaging (MRI): Only when the examination points to the brain or spinal cord.

Testing your own strength over and over tends to feed the worry; one careful examination answers it.

Useful Tip

Taking a video of your muscle twitches can help your doctor better understand the nature of your symptoms.

If MS is suspected, a neurologist will use the 2024 McDonald criteria for MS diagnosis and may recommend:

  • MRI scan: To check for lesions in the brain and spinal cord characteristic of MS.
  • Lumbar puncture: To analyze cerebrospinal fluid for signs of inflammation.

If you're experiencing persistent twitching along with other neurological symptoms, it's always best to consult with an MS specialist for an accurate diagnosis.

If Amyotrophic Lateral Sclerosis (ALS) is suspected, a neurologist typically performs the following:

  • Detailed Symptom Discussion: Covers the timeline and progression of symptoms.
  • Comprehensive Neurological Examination: Checks specifically for muscle weakness, muscle wasting, and reflex abnormalities typical of ALS.
  • Electromyography (EMG): Identifies nerve and muscle dysfunction specific to ALS.
  • Blood Tests: Rules out conditions with similar symptoms, such as infections or autoimmune diseases.
  • Magnetic Resonance Imaging (MRI): Helps rule out spinal cord compression or other structural abnormalities.

Although muscle twitching is common and usually harmless, persistent twitching accompanied by progressive muscle weakness requires prompt neurological evaluation.

Managing and Preventing Muscle Twitching

Effective management and prevention of muscle twitching often involve combining targeted treatments with proactive lifestyle adjustments. Here are practical strategies you can implement to reduce and prevent muscle twitching:

  • Optimize Lifestyle Choices:

    • Reduce Caffeine Intake: Limiting coffee, tea, and energy drinks helps calm overstimulated nerves and muscles.

    • Prioritize Quality Sleep: Aim for 7-9 hours of restful sleep each night to promote muscle relaxation and nervous system recovery.

    • Manage Stress Effectively: Techniques like meditation, mindfulness, yoga, and deep-breathing exercises can significantly decrease stress-related muscle tension and twitching.

  • Maintain Proper Hydration & Nutrition:

    • Stay Hydrated: Adequate water intake helps maintain electrolyte balance, essential for healthy muscle function.

    • Balanced Diet and Nutritional Supplements: A diet rich in nutrients such as magnesium, calcium, and potassium supports proper muscle activity. If you suspect nutrient deficiencies, consult your neurologist about appropriate supplementation.

  • Physical and Medical Interventions:

    • Physical Therapy: Collaborating with a physical therapist can identify and correct muscle tension, imbalances, or posture issues contributing to twitching.

    • Medication (as needed): Muscle relaxants or other medications may be recommended by your neurologist in specific cases of persistent or severe twitching.

    • Electrolyte replacement: If you're experiencing muscle twitching due to electrolyte imbalances, your neurologist may recommend a prescription medication to help restore normal muscle function.

By integrating these practices into your daily life, you can both manage existing muscle twitching and proactively decrease its frequency.

Water glass, coffee cup, pillow, and a closed notebook.

Looking for modifiable contributors

  • Habits: Sleep, stress, caffeine, and activity can influence twitching.
  • Review: Medications and other contributors may need attention.
  • Warning sign: Twitching with weakness or muscle loss needs neurological review.
The symptom pattern and associated findings guide evaluation and management.

When to Seek Medical Advice

Most muscle twitches aren't serious and may resolve on their own. However, it's wise to consult a neurologist if certain warning signs appear:

  • Weakness or loss of function in the muscles that twitch, such as trouble walking, climbing stairs, lifting objects or writing
  • A muscle that looks thinner than before, or thinner than the same muscle on the other side
  • Twitching together with slurred speech or trouble swallowing
  • Numbness, tingling, or ongoing difficulties with coordination or balance
  • Severe or disruptive cramps, or twitching that keeps you from falling or staying asleep
  • Eyelid or facial twitching that lasts for weeks, closes the eye completely or spreads across the face
  • Twitching that steadily worsens, or symptoms that persist for several weeks without improvement

Conclusion

Muscle twitching is often a benign and temporary experience. By understanding its causes and taking steps to address lifestyle factors, you can often manage and prevent these annoying little spasms. If the twitching keeps going, or the worry about it does, a neurological evaluation with Dr. Ntranos usually settles the question: a 60-minute first visit centered on an examination of strength and reflexes, and a plain answer about what he finds. Visits are in person in Beverly Hills or Los Angeles, or by video anywhere in California; if an EMG is needed, we arrange it at an outside facility. Follow-ups are usually every one to three months and last 30 minutes, and messages between visits are answered within 1 business day. Request a visit without a referral; the office confirms within 1 business day.

Frequently Asked Questions About Muscle Twitching

References

  1. National Library of Medicine. Muscle twitching. MedlinePlus Medical Encyclopedia, 2026.
  2. National Institute of Neurological Disorders and Stroke. Amyotrophic Lateral Sclerosis (ALS). National Institutes of Health, 2026.
  3. Blexrud MD, et al. Long-term follow-up of 121 patients with benign fasciculations. Annals of Neurology, 1993.
  4. Mehta P, et al. Prevalence of amyotrophic lateral sclerosis in the United States using established and novel methodologies, 2017. Amyotrophic Lateral Sclerosis and Frontotemporal Degeneration, 2023.
  5. Liu RY, et al. Global epidemiology of amyotrophic lateral sclerosis: a systematic review and meta-analysis. Journal of Neurology, Neurosurgery and Psychiatry, 2026.
  6. Marin Collazo IV, Tobin WO. Facial Myokymia and Hemifacial Spasm in Multiple Sclerosis: A Descriptive Study on Clinical Features and Treatment Outcomes. The Neurologist, 2018.
  7. Centers for Disease Control and Prevention. About heart attack symptoms, risk, and recovery.

Keep reading

Related pages

Your brain deserves more than fifteen minutes.

Request a visit with Dr. Ntranos, usually the same or next day.