Our Services
Medical Information
Helpful Resources
Published on: 7/14/2026
Twitching legs during sleep are often caused by two common conditions: periodic limb movement disorder (PLMD) and restless legs syndrome (RLS). These involuntary movements can be triggered by factors such as certain medications, iron deficiency, aging, pregnancy, or underlying nerve issues. While occasional twitching is usually harmless, frequent episodes can disrupt sleep quality and signal a treatable condition.
Because leg twitching has many possible causes, identifying the root cause is the fastest path to relief. Take a free, instant, online symptom check to better understand what's driving your symptoms and confidently plan your next steps.
Reviewed for medical accuracy: 07/14/2026
Not seeing your question? No worries.
Submit your own QuestionTwitching legs while asleep can be due to several reasons. One common cause is Periodic Leg Movements during Sleep (PLMS), especially in older adults. This involves repetitive leg movements that occur every 20 to 40 seconds during sleep.
Another cause is Restless Legs Syndrome (RLS), a condition where people feel an urge to move their legs, often accompanied by uncomfortable sensations. RLS can happen at night and disturb sleep.
Certain prescription medications can also cause or worsen restless legs syndrome, leading to more leg twitching at night.
If twitching legs are affecting sleep or daily life, it's important to talk to a healthcare provider. To better understand what might be causing your symptoms, try our free AI symptom checker for personalized insights.
(References)
Bliwise D, Petta D, Seidel W, & Dement W. (1985). Periodic leg movements during sleep in the elderly. Archives of gerontology and geriatrics, 4074025.
Lugaresi E, Cirignotta F, Coccagna G, & Montagna P. (1986). Nocturnal myoclonus and restless legs syndrome. Advances in neurology, 3946114.
Page RL 2nd, Ruscin JM, Bainbridge JL, & Brieke AA. (2008). Restless legs syndrome induced by escitalopram. Pharmacotherapy, 18225972.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.