The architecture of sleep
You may think that once you go to bed, you soon fall into a deep sleep that lasts for most of the night, progressing back into light sleep in the morning when it’s time to wake up. In reality, the sleep cycle is a lot more complicated.
When you chart the sleep stages over the course of the night, the result looks like a city skyline—which is why it is called “sleep architecture”
During the night, your sleep follows a predictable pattern, moving back and forth between deep restorative sleep (deep sleep) and more alert stages and dreaming (REM sleep). Together, the stages of REM and non-REM sleep form a complete sleep cycle. Each cycle typically lasts about 90 minutes and repeats four to six times over the course of a night.
The amount of time you spend in each stage of sleep changes as the night progresses. For example, most deep sleep occurs in the first half of the night. Later in the night, your REM sleep stages become longer, alternating with light Stage 2 sleep. This is why if you are sensitive to waking up in the middle of the night, it is probably in the early morning hours, not immediately after going to bed.