Is it a disease if your body shakes when you’re about to fall asleep?

Body shaking while about to fall asleep is considered to be related to physiologic factors, electrolyte disorders, and epilepsy. 1. Physiological factors. Physiological myoclonus may occur when you are tired, resting or just falling asleep, which is manifested as a sudden shaking of the body. 2. Electrolyte disorders. For example, when there is a lack of calcium in the body, muscle spasms may also appear as a symptom of body shaking. It is recommended that patients should eat calcium-containing foods, such as eggs, milk, etc., and if necessary, calcium gluconate can be given intravenously. 3. Epilepsy. The symptoms of body shaking can occur when the neurons in the brain are discharged at a high level or above, which can be diagnosed by combining with EEG, cranial MRI and other tests. Choose antiepileptic drugs according to the type of epilepsy. When you are about to fall asleep, you need to go to the hospital to rule out the disease and treat it in time.