Overview
A muscle twitch is a fine, quick movement of a small area of muscle. Most people have them now and then and may not even notice. Common spots are the eyelids, calves, and thumbs.
Harmless twitches come and go and usually don't last more than a few days. They're often brought on by stress, anxiety, caffeine, not sleeping enough, or hard exercise. Twitching that comes with weakness, loss of muscle size, or changes in feeling can be a sign of a nerve problem.
When to get medical care
Causes
Common causes include stress and anxiety, too much caffeine or other stimulants, not enough sleep, hard exercise, dehydration, and low potassium, magnesium, or calcium. Medicines like water pills, steroids, stimulants for ADHD, and some asthma medicines can also cause it. Less often, twitching is a sign of a nerve problem, such as a pinched nerve, nerve damage, kidney disease, overactive thyroid, Isaac syndrome, spinal muscular atrophy, or ALS. In those cases, there's usually also weakness or muscle loss.
OwieClear has pages on 5 conditions that can cause muscle twitching. Each shows how soon to get care.
Common causes
- Harmless muscle twitchingOften treated at home
Small, flickering muscle twitches, often in the eyelid, calf, or thigh.
- Myoclonus (sudden muscle jerks)See a doctor if it doesn't get better
Quick, shock-like jerks of a muscle or group of muscles.
- Serotonin syndromeMay need emergency care
A potentially dangerous reaction from too much serotonin, usually from combining medicines like antidepressants (SSRIs, SNRIs), tramadol, triptans, linezolid,…
Less likely causes
- Caffeine withdrawal headacheOften treated at home
A headache that starts 12 to 24 hours after cutting back on coffee, tea, soda, or energy drinks.
- ALS (amyotrophic lateral sclerosis)See a doctor if it doesn't get better
A rare condition where the nerves that control muscles slowly stop working.
What you can do at home
- Cut back on caffeine from coffee, tea, soda, and energy drinks.
- Get enough sleep. Most adults need 7 to 9 hours.
- Manage stress with exercise, deep breathing, or other ways to relax.
- Drink enough water, especially when you exercise.
- Eat a balanced diet with foods that contain potassium, magnesium, and calcium.
- Be patient. Harmless twitches usually go away on their own within days.
Medicines
No treatment is needed for harmless twitching. If a medicine might be causing it, talk to your doctor before stopping it. If a medical condition is the cause, treating that condition usually helps.
At the doctor
The doctor will check whether the twitching is harmless or a sign of a nerve or muscle problem.
Questions you may be asked
- Where the twitching is and how long it's been going on
- Whether it comes with cramps, weakness, or numbness
- How much caffeine you have, and how you're sleeping
- Your stress level
- All your medicines
- Other symptoms, like trouble speaking or swallowing
The exam
A physical and nerve exam checking muscle strength, size, reflexes, and feeling.
Tests
- Blood tests for electrolytes, kidney function, and thyroid
- EMG and nerve conduction studies
- An MRI of the spine or brain in some cases
Prevention
Healthy habits help prevent harmless twitching.
- Limit caffeine
- Sleep well
- Manage stress
- Stay hydrated
- Eat a balanced diet
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.