How to Fix Sore Legs: What Actually Works

Sore legs after exercise, a long day on your feet, or a new workout routine usually come down to tiny tears in your muscle fibers that trigger inflammation as your body repairs itself. The good news: most leg soreness resolves within three to five days, and several proven strategies can speed that timeline along while reducing discomfort.

Why Your Legs Are Sore

There are two main types of exercise-related leg soreness, and they behave differently. Acute soreness is what you feel during or immediately after a tough workout. It fades within hours as your muscles rest. Delayed onset muscle soreness (DOMS) is the stiffness and tenderness that builds over several hours and peaks one to three days after exercise. DOMS happens because exercise creates microscopic tears in muscle fibers, and your body’s inflammatory repair process is what causes the pain. This is normal and actually how muscles grow stronger.

DOMS is especially common after activities your legs aren’t used to: a first day of running, heavier squats than usual, hiking with significant elevation change, or any movement with a lot of eccentric loading (where your muscles lengthen under tension, like walking downhill). You won’t feel it during the workout itself, which is why it catches people off guard the next morning.

Cold Therapy for the First 48 Hours

Cold is your best tool in the first couple of days, when inflammation is at its peak. It constricts blood vessels, limits swelling, and numbs pain. If you have access to a bathtub, cold water immersion is one of the most studied recovery methods available. Research suggests water between 8 and 15°C (46 to 59°F) for 11 to 15 minutes produces the best results. It takes roughly 10 minutes for fluid shifts between tissues to kick in, so shorter dips are less effective.

If a full ice bath isn’t practical, ice packs wrapped in a towel and applied to your quads, hamstrings, or calves for 15 to 20 minutes at a time work well. Repeat every few hours on that first day. Once the initial inflammation has clearly settled (usually after 48 to 72 hours, when swelling and warmth in the muscles have faded), you can switch to heat. A warm bath or heating pad increases blood flow to the area, which helps deliver nutrients for tissue repair and loosens tight muscles.

Foam Rolling and Massage

Foam rolling works by applying pressure to tight spots and adhesions in the connective tissue surrounding your muscles. Roll each muscle group for about one minute, and don’t exceed two minutes on any single area. If you find a particularly tight knot, hold direct pressure on it for up to 30 seconds before moving on. Spending longer than that can irritate already inflamed tissue.

The best times to foam roll are immediately after a workout (to help prevent soreness from worsening) and the day after a heavy session. For sore legs specifically, focus on your calves, the front and sides of your thighs, your hamstrings, and your glutes. Roll slowly, and when you hit a tender spot, pause rather than powering through at speed. A tennis ball or lacrosse ball can target smaller areas like the arch of your foot or the muscles around your hip.

Move at Low Intensity

Resting completely feels intuitive when your legs ache, but light movement actually speeds recovery. Active recovery works by increasing blood flow to damaged muscles, which helps clear metabolic waste and deliver the building blocks for repair. The key is keeping the intensity genuinely low: roughly 50 to 60% of your maximum effort. Think a leisurely walk, an easy bike ride, or gentle swimming. If you’re breathing hard or your legs feel like they’re working, you’ve gone too far.

Even 15 to 20 minutes of light movement can make a noticeable difference in how your legs feel afterward. Gentle stretching helps too, particularly for the quads, hamstrings, and calves. Hold each stretch for 30 seconds without bouncing, and stop before the point of pain.

Hydration, Nutrition, and Magnesium

Dehydrated muscles recover more slowly and cramp more easily. Water is the baseline, but if you’ve been sweating heavily, replacing electrolytes (sodium, potassium, magnesium) matters just as much. Magnesium in particular plays a role in muscle relaxation and preventing cramps. The recommended daily intake is around 400 to 420 mg for adult men and 310 to 320 mg for adult women. Many people fall short of these numbers through diet alone, which is one reason magnesium supplements have become popular for recovery.

Protein intake in the hours after exercise gives your body the raw material it needs to repair those torn muscle fibers. Aim for a protein-rich meal or snack within a couple of hours of your workout. Tart cherry juice has also shown up repeatedly in recovery research thanks to its high concentration of natural anti-inflammatory compounds. Study doses typically range from 240 to 480 mL (about 8 to 16 ounces) per day. It’s not a miracle cure, but some people find it takes the edge off soreness when used consistently around hard training days.

Think Twice Before Reaching for Painkillers

Over-the-counter anti-inflammatory drugs like ibuprofen will reduce pain, but there’s a tradeoff. Research has shown that these medications can interfere with the very repair processes that make your muscles stronger. In animal studies, anti-inflammatories blunted the immune cell response needed for muscle fiber regeneration. Human studies have found similar effects: ibuprofen reduced muscle protein synthesis after exercise and inhibited the activity of satellite cells, which are the stem cells responsible for muscle repair and growth.

This doesn’t mean you should never take a painkiller for sore legs. If the discomfort is genuinely affecting your sleep or daily function, short-term use is reasonable. But using anti-inflammatories routinely after every workout can undermine your training adaptations over time. For everyday soreness, the non-pharmacological strategies above are a better first line.

Compression Gear

Compression socks and sleeves apply graduated pressure to your legs, which helps push blood back toward your heart and reduces fluid pooling. For athletic recovery, a compression level of 20 to 30 mmHg provides firm support without being uncomfortably tight. This range enhances circulation, reduces muscle fatigue, and can lessen the heavy-leg feeling after a long run or workout. Wearing them for a few hours after exercise or during long periods of standing gives the most benefit. You’ll find this mmHg rating on the product packaging.

When Soreness Isn’t Just Soreness

Normal muscle soreness affects both legs roughly equally (or whichever muscles you worked hardest), improves with gentle movement, and fades within five days. A few patterns should get your attention. Deep vein thrombosis, a blood clot in the leg, can mimic muscle soreness but has distinct features: pain or cramping concentrated in one leg (often starting in the calf), visible swelling, skin that looks red or purple, and a feeling of warmth in the affected area. Blood clots can also occur without obvious symptoms, so persistent one-sided leg pain that doesn’t improve with rest warrants a medical evaluation.

Soreness that doesn’t improve after a week, pain that came on suddenly during activity rather than building gradually afterward, or significant bruising and swelling may point to an actual muscle strain or tear rather than routine DOMS. Sharp pain localized to a joint (your knee, ankle, or hip) rather than the muscle belly itself is also worth having checked out, as that’s more likely a structural issue than simple muscle soreness.