Skip to main content
Transparent prices. Guidance you can trust. Our manifesto
Build my panel

Muscle Twitching: Why Muscles Twitch, When to Worry and the Blood Tests That Check

Most muscle twitching is benign: small, fine movements, often in the calf, eyelid or thumb, set off by stress, anxiety, caffeine, lack of sleep or exercise, that come and go on their own. Twitching that lasts can come from low magnesium, potassium or calcium, a thyroid problem or a medicine, which blood tests check. Twitching with weakness, muscle loss or trouble swallowing, speaking or breathing needs a prompt medical exam, not a blood test first.

Published
November 20, 2026
Read time
15 min read
Medically reviewed by
Rhonda Collins Rhonda Collins, FNP-C

Share

Summarize with AI

A woman with long braids stretches into a side lunge on a forest trail in soft green light.
Table of contents

Most muscle twitching is benign. A twitch is a small, fine movement of a small area of muscle, and the most common kind shows up in the eyelids, calf or thumb, set off by stress or anxiety, and comes and goes over a few days [1]. Caffeine and other stimulants, lack of sleep and hard exercise are the other everyday triggers [1].

Twitching that lasts has a short list of checkable causes: low magnesium, potassium or calcium, a thyroid problem, kidney disease, nerve damage and certain medicines [1][2][3]. Blood tests for electrolytes, thyroid function and blood chemistry are the first tests a provider orders for lasting twitches [1]. Twitching with weakness or muscle loss is different, because those are the signs of a nervous system disorder such as ALS, and it needs a doctor’s exam rather than a blood test first [1][4].

When to get prompt medical care for twitching

Weakness is the sign that matters most. MedlinePlus lists muscle weakness, muscle wasting and changes in sensation as the signs that twitching may come from a nervous system disorder [1]. See a doctor soon, for a full neurological exam, if twitching comes with [1][4][5]:

  • weakness in a hand, arm, leg or the neck, such as dropping things, tripping, or trouble climbing stairs or getting out of a chair;
  • a muscle that looks smaller or thinner than the same muscle on the other side;
  • slurred or nasal speech, or a change in your voice;
  • trouble chewing or swallowing, choking easily or drooling;
  • numbness, tingling or other changes in feeling.

Get emergency care for trouble breathing, or for a seizure, especially a first one, one that lasts more than 2 to 5 minutes, or one the person does not wake up normally from [6]. Very low calcium can cause muscle spasms that affect the voice box and make breathing hard, and very low magnesium or calcium can cause seizures [7][8][2].

Contact a provider promptly for dark, red or cola-colored urine after hard exercise, especially with muscle pain, swelling or weakness. These are signs of rhabdomyolysis, a rapid breakdown of muscle that can damage the kidneys [9][10].

None of these should wait for a home test or an online order. The blood tests in this article are for twitching that comes and goes or lasts without these signs. A doctor diagnosing a nervous system cause will use an exam and nerve tests, with blood tests alongside [4][1].

See a provider, not urgently, for twitches that are long-lasting or keep coming back, even without other symptoms [1].

Everyday causes: caffeine, stress, sleep and exercise

The everyday causes are the most common ones, and they explain most twitching that comes and goes.

  • Caffeine and other stimulants. MedlinePlus lists stimulants such as caffeine and amphetamines among the medicines that cause twitching [1]. Too much caffeine also causes restlessness, shakiness and trouble sleeping, and some people are more sensitive to it than others [11]. For most people, up to 400 mg of caffeine a day is not harmful [11].
  • Stress and anxiety. Benign twitches, the most common kind, are usually triggered by stress or anxiety [1]. For how stress and mood can show up in blood results, see anxiety and low mood: what your blood might be telling you.
  • Lack of sleep. Not sleeping enough is a listed lifestyle cause [1], and caffeine taken to push through tiredness adds to it [11].
  • Exercise. Twitching can follow exertion [1]. Twitching after a workout that comes with severe muscle pain, swelling or dark urine is not ordinary and is covered in the warning signs above [9].

Benign fasciculation syndrome is the name for frequent twitching for which an exam and tests find no underlying disease. Fasciculation is the medical word for a muscle twitch. A 2025 review of three follow-up studies, with 180 people diagnosed with it, found that the twitches persisted in almost all of them for months to years and improved in about half, and that none developed motor neuron disease, the group of conditions that includes ALS, during follow-up [12]. The review notes that progression has been described only in individual case reports [12].

Eyelid twitching is one of the most common benign twitches and follows the same triggers [1].

Deficiency and electrolyte causes

Magnesium, potassium and calcium all help muscles and nerves work, and a low level of any of them can make muscles cramp, spasm or twitch. The electrolyte sources list cramps and spasms more often than twitches, and many people with an abnormal level have no symptoms at all [13][3][8]. This is the short version. Each linked page has the full symptom list.

Low magnesium (hypomagnesemia). Its listed symptoms are muscle spasms or cramps, muscle weakness, numbness and fatigue, abnormal eye movements, and seizures when the level is extremely low [2][14]. StatPearls describes signs ranging from mild tremors and generalized weakness to heart problems in severe cases [13]. Common causes are alcohol use, long-term diarrhea, uncontrolled diabetes, malabsorption such as celiac or inflammatory bowel disease, heavy sweating, and medicines including diuretics (water pills) and proton pump inhibitors for stomach acid [2]. Magnesium is measured with its own blood test, not the standard metabolic panel [2][15]. A magnesium RBC test measures magnesium inside red blood cells instead of in the blood fluid. See signs of magnesium deficiency and symptoms of low magnesium for the details.

Low potassium (hypokalemia). A small drop often causes no symptoms. When it does, they include muscle weakness or spasms, tingling or numbness, fatigue, constipation and skipped heartbeats [3]. Diuretics, vomiting or diarrhea, laxative overuse, heavy sweating and low magnesium are common causes [3]. Low magnesium is itself a cause of low potassium, and a magnesium test helps explain abnormal potassium and calcium results, so they are often checked together [3][14]. Potassium is on the comprehensive metabolic panel (CMP) [15]. See symptoms of low potassium and potassium benefits and deficiency.

Low calcium (hypocalcemia). Its listed symptoms are muscle cramps, spasms or stiffness and tingling in the lips, tongue, fingers and feet [8]. Low blood calcium can be a sign of too little vitamin D or magnesium, underactive parathyroid glands, kidney disease or low blood protein [8]. The parathyroid glands make parathyroid hormone (PTH), which works with vitamin D to keep calcium in balance [16]. When they make too little, the most common symptoms are tingling lips, fingers and toes and muscle cramps [7]. High calcium, usually from overactive parathyroid glands, can cause muscle weakness or twitches too [16]. Calcium is on the CMP [15]. If it is abnormal, vitamin D and PTH show why [16][7]. See symptoms of low calcium and symptoms of low vitamin D.

Low vitamin B12. A long-lasting low level damages nerves, causing numbness and tingling in the hands and feet, loss of balance and trouble concentrating [17]. Nerve damage (neuropathy) is one of the listed causes of twitching [1]. A vitamin B12 test is worth adding when twitching comes with numbness or tingling. For tingling as the main symptom, see tingling in hands.

Kidney disease. Kidney disease and the buildup of waste it causes (uremia) are listed causes of twitching [1]. The CMP’s kidney tests check for it [15].

Low iron is a separate question. For muscle aches and iron, see can anemia cause body aches.

Thyroid problems and twitching

An overactive thyroid speeds the body up, and its listed symptoms include hand tremor, restlessness, nervousness, sleep problems and weakness of the hips and shoulders [18][19]. Other clues are a racing heart, feeling hot and sweating, and weight loss despite a normal appetite [18][19].

An underactive thyroid slows the body down, with fatigue, feeling cold, constipation, weakness, and joint or muscle pain among its symptoms [20].

MedlinePlus lists thyroid function tests among the blood tests for lasting twitches [1]. A TSH (thyroid-stimulating hormone) test is the first check: it shows whether the thyroid is making too much or too little hormone, though not why [21]. An overactive thyroid usually shows a low TSH with high T4 or T3 [19]. If TSH is abnormal, T4, T3 and thyroid antibody tests usually come next [21].

Medicines that can cause twitching

Several kinds of medicine list twitching as a side effect. MedlinePlus names these classes [1]:

  • diuretics (water pills);
  • corticosteroids;
  • estrogens;
  • stimulants, including caffeine and amphetamines.

Some medicines cause twitching indirectly, by lowering a mineral. Diuretics can lower both potassium and magnesium, and proton pump inhibitors for stomach acid can lower magnesium [3][2]. Statins, for cholesterol, can cause muscle damage in some people, which is checked with a CK test [10].

If twitching started after a new medicine or a dose change, raise it with the prescriber. Do not stop a prescribed medicine on your own.

Is muscle twitching a sign of ALS or MS?

Most twitching is benign, and what sets ALS apart is weakness. Benign twitches are the most common kind [1]. ALS (amyotrophic lateral sclerosis) destroys the motor neurons that control the muscles, which makes muscles weaken, twitch and waste away [4]. Its early symptoms are twitching in the arm, leg, shoulder or tongue together with cramps, stiff muscles, weakness in an arm, leg or the neck, slurred speech, or trouble chewing or swallowing [4]. The weakness starts in one body part, such as a hand or arm, and slowly gets worse, until tasks like climbing stairs, getting out of a chair or swallowing become hard [5]. ALS does not affect the senses, including touch [5]. Symptoms most often begin between ages 55 and 75, though they can start younger [4].

The twitch itself cannot tell you which kind it is. A study that recorded twitches with EMG in people with ALS and people with benign fasciculation syndrome found their shapes could not be told apart. The twitches fired faster in ALS, more so once marked weakness and nerve damage were present [22]. That is why doctors check strength, reflexes and muscle size rather than the twitch [4]. In the 2025 review of benign fasciculation syndrome above, none of the 180 people followed developed motor neuron disease [12].

There is no single test for ALS. A neurologist diagnoses it with a physical and neurological exam repeated over time, EMG and nerve conduction studies, and imaging, with blood and urine tests to rule out other conditions [4][5]. A blood test can neither diagnose ALS nor rule it out. Blood tests are there to look for other conditions.

Multiple sclerosis (MS) has a different pattern. It damages nerves in the brain and spinal cord, and its muscle symptoms are spasms, stiffness, weakness, tremor and poor coordination, along with other symptoms such as numbness or tingling, vision problems, balance trouble or bladder changes [23][24]. Symptoms come in attacks that last days to months, followed by periods of fewer symptoms [23]. Neither MedlinePlus nor NINDS lists twitching on its own as an MS symptom [23][24].

Where the twitching happens: legs, calf, thigh, arm or all over

Where a twitch shows up matters less than whether weakness comes with it. The same rule applies to every location [1].

  • Calf and legs. The calf is one of the most common places for benign twitches [1]. Twitching in the legs after a long run or a hard workout fits exercise, one of the listed causes [1]. Cramps and spasms in the legs, rather than twitches alone, are listed symptoms of low magnesium, potassium and calcium [2][3][8].
  • Thigh. The same causes apply as for the calf. A thigh that twitches and also feels weak, so that stairs or standing up from a chair get harder, needs an exam [5].
  • Arm, hand and thumb. The thumb is another common place for benign twitches [1]. Twitching in an arm or hand together with a weak grip or dropping things is one of the early ALS patterns and needs an exam [4][5].
  • Eyelid. Usually benign and tied to stress, sleep and caffeine [1].
  • All over the body. Twitching that moves from muscle to muscle, with normal strength, is the typical pattern of benign fasciculation syndrome [12]. Electrolyte and thyroid tests are still worth doing when it lasts [1].
  • At rest or at night. The sources reviewed here do not sort twitching by whether you are resting or moving. What matters is the same: weakness, muscle loss or changes in feeling [1].

A sudden jerk of the whole body as you fall asleep is a different thing from twitching and is outside this article.

How to stop muscle twitching

There is no technique the medical sources describe that stops a twitch on the spot, and benign twitches need no treatment [1]. They usually come and go over a few days [1]. What helps is matching the step to the cause:

  • Caffeine or stimulants. Cut back on coffee, energy drinks and other caffeine sources, including some pain relievers and cold medicines [11].
  • Stress and anxiety. Lowering the stress load is the direct fix, since stress and anxiety usually trigger benign twitches [1].
  • Lack of sleep. Catching up on sleep removes a listed trigger [1].
  • Hard exercise. Rest the muscle. Severe pain, swelling or dark urine afterward needs a provider [9].
  • A medicine. Ask the prescriber whether it could be the cause and whether a change makes sense.
  • A low mineral or a thyroid problem. When a blood test finds one, treating the underlying cause may improve the twitching [1]. Mineral replacement depends on the cause and the level, so it is guided by the result rather than guessed.

If twitching continues for weeks despite these steps, that is the point to get it checked [1].

Which blood tests check the cause of muscle twitching

MedlinePlus lists blood tests for electrolytes, thyroid function and blood chemistry as the first tests for lasting twitches, alongside EMG, nerve conduction studies and sometimes imaging when a nervous system cause is suspected [1]. Each pattern points to a different test:

PatternWhat it may suggestWhat checks it
Twitching that comes and goes with stress, poor sleep or coffee, normal strengthBenign twitches from everyday triggers [1][11]Lifestyle changes first. Blood tests if it lasts for weeks [1]
Twitching with cramps, spasms, weakness or fatigue, especially with diarrhea, alcohol use, diuretics or acid reflux medicineLow magnesium [2][13]Magnesium blood test. It is not on the CMP [2][15]
Weakness or spasms with constipation or skipped heartbeats, or after vomiting, diarrhea or diureticsLow potassium [3]Potassium, on the CMP, often with magnesium [3][15]
Cramps or spasms with tingling around the lips, fingers or toesLow calcium, from low vitamin D, magnesium or PTH [8][7]Calcium, on the CMP, then vitamin D and PTH if abnormal [8][16]
Twitching with numbness, tingling or balance problemsNerve damage, including from low vitamin B12 [1][17]Vitamin B12 [17]
Restlessness, trembling, a racing heart, heat intolerance or weight lossOveractive thyroid [18][19]TSH, then T4 and T3 if abnormal [21]
Twitching or aching after unusually hard exerciseMuscle strain or, with dark urine, muscle breakdown [10][9]CK (creatine kinase), plus kidney tests on the CMP [10][9]
Twitching with weakness, muscle loss, or trouble speaking or swallowingA possible nervous system disorder [1][4]A doctor’s neurological exam and EMG first. Blood tests only alongside [4]

CK needs one note on timing. CK can take up to two days to peak after a muscle injury, and intense exercise in the days before the test can raise it, so tell the provider about recent workouts [10]. For more on the test, see the creatine kinase blood test.

Mito tests for muscle twitching

Normal blood tests make the common checkable causes unlikely. They do not replace an exam: twitching with weakness or muscle loss needs a doctor’s neurological exam whatever the blood results show [1][4].

For trembling rather than twitching, see shaky hands.

References

  1. MedlinePlus. Muscle twitching. National Library of Medicine. Reviewed January 27, 2026.
  2. MedlinePlus. Magnesium deficiency. National Library of Medicine. Reviewed May 19, 2025.
  3. MedlinePlus. Low blood potassium. National Library of Medicine. Reviewed May 19, 2025.
  4. National Institute of Neurological Disorders and Stroke. Amyotrophic lateral sclerosis (ALS). Last reviewed March 13, 2026.
  5. MedlinePlus. Amyotrophic lateral sclerosis. National Library of Medicine. Reviewed May 4, 2026.
  6. MedlinePlus. Seizures. National Library of Medicine. Reviewed April 16, 2025.
  7. MedlinePlus. Hypoparathyroidism. National Library of Medicine. Reviewed May 18, 2026.
  8. MedlinePlus. Calcium blood test. National Library of Medicine.
  9. MedlinePlus. Rhabdomyolysis. National Library of Medicine. Reviewed September 2, 2025.
  10. MedlinePlus. Creatine kinase (CK) test. National Library of Medicine.
  11. MedlinePlus. Caffeine. National Library of Medicine.
  12. Mattiuzzi C, Lippi G. Clinical progression of benign fasciculation syndrome: a systematic literature review. Neurological Sciences. 2025;46(3):1131-1135. PMID: 39508937
  13. Gragossian A, Bashir K, Bhutta BS, Friede R. Hypomagnesemia. In: StatPearls. StatPearls Publishing; updated November 30, 2023. PMID: 29763179
  14. MedlinePlus. Magnesium blood test. National Library of Medicine.
  15. MedlinePlus. Comprehensive metabolic panel (CMP). National Library of Medicine.
  16. MedlinePlus. High blood calcium level (hypercalcemia). National Library of Medicine. Reviewed January 25, 2026.
  17. MedlinePlus. Vitamin B12 deficiency anemia. National Library of Medicine. Reviewed January 29, 2026.
  18. MedlinePlus. Hyperthyroidism. National Library of Medicine. Reviewed August 19, 2026.
  19. American Thyroid Association. Hyperthyroidism (overactive).
  20. MedlinePlus. Hypothyroidism. National Library of Medicine. Reviewed August 19, 2026.
  21. MedlinePlus. TSH (thyroid-stimulating hormone) test. National Library of Medicine.
  22. Mills KR. Characteristics of fasciculations in amyotrophic lateral sclerosis and the benign fasciculation syndrome. Brain. 2010;133(11):3458-3469. PMID: 20959307
  23. MedlinePlus. Multiple sclerosis. National Library of Medicine. Reviewed January 27, 2026.
  24. National Institute of Neurological Disorders and Stroke. Multiple sclerosis. Last reviewed December 17, 2025.

Frequently asked questions

What deficiency causes muscles to twitch?

Several can. Low magnesium lists muscle spasms or cramps, weakness, numbness and fatigue among its symptoms, and its signs range from mild tremors and weakness to heart problems when severe. Low potassium can cause muscle weakness or spasms, and low calcium causes cramps, spasms and tingling in the lips and fingers, often because vitamin D, magnesium or parathyroid hormone is low. Long-lasting low vitamin B12 damages nerves, and nerve damage is a listed cause of twitching. A magnesium blood test, a metabolic panel for potassium and calcium, and a vitamin B12 test check these causes.

What does ALS twitching feel like?

The twitch itself does not tell you. A study that recorded twitches with EMG found that benign twitches and ALS twitches could not be told apart by their shape. What sets ALS apart is weakness: it starts in one body part, such as a hand, arm or leg, and slowly gets worse, so tasks like gripping, climbing stairs or getting out of a chair become harder, and the muscle can shrink. Twitching without any weakness or muscle loss is the pattern of benign twitches. Anyone with twitching and new weakness, slurred speech or trouble swallowing should see a doctor for a neurological exam.

How do I make muscle twitching stop?

There is no technique the medical sources describe that stops a twitch on the spot. Benign twitches usually come and go over a few days and need no treatment. What helps is removing the trigger: cutting back on caffeine and other stimulants, catching up on sleep, easing stress, and resting a muscle after hard exercise. If a medicine may be the cause, talk with the prescriber rather than stopping it on your own. If a blood test finds low magnesium, potassium or calcium, or a thyroid problem, treating that cause may improve the twitching.

Is muscle twitching all over the body every day serious?

Usually not when it comes without weakness. Frequent twitching in many muscles with a normal exam is called benign fasciculation syndrome. In a 2025 review of three studies with 180 people who had it, the twitches persisted in most people for months to years and improved in about half, and none developed motor neuron disease during follow-up. See a doctor if the twitching lasts, so they can check your strength and order blood tests for electrolytes and thyroid function, and go promptly if weakness, muscle loss, or trouble swallowing, speaking or breathing appears.

Can anxiety cause muscle twitching?

Yes. Benign twitches, the most common kind, are usually triggered by stress or anxiety. They often show up in the eyelids, calf or thumb and come and go over a few days. Lack of sleep and caffeine, which often travel with stress, are listed causes too. Twitching that lasts after the stressful period passes, or that comes with a racing heart, weight loss and feeling hot, is worth a TSH test, because an overactive thyroid causes anxiety, restlessness and trembling.

Tests for training and performance

All for $9/month

Order any test or consult without joining. For $9/month, members unlock member prices, trend tracking, and year-round clinician guidance.

Mito Membership

$9 /mo

cancel anytime

Without membership

$0

pay as you go

At-cost pricing on labs, scans, and more

Standard pricing

Supplements at our cost NEW

On-demand clinician consults when you need guidance

$39 per 30 min
$99 per 30 min

Personalized action plans across supplements, exercise, nutrition, and sleep

AI health coaching to help you act on your results

Year-round medical support, with in-chat clinician escalation

All your health records in one personal vault, with trends and biological age tracking

Early access to new diagnostics and product releases

Magnesium Blood Test

Your privacy choices

We use cookies to run our site, understand usage, and support marketing. You can anytime.

Your cart

Check eligibility

Answer a few quick health questions so we can check this test is right for you before you book. It takes about a minute.

Checkout

Complete your order

Send this cart as a gift

Each checkout sends one gift to one recipient. To gift another person, complete a separate checkout, or buy for a whole team or group in one payment.

Who it’s for

We’ll email the gift to the recipient and price it for their state.

Included membership

Member pricing on every test, a personalised action plan, trend tracking, and Mito Concierge for these months. Never auto-renews.

Who it’s from

Your name appears in the gift email. We’ll send the receipt and redemption link to your email.

Email delivery

Set your location

Choose the state where you'll get tested to see the tests and labs available there.

Mito Concierge

Hello

I can build you a panel, explain what your biomarkers mean, and find the cheapest lab near you.

Loading sign in…