Calf twitching is almost always harmless. Those small, involuntary flickers under your skin happen when a single nerve controlling a muscle fiber fires on its own, causing a tiny contraction you can see or feel but can’t control. The calves are actually the most common location for these twitches in healthy people. One imaging study found fasciculations in the lower legs about 14% of the time in healthy participants, with the soleus (the deeper calf muscle) being the single most active site.
What’s Happening Inside the Muscle
Your muscles are controlled by motor neurons, nerve cells that send electrical signals telling muscle fibers when to contract. Normally, these neurons only fire when your brain tells them to. But sometimes a nerve becomes temporarily hyperexcitable, meaning its resting electrical charge drifts close enough to its firing threshold that it discharges on its own. When that happens, the small bundle of muscle fibers connected to that nerve contracts briefly, producing the visible twitch under your skin.
This process is closely tied to electrolyte balance. Magnesium, potassium, calcium, and sodium all help stabilize the electrical charge across nerve and muscle cell membranes. Magnesium plays a particularly important role because it competes with calcium for the same binding sites on muscle cells. Since calcium triggers contraction, magnesium essentially acts as a brake. When magnesium levels drop, that brake weakens, and nerves become more likely to fire spontaneously.
The Most Common Triggers
Researchers haven’t pinpointed a single cause of benign muscle twitching, but several triggers are well established:
- Stress and anxiety. Mental stress increases nervous system activity broadly, which can push motor neurons closer to their firing threshold. Many people notice twitching during high-stress periods even when they’re physically inactive.
- Lack of sleep. Sleep deprivation raises overall neural excitability. If your calf twitching started during a stretch of poor sleep, that connection is likely.
- Caffeine. Caffeine increases voluntary muscle activation and central nervous system arousal. While laboratory studies haven’t consistently shown changes in spinal reflex responses from caffeine alone, the stimulant effect on the brain and nerves is enough to trigger twitching in many people.
- Strenuous exercise. Hard workouts cause microscopic tears in muscle fibers and can deplete electrolytes through sweat. Both of these destabilize normal nerve signaling in the affected muscles. Post-exercise twitching typically resolves within a few days as the muscle repairs.
- Dehydration. Fluid loss concentrates or dilutes the electrolytes your nerves depend on, disrupting the careful balance that keeps motor neurons quiet at rest.
- Alcohol. Alcohol is a diuretic that depletes magnesium and other minerals, and it independently affects nerve function.
- Recent viral infections. Some people develop temporary twitching after a viral illness, possibly due to mild inflammation affecting peripheral nerves.
Why the Calves Specifically
Your calves work harder than most muscles throughout the day. Walking, standing, climbing stairs, and even small postural adjustments all load the calf muscles repeatedly. That constant demand makes them more prone to fatigue, micro-damage, and electrolyte depletion at the local level. The soleus in particular is a slow-twitch, endurance-oriented muscle that’s almost always active when you’re upright, which helps explain why it shows up as the top fasciculation site even in healthy people with no symptoms.
Sitting for long periods can also contribute. Compressed blood flow and sustained positioning may irritate the nerves running through the lower leg, making spontaneous firing more likely when you finally move or relax.
Medications That Can Cause Twitching
Several common drug classes list muscle twitching, tremor, or involuntary movements as side effects. SSRIs and other antidepressants are among the most frequently implicated. Antiepileptic medications like valproate, bronchodilators used for asthma, lithium, and immunosuppressive drugs can all cause tremor or myoclonus (sudden involuntary muscle jerks). Stimulant medications, including those for ADHD, are also associated with tremor and involuntary movements. If your twitching started or worsened after beginning a new medication, that timing is worth noting.
Diuretics deserve special mention because they don’t cause twitching directly through nerve effects. Instead, they flush out magnesium and potassium through increased urination, creating the electrolyte imbalances that destabilize motor neurons.
When Twitching Signals Something Else
The fear behind most searches about muscle twitching is ALS (amyotrophic lateral sclerosis). Here’s the key distinction: in ALS, twitching does not appear in isolation. It accompanies progressive muscle weakness, wasting, and loss of function. A prospective study of people presenting with fasciculations alone found normal muscle strength, normal motor nerve conduction, and no signs of nerve degeneration on electrical testing.
Twitching without weakness is not a sign of ALS. In early ALS, fasciculations originate from motor neurons that are becoming unstable due to disease, and this instability progresses to detectable changes in how those motor units behave, followed by actual muscle wasting and weakness. If your calves twitch but you can still walk, run, rise on your toes, and go about your day with normal strength, the twitching is overwhelmingly likely to be benign.
Other conditions worth considering if twitching is persistent and widespread include hyperthyroidism (which speeds up metabolism and nerve activity) and peripheral neuropathy (nerve damage from diabetes or other causes, usually accompanied by numbness or tingling).
How to Reduce Calf Twitching
Since the underlying issue is usually nerve hyperexcitability driven by lifestyle factors, the fixes are straightforward. Start by addressing the most common culprits: cut back on caffeine, improve your sleep, and manage stress. These three changes alone resolve twitching for many people within a week or two.
Hydration matters more than most people realize. If you exercise regularly or spend time in heat, plain water may not be enough. You need to replace the sodium, potassium, and magnesium lost in sweat. Foods rich in magnesium (dark leafy greens, nuts, seeds, beans) and potassium (bananas, potatoes, avocados) support the electrolyte balance your nerves depend on. Magnesium supplements are widely used for this purpose, though getting enough through food is preferable when possible.
Stretching your calves regularly helps too, especially after exercise. A simple wall stretch, where you press one foot back with the heel on the ground and lean forward, held for 20 to 30 seconds per side, can reduce the residual tension that makes nerves more likely to fire. Gentle massage or foam rolling the calves can also calm irritated motor neurons by increasing blood flow to the area.
If twitching persists for more than a few weeks despite addressing these triggers, or if you notice any actual weakness, difficulty walking, muscle shrinkage, or slurred speech, those are signs that warrant medical evaluation. For isolated calf twitching with normal strength, the outlook is reassuring. Many people experience it episodically throughout their lives, and it resolves on its own once the triggering factor passes.

