Doctors Note Logo

Published on: 7/14/2026

Why does my leg keep twitching at night?

Nighttime leg twitching is often linked to Restless Legs Syndrome (RLS), a neurological condition that causes uncomfortable sensations and an urge to move the legs during rest. Common triggers include certain medications (such as antidepressants, antihistamines, and antipsychotics), alcohol use, caffeine, iron deficiency, and stress. Other possible causes include periodic limb movement disorder, nerve issues, or muscle fatigue.

Because leg twitching can stem from many overlapping factors, identifying the root cause is key to finding relief. A free, instant, online symptom check can help you quickly narrow down possible conditions, understand what may be triggering your symptoms, and guide your next steps—whether that's adjusting daily habits or speaking with a doctor. It takes just a few minutes and could save you hours of uncertainty.

Reviewed for medical accuracy: 07/14/2026

answer background

Explanation

Leg twitching at night can be caused by something called Restless Legs Syndrome (RLS). This is a condition where you feel an uncontrollable urge to move your legs, especially at night. One of the reasons for this could be taking certain medications which may make RLS symptoms appear or get worse.

Another reason for leg twitching could be related to alcohol use. Drinking alcohol can exacerbate something called periodic limb movements of sleep, where your legs move or twitch without you meaning to. This can disturb your sleep and make you feel tired during the day.

If your leg twitching is persistent or bothersome, you can check your symptoms with Ubie's free AI-powered tool to better understand what might be causing your discomfort and determine if you should talk to a healthcare provider about it.

(References)

  • Page RL 2nd, Ruscin JM, Bainbridge JL, & Brieke AA. (2008). Restless legs syndrome induced by escitalopram. Pharmacotherapy, 18225972.

  • Aldrich MS, & Shipley JE. (1993). Alcohol use and periodic limb movements of sleep. Alcoholism, clinical and experimental research, 8452202.

  • Saini A, Berruti A, Ferini-Strambi L, Castronovo V, Rametti E, Giuliano PL, et al. (2013). Restless legs syndrome as a cause of sleep disturbances .... Journal of pain and symptom management, 23116590.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.