Why Do I Wake Up Groggy? The REM and Deep Sleep Connection
How deep sleep, REM sleep, and a few common nighttime habits can shape how clear — or completely foggy — you feel in the morning.
You’re in bed by 10, up by 6, and somehow still trudging around the house in a fog. It’s especially frustrating when you’ve technically done the “right” thing — logged a full eight hours — and still find yourself asking, “Why do I wake up groggy?” That heavy, fuzzy feeling has a name: sleep inertia. It’s the temporary grogginess and reduced alertness that can hit right after waking. But if it happens often, it may be more about how well you slept than how long you slept.
Sleep quality matters as much as sleep quantity. More specifically, your body needs enough uninterrupted deep sleep and REM sleep. Those are the stages tied most closely to physical restoration, memory, mood, and mental sharpness. And if alcohol, late meals, screens, stress, or an inconsistent schedule are disrupting those stages, eight hours in bed may still leave you feeling unrested.
What You Should Know About Grogginess and Sleep
By now, hearing that adults should aim for seven to nine hours of sleep per night is about as common as being told to eat your vegetables. It’s good advice, but it’s also incomplete. Counting hours is a useful start, but it doesn’t give you the full picture.
A typical night moves through four stages — drifting off, light sleep, deep sleep, and REM sleep — and repeats that cycle several times. Deep sleep, also called N3 or slow-wave sleep, is the stage most associated with physical recovery. REM sleep, short for rapid eye movement sleep, is heavily involved in memory, learning, and emotional processing.
A full sleep cycle usually lasts about 90 to 110 minutes, so most people go through several cycles per night. Ideally, those cycles happen with minimal disruption. But that’s where real life gets in the way. Alcohol before bed, late-night meals, scrolling in bed, stress, and an inconsistent sleep schedule can all fragment sleep or shift the timing of your sleep stages.
That’s why better-quality sleep — more than extra hours in bed — is often what clears the morning fog.
Going Deeper on REM, Deep Sleep, and How to Get More
So sleep happens in those repeating, four-stage cycles, and the two stages most worth paying attention to are deep sleep and REM sleep. Recapping the above, deep sleep is tied to physical restoration, while REM sleep supports memory, learning, mood regulation, and next-day mental sharpness.

The mindbodygreen article by Sarah Regan makes the same basic point: if you’re missing out on quality deep sleep and REM sleep, you’re more likely to feel it the next morning. The piece also notes that magnesium may support relaxation through its interactions with GABA, a neurotransmitter that helps calm the nervous system — and an estimated 43% of U.S. adults don’t get enough magnesium. That doesn’t mean magnesium is a magic sleep fix, but it may be worth discussing with a healthcare provider if your diet is low in magnesium or you’re considering a supplement.
Fortunately, many of the most evidence-backed ways to improve sleep quality are cheap and pretty easy to incorporate:
- Put your phone down at least an hour before bed. A study published in PNAS found that light-emitting devices — e-readers in this study — prolong the time it takes to fall asleep, delay the circadian clock, suppress levels of the sleep-promoting hormone melatonin, reduce the amount of REM sleep, and reduce alertness the following morning.
- Skip alcohol before bed. Consuming a low dose (two drinks) of alcohol before bed was found to change one’s sleep architecture and delay and reduce REM sleep. A higher dose had the same effects but also inhibited deep sleep.
- Don’t eat close to bedtime. This isn’t a hard-and-fast rule, but one survey did find that consuming a meal within three hours of bedtime was linked to lower sleep efficiency and more wake-ups. If you don’t find yourself waking up after eating before bed, though, then don’t concern yourself too much with this bullet.
- Maintain a consistent sleep schedule. Going to sleep and waking up at the same time consistently may be just as important as the total number of hours you sleep. Not only is it a habit that helps you to establish a sleep hygiene routine, but one study found that “sleep regularity” was a stronger predictor of all-cause mortality than sleep duration.
- Sleep in a cool room, between 60 and 68 degrees Fahrenheit. This isn’t an exact science, but the long and short of it is that heat can disrupt REM sleep, so experts suggest catching Zs in a cooler environment that’s comfortable enough for you to stay asleep.
- Have a bedtime routine. Most or all of the habits on this list can be part of your overall “sleep routine”. Establishing set behaviors that you do before bed can make your sleep more predictable and consistent in the long run.
The Takeaway
It’s possible to sleep for seven to nine hours and still feel groggy in the morning. If that sounds familiar, you’re probably getting poor quality sleep. A few expert- and science-backed tips you can follow to improve sleep quality are sleeping in a cool room, avoiding alcohol and screen time before bed, and having a set sleep and wake schedule.
Bottom Line
Deep sleep and REM sleep — stages three and four of your four-stage sleep cycle — play major roles in how restored you feel. The short of it is that sleep quality and sleep timing matter; what’s still in play is how much any one tweak will move the needle on morning grogginess. And if you’re consistently waking up exhausted despite good sleep habits, it’s worth talking to a doctor to rule out an issue like sleep apnea.
Experts Who Contributed
- Andrew Gutman, NASM-CPT, wrote this article.
- Lauren Keary, NASM-CNC, reviewed this article for accuracy.