causes of jerking when sleeping
According to the National Institute of Neurological Disorders and Stroke (NINDS), the sudden, involuntary jerking of a muscle or group of muscles while drifting off to sleep is called myoclonus. It is caused by sudden muscle contractions, also known as positive myoclonus, or muscle relaxation, which is referred to as negative myoclonus.