Hypnic Jerk

From Wikipedia:

A hypnic or hypnagogic jerk is an involuntary muscle twitch (more generally known as myoclonus or a myoclonic twitch) which often occurs during the transition from wakefulness to sleep (see hypnagogia). It is often described as an electric shock or falling sensation, and can cause movement of the body in bed. Hypnic jerks are completely normal, and are experienced by most people, especially when over-tired or sleeping uncomfortably. The exact cause of the sudden jerks is not clear, but there are hypotheses: