Twitching as you fall asleep is a hypnic jerk. It is harmless and more common with stress, caffeine, and tiredness.
What it is
A hypnic jerk (sleep start) is a sudden muscle twitch as you fall asleep. Up to 70% of people experience it.
Causes
- Stress and anxiety.
- Caffeine and nicotine.
- Sleep deprivation.
- Intense late exercise.
- Possibly the brain misreading muscle relaxation as falling.
Treatment
None needed. Cut caffeine, keep a regular sleep schedule and wind down before bed.
See a doctor
If twitches are frequent enough to disrupt your sleep.
Name and mechanism
The sudden jerk as you fall asleep is called a hypnic jerk or sleep start. It happens during the transition from wakefulness to sleep, when muscles relax and the brain stem is in transition.
How common
About 60% to 70% of people experience hypnic jerks at some point, according to sleep medicine sources. They happen in all ages and both sexes.
Theories
- Misinterpretation by the brain of muscle relaxation as falling, triggering a protective reflex. An evolutionary theory ties this to ancestors sleeping in trees.
- Conflict between systems that control wakefulness and sleep during the shift.
Triggers
- Caffeine or nicotine.
- Stress and anxiety.
- Sleep deprivation and irregular schedules.
- Intense exercise late in the evening.
- Sleeping in an uncomfortable position.
Accompanying sensations
Many people feel a falling sensation, see a flash of light or have a vivid dream image just before the jerk, and may wake up with a racing heart.
Reduce hypnic jerks
- Keep a regular sleep schedule with 7 to 9 hours.
- Cut back on caffeine after midday.
- Have a calming bedtime routine, avoiding screens.
- Practice relaxation, like deep breathing.
- Avoid heavy exercise within a few hours of bed.
Related conditions
Periodic limb movement disorder and restless legs syndrome involve repeated movements through the night. Seizures and other neurological disorders are rare causes.
See a doctor if
Jerks are frequent, violent, cause injury, disrupt sleep or occur with other symptoms like daytime sleepiness, snoring or breathing pauses.
Mechanism and frequency
A hypnic jerk, or sleep start, is a sudden involuntary muscle twitch that occurs as you fall asleep, sometimes with a feeling of falling. About 60 to 70 percent of people experience them, and they are normal. One theory says the brain misreads muscle relaxation during the transition to sleep as falling and sends a corrective signal. Another points to the brain stem’s arousal system activating as the body shifts from wake to sleep. Triggers include caffeine, stress, sleep deprivation, intense exercise late in the day and irregular sleep schedules.

Reducing them and related conditions
Limiting caffeine after noon, keeping a regular bedtime, relaxing before bed and avoiding late heavy exercise can lower frequency. Hypnic jerks are harmless and need no treatment. Talk to a doctor if jerks happen many times a night, keep you awake or involve repeated leg kicks, which may signal periodic limb movement disorder, or if you have an urge to move your legs at rest, a sign of restless legs syndrome, which affects about 5 to 10 percent of adults. Sleep studies can help in unclear cases.
Based on data from the Sleep Foundation and the Cleveland Clinic







