Shaky legs usually come from one of a handful of common causes: muscle fatigue, low blood sugar, anxiety, caffeine, or a mineral deficiency. In most cases, the shakiness is temporary and harmless. Understanding which trigger fits your situation helps you figure out whether it’s something you can fix on your own or something worth investigating further.
Muscle Fatigue After Exercise
If your legs started shaking during or after a workout, the most likely explanation is simple muscle fatigue. When you push your muscles hard, the nerve signals that coordinate smooth, controlled movement start to break down. The small groups of muscle fibers that normally take turns firing begin to lose their rhythm, and instead of contracting in a coordinated wave, they fire unevenly. That uneven firing is what you feel as trembling or shaking.
This happens most often after leg-heavy exercises like squats, lunges, running hills, or holding a wall sit. The shakiness typically fades within minutes to a couple of hours as your muscles recover. Staying hydrated and eating something with protein and carbohydrates after exercise speeds this along. If your legs shake every time you exercise even at low intensity, that could point to one of the other causes below.
Low Blood Sugar
Shakiness is one of the earliest and most recognizable signs of low blood sugar. Symptoms typically appear when blood glucose drops below 70 mg/dL. Your body responds by releasing adrenaline to try to raise glucose levels, and that adrenaline surge is what makes your muscles tremble, your hands sweat, and your heart race.
You don’t need to have diabetes for this to happen. Skipping meals, eating mostly refined carbs without protein or fat, intense exercise on an empty stomach, or drinking alcohol without food can all cause a blood sugar dip significant enough to make your legs feel weak and shaky. If eating something resolves the shakiness within 10 to 15 minutes, low blood sugar was almost certainly the cause.
Anxiety and Stress
When you feel anxious or stressed, your brain signals your adrenal glands to release adrenaline into your bloodstream. That adrenaline contracts your blood vessels and redirects blood flow toward your heart, lungs, and major muscle groups, priming your body to fight or run. The problem is that if there’s no physical action to take, all that energy has nowhere to go. Your muscles are activated with no task to perform, and the result is visible shaking or a jittery, trembling feeling in your legs.
This kind of shakiness often comes with a racing heart, shallow breathing, sweaty palms, or a tight feeling in your chest. It can happen during obvious moments of stress, but it also shows up during periods of chronic, low-grade anxiety where you may not even realize you’re stressed. The shaking usually stops once the perceived threat passes and your adrenaline levels return to normal.
Low Magnesium or Potassium
Your muscles need specific minerals to contract and relax properly. When magnesium levels drop too low, symptoms can include tremors, leg cramps (especially at night), general weakness, numbness or tingling in the legs and hands, and heart palpitations. Potassium deficiency produces similar symptoms, with muscle weakness and cramping as the hallmarks.
These deficiencies are more common than most people realize. Heavy sweating, chronic stress, alcohol use, certain medications (especially diuretics), and diets low in leafy greens, nuts, and whole grains can all deplete magnesium over time. If your leg shakiness is accompanied by frequent cramping or a general sense of muscle weakness, a mineral imbalance is worth considering. A basic blood test can confirm it.
Caffeine and Stimulants
Caffeine stimulates your nervous system in a way similar to adrenaline, and in sensitive individuals it can cause noticeable shakiness. Interestingly, formal testing has found that a single 325 mg dose of caffeine (roughly three cups of coffee) did not reliably increase tremor in most healthy adults. Only about 2% of people in one study reported that coffee made their hands shaky. So while caffeine gets blamed often, it’s a less common cause than people assume.
That said, sensitivity varies widely. If you’ve recently increased your caffeine intake, switched to a stronger source like energy drinks or pre-workout supplements, or are combining caffeine with poor sleep or an empty stomach, it can tip you into that shaky range. Stimulant medications, including those for ADHD, can also cause tremors as a side effect.
Medication Side Effects
A surprisingly long list of medications can cause tremors. Common categories include asthma inhalers (particularly albuterol), certain antidepressants like SSRIs and tricyclics, mood stabilizers like lithium, steroids, seizure medications, some heart medications, and even too much thyroid medication. Caffeine and nicotine are on the list as well.
Drug-induced tremor often develops gradually after starting a new medication or increasing a dose, which makes it easy to overlook the connection. If your leg shakiness started within a few weeks of a medication change, that’s a strong clue. Don’t stop any prescription medication on your own, but it’s worth flagging the timing to your prescriber.
Neurological Causes
Most leg shakiness is not neurological, but persistent tremors that don’t resolve with rest, food, or stress reduction deserve a closer look. The two most common neurological tremor conditions are essential tremor and Parkinson’s disease, and they behave differently.
Essential tremor is the more common of the two. It typically shows up as a shaking that happens during movement or while holding a position, like extending your arms or standing still. The tremor usually cycles at 5 to 8 times per second. It often runs in families and tends to worsen gradually over years.
Parkinson’s tremor is different. It’s a “resting tremor,” meaning it’s most noticeable when your muscles are completely relaxed, like when your hand is sitting in your lap. It cycles more slowly, typically 4 to 6 times per second, and is usually accompanied by other symptoms: stiffness, slowness of movement, and changes in balance or walking. Parkinson’s tremor most commonly starts on one side of the body.
If your legs shake only when you’re sitting still and relaxed, if the tremor is consistently on one side, or if you’ve noticed changes in your coordination or walking, those patterns are worth bringing to a doctor’s attention. For most people searching this question, though, the cause is one of the more common and fixable triggers listed above.

