Muscle twitching is an involuntary, small contraction of muscle fibers that you can often see or feel under the skin but can’t control. These twitches are extremely common: in one study, over 50% of the population experienced muscle twitching within a single year. The vast majority of the time, they’re harmless and resolve on their own.
How a Muscle Twitch Happens
Your muscles are organized into motor units, each controlled by a single nerve cell in the spinal cord. Normally, these nerve cells only fire when your brain sends a signal telling the muscle to move. A twitch occurs when a motor unit fires spontaneously, without any instruction from the brain. This happens because the nerve cell’s membrane becomes slightly unstable, bringing its electrical charge close enough to its firing threshold that it discharges on its own.
The result is a brief, visible flicker of movement in a small section of muscle. Unlike a full muscle contraction (where many motor units fire together to produce force), a twitch typically involves just one motor unit activating for a fraction of a second. You might notice it as a quick flutter under the skin of your calf, thumb, or eyelid.
Common Triggers
Several everyday factors can make your nerves more excitable and prone to spontaneous firing:
- Caffeine increases muscle fiber excitability by blocking the brain’s natural “slow down” signals and by triggering the release of extra calcium inside muscle cells. This combination means your muscles are primed to contract more easily, even without a deliberate signal.
- Stress and anxiety raise levels of stress hormones that keep your nervous system in a heightened state, lowering the threshold at which nerves fire.
- Fatigue and sleep deprivation impair the normal regulation of nerve signaling, making spontaneous discharges more likely.
- Exercise can trigger twitching during recovery, particularly when muscles are fatigued or slightly dehydrated.
These triggers often overlap. A stressful week with poor sleep and extra coffee is a recipe for noticeable twitching, especially in smaller muscles like those around the eyes.
Electrolyte Imbalances
Your muscle cells rely on electrically charged minerals to contract and relax properly. When levels of these minerals drop too low, nerves become overstimulated and muscles may twitch, cramp, or spasm involuntarily.
Low calcium is the most common electrolyte-related cause. Calcium helps regulate how nerves transmit signals, so when blood calcium drops, peripheral nerves become hyperexcitable. Low magnesium creates a similar effect and can also make it harder for your body to maintain normal calcium levels, compounding the problem. Low potassium, which is critical for the proper functioning of both nerve and muscle cells (especially the heart), can also contribute to twitching and cramping.
Electrolyte imbalances can result from dehydration, heavy sweating, certain medications like diuretics, or dietary gaps. If you notice twitching alongside fatigue, cramping, or numbness, an electrolyte issue is worth considering.
Eyelid Twitching
The most familiar form of twitching is probably the eyelid flutter, known medically as myokymia. It involves continuous, fine, rippling contractions that primarily affect the lower eyelid. Episodes typically last seconds to hours, though they can occasionally persist for days or even a few weeks before resolving on their own.
Eyelid twitching occurs in healthy people and is triggered by the usual suspects: fatigue, anxiety, stress, exercise, and caffeine. Certain medications, including some used for seizures and psychiatric conditions, can also trigger it. While annoying, eyelid myokymia is almost always harmless and self-limiting.
Benign Fasciculation Syndrome
Some people experience muscle twitching that doesn’t go away after a few days or weeks. When twitching persists for months or even years without any underlying medical condition, it’s called benign fasciculation syndrome (BFS). The twitches in BFS typically occur at a single site in a single muscle at a time, and the defining feature is that twitching is the only symptom. There’s no weakness, no muscle wasting, and no loss of function.
BFS is a diagnosis of exclusion, meaning doctors confirm it by ruling out other causes rather than through a specific test. It can be understandably alarming because persistent twitching is also a symptom of serious neurological conditions, but the critical difference is that BFS involves twitching alone, with nothing else changing over time.
When Twitching Signals Something Serious
The condition most people worry about when they notice persistent twitching is ALS (amyotrophic lateral sclerosis), a progressive neurodegenerative disease. In ALS, nerve cells that control voluntary muscles gradually deteriorate. This deterioration makes the nerve membranes unstable, causing them to fire spontaneously, which produces twitching. But twitching in ALS is not an isolated symptom. It occurs alongside muscle weakness, stiffness, cramping, and progressive loss of motor function. Symptoms get worse over time.
Research has shown that fasciculations alone, without signs of weakness or nerve degeneration, do not indicate ALS. The twitching in ALS tends to involve motor units that are already changing structurally, becoming larger and more complex as surviving nerve cells try to compensate for dying ones. This is fundamentally different from the simple, benign twitches that healthy people experience.
Other neurological conditions that can include twitching as a symptom, such as peripheral neuropathy or spinal nerve compression, similarly present with additional signs like numbness, tingling, pain, or weakness.
Medications That Can Cause Twitching
Several classes of medication can increase nerve excitability enough to cause twitching or related involuntary movements. Antidepressants (particularly SSRIs), mood stabilizers like lithium, some anti-seizure medications, and bronchodilators used for asthma are among the more common culprits. Stimulant drugs, both prescription and recreational, can also trigger tremor and involuntary muscle activity.
If twitching starts or worsens after beginning a new medication, that timing is worth noting. The twitching often resolves once the medication is adjusted.
How Doctors Evaluate Persistent Twitching
If twitching lasts more than two weeks, occurs in multiple locations, or is accompanied by weakness or stiffness, a doctor may recommend further evaluation. The primary diagnostic tool is electromyography (EMG), which involves placing a small needle electrode into a muscle to record its electrical activity.
An EMG can distinguish between different types of spontaneous electrical activity. Benign fasciculations appear as irregular, low-frequency discharges that look like normal motor unit activity, just happening without being asked. In contrast, nerve damage produces characteristic patterns: tiny, regular firing from individual denervated muscle fibers, or enlarged, complex discharges from motor units that have been remodeled by disease. These distinctions let a neurologist determine whether the twitching reflects a harmless quirk of nerve excitability or an underlying process that needs treatment.
Reducing Everyday Twitching
For the common, benign twitches that most people experience, the fix is usually straightforward. Cutting back on caffeine, improving sleep, managing stress, and staying hydrated address the most frequent triggers. If your diet is low in leafy greens, nuts, seeds, or dairy, increasing your intake of magnesium and calcium-rich foods may help stabilize nerve excitability.
Most twitches resolve within a few days without any intervention. The key distinction to keep in mind is simple: twitching by itself, with no weakness, no stiffness, and no progression, is overwhelmingly likely to be benign.