Why People Shake Their Legs and When to Worry

Leg shaking is one of the most common repetitive body movements, and it happens for a wide range of reasons. Sometimes it’s your body burning off nervous energy or helping you concentrate. Other times it reflects an underlying condition like anxiety, ADHD, or restless legs syndrome. The explanation depends on when the shaking happens, whether you can control it, and how it feels.

Your Brain Uses Movement to Self-Regulate

The most common reason people shake their legs is simple self-stimulation, sometimes called “stimming.” Your brain uses small repetitive movements to manage its own arousal level. When you’re bored, leg shaking can raise your alertness. When you’re anxious, it helps discharge excess energy. Think of it as your nervous system’s built-in pressure valve.

This is especially relevant for people with ADHD. Differences in brain development and activity that affect attention and the ability to sit still make repetitive movement a functional tool rather than a nuisance. Leg shaking helps people with ADHD focus, cope with overstimulating environments, and calm their nerves. It’s not a sign of restlessness so much as a strategy the brain adopts on its own to stay regulated. For many people with ADHD, trying to suppress the movement actually makes concentration harder.

You don’t need a diagnosis for this to apply. If you’ve ever tapped your foot while studying or bounced your knee during a long meeting, you’ve used the same mechanism. The brain’s dopamine system, which governs motivation and movement, plays a central role. Dopamine modulates activity in the basal ganglia, a set of deep brain structures that act as a gatekeeper for voluntary and semi-voluntary movements. When dopamine signaling is slightly off, whether from genetics, boredom, or stress, repetitive movements like leg shaking become more likely.

Anxiety and the Stress Response

Stress triggers your sympathetic nervous system, flooding your body with hormones that raise your heart rate, blood pressure, and breathing. Your muscles become primed to act, because your body interprets the stress as a signal to fight or flee. When there’s no actual physical threat to respond to, that muscular readiness has nowhere to go. Leg shaking is one way your body discharges that pent-up activation.

This is why people often notice their legs bouncing during job interviews, exams, or tense conversations. The shaking tends to stop once the stressor passes. If it doesn’t, or if it’s accompanied by persistent worry, racing thoughts, or difficulty sleeping, the leg shaking may be part of a broader anxiety pattern rather than a one-off stress response.

Restless Legs Syndrome Is Different

Not all leg shaking is the same. Restless legs syndrome (RLS) affects roughly 7% of adults worldwide, an estimated 356 million people between the ages of 20 and 79. It’s a neurological condition, not a habit. The hallmark is an uncomfortable urge to move the legs that shows up at rest, gets worse in the evening or at night, and is temporarily relieved by movement. People describe the sensation as crawling, tingling, aching, or pulling deep inside the legs.

RLS becomes more common with age and is associated with smoking, depression, and diabetes. Europe has the highest regional prevalence at about 7.6%, while Africa has the lowest at roughly 6.5%, though the vast majority of cases globally occur in low and middle income countries simply due to population size.

The condition is rooted in how the brain handles iron. Autopsy research has identified RLS as fundamentally a disorder of iron acquisition by the brain. Iron serves as a critical building block in dopamine production, so when the brain can’t get enough iron into the right cells, dopamine signaling in the basal ganglia falters. This creates the uncomfortable sensory drive to move. Iron deficiency also activates hypoxic (low-oxygen) pathways in cells, which further disrupts normal energy metabolism and worsens symptoms. This is why people with RLS often benefit from addressing low iron levels, even when their standard blood tests look borderline normal.

Leg Shaking Burns More Calories Than You’d Think

A randomized crossover trial published in the Journal of Diabetes found that habitual leg shaking increases total energy expenditure by about 16.3% compared to sitting still. The average metabolic equivalent rose from 1.5 (recognized as unhealthy sedentary behavior) to 1.8 during leg shaking, with the extra energy coming primarily from increased carbohydrate burning. That’s a modest bump, roughly one extra kilojoule per minute, but over hours of sitting it adds up. This type of low-level movement falls under what researchers call non-exercise activity thermogenesis (NEAT), the energy your body spends on everything that isn’t sleeping, eating, or formal exercise.

It Protects Your Blood Vessels During Long Sitting

One of the more surprising findings about leg shaking involves vascular health. Sitting still for three hours causes a measurable decline in how well the arteries behind your knees function. In a study from the American Journal of Physiology, researchers had subjects keep one leg still and fidget the other (one minute of movement every five minutes) during a three-hour sitting session. The results were striking.

Blood flow to the still leg dropped from about 72 milliliters per minute to just 27. The fidgeting leg maintained significantly higher flow at 38 milliliters per minute. More importantly, the ability of the artery to dilate properly, a key marker of vascular health, declined by more than half in the still leg but actually improved in the fidgeting leg. The still leg also swelled noticeably at the ankle (about 2.6% increase in circumference), while the fidgeting leg showed virtually no swelling. Fidgeting increased blood flow shear rate nearly sevenfold during active movement periods, which is what kept the artery walls healthy.

This means that unconscious leg shaking during desk work may be doing your circulatory system a quiet favor.

When Leg Shaking Signals Something Else

Most leg shaking is benign. But certain characteristics point toward conditions worth investigating. A useful rule of thumb: habitual bouncing that you can stop when you notice it, that doesn’t bother you physically, and that has no particular pattern tied to time of day is almost certainly a normal self-regulatory behavior.

Features that warrant more attention include shaking that changes in frequency, amplitude, or direction over time, movements that appeared suddenly rather than gradually, and tremors that seem to disappear when you’re distracted by another task. These patterns are more consistent with a psychogenic (stress-related) tremor than with a neurological condition like Parkinson’s disease. In one study of 127 patients with psychogenic tremor, 79% had abrupt onset, 72% showed movements that could be interrupted by distraction, and 62% had variable amplitude and frequency.

Parkinson’s tremor, by contrast, typically starts on one side of the body, has a consistent “pill-rolling” quality, and worsens slowly over months or years. It’s present at rest and tends to decrease during intentional movement, which is the opposite of most habitual leg shaking. If your leg shaking is accompanied by stiffness, slowness of movement, or balance problems, that’s a different picture from the everyday knee bounce.

RLS, as noted above, has its own distinct signature: the uncomfortable sensory urge, the worsening at night, and the temporary relief from movement. If your leg shaking fits that pattern and is disrupting your sleep, it’s worth discussing with a doctor, particularly since iron status and dopamine-related treatments can make a significant difference.