Sleep-wake transition disorders are the general name given to unusual events during the transition from sleep to wakefulness. It’s a kind of parasomnia. When waking up, muscle contractions can be observed in these disorders. It’s usually not harmful and does not adversely affect the amount or quality of sleep. Most patients do not need treatment.