Doctors Note Logo

Back

Published on: 6/12/2025

What causes legs to twitch when going to sleep?

Legs may twitch when going to sleep due to conditions like restless legs syndrome or periodic limb movements during sleep.

answer background

Explanation

When you are trying to sleep, sometimes your legs might twitch. This can happen because of a few reasons:

  1. Restless Legs Syndrome (RLS): This is a condition where you feel like you have to move your legs. It can make going to sleep hard because your legs feel uncomfortable.

  2. Periodic Limb Movements (PLM): These are movements that happen while you are asleep. They can make your legs twitch or jerk. Older people might have this happen more often.

  3. Alcohol Use: Drinking alcohol can make these leg movements happen more.

These movements might make it hard to get a good night's sleep. If you feel worried about this, it can help to talk to a doctor. For mental health concerns, you can visit 988lifeline.org.

Still looking for answers about
your symptoms?

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.

Learn more about diseases

Restless Leg Syndrome

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.