So you lie down, close your eyes, and the lights go out. From the inside it feels like nothing happens until the alarm. That impression is completely wrong. Understanding what happens when you sleep means picturing a busy night shift: hormones rise and fall on schedule, your heart slows, your brain replays the day, and a drainage system you never feel switches on to wash the day’s chemical waste out of your skull. This is one of the most active and most necessary things your body does, and most of us do it badly.
Pakistanis sleep less than they think and worse than they should. Late dinners, the 11pm chai, phones in bed, load-shedding heat, and shift work all eat into it. So before the sleep-hygiene advice that closes this piece, it helps to actually see the machinery. Here is a guided tour of one ordinary night, hour by hour, system by system.
Quick answer
- You cycle through light sleep, deep sleep, and REM about every 90 minutes, four to six times a night.
- Deep sleep (heavy early in the night) repairs the body and clears brain waste. REM (heavy before dawn) handles memory and emotion.
- Adults need seven to nine hours. Cutting it short damages memory, mood, and metabolism, and raises long-term disease risk.
Sleep is an active process, not the absence of waking
For most of the twentieth century, doctors assumed the sleeping brain simply powered down. The opposite turned out to be true. Hook someone up to an EEG and you see what happens when you sleep in fine detail: the brain switches between distinct electrical patterns all night, some of them as active as wakefulness. The US National Heart, Lung, and Blood Institute now describes sleep as a period when the brain and body carry out essential maintenance that cannot run while you are awake and busy.
Two control systems decide when you feel sleepy. The first is sleep pressure, driven by a molecule called adenosine that builds up in your brain the longer you stay awake. (Caffeine works by blocking the receptor adenosine binds to, which is why a strong chai can mask tiredness without removing it.) The second is your circadian rhythm, the internal 24-hour clock set largely by light hitting your eyes. When both line up, sleep comes easily. When they fight, say after a night flight or a week of 2am phone scrolling, you lie awake exhausted.
What is sleeping and what is awake
Even in deep sleep, plenty stays on. Your heart beats, your lungs breathe, your kidneys filter, your gut digests. What changes is the pattern and the priority. Energy that the waking brain spends on attention and movement gets redirected to repair, immune work, and memory consolidation. The body is not idling. It has switched tasks.
What happens when you sleep, across a single night
A night of sleep is built from repeating cycles. One cycle runs about 90 minutes and contains light sleep, deep sleep, and REM. You stack four to six of these between bedtime and waking. The important detail is that the cycles are not identical. The mix changes as the night goes on.
Early cycles are loaded with deep sleep. Late cycles, toward morning, are loaded with REM. That is why the last hours of sleep are so rich in vivid dreams, and why cutting your night short by two hours does not just cost you two hours evenly. It robs you disproportionately of REM. If you have ever wondered why we dream, the answer lives almost entirely in that last third of the night.
The four stages, plainly
Sleep scientists split a night into four stages: three of non-REM (N1, N2, N3) and then REM. Here is what each one is and what your body is doing in it.
| Stage | What it is | Roughly how long | What your body does |
|---|---|---|---|
| N1 | Lightest sleep, the drift-off | 1-7 minutes | Muscles relax, you may twitch; easily woken and may deny you slept |
| N2 | Light sleep, the night’s bulk | About 45-55% of total sleep | Heart rate and temperature drop; brain fires “sleep spindles” that protect sleep and lock in memory |
| N3 | Deep slow-wave sleep | Most of it in the first half of the night | Physical repair, growth-hormone release, brain-waste clearance; hardest to wake from |
| REM | Rapid eye movement, dreaming sleep | Lengthens through the night | Brain very active, body paralysed; memory and emotional processing |
Why the order matters
You do not jump straight into deep sleep. A normal night runs N1, then N2, into N3, back up to N2, then into REM, and round again. Anything that keeps yanking you back to N1 (a hot room, a snoring partner, a buzzing phone, untreated sleep apnoea) shreds this architecture. You can spend eight hours in bed and still wake unrefreshed because you never strung together enough unbroken deep sleep or REM.
Deep sleep: the body’s repair shift
When you reach N3, the slow, large brain waves give it its other name, slow-wave sleep. This is the stage that makes you feel rested, and it does the heaviest physical work of the night.
Growth hormone and physical repair
The bulk of your daily growth hormone is released in pulses during deep sleep, especially in that first long stretch of N3. In children and teenagers this drives actual growth, which is part of why you stop growing taller once the relevant growth plates close. In adults the same hormone supports tissue repair, muscle recovery, and bone maintenance. Skip deep sleep and you blunt the body’s overnight rebuild. Athletes and anyone recovering from illness or injury pay for short nights in slower healing.
The glymphatic system: your brain’s drainage at night
Here is the finding that changed how scientists think about sleep. In 2013, a team led by Maiken Nedergaard, publishing in the journal Science, showed that during sleep the spaces between brain cells widen and cerebrospinal fluid washes through, flushing out metabolic waste that builds up while you are awake. They named it the glymphatic system. The clearance ramps up specifically during deep slow-wave sleep.
Among the waste it clears is beta-amyloid, the protein that clumps into the plaques seen in Alzheimer’s disease. Studies since have shown that even one night of total sleep deprivation raises beta-amyloid in the human brain. This is the most plausible biological bridge between chronic poor sleep and later dementia risk, and it is why “I’ll sleep when I’m dead” is such a poor bargain. Your brain literally takes out the trash while you sleep, and only then.
Deep sleep is when your brain rinses out the day’s chemical waste. There is no daytime substitute for it.
REM sleep: the mind’s filing and feelings shift
After your first big dose of deep sleep, REM enters the picture and grows with each cycle. The eyes dart under closed lids, the brain lights up almost like waking, and most of the body’s muscles go temporarily limp so you cannot act out dreams.
Memory and learning
REM, along with the sleep spindles of N2, is when the brain takes the day’s experiences and decides what to keep. New information first parked in the hippocampus gets transferred and woven into longer-term storage across the cortex. This is why students who pull all-nighters before an exam often do worse: they trade the very sleep that would have locked in what they studied. Harvard’s sleep researchers describe sleep as essential for turning new learning into durable memory.
Emotional processing
REM also seems to take the emotional sting out of memories. The brain replays charged events in a state where stress chemistry is quieter, which may help you wake able to think about a hard day more calmly. People deprived of REM tend to be more emotionally reactive and read others’ faces more negatively. If you have noticed that everything feels worse after a bad night, that is REM loss talking. This emotional and energy cost is closely tied to why we get tired in ways that a cup of coffee cannot fix.
Deep sleep (N3)
- Heaviest in first half of night
- Growth hormone, tissue repair
- Glymphatic waste clearance
- Slow, large brain waves
REM sleep
- Heaviest in second half of night
- Memory consolidation, learning
- Emotional processing, vivid dreams
- Active brain, paralysed body
What the rest of your body does overnight
Much of what happens when you sleep is a whole-body event. While the brain runs its programs, the organs follow their own overnight script, mostly tuned by your circadian clock.
Heart, breathing, and temperature
As you settle into non-REM sleep, your heart rate and blood pressure fall and breathing becomes slow and regular. Your core body temperature drops by roughly half a degree to one degree, part of how the body initiates sleep in the first place, which is why a cool room helps and a hot Karachi night fights you. This nightly dip in cardiovascular workload is one reason sleep matters for the heart; people with chronically short or disrupted sleep carry higher rates of hypertension and heart disease, a concern that overlaps with South Asians and heart disease.
The hormone timetable
Hormones run on a clock at night. Melatonin, made by the pineal gland, starts rising a couple of hours before your usual bedtime as evening light fades, signalling “night” to the body. Cortisol, the alertness and stress hormone, sits low through the early night, then climbs in the hours before dawn so you wake ready to move. Bright light at night, including a phone screen, suppresses melatonin and pushes your whole clock later. That is the single most common self-inflicted sleep wound in the smartphone era.
| Time of night | Heart rate | Body temp | Cortisol | Melatonin |
|---|---|---|---|---|
| Falling asleep | Slowing | Beginning to drop | Low | Rising |
| Middle (deep sleep heavy) | Lowest | Lowest point | Low | High |
| Pre-dawn (REM heavy) | More variable in REM | Starting to rise | Climbing | Falling |
| Just before waking | Rising | Rising | Peak | Low |
How much sleep you actually need
“Eight hours” is a decent rule of thumb for adults, but the real number changes a lot with age. Newborns spend most of the day asleep; older adults often sleep less in one block and more lightly. The figures below follow the guidance used by the NHS and US sleep authorities.
| Age group | Recommended sleep per day |
|---|---|
| Newborn (0-3 months) | 14-17 hours |
| Infant (4-12 months) | 12-16 hours (incl. naps) |
| Toddler (1-2 years) | 11-14 hours (incl. naps) |
| Preschool (3-5 years) | 10-13 hours (incl. naps) |
| School age (6-12 years) | 9-12 hours |
| Teenager (13-18 years) | 8-10 hours |
| Adult (18-64 years) | 7-9 hours |
| Older adult (65+) | 7-8 hours |
The myth worth killing: that some adults thrive on four or five hours. A genuinely short-sleeping genetic profile exists, but it is rare, in the order of a tiny fraction of the population. Almost everyone who claims it is simply adapted to feeling tired and has lost the baseline of what rested feels like.
What happens when you skip it
Lose sleep and the consequences arrive in two waves: an immediate hit the next day, and a slow build of disease risk over years.
The morning after
One bad night is enough to measurably slow your reaction time, scramble short-term memory, and sour your mood. The driving danger is real and underrated. Going about 17-19 hours without sleep impairs performance to a degree comparable with being over the legal blood-alcohol limit in many countries, which is why drowsy driving causes a large share of road crashes. On Pakistan’s highways, where night driving and long shifts are common, this is a genuine hazard.
Appetite hormones shift fast too. Short sleep raises ghrelin (the hunger hormone) and lowers leptin (the fullness hormone), so you eat more, crave sugar and refined carbs, and your blood sugar handles glucose worse the very next day. That tie between sleep loss and overeating connects directly to why we crave sugar when we are exhausted.
The long game
Run a sleep deficit for years and the risks compound. Chronic short sleep is linked to higher rates of type 2 diabetes, obesity, high blood pressure, and weakened immune defence (people who sleep less are more likely to catch a cold after exposure). The dementia link, through impaired beta-amyloid clearance, sits on top of all of it. None of this means one rough week will harm you. Bodies are resilient. It means sleep is a daily deposit, and chronic debt is what does the damage.
When to see a doctor: loud snoring with pauses in breathing or gasping, falling asleep during the day despite enough hours in bed, taking more than 30 minutes to fall asleep most nights for weeks, or waking unrefreshed no matter how long you sleep. These can signal sleep apnoea, insomnia, or another treatable disorder, not just bad habits.
How to actually sleep better, by the evidence
The good news is that the highest-impact fixes are free and behavioural, not pills. Sleeping tablets mostly sedate without restoring true sleep architecture. These habits, what doctors call sleep hygiene, are the ones with the best evidence behind them.
Light is the master switch
Get bright light, ideally daylight, soon after waking; it anchors your clock and makes you sleepy at the right time that night. Then dim things down in the evening. Cut screen brightness, and put the phone away well before bed, because that bluish light is the strongest signal telling your brain it is still daytime. This one lever moves melatonin more than any supplement.
Keep the timing boringly consistent
Going to bed and waking at roughly the same time every day, including weekends, is one of the most powerful and least followed pieces of advice. Your circadian system runs on regularity. A wildly different weekend schedule gives you a kind of self-inflicted jet lag every Monday.
Mind caffeine, food, and the bedroom
Caffeine has a long tail. A cup of tea or coffee at 5pm still has half its dose circulating around 11pm for many people, so keep caffeine to the morning if you sleep poorly. Avoid heavy late meals, a real challenge with the late South Asian dinner, since digestion and lying flat both fight sleep. Keep the room cool, dark, and quiet. Aim for a comfortably cool temperature, which during a Pakistani summer may mean a fan, AC, or sleeping in the coolest room you have. Reserve the bed for sleep so your brain links it with rest, not with scrolling.
- Morning light within an hour of waking; dim screens after sunset.
- Same bedtime and wake time every day, weekends included.
- No caffeine after early afternoon if you are sleep-sensitive.
- Cool, dark, quiet room; no phone in bed.
- No heavy meals in the two to three hours before sleep.
A note on naps: a short 20-minute nap early in the afternoon can restore alertness without wrecking your night. A long or late-afternoon nap eats into your sleep pressure and pushes bedtime back.
Frequently asked questions
How long should one sleep cycle last?
One full sleep cycle runs about 90 minutes on average, moving from light sleep into deep sleep and then REM. A healthy adult night stacks four to six of these, which is roughly seven to nine hours. The cycles are not identical: deep sleep dominates the early ones and REM grows through the night, so the last cycles before waking carry the most dreaming.
Is deep sleep or REM sleep more important?
Both matter and you cannot trade one for the other. Deep sleep handles physical repair, growth-hormone release, and the brain’s overnight waste clearance. REM handles memory consolidation, learning, and emotional processing. A healthy night needs enough of each, which is why fragmented sleep that blocks either stage leaves you feeling unrested even after eight hours in bed.
Can you catch up on lost sleep at the weekend?
Partly, but not fully. A long weekend lie-in can repay some short-term sleep debt and lift alertness, yet it does not undo the metabolic and cognitive costs of a week of short nights, and the swing in timing disrupts your body clock. Consistent nightly sleep beats a weekday deficit patched up on Saturday. Treat catch-up sleep as damage control, not a real fix.
Does sleep really clear waste from the brain?
Yes. Research first published in 2013 identified the glymphatic system, which widens the spaces between brain cells during sleep so cerebrospinal fluid can flush out metabolic waste, including beta-amyloid linked to Alzheimer’s. This clearance runs strongest in deep slow-wave sleep. Even one night without sleep measurably raises beta-amyloid in the human brain, which is the leading link between poor sleep and dementia risk.
Why do I wake up tired even after eight hours?
Time in bed is not the same as quality sleep. Fragmented sleep from a hot room, noise, alcohol, a late heavy meal, or undiagnosed sleep apnoea keeps pulling you out of deep sleep and REM, so you log the hours without the restorative stages. Caffeine late in the day and an irregular schedule do the same. If it persists despite good habits, see a doctor to rule out a sleep disorder.
Do screens at night really hurt sleep?
Yes, in two ways. The bright, bluish light from phones and tablets suppresses melatonin and pushes your body clock later, making you less sleepy at bedtime. The content also keeps your brain alert and engaged when it should be winding down. Dimming screens helps a little, but putting the phone away an hour before bed helps far more and is the single highest-value sleep habit for most people.
How much sleep does an adult actually need?
Most adults aged 18 to 64 need seven to nine hours per night, and adults over 65 need about seven to eight. Teenagers need eight to ten. The widely shared idea that many people thrive on four or five hours is a myth: true short sleepers are genetically rare. Almost everyone claiming it has simply normalised feeling tired and forgotten what fully rested feels like.
Once you know what happens when you sleep, it is clear that protecting your nights is one of the highest-return health habits there is. This article is for general education and is not medical advice. For diagnosis or treatment, see a qualified doctor.
docpk helps Pakistani doctors send digital prescriptions to patients on WhatsApp. See how docpk works or read more on the docpk blog.
