What Helps Sore Legs: Cold, Compression & More

Sore legs usually recover fastest with a combination of cold therapy, light movement, and targeted self-massage. Most leg soreness after exercise or a long day on your feet peaks between 24 and 72 hours, then resolves on its own within a week. But the right steps can cut that discomfort significantly and get you moving comfortably again sooner.

Why Your Legs Feel Sore

The most common cause of sore legs is delayed onset muscle soreness, or DOMS. It shows up hours after physical activity, not during it, and peaks one to three days later. Interestingly, the pain isn’t coming from the muscle fibers themselves. Research published in the Journal of Athletic Training points to the connective tissue surrounding your muscles (called fascia) as the real source. This tissue is packed with nerve endings that are far more sensitive to irritation than muscle is, which explains why even light pressure on sore legs can feel so intense.

DOMS is different from a muscle strain. A strain causes sharp, immediate pain during activity, often at a specific spot. DOMS produces a widespread, dull ache that gets worse when you move the muscle through its full range. If your soreness came on gradually after a workout, a hike, or a day of unusual activity, you’re almost certainly dealing with DOMS.

Cold Therapy Works Best for Pain

Cold applied soon after exercise is the most effective single intervention for reducing soreness. A comparative study on heat versus cold found that either one applied right after exercise preserved about 96% of muscle strength, but cold was superior to heat for pain relief both immediately after exercise and when applied again at the 24-hour mark. For practical use, apply a cold pack or bag of ice wrapped in a thin towel to each sore area for 15 to 20 minutes at a time. You can repeat this every few hours during the first day or two.

Heat has its place too. A warm bath or heating pad can feel good and increase blood flow, which supports recovery. But if your primary goal is pain reduction, cold wins. Save heat for the third day onward, when the acute inflammation has settled and you want to loosen stiff muscles before movement.

Foam Rolling for Tenderness

Foam rolling is one of the most studied at-home tools for leg soreness. Research from the Journal of Athletic Training tested a specific protocol: 45 seconds of rolling per muscle group, followed by a 15-second rest, repeated once per area. The total session lasted about 20 minutes and covered all the major muscles of each leg (quads, hamstrings, calves, outer thigh, inner thigh).

Participants who foam-rolled immediately after their workout and then again every 24 hours experienced less tenderness and maintained better performance in dynamic movements like sprinting and jumping. If you don’t have a foam roller, a firm tennis ball or lacrosse ball works well for calves and smaller areas. The key is consistency: one session helps, but rolling daily for the first two to three days makes the biggest difference.

Light Movement Beats Complete Rest

Sitting still when your legs ache feels logical, but active recovery outperforms total rest. Light movement increases blood flow to sore muscles, helping flush out the cellular byproducts of exercise and reducing inflammation. You don’t need much. A walk, an easy swim, gentle yoga, or a slow bike ride all count.

The intensity matters. Aim for about 50 to 60 percent of your maximum effort, which means you should be able to carry on a full conversation without getting winded. Even six to 10 minutes of this kind of cooldown immediately after a hard workout can measurably reduce muscle breakdown. On rest days, 20 to 30 minutes of easy walking is enough to keep blood circulating through your legs without adding stress to recovering tissue.

Compression Garments for Recovery

Compression socks and sleeves can reduce perceived leg soreness and help maintain leg power after intense activity. The pressure that consistently shows benefits in research falls between 20 and 30 mmHg, which is the moderate-compression range you’ll find labeled as “sport recovery” or “medical grade” at most retailers. Lower compression (12 to 15 mmHg) still helps with fatigue but is less effective for soreness specifically.

Multiple studies have found that wearing compression stockings after running, team sports, or heavy leg training resulted in less soreness at the 24-hour mark, better agility, and improved muscular endurance in follow-up sessions. Wearing them for several hours after exercise or overnight gives the most benefit. They’re especially useful if your soreness is paired with noticeable swelling in the calves or ankles.

Over-the-Counter Pain Relief

Anti-inflammatory medications like ibuprofen and naproxen reduce both pain and the inflammation driving DOMS. Ibuprofen can be taken as one to two 200 mg tablets every four to six hours, up to 1,200 mg per day. Naproxen sodium works in one to two 220 mg tablets every eight to 12 hours, up to 660 mg daily. These are the over-the-counter limits for adults without other health conditions.

One thing to keep in mind: inflammation is part of how your body repairs and strengthens muscle tissue. Taking anti-inflammatories occasionally for severe soreness is fine, but relying on them after every workout may blunt some of the adaptation you’re training for. Use them when soreness is genuinely interfering with your day, not as a default recovery tool.

Magnesium and Nutrition

Magnesium plays a direct role in muscle function, and supplementation has shown promise for reducing soreness. A systematic review of magnesium and exercise recovery found that doses between 300 and 500 mg per day, taken as a capsule about two hours before training, helped reduce post-exercise soreness. Among the different forms available, magnesium citrate appears to be the most effective for muscle-related benefits.

People who exercise intensely may need 10 to 20 percent more magnesium than sedentary individuals. You can also increase your intake through food: dark leafy greens, nuts, seeds, beans, and whole grains are all rich sources. Staying well-hydrated and eating enough protein (which provides the building blocks for tissue repair) rounds out the nutritional side of recovery.

When Leg Pain Signals Something Serious

Most sore legs are harmless, but certain patterns warrant immediate attention. Deep vein thrombosis, a blood clot in the leg, can mimic muscle soreness. The warning signs that distinguish it from ordinary soreness include swelling in just one leg, skin that looks red or purple and feels warm to the touch, and a cramping pain that starts in the calf and doesn’t improve with the usual recovery strategies.

If leg pain is accompanied by sudden shortness of breath, chest pain that worsens when you breathe deeply, dizziness, a rapid pulse, or coughing up blood, those are signs of a pulmonary embolism and require emergency care. This is rare, but it’s worth knowing the difference between muscles that are sore from yesterday’s workout and a leg that is swollen, discolored, and painful without a clear physical cause.