When restless legs hit, the fastest relief comes from getting up and moving. Walking around for a few minutes, stretching your calves and thighs, or applying warmth to your legs can quiet the sensations within minutes. But there are also several other tactics, both immediate and short-term, that can make a real difference in how often and how intensely those episodes strike.
Get Up and Stretch
Lying still and trying to power through restless legs almost always makes them worse. The single most effective thing you can do right now is stand up. Walk around your bedroom or hallway for two to three minutes, then move into targeted stretches that release tension in the muscles where RLS sensations concentrate.
Calf stretch: Hold the back of a chair, step one leg back a foot or two with your heel flat on the floor, and bend the front knee slightly. Hold 20 to 30 seconds, repeat two to three times, then switch legs.
Front thigh stretch: Standing next to a wall for balance, pull one ankle up behind you toward your glutes while keeping the other leg straight. Hold 20 to 30 seconds for two to three sets per leg.
Hip flexor stretch: Place one foot up on a sturdy chair (back against the wall so it won’t slide), knee bent, and gently press your hips forward until you feel a stretch at the top of the opposite thigh. Hold 20 to 30 seconds, two to three sets each side.
These stretches work because they activate the same muscle groups that are sending uncomfortable signals. You’re not just distracting yourself; you’re giving those nerves the movement input they’re demanding.
Apply Heat to Your Legs
A warm bath, heating pad, or warm towel placed on your legs can suppress RLS sensations quickly. Research published in the American Journal of Managed Care found that surface heat at about 108.5°F (42.5°C) for 10 minutes produced the best results for improving sleep quality in people with RLS. Longer durations actually reduced the benefit, so keep it to roughly 10 minutes rather than soaking for half an hour.
If you don’t want to run a bath at 2 a.m., a microwavable heat pack or a towel soaked in warm water works fine. Some people also find alternating warm and cool compresses helpful. Experiment with both, but warm tends to be the more reliable option.
Keep Your Mind Busy
RLS sensations intensify when you’re sitting or lying still with nothing to focus on. That’s why symptoms often peak during the worst possible moment: when you’re trying to fall asleep. Engaging your brain in a task that requires active attention can dial down the discomfort noticeably.
The Restless Legs Syndrome Foundation recommends activities like video games, puzzles, needlework, or engaged conversation. The key is that the activity needs to be mentally absorbing, not passive. Scrolling social media or watching a slow TV show often isn’t enough. Something that requires your hands and your focus at the same time tends to work best, which is why knitting, crossword puzzles, or a game on your phone can be surprisingly effective at breaking the cycle long enough to let the urge pass.
Use Compression or Pressure
Wrapping your legs in compression sleeves or using pneumatic compression devices (the inflatable cuffs sometimes used for circulation) can reduce RLS severity. In a study published in the CHEST Journal, patients who wore pneumatic compression devices for at least one hour per evening saw meaningful improvement, and 43% of those who responded experienced complete resolution of symptoms over the course of a month. One patient was even able to stop taking prescription RLS medications.
You don’t necessarily need a medical-grade device. Firm compression socks or leg wraps that apply steady pressure can offer some of the same benefit. If your symptoms are frequent, a pneumatic compression device designed for home use may be worth the investment.
Avoid Common Triggers
Some of the things people reach for when they can’t sleep actually make restless legs worse. Knowing what to avoid is just as important as knowing what to try.
- Antihistamines and melatonin: Over-the-counter sleep aids that contain diphenhydramine or doxylamine (the active ingredients in most nighttime formulas) can intensify RLS. Melatonin supplements can do the same. If you’ve been taking these to help you sleep through your symptoms, they may be part of the problem.
- Caffeine and alcohol: Both are well-established RLS triggers. Caffeine is obvious, but alcohol catches people off guard because it initially feels relaxing. It reliably worsens symptoms later in the night as your body metabolizes it.
- Certain antidepressants: Some antidepressants, particularly mirtazapine, are known to worsen RLS. If your symptoms started or intensified after beginning a new medication, that connection is worth exploring with your prescriber.
- Nicotine: Smoking or vaping before bed can trigger or worsen an episode.
Check Your Iron Levels
Low iron in the brain is now considered one of the most important underlying causes of RLS. The 2024 clinical practice guideline from the American Academy of Sleep Medicine elevated iron evaluation to a central part of RLS management, recommending that everyone with RLS have their iron levels checked.
The key number is your serum ferritin level. Standard lab ranges often flag ferritin as “normal” at 20 or 30 ng/mL, but RLS guidelines use a much higher threshold. If your ferritin is at or below 75 ng/mL, oral iron supplementation is recommended. The treatment goal is to raise ferritin above 100 ng/mL, with 300 ng/mL as the safe upper limit. Many people with RLS have ferritin levels that look fine on a standard lab report but are far too low by RLS-specific standards. A simple blood test can reveal whether this is driving your symptoms, and correcting it can reduce or eliminate episodes entirely for some people.
Consider Magnesium
Magnesium plays a role in muscle relaxation and nerve signaling, and supplementation has shown modest benefits for RLS in clinical trials. A trial using 200 mg of magnesium citrate daily produced positive results, and another found that 250 mg of magnesium oxide combined with 40 mg of vitamin B6 improved symptoms starting after the first month of consistent use.
Magnesium citrate and magnesium glycinate are the best-absorbed forms. Magnesium oxide is cheaper and more widely available, and it still showed benefit in the trial that paired it with B6, so don’t feel you need the most expensive option. The recommended daily intake for adults ranges from 240 to 420 mg depending on age and sex. Taking your supplement in the evening, closer to when symptoms typically flare, makes the most practical sense.
What Long-Term Treatment Looks Like
If your restless legs are frequent and severe enough that stretching and lifestyle changes aren’t cutting it, the current first-line prescription treatments are gabapentin, gabapentin enacarbil, and pregabalin. These medications calm overactive nerve signaling and are strongly recommended by the 2024 AASM guideline.
Notably, the older class of RLS drugs, dopamine agonists like pramipexole and ropinirole, have fallen out of favor. These were the gold standard for 20 years, but growing evidence shows they cause a problem called augmentation in a large proportion of patients. Augmentation means the medication gradually makes the condition worse over time: symptoms start earlier in the day, spread to the arms, or become more intense. The 2024 guideline now recommends against using dopamine agonists for RLS. If you’re currently taking one, that’s a conversation worth having at your next appointment.
Intravenous iron infusions are also now a strong recommendation for people whose ferritin levels remain low despite oral supplements, or who need faster relief. For many patients, correcting iron deficiency is the treatment that makes the biggest long-term difference.

