Moving your legs is the fastest way to stop restless legs in the moment, but lasting relief usually requires a combination of lifestyle changes, correcting nutritional deficiencies, and sometimes medication. Around 81% of people with restless legs syndrome (RLS) report that shaking or moving their legs brings at least temporary comfort. The challenge is finding strategies that prevent symptoms from starting in the first place.
What Works Right Now
When that crawling, pulling, or aching sensation hits, any kind of movement helps. Walking is the most effective immediate option, but if you can’t get up, shaking your legs, flexing your feet, or doing seated leg lifts can take the edge off. The relief is real but temporary: once you stop moving, symptoms tend to return.
Gentle stretching, yoga, and cycling have all been shown to reduce the uncomfortable sensations. Some people find that one specific motion works better for them than others, so it’s worth experimenting. Calf stretches, hamstring stretches, and slow leg swings before bed are common starting points. A warm bath or massage to the legs can also calm symptoms, likely by increasing blood flow and relaxing the muscles.
Check Your Iron Levels First
Low iron is one of the most common and fixable causes of restless legs. Current treatment guidelines recommend that all RLS patients with a ferritin level of 75 ng/mL or below should try oral iron supplementation. That threshold is higher than what many doctors consider “normal” for general health, which means your iron could technically be in range but still be contributing to your symptoms.
If oral iron doesn’t work, isn’t tolerated (it commonly causes stomach upset or constipation), or if ferritin is below 100 ng/mL and you need faster results, intravenous iron is the next step. Ask your doctor for a full iron panel that includes ferritin and transferrin saturation, not just a basic blood count. RLS-related iron deficiency is about what’s available to the brain, and standard screening can miss it.
Anemia and pregnancy are two conditions closely linked to secondary RLS, both involving shifts in iron availability. If you’re pregnant and experiencing restless legs for the first time, iron status is the first thing to investigate.
Magnesium and Other Supplements
Several studies have found that people with RLS tend to have lower magnesium levels than people without the condition, and the severity of symptoms appears to track with how low those levels are. Magnesium helps regulate nerve excitability, which may explain its effect on restless legs. One study found that magnesium oxide combined with vitamin B6 significantly improved both RLS symptoms and sleep quality, with magnesium contributing the greater benefit.
The picture isn’t perfectly clear. Blood magnesium levels don’t always reflect what’s happening in your muscles or nervous system, and at least one study found no difference in blood or spinal fluid magnesium between RLS patients and healthy controls. Still, magnesium supplementation is low-risk and worth trying, particularly if your diet is low in leafy greens, nuts, and whole grains. Magnesium glycinate or citrate are generally better tolerated than magnesium oxide.
Triggers That Make It Worse
Caffeine has been directly linked to increased RLS symptoms. If you’re drinking coffee, tea, or energy drinks, especially in the afternoon or evening, cutting back is one of the simplest changes you can make. Alcohol and nicotine also disrupt sleep and are associated with more frequent and severe symptoms. Refined sugar may play a role as well, though the evidence is less specific.
Sedentary behavior is another trigger. Sitting for long periods, particularly in the evening, tends to bring on symptoms. If your job involves extended sitting, periodic movement breaks throughout the day can reduce nighttime flares. On the other hand, intense exercise too close to bedtime can backfire for some people, so moderate activity earlier in the day is a safer bet.
Prescription Medications
When lifestyle changes and iron correction aren’t enough, there are two main classes of prescription medication for RLS. Your doctor will likely start with one of these based on your symptom pattern and other health conditions.
Nerve-Calming Medications
These drugs reduce nerve excitability in the legs and are increasingly preferred as first-line treatment. Gabapentin enacarbil is FDA-approved specifically for RLS and taken as a single dose at 5 PM. Pregabalin and standard gabapentin are used off-label but widely prescribed. These medications also tend to improve sleep quality, which is a major benefit since poor sleep is one of the most disruptive consequences of RLS.
Dopamine-Boosting Medications
Three dopamine-related drugs are FDA-approved for RLS: pramipexole (a pill taken two hours before symptoms typically start), ropinirole (taken about 90 minutes before symptoms), and rotigotine (a once-daily patch). These work well initially for many people but come with an important risk called augmentation.
Augmentation means your RLS actually gets worse over time while taking the medication. Symptoms may start appearing earlier in the day than they used to, or spread from your legs into your arms. This is especially common with long-term daily use. It’s the primary reason many specialists now recommend nerve-calming medications first and reserve dopamine drugs for intermittent or short-term use.
FDA-Cleared Devices
For people who don’t respond well to medication or prefer to avoid drugs, a prescription device called the NTX100 received FDA authorization in 2023 specifically for moderate-to-severe RLS in drug-resistant patients. It uses two electrode patches placed below the knees to deliver gentle electrical stimulation to the nerves that control sensation and movement in the lower legs and feet. You control the intensity and can start or stop it as needed, while a clinician calibrates the settings for you initially. It received Breakthrough Device designation, meaning the FDA considered it a significant improvement over existing options for this population.
Building a Routine That Helps
Most people with RLS find that a combination approach works best. A practical starting plan looks something like this:
- Cut caffeine and alcohol for two to three weeks to see if symptom frequency drops.
- Get your ferritin tested and supplement iron if it’s at or below 75 ng/mL.
- Try magnesium in the evening, starting with 200 to 400 mg.
- Stretch before bed with a focus on calves and hamstrings, holding each stretch for 30 to 60 seconds.
- Stay active during the day but avoid intense workouts within two to three hours of sleep.
If those steps don’t bring enough relief after a few weeks, medication or a device becomes a reasonable next step. Keeping a simple log of when symptoms appear, what you ate or drank that day, and how active you were can help you and your doctor identify your personal triggers and find the right treatment faster.

