How to Get Rid of Leg Pain After a Workout

Leg pain after a workout is almost always delayed onset muscle soreness (DOMS), and it responds well to a handful of straightforward recovery strategies. The soreness typically shows up 6 to 12 hours after exercise and peaks between 48 and 72 hours, so what you do in that window matters. Here’s what actually helps, why it works, and when leg pain signals something more serious.

Why Your Legs Hurt After a Workout

DOMS is triggered by movements that lengthen a muscle under load, like lowering into a squat, running downhill, or the downward phase of a lunge. These eccentric contractions create microscopic structural damage in muscle fibers when the load exceeds what the tissue can handle. Your body responds with protein breakdown, cleanup processes, and localized inflammation, all of which produce that familiar stiffness and tenderness.

This isn’t the same as a buildup of lactic acid, which clears within an hour or so of stopping exercise. The soreness you feel the next day or two is your body’s repair process in action. It’s a normal part of adaptation, especially when you’ve tried a new exercise, increased your volume, or returned after time off.

Foam Rolling

Foam rolling is one of the most accessible tools for reducing post-workout leg pain. Gentle, sustained pressure on sore tissue helps restore muscle length and improve blood flow to the area. Research suggests that 90 to 120 seconds of pressure per muscle region is enough to produce meaningful changes in tissue tightness.

A practical approach: spend about one minute rolling each area of your leg (quads, hamstrings, calves), rest briefly, then repeat for a total of three passes. That works out to roughly nine minutes for a full leg session. Roll slowly, pausing on tender spots rather than speeding over them. Foam rolling before your next workout also improves joint range of motion without reducing the force your muscles can produce, making it useful as both a recovery and warm-up tool.

Cold and Heat Therapy

Cold water immersion blunts inflammation and numbs sore tissue. The recommended water temperature is between 39 and 59°F (4 to 15°C). If you’re new to ice baths, start with just one to two minutes and work up to three to five minutes over time. Going beyond 10 to 15 minutes doesn’t add much benefit and raises the risk of overcooling.

If a full ice bath isn’t practical, applying ice packs to your sorest leg muscles for 15 to 20 minutes works on a smaller scale. Heat, on the other hand, is better suited for soreness that’s already set in. A warm bath or heating pad increases blood flow and loosens stiff muscles, which can feel especially good on the second or third day when soreness peaks. Some people alternate cold and warm applications, and either approach is safe to try based on what feels best.

Compression Garments

Compression leggings or calf sleeves apply steady pressure that helps move fluid out of swollen tissue and back into circulation. This reduces the puffiness and heaviness that often accompany sore legs. Athletes in endurance sports frequently wear compression gear during or after exercise, and the increased circulation is thought to support faster muscle recovery and lower perceived soreness. Wearing them for a few hours after a hard leg session is a low-effort strategy worth trying.

Nutrition and Protein Timing

Your muscles need raw materials to repair the damage that causes soreness, and protein is the most important one. A good target around your workout is 0.4 to 0.5 grams of protein per kilogram of your lean body mass. For someone weighing about 150 pounds, that translates to roughly 25 to 30 grams of protein. A chicken breast, a cup of Greek yogurt, or a protein shake all get you there.

The old idea of a strict 30-minute “anabolic window” after training has been softened by newer research. What matters more is hitting your protein target consistently throughout the day rather than rushing to eat within minutes of your last set. That said, having a protein-rich meal or snack within a couple of hours of training is still a reasonable habit.

Tart cherry juice has gotten attention as an anti-inflammatory recovery drink. Some research shows it can improve endurance recovery when consumed for about a week leading up to hard training. However, a 2023 study found that concentrated tart cherry taken for eight days didn’t improve muscle soreness or function in recreationally active women. The evidence is mixed, and there’s no agreed-upon dose, so treat it as a “might help, won’t hurt” option rather than a proven fix.

Light Movement and Active Recovery

It’s tempting to stay on the couch when your legs are sore, but gentle movement tends to feel better than complete rest. A short walk, easy cycling, or light swimming increases blood flow to damaged muscle tissue without adding further stress. This won’t speed up the actual repair process, but it reduces stiffness and can noticeably lower your pain levels while you’re moving. Keep the effort genuinely easy, around 30 to 40 percent of your normal intensity.

Sleep Is Non-Negotiable

Sleep is when the bulk of muscle repair happens, and cutting it short has measurable consequences. In a controlled study, a single night of total sleep deprivation reduced the rate of muscle protein synthesis by 18%. That same night of lost sleep also drove cortisol (a stress hormone that breaks down tissue) up by 21% and dropped testosterone (which supports repair) by 24%. The combination creates an environment where your body is actively working against recovery.

You don’t need to lose an entire night’s sleep to feel the effects. Even consistently sleeping six hours instead of seven or eight chips away at your recovery capacity over time. On days when your legs are most sore, prioritizing seven to nine hours of sleep is one of the most effective things you can do.

Magnesium for Muscle Tightness

Magnesium plays a role in muscle relaxation, and deficiency can contribute to cramping. Studies have tested doses around 300 to 365 milligrams per day, with some showing reduced cramp frequency and intensity and others finding no clear benefit. A 2021 review concluded the evidence for magnesium and muscle cramps is still inconclusive. If you suspect your diet is low in magnesium (common if you don’t eat many leafy greens, nuts, or whole grains), supplementing in the 300 to 350 mg range is reasonable. Magnesium glycinate and magnesium citrate tend to be better absorbed and easier on the stomach than magnesium oxide.

When Leg Pain Is a Red Flag

Normal DOMS is uncomfortable but manageable, and it improves steadily after the 48 to 72 hour peak. Rhabdomyolysis is a rare but serious condition where damaged muscle fibers break down so severely that their contents leak into the bloodstream. The key warning sign is dark, tea- or cola-colored urine. If you notice this alongside extreme pain, significant swelling, or weakness that seems out of proportion to your workout, get medical attention immediately. The only reliable test is a blood draw checking levels of a muscle protein called creatine kinase, and catching it early makes a significant difference in outcomes.

Rhabdomyolysis is most likely after an unusually intense session you weren’t prepared for, like a first CrossFit class, an extreme boot camp, or returning to heavy training after a long break. The risk goes up in hot weather and with dehydration. If your soreness is symmetrical, peaks around day two, and gradually fades, you’re dealing with normal DOMS.