Muscle Twitching: Causes, Symptoms & Diagnosis - Healthline
Maybe your like
- Health Conditions
Health Conditions
All- Breast Cancer
- Cancer Care
- Caregiving for Alzheimer's Disease
- Chronic Kidney Disease
- Chronic Obstructive Pulmonary Disease (COPD)
- Digestive Health
- Eye Health
- Heart Health
- Menopause
- Mental Health
- Migraine
- Multiple Sclerosis (MS)
- Parkinson’s Disease
- Psoriasis
- Rheumatoid Arthritis (RA)
- Sleep Health
- Type 2 Diabetes
- Weight Management
Condition Spotlight
All
Controlling Ulcerative Colitis
Navigating Life with Bipolar Disorder
Mastering Geographic Atrophy
Managing Type 2 Diabetes
- Wellness
Wellness Topics
All- CBD
- Fitness
- Healthy Aging
- Hearing
- Mental Well-Being
- Nutrition
- Parenthood
- Recipes
- Sexual Health
- Skin Care
- Sleep Health
- Vitamins and Supplements
- Women's Wellness
Product Reviews
All- At-Home Testing
- Men's Health
- Mental Health
- Nutrition
- Sleep
- Vitamins and Supplements
- Women's Health
Featured Programs
All
Your Guide to Glucose Health
Inflammation and Aging
Cold & Flu Season Survival Guide
She’s Good for Real
- Tools
Featured
- Video Series
- Pill Identifier
- FindCare
- Drugs A-Z
- Medicare Plans by State
Lessons
All- Crohn’s and Ulcerative Colitis Essentials
- Diabetes Nutrition
- High Cholesterol
- Taming Inflammation in Psoriasis
- Taming Inflammation in Psoriatic Arthritis
Newsletters
All- Anxiety and Depression
- Digestive Health
- Heart Health
- Migraine
- Nutrition Edition
- Type 2 Diabetes
- Wellness Wire
Lifestyle Quizzes
- Find a Diet
- Find Healthy Snacks
- Weight Management
- How Well Do You Sleep?
- Are You a Workaholic?
- Featured
Health News
All- Medicare 2026 Changes
- Can 6-6-6 Walking Workout Help You Lose Weight?
- This Couple Lost 118 Pounds Together Without Medication
- 5 Science-Backed Ways to Live a Longer Life
- Morning Coffee May Help You Live Longer
This Just In
- 5 Tips for a Healthy Lifestyle
- How to Disinfect Your House After the Flu
- Best Vegan and Plant-Based Meal Delivery for 2025
- Does Medicare Cover Pneumonia Shots?
- Chromosomes, Genetics, and Your Health
Top Reads
- Best Multivitamins for Women
- Best Multivitamins for Men
- Best Online Therapy Services
- Online Therapy That Takes Insurance
- Buy Ozempic Online
- Mounjaro Overview
Video Series
- Youth in Focus
- Healthy Harvest
- Through an Artist's Eye
- Future of Health
- Connect
Find Your Bezzy Community
Bezzy communities provide meaningful connections with others living with chronic conditions. Join Bezzy on the web or mobile app.
All
Breast Cancer
Multiple Sclerosis
Depression
Migraine
Type 2 Diabetes
Psoriasis
Follow us on social media
Can't get enough? Connect with us for all things health.
Nutrition
- Meal Kits
- Special Diets
- Healthy Eating
- Food Freedom
- Conditions
- Feel Good Food
- Products
- Vitamins & Supplements
- Sustainability
- Weight Management
Medically reviewed by Angela M. Bell, MD, FACP — Written by Suzanne Allen — Updated on January 7, 2025- Causes
- Diagnosis
- Treatment
- Prevention
- Takeaway
Minor muscle spasming can occur due to health conditions like nutrient deficiencies. More severe twitching can be a symptom of serious health conditions, including those affecting the nervous system.
Muscle twitching can result from both minor and more serious causes.
Keep reading to learn about muscle twitching, its causes, and when to get medical attention.
What are muscle twitches?
Muscle twitching is a general term for muscle contractions.
Your muscles are made up of fibers that your nerves control. Stimulating or damaging a nerve can cause muscle fibers to twitch.
Muscle twitches often go unnoticed and usually aren’t a cause for concern. However, they can sometimes indicate health conditions affecting the nervous system.
Causes of muscle twitching
Various conditions can cause muscle twitching, which can range in severity. Minor muscle twitching usually results from less serious, lifestyle-related causes, but some causes may need medical attention.
Common causes of muscle twitching
Common causes of muscle twitching can include:
- Physical activity: Lactic acid accumulates in the muscles used during exercise and causes fatigue. It most often affects the arms, legs, and back.
- Stress and anxiety: Along with other symptoms of mental health issues that manifest physically, stress and anxiety can cause what is often called a “nervous tic” or psychogenic tic. They can affect any muscle in the body.
- Stimulants: Consuming too much caffeine and other stimulants can cause muscles in any part of the body to twitch.
- Nutrient deficiencies: Not getting enough of certain nutrients can cause muscle spasms, particularly in the eyelids, calves, and hands. Common nutritional deficiencies include vitamin D, vitamin B, and calcium.
- Dehydration: Dehydration can cause muscle contraction and twitching, especially in larger muscles. These include the legs, arms, and torso.
- Electrolyte imbalances: Electrolyte imbalances can result from dehydration and cause muscle twitching. This could be due to excessive sweating, intense exercise, or fluid loss from vomiting or diarrhea.
- Nicotine: Cigarettes and other products containing nicotine can cause muscle twitching, especially in the legs.
- Irritation: Irritation of the eyelid or the surface area of the eye can cause muscle spasms to occur in the eyelid or the area around the eye.
- Adverse reactions to certain drugs: Many drugs, including diuretics and antidepressants, can cause twitches or muscle spasms. Consult your doctor if you are experiencing twitching and taking medications to see if the twitching could be related.
These common causes of muscle spasms are usually minor conditions that easily resolve.
But you should talk with your doctor if you suspect a medication is causing your muscle twitching. The doctor may recommend a lower dosage or switch you to another medication. You should also contact your doctor if you have a nutritional deficiency.
More serious causes
More serious causes can trigger some muscle spasms. These muscle twitches are often related to problems with the nervous system, which includes the brain and spinal cord.
They may damage the nerves connected to your muscles, leading to twitching. Some of the rare yet serious issues that can trigger muscle twitches include:
- Muscular dystrophies: This is a group of inherited diseases that damage and weaken muscles over time. They can cause muscle twitching in the face and neck or hips and shoulders.
- Amyotrophic lateral sclerosis (ALS): Also known as Lou Gehrig’s disease, ALS causes nerve cells to die. The twitching can affect the muscles in any part of the body, but it typically develops first in the arms and legs.
- Spinal muscular atrophy: This condition damages the motor nerve cells in the spinal cord, affecting the control of muscle movement. It can cause the tongue to twitch.
- Neuromyotonia (Isaacs syndrome): This affects the nerves that stimulate muscle fibers, resulting in frequent muscle twitching. The spasms most often occur in the arm and leg muscles.
- Chronic kidney disease (CKD): CKD can alter the body’s balance of fluids and electrolytes, which could cause muscle spasms.
- Myopathy: These neuromuscular disorders impact the function of the muscle fibers, leading to cramps, stiffness, and twitching.
- Neuropathy: Caused by nerve damage, neuropathy can result in numbness, pain, and muscle twitches, especially in the hands and feet.
- Hoffmann syndrome: This specific type of hypothyroid myopathy can cause painful spasms and muscle weakness. It usually affects the muscles in the tongue, arms, and legs.
- Focal-onset seizures: Some seizures begin in just one area of the brain and may cause uncontrollable movements. You can develop seizures due to epilepsy, low blood sugar, stroke, or other causes.
- Serotonin syndrome: This condition occurs when you have high levels of a chemical called serotonin in your body. It often develops after using certain medications and can cause muscle spasms and serious symptoms.
Muscle twitching typically isn’t an emergency, but it can result from a serious medical condition. Make an appointment with your doctor if your twitching becomes a chronic or persistent issue.
If you need help finding a primary care doctor, check out our FindCare tool here.
Diagnosing the cause of muscle twitching
During your appointment, your doctor may ask about your muscle twitching to help determine the underlying cause. You’ll want to let them know:
- when your muscles began twitching
- where the twitches occur
- how often the twitches occur
- how long the twitches last
- any other symptoms you may be experiencing
- any existing health conditions you have
- any medications you take
A doctor also typically performs a physical exam. They usually order specific lab and imaging tests if they suspect your muscle twitching is due to an underlying condition. They may order:
- urine or blood tests to evaluate electrolyte levels and thyroid function
- an MRI scan
- a CT scan
- electromyography to assess the health of the muscles and the nerve cells that control them
- electroencephalography (EEG) to record electrical activity in the brain that may cause the involuntary movement
These tests can help your doctor determine the cause of your muscle twitching. If you have persistent and chronic muscle twitching, a serious underlying medical condition may be the cause.
It’s important to diagnose and treat the problem as soon as possible. Early intervention can often improve your long-term outlook and treatment options.
Treatment for muscle twitching
Treatment usually isn’t necessary for most causes of muscle twitching. The spasms tend to subside without treatment within a few days. But you may need treatment if one of the more serious conditions is causing your muscle twitching.
Depending on the diagnosis, the doctor may prescribe certain medications to ease symptoms. These drugs can include:
- corticosteroids, like betamethasone (Celestone) and prednisone (Rayos)
- muscle relaxants, like carisoprodol (Soma) and cyclobenzaprine (Amrix)
- neuromuscular blockers, like incobotulinumtoxin A (Xeomin) and rimabotulinumtoxin B (Myobloc)
- cognitive behavioral therapy or anxiety medications for underlying mental health issues
- antiepileptic drugs for seizures
Preventing muscle twitching
Muscle twitching isn’t always preventable. But you can do some things to lower your risk, including:
Eat a balanced diet
You may be able to support your overall health by eating a balanced diet that contains:
- fresh fruits and vegetables
- whole grains, which provide you with carbohydrates for energy
- a moderate amount of protein, mostly from lean sources like chicken and tofu
Get adequate sleep
Most adults require 7 to 9 hours of sleep each night to stay healthy. Sleep helps the body heal and recover and gives your nerves time to rest.
Not getting enough sleep can make some causes of muscle twitching worse.
Manage stress
To reduce stress, you can try relaxation techniques like meditation, yoga, or Tai Chi.
Exercising at least three times per week can also help you feel less stressed.
Other options include talking with a therapist or using online therapy sources.
Limit your caffeine intake
Avoid drinking caffeinated beverages or eating foods that contain caffeine. These foods and drinks may increase or promote muscle twitching.
Quit smoking
It’s always a good idea to quit smoking. Nicotine is a mild stimulant that affects your central nervous system. Quitting smoking also helps lower your risk for other serious health problems.
Switch medications
Talk with your doctor if you’re on a stimulant medication, like an amphetamine, and develop muscle twitching. Your doctor may be able to prescribe another medication that doesn’t cause twitching.
The bottom line
Muscle twitching commonly results from stress, exercise, or having too much caffeine. It usually goes away on its own.
Sometimes, muscle twitching can indicate other health conditions, ranging from nutritional deficiencies to nervous system disorders like neuropathy or ALS.
If you have severe muscle twitching that doesn’t resolve on its own, it’s best to talk with a doctor.
How we reviewed this article:
SourcesHistoryHealthline has strict sourcing guidelines and relies on peer-reviewed studies, academic research institutions, and medical journals and associations. We only use quality, credible sources to ensure content accuracy and integrity. You can learn more about how we ensure our content is accurate and current by reading our editorial policy.- About sleep. (2024).https://www.cdc.gov/sleep/about/
- Calcium: Fact sheet for health professionals. (2024).https://ods.od.nih.gov/factsheets/Calcium-HealthProfessional
- Corticosteroid induced myopathy. (2023).https://www.ncbi.nlm.nih.gov/books/NBK557731/
- Fariduddin MM, et al. (2024). Hypothyroid myopathy.https://www.ncbi.nlm.nih.gov/books/NBK519513/
- Foong AL, et al. (2018). The scoop on serotonin syndrome.https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6141939/
- Foucher CD, et al. (2023). Lactic acidosis.https://www.ncbi.nlm.nih.gov/books/NBK470202/
- Gash MC, et al. (2023). Physiology, muscle contraction.https://www.ncbi.nlm.nih.gov/books/NBK537140/
- Isaacs syndrome. (2024).https://www.ninds.nih.gov/health-information/disorders/isaacs-syndrome
- LaPelusa A, et al. (2024). Muscular dystrophy.https://www.ncbi.nlm.nih.gov/books/NBK560582/
- Lau, WY, et al. (2019). Water intake after dehydration makes muscles more susceptible to cramp but electrolytes reverse that effect.https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6407543/
- Masori P, et al. (2020). Amyotrophic lateral sclerosis: A clinical review.https://pmc.ncbi.nlm.nih.gov/articles/PMC7540334/
- Myoclonus. (2024).https://www.ninds.nih.gov/health-information/disorders/myoclonus
- Nagy H, et al. (2023). Myopathy.https://www.ncbi.nlm.nih.gov/books/NBK562290/
- Physical activity reduces stress. (n.d.).https://adaa.org/understanding-anxiety/related-illnesses/other-related-conditions/stress/physical-activity-reduces-st
- Peripheral neuropathy. (2024).https://www.ninds.nih.gov/health-information/disorders/peripheral-neuropathy
- Pitzer CR, et al. (2023). Nicotine and microvascular responses in skeletal muscle from acute exposure to cigarettes and vaping.https://pmc.ncbi.nlm.nih.gov/articles/PMC10299710/
- Prior TW, et al. (2020). Spinal muscular atrophy.https://www.ncbi.nlm.nih.gov/books/NBK1352/
- Safarpour Y, et al. (2021). Movement disorders in chronic kidney disease – a descriptive review.https://www.sciencedirect.com/science/article/abs/pii/S1052305720308260
- Shrimanker I, et al. (2023). Electrolytes.https://www.ncbi.nlm.nih.gov/books/NBK541123/
- Swash M, et al. (2019). Muscle cramp: Causes and management.https://pubmed.ncbi.nlm.nih.gov/30168894/
- Sweeney HL, et al. (2018). Muscle contraction.https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5793755/
- Twitching eyes and muscles. (2023).https://www.nhs.uk/conditions/twitching-eyes-and-muscles/
- Vitamin D: Fact sheet for health professionals. (2024).https://ods.od.nih.gov/factsheets/VitaminD-HealthProfessional
- Wolffenbuttel B HR, et al. (2019). The many faces of cobalamin (vitamin b12) deficiency.https://pmc.ncbi.nlm.nih.gov/articles/PMC6543499/
Share this article
Medically reviewed by Angela M. Bell, MD, FACP — Written by Suzanne Allen — Updated on January 7, 2025Read this next
- 6 Causes of Hand TwitchingMedically reviewed by Seunggu Han, M.D.
Involuntary muscle spasms can happen anywhere in the body, including the hands. Twitching can last a few moments to hours. Some possible causes are…
READ MORE - Why is My Lip Twitching?
Lip twitching can also be a sign of an underlying medical condition or simply drinking too much coffee. Learn about causes and treatment.
READ MORE - Hemifacial SpasmMedically reviewed by Seunggu Han, M.D.
Learn about hemifacial spasms, including potential treatment options.
READ MORE - What Does 'Altered Mental Status' Mean?
Altered mental status is an change in the way you think and behave. Many conditions may cause it. It's important for loved ones to seek treatment…
READ MORE - What Is Posterior Reversible Encephalopathy Syndrome?Medically reviewed by Heidi Moawad, M.D.
Posterior reversible encephalopathy syndrome (PRES) is neurological disorder characterized by swelling and inflammation in the brain. Learn about…
READ MORE - Ernest Syndrome vs. Eagle Syndrome: What's the Difference?
Ernest Syndrome and Eagle Syndrome have similar symptoms but are different conditions. Learn more about how to tell them apart.
READ MORE - Can Occipital Neuralgia Cause Dizziness?
Aside from headaches, occipital neuralgia may cause dizziness. Learn more about this symptom.
READ MORE - What Can Be Mistaken for Trigeminal Neuralgia?
Trigeminal neuralgia may present with symptoms common in other conditions such as dental pain, or temporomandibular joint syndrome. Contact your…
READ MORE - Can Neck Problems Cause Trigeminal Neuralgia?Medically reviewed by Heidi Moawad, M.D.
Trigeminal neuralgia can be caused by conditions that cause the trigeminal nerve to become compressed. These can include spine misalignment issues, or…
READ MORE
Tag » Why Is My Calf Pulsing
-
Calf Muscle Twitching - Why It's Not A Good Idea To Ignore!
-
Why Is My Calf Muscle Twitching? - Regenexx
-
When Should I Worry About Muscle Twitching? - Houston Methodist
-
What Causes Leg Twitching? Symptoms And Treatment
-
15 Causes Of Muscle Twitches And Spasms - WebMD
-
Why Do My Calf Muscles Always Spasm? - Runner's World
-
When To Worry If Your Calf Muscles Spasm - Runner's World
-
What Causes Muscle Twitches? (for Teens) - Nemours KidsHealth
-
Why Do My Muscles Twitch? - Wexner Medical Center
-
Annoying Muscle Twitch? When To Seek Help | Rush System
-
Calf Muscle Twitching? Jumping? What Causing This? - YouTube
-
What Do Fasciculations Or Muscle Twitching Mean?
-
Muscle Twitch (Myoclonus): Types, Causes, Diagnosis & Treatment