Restless Legs at Night: Causes, Quick Relief and Treatments That Work
Restless legs at night are the hallmark of restless legs syndrome (RLS): an uncomfortable urge to move the legs, often with crawling, pulling or aching sensations, that starts or worsens when you're resting in the evening and eases when you move. Common triggers include low iron, pregnancy, kidney disease, some medicines (sedating antihistamines, many antidepressants and anti-nausea drugs), caffeine, alcohol and sleep loss. Ask for an iron test (ferritin) first, because correcting low iron is one of the most effective treatments.
How to tell if it's RLS
Doctors diagnose RLS from your description. All four features usually apply:
- An urge to move the legs, usually with unpleasant sensations
- It begins or gets worse during rest or inactivity
- It's partly or fully relieved by movement such as walking or stretching
- It's worse in the evening or night than during the day
Many people with RLS also have periodic limb movements in sleep: repetitive jerks of the legs every 20–40 seconds that a partner may notice. Leg cramps (sudden painful muscle tightening) and positional discomfort are different and don't involve the same urge to move.
Common causes and triggers
| Factor | Notes |
|---|---|
| Low iron stores | Even without anemia; brain iron affects dopamine signaling |
| Pregnancy | Especially third trimester; usually resolves after birth |
| Kidney disease, dialysis | Common and worth treating |
| Medications | Sedating antihistamines (like diphenhydramine), many antidepressants, antipsychotics, some anti-nausea drugs |
| Caffeine, alcohol, nicotine | Can worsen symptoms |
| Sleep deprivation | Makes symptoms more intense |
| Genetics | Often runs in families, especially early-onset RLS |
| Neuropathy | Can mimic or coexist |
Ironically, over-the-counter "PM" sleep aids containing diphenhydramine can make restless legs worse.
Quick relief tonight
- Walk or stretch when symptoms start; calf and hamstring stretches help many people.
- Massage your legs or use a foam roller.
- Warm bath or a cool pack, whichever feels better.
- Mentally engaging tasks in the evening (puzzles, reading, a craft) can reduce symptoms.
- Pneumatic compression devices and vibration pads have some evidence and may be worth asking about.
- Skip evening caffeine and alcohol.
Habits that reduce flare-ups
- Keep a regular sleep schedule and avoid getting overtired.
- Move during the day: moderate exercise helps, but very intense late workouts can worsen symptoms for some.
- Schedule long car rides, flights or movies earlier in the day when possible, with an aisle seat for walking breaks.
- Review your medications with a clinician; don't stop prescribed medicines on your own.
- Calm the evening: dim lights, a gentle wind-down and evening light habits.
Iron: the first thing to check
The 2024 American Academy of Sleep Medicine guideline puts iron at the center of RLS care. It recommends checking iron status and treating with iron when ferritin is at or below 75 ng/mL or transferrin saturation is below 20%, levels higher than the usual cut-offs for anemia. Oral iron (often taken every other day with vitamin C) or intravenous iron are both used depending on levels and tolerance. Don't take iron supplements without testing; too much iron is harmful.
Food helps maintain stores: see iron-rich foods for energy and how to pair foods to absorb iron better.
Medical treatments
The same guideline shifted recommendations in recent years:
- Alpha-2-delta ligands (gabapentin, gabapentin enacarbil, pregabalin) are now preferred first-line medicines for many people.
- Dopamine agonists (pramipexole, ropinirole, rotigotine) were once standard but are no longer recommended for routine long-term use because of augmentation, where symptoms gradually get worse, start earlier in the day and spread to the arms.
- Other options for severe or refractory RLS include low-dose opioids under specialist care, and certain devices.
If you already take a dopamine agonist and symptoms are creeping earlier or getting stronger, talk to your doctor rather than increasing the dose yourself.
RLS in pregnancy
Up to a quarter or more of pregnant people experience RLS, usually in the third trimester. Iron and folate status matter, and gentle stretching, massage and walking help. Many medicines aren't recommended in pregnancy, so get advice. Symptoms typically fade within weeks after delivery.
Keep a two-week symptom diary
Before your appointment, track:
| Item | Why it helps |
|---|---|
| Time symptoms start each evening | Shows severity and possible augmentation |
| How long it takes to fall asleep | Measures sleep impact |
| Caffeine, alcohol, nicotine and timing | Identifies triggers |
| Medicines and supplements taken | Flags drugs that worsen RLS |
| Exercise that day | Some people improve with moderate activity, worsen with very hard late sessions |
| Partner reports of leg jerks | Suggests periodic limb movements |
Bring the diary along with a list of all prescriptions and over-the-counter products, including allergy and sleep aids. Ask specifically for ferritin and transferrin saturation, not just a basic blood count, since iron stores can be low even when hemoglobin is normal.
Living with RLS day to day
- Choose aisle seats at the cinema, on planes and in meetings so you can stand and stretch without fuss.
- Schedule demanding sedentary tasks earlier in the day when symptoms are milder.
- Keep a short evening routine: a 10-minute walk after dinner, calf and hamstring stretches, then a warm shower.
- If symptoms wake you, get up, walk briefly and stretch rather than lying in bed fighting the sensation.
- Tell your partner what's going on; RLS often disturbs two people's sleep, and separate blankets or a larger bed can help.
Exercise and RLS
Moderate, regular exercise such as walking, cycling or yoga is associated with milder symptoms in several small studies, and it improves sleep generally. Very intense or unusually long sessions late in the day can aggravate symptoms for some people, so favor earlier, moderate workouts and see how your legs respond.
When to see a doctor
- Symptoms most nights, or enough to disturb your sleep
- Daytime sleepiness or low mood from poor sleep
- Symptoms spreading to the arms or starting earlier in the day
- Numbness, burning or weakness (possible neuropathy)
- If you have kidney disease, diabetes or are pregnant
Frequently asked questions
What causes restless legs at night?
Common causes include low iron stores, pregnancy, kidney disease, certain medications, caffeine, alcohol and sleep deprivation. Genetics also play a role.
How do I stop restless legs right now?
Get up and walk, stretch your calves and hamstrings, massage your legs or try a warm bath. Mentally engaging activities can also reduce symptoms.
Can low iron cause restless legs?
Yes. Low iron in the brain affects dopamine signaling. Guidelines recommend treating RLS with iron when ferritin is 75 ng/mL or lower, even without anemia.
Is magnesium good for restless legs?
Evidence is limited and mixed. Iron status and medication review are more important first steps.
Does restless leg syndrome go away?
RLS from pregnancy or low iron often improves when the cause is treated. Primary RLS tends to be long-term, but treatment controls symptoms well for most people.
Medical disclaimer: This article is for general educational purposes only and is not medical advice, diagnosis, or treatment. Persistent trouble sleeping, loud snoring, gasping at night, or heavy daytime sleepiness can signal a sleep disorder; talk with a qualified healthcare professional, especially if you have a health condition, take medication, or are pregnant. Never drive or operate machinery while drowsy.