Medical expert of the article
New publications
Why do people twitch when falling asleep? The reasons for twitching and when it's not normal.
Last updated: 09.09.2026
All iLive content is medically reviewed or fact checked to ensure as much factual accuracy as possible.
We have strict sourcing guidelines and only link to reputable media sites, academic research institutions and, whenever possible, medically peer reviewed studies. Note that the numbers in parentheses ([1], [2], etc.) are clickable links to these studies.
If you feel that any of our content is inaccurate, out-of-date, or otherwise questionable, please select it and press Ctrl + Enter.
A sudden jerk of the body, leg, or arm as one falls asleep is most often a normal physiological phenomenon—a hypnic jerk, or hypnic myoclonus. This is a brief, involuntary contraction of one or more muscles that occurs during the transition from wakefulness to sleep. The National Institute of Neurological Disorders and Stroke classifies such "sleep starts" as physiological myoclonus, which occurs in healthy people and usually requires no treatment. [1]
Sometimes the jolt is so strong that the person wakes up completely. It may be accompanied by a sensation of falling, stumbling, a sudden collapse, a brief dream image, a sound, or a startle. This can also be part of a normal hypnic jerk and does not in itself indicate epilepsy or another nervous system disorder. [2]
More often, testing is needed when movements become numerous, stereotypical, occur not only during sleep onset, continue during wakefulness, interfere with sleep, or are accompanied by loss of consciousness, unusual behavior, severe confusion, or other neurological symptoms. Similar symptoms may also conceal restless legs syndrome, periodic limb movements, another type of myoclonus, or, much less commonly, nocturnal epileptic seizures. [3]
What exactly happens when a person suddenly jerks before sleep?
The medical term "myoclonus" refers to a very brief, involuntary movement, similar to an electrical jolt. A modern neurological review defines myoclonus as a brief, usually arrhythmic jerk that can have a variety of causes, ranging from purely physiological to neurological disorders. [4]
Hypnic myoclonus is a specific variant associated with the transition from wakefulness to sleep. In the English-language literature, the terms hypnic jerk, hypnagogic jerk, and sleep start are used. In classifications and reviews of sleep movement disorders, hypnic jerks are considered among isolated motor phenomena and normal sleep patterns. [5]
A typical movement occurs suddenly. Sometimes only a foot or one leg twitches, sometimes an arm, shoulder, or several muscle groups, and sometimes the person feels as if the entire body has shuddered. The movement is usually very brief and does not form a prolonged rhythmic attack. In clinical descriptions, sleep starts are most often represented by single, brief movements at the moment of sleep onset. [6]
This is an important distinction: one powerful jolt as you fall asleep and a series of identical attacks repeated many times during the night are not necessarily the same phenomenon.
How common are hypnic jerks?
Hypnic jerks are very common. The scientific literature often estimates that approximately 60-70% of people experience them at least occasionally, although this figure is based primarily on older data and should not be taken as a precise prevalence for any population. [7]
They can occur at any age and in people without underlying nervous system disorders. This is why the presence of one such episode in itself says almost nothing about a person's neurological health. [8]
Some people notice this several times a year, while others notice it periodically during periods of fatigue or stress. In the usual case, the twitching doesn't impair sleep quality and is quickly forgotten.
Why does the body twitch just at the moment of falling asleep?
The exact mechanism behind hypnic jerks has not been definitively established. This is more important to emphasize than to offer a catchy but unproven explanation.
The transition from wakefulness to sleep is not an instantaneous shutdown of the brain. Various neural systems change activity at different rates, muscle tone decreases, sensory processing is altered, and sleep gradually develops. During this transition, a brief motor discharge sometimes occurs, manifested by a sharp muscle contraction. Neurophysiological studies show that hypnic jerks can have several different patterns of muscle activity, so it is not yet possible to reduce them to a single, simple mechanism. [9]
Popular literature often suggests that the brain perceives muscle relaxation as a true fall and attempts to "save" the person by abruptly contracting the body. This is a convenient metaphor, but not an established physiological fact. Scientific reviews consider the origin of hypnic jerks to be a more complex phenomenon of motor control at the border between wakefulness and sleep. [10]
Therefore, the correct answer is that the hypnic jerk occurs during the unstable transition of the nervous system from wakefulness to sleep, but the exact sequence of neural mechanisms is not fully defined.
Why does it feel like you're falling at the same time?
The sensation of falling is a well-known companion of hypnic jerk.
A person may feel as if:
- fell into a hole;
- stumbled;
- falls from a height;
- the bed suddenly sank down;
- the leg took a step into the void.
Sometimes, immediately before the jolt, a brief visual image or dream fragment appears, seemingly explaining the movement. Visual and auditory sensory phenomena have also been described that occur simultaneously with sleep start. [11]
This occurs in the hypnagogic state - a short transitional period between wakefulness and sleep, when elements of sleep can already be mixed with the still-preserved perception of the surrounding world.
Therefore, the sensation of falling along with a single jolt does not in itself indicate a disease of the inner ear, a vascular problem, or a cerebrovascular accident.
Why does my heart rate increase sharply after a jolt?
A strong hypnic jerk can awaken a person unexpectedly. Fright naturally activates the autonomic nervous system: a person may experience a racing heart, a brief increase in breathing, or a surge of anxiety. Descriptions of severe hypnic jerks have indeed noted autonomic reactions accompanying sudden awakening. [12]
The sequence often looks like this:
Started to fall asleep → jerked suddenly → got scared → felt my heart → finally woke up.
A person sometimes interprets it the other way around: “Something happened to my heart, that’s why my body twitched.”
It's impossible to draw such a conclusion based on a single such episode. But if the palpitations occur regardless of sleep onset, last for a long time, or are accompanied by fainting, chest pain, or severe shortness of breath, this is a distinct clinical situation.
What can increase tremors?
A person who usually barely notices hypnic jerks may experience them becoming noticeably more frequent for several days or weeks.
The most frequently mentioned in literature are:
- lack of sleep and severe fatigue;
- stress and emotional arousal;
- caffeine and other stimulants;
- intense physical activity;
- some medications. [13]
However, the evidence base for individual triggers is significantly weaker than, for example, evidence for the effectiveness of medications from large randomized trials. Much of the information on factors that exacerbate hypnic jerks comes from clinical observations, small studies, and reviews. Therefore, they are more appropriately viewed as probable modifying factors rather than as definitive causes.
Lack of sleep and severe fatigue
Lack of sleep can make hypnic jerks more noticeable and frequent.
This is consistent with observations of intensified hypnic jerks—an enhanced form of the phenomenon in which jerks begin to recur repeatedly while attempting to fall asleep. In such cases, anxiety and sleep-onset insomnia are often present simultaneously. [14]
In practice this means that the situation:
“I’ve barely slept for the last four nights, and now I’m tossed and turned every time I fall asleep.”
Does not necessarily indicate the onset of a neurological disease.
But an unpleasant vicious circle arises:
Lack of sleep → more twitching → fear of the next jolt → harder to fall asleep → more sleep deprivation.
In such a situation, it is important to work not only with the movement itself, but also with the disturbed sleep.
Stress and anxiety
Emotional stress is also often associated with increased hypnic jerks. Clinical studies of severe sleep starts describe their association with anxiety and difficulty falling asleep. [15]
Sometimes the main source of the problem is not the push, but the anticipation of it.
After several unpleasant episodes, the person lies down and begins to control the body:
"It'll twitch again now."
It monitors every muscle, heartbeat, and the moment it begins to "switch off." Any slight contraction attracts attention, triggers a surge of anxiety, and then wakes you up again.
Thus, a common physiological phenomenon can indirectly support insomnia, although initially it was not a disease in itself.
Caffeine
Excess caffeine is considered one of the most likely factors that can increase hypnic jerks. This has been noted in clinical reviews and publications on sleep starts. [16]
It's especially important to consider more than just your evening espresso.
Caffeine contains:
- coffee;
- tea;
- energy drinks;
- cola;
- some pre-workout complexes;
- certain over-the-counter drugs.
Sensitivity to caffeine varies greatly. If twitching suddenly becomes more frequent, a simple practical experiment is to reduce caffeine intake, especially in the afternoon, and observe how the pattern changes over a few days.
Nicotine and other stimulants
Stimulants also have the potential to enhance motor activity during the transition to sleep.
In 2025, a separate clinical observation was published in which severe hypnic jerks occurred in a person while using a nicotine product and disappeared after stopping it. However, this is a single case report and does not prove that nicotine is a common cause of hypnic jerks in the general population. [17]
This example is useful for another reason: if there is a sudden change in the nature of nighttime movements, it is worth considering not only medications, but also stimulants, energy drinks, and nicotine.
Could sport be the reason?
Intense physical activity has been suggested as a factor that may increase hypnic jerks, but the evidence is limited.
Clinical publications describe an association with heavy physical exertion and fatigue. [18]
This doesn't mean someone with hypnic jerks should give up exercise. Regular physical activity is generally beneficial for sleep and health.
If the jolts occur almost exclusively after a very hard late workout, you can check whether the situation changes by moving the intense load to an earlier time or reducing its intensity.
Can medications cause twitching when falling asleep?
Some medications may be associated with the development or worsening of myoclonus, and hypnic jerks have also been described for some antidepressants.
The most specific publications in recent years concern selective serotonin reuptake inhibitors. A 2023 series described four patients who developed hypnic jerks while taking escitalopram, sertraline, or fluoxetine; another case series involving escitalopram was published in 2025. [19]
But it's especially important to differentiate the level of evidence here. These are case series, not large, controlled studies. They show that such a connection is possible, but they don't allow us to determine its frequency and don't mean that every person taking an antidepressant who has a history of twitching in their sleep is experiencing a side effect of the drug.
If pronounced movements appeared soon after:
- starting a new drug;
- increasing the dose;
- changing one psychotropic drug to another,
It is useful to discuss this temporary relationship with your prescribing physician.
You should not suddenly stop taking an antidepressant, anticonvulsant, or other prescribed medication on your own because of hypnic jerking.
When are twitches considered normal?
The typical physiological picture looks quite recognizable.
The person begins to fall asleep, experiencing one or more irregular short jolts, sometimes with a sensation of falling, after which they either immediately resume sleep or briefly awaken. At other times of the day, there are no similar movements, consciousness does not fade, and there is no prolonged confusion or other neurological symptoms following the episode. [20]
Particularly reassuring signs:
- movement is associated specifically with falling asleep;
- it is very short;
- episodes are irregular;
- there is no stable identical sequence;
- no loss of consciousness;
- no movement during the day;
- after the push the person remains oriented;
- sleep is generally not affected.
In this situation, laboratory tests, MRI of the brain, or electroencephalography are usually not needed just because of the sleep start itself.
What are enhanced hypnic jerks?
Sometimes the physiological phenomenon becomes so pronounced that it actually disrupts sleep. The literature uses the term "intensified hypnic jerks."
In a small neurophysiological study of ten patients, movements were repeatedly observed during sleep onset and were associated with anxiety and sleep-onset insomnia. The authors confirmed that hypnic jerks remain a physiological phenomenon, but can become significantly more pronounced and have different neurophysiological variants. [21]
This explains the apparent contradiction:
"If this is normal, why can't I sleep because of it?"
A normal physiological phenomenon can become overly pronounced and begin to disturb a person - just as a normal heartbeat is normal, but excessive attention to it can become extremely unpleasant.
A modern review of isolated sleep motor phenomena also notes that hypnic jerks sometimes cause otherwise unexplained insomnia or sleepiness, and there is no clear quantitative boundary between the “normal” and clinically significant variants. [22]
How to distinguish hypnic jerk from restless legs syndrome
These are different phenomena.
During a hypnic jerk, a person usually does nothing special: the muscle suddenly contracts on its own.
With restless legs syndrome, the underlying problem is different: an unpleasant internal sensation and a strong urge to move the legs. Symptoms occur or worsen during rest, primarily in the evening and at night, and movement temporarily brings relief.
| Sign | Hypnic shudder | Restless legs syndrome |
|---|---|---|
| The main sensation | a sudden short jolt | discomfort and a desire to move your legs |
| When does it arise? | more often just before falling asleep | during evening/night rest |
| Movement | involuntary | often conscious, to ease sensations |
| Duration | split seconds | may continue for a long time |
| Relief after walking | uncharacteristic | characteristic |
| Medical assessment | usually not needed in a typical picture | needed for clinically significant symptoms |
The 2025 American Academy of Sleep Medicine guideline emphasizes that in clinically significant restless legs syndrome, iron status should be assessed and precipitating factors, including caffeine, alcohol, certain medications, and untreated sleep apnea, should be addressed.[23]
Therefore, the rule "if your legs twitch in the evening, you need to check your ferritin" doesn't apply to all movements. It's much more relevant to typical restless legs syndrome than to a single hypnic jerk.
What are the differences between periodic limb movements during sleep?
Periodic limb movements occur during sleep and repeat in series. A person is often completely unaware of them; the movements are noticed by a partner or detected during polysomnography.
This is fundamentally different from the typical single jolt at the border between wakefulness and sleep.
Periodic limb movement disorder is diagnosed not simply by the presence of movements during a sleep study: they must be clinically significant and explain the sleep disturbance or daytime sequelae after other causes have been excluded. Current AASM guidelines consider it a distinct sleep disorder. [24]
Therefore, the expression “nocturnal myoclonus” without further clarification is too vague: it can describe completely different phenomena.
Are hypnic jerks and convulsions the same thing?
No. A normal hypnic jerk is not an epileptic seizure.
NINDS specifically lists sleep starts as an example of physiological myoclonus in a healthy individual, while epileptic myoclonus is considered a pathological form and occurs in the context of epilepsy. [25]
Typical hypnic jerk:
- appears during the transition to sleep;
- very short;
- usually arrhythmic;
- is not accompanied by loss of consciousness;
- does not lead to a long-term state of confusion;
- can be single.
In epilepsy, movements can look very different depending on the type of seizure.
For example, in sleep-related hypermotor epilepsy, nocturnal seizures are often short, but highly stereotypical and repetitive. Complex movements of the limbs and trunk, unusual postures, pedaling movements, vocalization, and other motor phenomena are possible. [26]
However, it's impossible to reliably rule out epilepsy using a single home chart. Even specialists sometimes face complex differential diagnoses of nocturnal motor phenomena. [27]
What signs suggest something other than a typical hypnic jerk?
A medical assessment is especially helpful if the movements:
- occur regularly and not only when falling asleep;
- observed in full wakefulness;
- repeated in series according to the same scenario;
- occur many times a night;
- accompanied by impaired consciousness or unusual behavior;
- the person does not remember the episode;
- remains confused for a long time after the event;
- movements become progressively more frequent or spread out;
- Along with them, other neurological symptoms appeared.
A review of the differential diagnosis of myoclonus emphasizes that pathological myoclonus has a wide range of causes, from epilepsy to other neurological and systemic diseases, and it is the clinical pattern that determines further investigation. [28]
In cases of suspicious nocturnal episodes, home video recordings may be useful diagnostic information. The European Consensus on the Diagnosis of Sleep-Related Epilepsies specifically considers history taking and recording the event at home or in the laboratory as important elements of the evaluation. [29]
What is propriospinal myoclonus when falling asleep?
There is a rare condition that can be outwardly mistaken for particularly strong normal jerks - propriospinal myoclonus when falling asleep.
It is characterized by repetitive movements, primarily of the trunk muscles, sometimes extending up and down the body. They occur during relaxed wakefulness just before sleep and can seriously interfere with sleep. [30]
This is not the same as the common solitary hypnic jerk.
To confirm such a diagnosis, polysomnography with multichannel surface electromyography (EMG), i.e., recording the activity of several muscles, may be required. A recent review also emphasizes the need to consider the functional origin of such movements in some patients. [31]
In practice, this is another reason not to try to diagnose yourself based solely on the word “twitching.”
Do I need to check magnesium?
Single, typical hypnic jerks are not, in themselves, evidence of magnesium deficiency.
In authoritative descriptions of physiological myoclonus, sleep starts are considered normal and do not require specific treatment or mandatory laboratory testing. [32]
While minerals do play a role in neuromuscular function, severe metabolic disorders can cause various forms of pathological myoclonus. However, this doesn't necessarily imply a chain reaction:
Twitched when falling asleep → not enough magnesium → need to take magnesium.
The relationship between nutrition, individual micronutrients, and the frequency of hypnic jerks has been poorly studied. Even a 2026 study discussing the possible link between nutritional factors and jerk frequency explicitly notes that this issue has received little systematic study. [33]
Therefore, magnesium testing or uncontrolled supplementation is not a standard first step in a regular sleep start.
Do I need to check the hardware?
Also not with every hypnic shudder.
Ferritin and transferrin saturation testing have a much more specific role in clinically significant restless legs syndrome. According to the AASM, iron status assessment should be part of disease management in such patients. [34]
If a person describes one short jolt with the whole body immediately upon falling asleep, and there is no discomfort in the legs or the need to walk, this is a different clinical picture.
It is precisely the mixing of these two states that often leads to an unnecessary search for “deficits” during a completely physiological sleep start.
Is it necessary to do an electroencephalogram?
In the typical presentation of single hypnic jerks, electroencephalography is usually not required.
The key to the diagnosis is often given by the description of the event:
- when it occurs;
- how long does it last;
- whether it is single or repeated;
- is consciousness lost;
- Are there similar movements during the day?
- Are there any other symptoms?
Sleep starts are a well-known non-epileptic phenomenon. Neurophysiological studies show that there is no epileptic electroencephalographic correlate for the normal hypnic jerk. [35]
If the episodes are unusual, stereotypically repeated, or there is a genuine suspicion of nocturnal seizures, a simple short electroencephalographic study may not be enough.
The consensus of the European Academy of Neurology, the European Sleep Research Society, and the International League Against Epilepsy emphasizes the need to select the examination method depending on the suspected type of sleep-related seizures. In complex cases, video electroencephalography or video polysomnography are used. [36]
Is polysomnography necessary?
Most people with typical hypnic jerks do not.
Polysomnography becomes useful when:
- movements are unusual or repeated;
- sleep is significantly disrupted;
- the description does not allow to distinguish between several disorders;
- periodic limb movements are suspected;
- it is necessary to distinguish parasomnia from an epileptic event;
- A rare variant of myoclonus is suspected.
A review of the clinical diagnosis of sleep movement disorders emphasizes that clinical pattern recognition is the basis, with videopolysomnography being used where history is insufficient to reliably differentiate conditions.[37]
That is, the medical path usually begins not with a night in the lab, but with a good description of the symptom.
What can you do if the tremors become more frequent?
If the movements appear to be typical hypnic jerks but have become too noticeable, the first step is to check for factors that may be maintaining increased nervous system arousal.
Get some sleep
If significant sleep deprivation has occurred over several days or weeks, restoring adequate sleep is the most logical first step. Sleep deprivation and fatigue are frequently described as factors that can increase sleep starts. [38]
At the same time, there is no need to try to “knock yourself out” with sleeping pills just for the sake of one physiological boost.
Reduce caffeine
Especially if episodes become more frequent after increasing the amount of coffee, energy drinks or stimulants.
A few days with less caffeine will provide more useful information than trying to immediately look for a rare neurological disease.
See the connection with training
If you experience noticeable jolts after intense workouts late in the day, try doing a heavier workout earlier and compare the results.
This is a simple, reversible experiment that does not require you to give up physical activity altogether.
Check medications and stimulants
Especially if the symptom occurs soon after starting or changing the dose of a medication.
It is useful to write down:
- name of the drug;
- start date;
- dose change;
- date of appearance of tremors.
This information is much more useful for the doctor than independently discontinuing the drug.
Not controlling the moment of falling asleep
If the main problem is fear of being pushed, constant anticipation can further disrupt sleep.
One of the most unpleasant scenarios develops like this:
A person is afraid to startle → tries to notice the exact moment of falling asleep → maintains a high level of attention → wakes up completely after each small movement.
Here, it is sometimes more important to eliminate anxious anticipation and restore the normal process of falling asleep than to try to completely eliminate physiological movements.
Should hypnic jerks be treated with medication?
Common isolated hypnic jerks do not require medication. The NINDS and Mayo Clinic classify sleep starts as physiological variants of myoclonus in healthy individuals. [39]
There are reports in the medical literature of the use of clonazepam for significantly increased hypnic jerks. However, the evidence base consists primarily of small studies and case reports. For example, in publications on antidepressant-associated jerks, the drug reduced symptoms, but these observations cannot be translated into a universal recommendation. [40]
Benzodiazepines have their own risks, including sedation, impaired psychomotor function, and the development of tolerance and dependence. Therefore, taking clonazepam or other prescription medications on your own for sleep starts is not recommended.
If the movements are indeed so pronounced that they are causing chronic insomnia, it is first important to ensure that the type of movement itself is correctly identified.
How to record an episode for a doctor
If the problem occurs almost every night and is causing concern, a simple video recording on your phone may prove unexpectedly useful.
It is desirable that the following be visible in the frame:
- the whole body;
- moment before movement;
- a few seconds after it;
- are the movements repeated in the same way;
- does the person respond to the appeal?
It is also useful for the doctor to know:
- Do movements occur only when first falling asleep?
- Do they appear after waking up at night?
- do they happen during the day;
- how many times are repeated;
- a person is fully aware of what is happening or not.
The consensus on the diagnosis of sleep-related epilepsies specifically points to the role of home recordings of events along with clinical history and laboratory testing. [41]
The video does not provide a diagnosis, but it can sometimes help quickly determine whether a full neurophysiological examination is required.
Peculiarities in children and infants
A baby may also experience normal movements during the transition to sleep, but newborns have a separate condition called benign neonatal sleep myoclonus, which should not be automatically equated with adult hypnic jerks.
It is characterized by repetitive myoclonic movements during sleep in a neurologically healthy infant. In the classic presentation, the movements cease upon awakening and are not accompanied by epileptic changes in the electroencephalogram. [42]
It has a favorable prognosis, but externally it can very closely resemble seizures, which is why cases of erroneous prescription of antiepileptic drugs have been described in the literature. [43]
Therefore, it is better to show serial or prolonged unusual movements in a newborn to a pediatrician or pediatric neurologist, especially if parents are not sure whether they occur exclusively during sleep.
This is not a situation where you should make a diagnosis based on an internet description.
When should you see a doctor for a scheduled appointment?
It makes sense to schedule a consultation with a neurologist or sleep medicine specialist if:
- movements began to occur almost every time I fell asleep;
- they are repeated many times in a row;
- because of them, persistent insomnia arose;
- similar twitching appeared during the day;
- movements involve new parts of the body or progress;
- the symptom appeared after a new medication;
- at the same time, there are unpleasant sensations in the legs and the need to constantly move them;
- the partner describes complex or stereotypical movements in sleep;
- It is difficult to understand whether consciousness remains intact.
Mayo Clinic recommends medical evaluation when myoclonus becomes frequent and persistent.[44]
A good place to start is with your family doctor or neurologist. If the symptoms are clearly related to sleep, a sleep medicine specialist is especially helpful.
When urgent help is needed
A typical single hypnic jerk does not require emergency assistance.
But the situation changes if the event really does resemble a first seizure with loss of consciousness or prolonged generalized convulsions.
Emergency care is recommended if the suspected seizure lasts more than five minutes, recurs without recovery of consciousness between episodes, is followed by persistent respiratory distress, or the person is seriously injured. A first-time, full-blown seizure also requires medical evaluation. [45]
This is a fundamentally different situation than:
“I started to fall asleep, my leg jerked suddenly, I opened my eyes and a minute later I fell asleep again.”
What is often misunderstood
"If the body twitches, it means a convulsion has occurred."
No. Myoclonus is a general term for brief involuntary movement, and sleep start is a physiological variant of myoclonus. Epileptic myoclonus exists, but it is a different clinical category.[46]
"The brain thinks the person is dying, and so it wakes him up."
There is no reliable evidence to support this theory. The exact mechanism of hypnic jerks remains unclear; research points to peculiarities in motor control during the transition from wakefulness to sleep. [47]
"The sensation of falling indicates a problem with the vestibular system."
Not necessarily. The falling illusion is well known as a sensory component of normal sleep onset.[48]
"You need to take magnesium right away."
A typical isolated hypnic jerk is not diagnostic of magnesium deficiency. Authoritative neurological sources consider sleep starts to be a physiological myoclonus that usually does not require treatment. [49]
"If your legs are twitching, you need to check your ferritin."
Not always. Iron testing is indeed recommended for clinically significant restless legs syndrome, but a single short jerk when falling asleep is a different phenomenon. [50]
"Any repeated movements at night are epilepsy."
No. There are many non-epileptic sleep movement phenomena, and differentiating them can indeed be difficult.[51]
"If the movements are increased by an antidepressant, it should be stopped immediately."
Not independently. The association of individual selective serotonin reuptake inhibitors with hypnic jerks has been described primarily in case series, so treatment changes should be assessed by the prescribing physician. [52]
Practical algorithm
If you occasionally startle once just as you're falling asleep, are fully oriented afterwards, and don't move during the day, this is most consistent with a normal physiological sleep start. Special treatment is usually not required. [53]
If episodes become more frequent, it's helpful to first look at sleep deprivation, stress, caffeine, nicotine, intense exercise, and recent medication changes. These factors have been described as possible aggravators of hypnic jerks. [54]
If there is an unpleasant feeling in the legs that makes you walk or move and is relieved by movement, the picture is more reminiscent of restless legs syndrome and requires a different approach. [55]
If the movements are stereotypical, repeated many times during sleep, accompanied by impaired consciousness, or also observed during wakefulness, it is worth consulting a neurologist or sleep medicine specialist; home video recording can help determine further examination. [56]
Key points from experts
Federica Provini is a professor of neurology at the University of Bologna and a specialist in sleep medicine. Her research focuses on physiological and pathological motor manifestations during sleep, parasomnias, restless legs syndrome, and propriospinal myoclonus. Her work utilizes clinical observation and videopolysomnographic recording of motor and electroencephalographic parameters. [57]
In a review co-authored by Provini, "Fragmentary Hypnic Myoclonus and Other Isolated Motor Phenomena of Sleep," the authors note that hypnic jerks can exist as an isolated phenomenon, but when severe, they sometimes cause insomnia or daytime sleepiness. However, clear quantitative boundaries that would clearly separate the normal variant from the disorder remain poorly defined. DOI: 10.1016/j.jsmc.2021.02.008. [58]
Diego García-Borreguero is a neurologist and sleep medicine specialist, medical director of the Sleep Research Institute in Madrid; he previously headed the Sleep Unit of the Jiménez Díaz Foundation and was president of the Spanish Sleep Society. His professional work is particularly related to sleep movement disorders and restless legs syndrome. [59]
A clinical review co-authored by García-Borreguero suggests assessing sleep-related motor phenomena primarily based on the movement pattern, timing, and clinical context, and then, if necessary, moving on to an etiological diagnosis and videopolysomnography. This approach is particularly useful for the complaint "I twitch in my sleep," since a single everyday formulation can describe several fundamentally different conditions. DOI: 10.1016/j.jsmc.2021.02.001. [60]
Frequently Asked Questions
Why does my whole body twitch suddenly when I fall asleep?
Most often, this is a common hypnic jerk. It is a brief physiological myoclonus that occurs during the transition from wakefulness to sleep. [61]
Why does the leg twitch more often?
Hypnic jerk can affect one or more muscle groups and be asymmetrical. The mere fact that the jerk is felt primarily in the leg does not indicate restless legs syndrome or a neurological disorder. [62]
Why do I startle and wake up immediately?
The contraction can be strong enough to cause a brief awakening. It becomes especially unpleasant if accompanied by a feeling of falling or fright.
Why does it feel like you're falling when you fall asleep?
The sensation of falling is a well-known sensory component of sleep starts and may occur simultaneously with the muscle jerk.[63]
Why do twitches become more frequent during stress?
Stress and anxiety have been described as factors that can increase hypnic jerks, and anxious anticipation of the next episode further interferes with sleep.[64]
Could it be because of the coffee?
Yes, excess caffeine is considered one of the possible factors in increasing sleep starts.[65]
Could this be epilepsy?
A typical single jerk immediately upon falling asleep is most often a non-epileptic physiological phenomenon. However, recurring stereotypical events, impaired consciousness, or other unusual symptoms require medical evaluation. [66]
Is it necessary to do an electroencephalography?
In the classical picture, this is usually not the case. The study becomes more appropriate if the clinical picture is atypical and epileptic events need to be excluded. [67]
Should I take magnesium?
Not automatically. A normal hypnic jerk is not, in itself, a sign of magnesium deficiency and usually does not require treatment.[68]
Can antidepressants make tremors worse?
Such an association has been described, particularly for some selective serotonin reuptake inhibitors, but the evidence is mostly based on isolated cases and small series. The drug should not be discontinued on its own. [69]
Is it dangerous if this happens every night?
Not necessarily, but repeated daily jerks, especially those that interfere with sleep, are worth evaluating. There are also aggravated hypnic jerks and other sleep movement disorders that can present similarly. [70]
Which doctor should I contact?
If movements are pronounced or unusual, consult a neurologist or sleep medicine specialist. It's helpful to bring a description of the episodes, a list of medications, and, if possible, a video recording.
Main
In most cases, a sudden jerk immediately upon falling asleep is a normal hypnic jerk, or physiological sleep myoclonus. It can affect one leg, arm, or the entire body, accompanied by a sensation of falling and momentarily awakening the person. Such an episode, in itself, is not a sign of epilepsy and usually requires no treatment. [71]
Lack of sleep, fatigue, stress, and stimulants can make these movements more noticeable. If the cause is indeed regular sleep starts, it's more beneficial to normalize sleep and eliminate potential triggers than to start anticonvulsants, magnesium, or other "just in case" medications. [72]
An examination becomes warranted when the movements cease to correspond to the typical pattern: they occur during the day, are repeated repeatedly and identically, are accompanied by impaired consciousness, or are so pronounced that they regularly prevent sleep. In such a situation, the precise nature of the episode is not the word "twitching," but the precise nature of the episode—and, if necessary, the physician uses video recording, electroencephalography, or videopolysomnography to clarify its nature. [73]

