
Insomnia: What It Is and What Actually Helps
Insomnia explained: how it is defined, why it becomes self-sustaining, why CBT-I is the first-line treatment, and when to see a doctor.
If your legs will not let you settle in the evening, and getting up and walking is the only thing that helps, you may be describing restless legs syndrome. It is common, often overlooked, and more treatable than most people expect.
Written by the Complete Sleep editorial team
Pending medical review
Published Updated 6 min read


Medical reviewer
Sleep Physician · Board-certified in Sleep Medicine
Pending medical review
In short
Restless legs syndrome is an urge to move the legs, usually with crawling or aching sensations, that is worse in the evening and at rest and eased by movement. It is diagnosed from your symptoms, not a test. Low iron, pregnancy, kidney disease and some common medicines can cause or worsen it. Lifestyle changes help mild cases, and effective medicines exist for the rest.
Key takeaways
Restless legs syndrome (RLS), also called Willis-Ekbom disease, is a neurological condition with one defining feature: an urge to move your legs that you cannot comfortably ignore. The urge usually comes with an unpleasant sensation deep in the legs. People describe it as crawling, creeping, pulling, throbbing, itching or aching, and many say it is hard to put into words.
Four things make the pattern recognisable:
Because it strikes exactly when you are trying to fall asleep, RLS often looks like insomnia from the outside. Nights get short, and the tiredness, low mood and poor concentration that follow are often what finally prompts people to ask for help. Many people with RLS also have periodic limb movements (twitching or jerking of the legs during sleep), although most people with those movements do not have RLS.
RLS is common, yet many people wait years before mentioning it, for a few reasons.
RLS is a clinical diagnosis, made from the story you tell. A doctor listens for the four features above, asks about family history (RLS often runs in families), reviews your medicines, and looks for conditions that cause similar symptoms, such as leg cramps or nerve damage. Blood tests, particularly iron studies, are usually part of that assessment. A sleep study is not needed to make the diagnosis, although one may be suggested if another sleep disorder is suspected.
In most people no single cause is found, and RLS is thought to involve how the brain handles iron and the chemical messenger dopamine. But several situations make it more likely or worse, and they change what a doctor can do.
Iron is the trigger most closely tied to RLS. The American Academy of Sleep Medicine (AASM) advises that everyone with significant RLS should have iron studies checked, including ferritin (a measure of stored iron) and transferrin saturation, and it notes that the iron levels used to guide treatment in RLS differ from those used for the general population. Iron stores that count as normal for most people can still be too low for someone with RLS, so a "normal" result from a routine check-up does not always settle the question. Do not start iron supplements on your own; the decision depends on your results.
RLS is common in pregnancy, especially in the last trimester, and it usually settles within weeks of giving birth. Treatment choices in pregnancy need extra care, so raise the symptoms with your midwife or doctor rather than assuming nothing can be done; iron levels, in particular, can be checked.
RLS is common in people with kidney failure, including those on dialysis. It also appears alongside peripheral neuropathy (nerve damage, for example from diabetes) and untreated obstructive sleep apnea, and treating those conditions can ease the legs. If you snore loudly or gasp in your sleep, our guide to sleep apnea symptoms and treatments explains what to look for.
Several everyday medicines can start or worsen RLS: sedating antihistamines (including many over-the-counter sleep aids and allergy tablets), many antidepressants (particularly those that raise serotonin), and dopamine-blocking drugs used for nausea or as antipsychotics. Alcohol, caffeine and nicotine can aggravate it too. Never stop a prescribed medicine on your own, but do bring the full list to your appointment; a swap is sometimes the simplest fix.
Treatment depends on what is driving your symptoms and how severe they are. The realistic aim is fewer, milder evenings and better sleep rather than a cure.
If self-care is not enough, medical options exist:
Talk with a doctor if the urge to move is stopping you from falling or staying asleep, affecting your mood or your daytime functioning, or has not improved with the self-help steps above, and raise it sooner if you are pregnant or have kidney disease. Nothing here can diagnose you: leg cramps, neuropathy, arthritis and poor circulation can all mimic RLS, and the treatments differ. Use this article to recognise the pattern and have a more useful conversation, not to replace one.
RLS is an urge to move the legs, with unpleasant sensations, that is worse at rest and in the evening and eased by movement. It is diagnosed from your story, not a scan. Low iron, pregnancy, kidney disease and some common medicines can cause or worsen it, and each can be addressed. Lifestyle steps help milder symptoms; for the rest, effective medicines exist, and the recommended first choices have changed.
No. A cramp is a painful, sudden tightening of a muscle. Restless legs syndrome is an urge to move the legs, usually with a crawling, creeping or aching feeling, that builds when you rest in the evening and eases when you move. Cramps, nerve damage and circulation problems can mimic it, which is why a doctor's assessment matters.
It can. The American Academy of Sleep Medicine advises checking ferritin and transferrin saturation in anyone with significant RLS, and the iron levels used to guide RLS treatment are different from those used for the general population, so a routine "normal" result does not rule iron out. Ask for the actual numbers, and do not start iron on your own.
Usually, yes. RLS is common in pregnancy, especially in the last trimester, and for most people it settles within weeks of giving birth. Mention it to your midwife or doctor anyway, because iron levels can be checked and some symptom relief is possible during pregnancy.
No. RLS is diagnosed from your description of the symptoms, your medical and family history and your medicines, usually alongside blood tests for iron. A sleep study is only suggested if another sleep disorder, such as sleep apnea, is suspected.
Two-minute check
Wondering about snoring or daytime sleepiness? STOP-Bang is scored in your browser.
Take the self-check
Insomnia explained: how it is defined, why it becomes self-sustaining, why CBT-I is the first-line treatment, and when to see a doctor.

Waking at 3am is common. Learn why the second half of the night is lighter, what stress, alcohol, light and sleep apnea add, and what actually helps.

Melatonin is a timing signal, not a sedative. Where the evidence supports it, where it is weak, how much to take, when, and who should ask a doctor first.