(CNN)The alarm goes off and you shudder awake, unsure of where you are. Groggily you recognize your room and slowly roll out of bed thinking, "It can't be morning. Didn't I just go to bed?"
How to kick-start your brain in the morning (and no, we don't just mean coffee)
1 of 8
2 of 8
3 of 8
4 of 8
5 of 8
6 of 8
7 of 8
8 of 8
Called sleep inertia, it happens when you suddenly snap out of REM sleep -- a deeper stage of sleep where you dream and your body repairs itself. During that sleep cycle your body is flooded with high levels of melatonin, the body's sleep hormone. Waking with a body packed full of a sleep aid causes disorientation and shaky sensory-motor performance that typically lasts about 30 minutes to an hour.
But if you're sleep deprived (and who isn't these days?), the grogginess can remain for two or more hours.
Sleep inertia can also happen when waking from a daytime snooze that went long, well past the 20 minute power nap that might refresh you.
The effects of sleep inertia can be disastrous. If you spill your morning coffee or stub your toe on the furniture, consider yourself lucky. After taking an in-flight nap, an Air India Express pilot overshot the landing runway and crashed a plane full of 166 people into a hillside, where it rolled and burst into flames. Only eight survived.