Key points
- In deep, non-REM sleep the calming side of your nervous system takes over and HRV rises. In REM sleep the balance tips back and HRV falls.
- A pooled analysis of 11 trials found that sleep deprivation significantly lowers RMSSD, the HRV measure most apps report.
- You do not need to wear anything overnight: a reading taken soon after waking reflects how the night went.
What happens to HRV while you sleep
Heart rate variability reflects the balance between the two halves of your automatic nervous system: the alert side that speeds things up and the calming side that slows them down. During the day the two trade places constantly. At night they follow the structure of your sleep.
| Stage | Nervous system | Heart rate | HRV |
|---|---|---|---|
| Deep sleep (non-REM) | Calming side leads | Slow and steady | Higher |
| REM sleep (dreaming) | Alert side returns | Faster, more erratic | Lower |
| Brief awakenings | Short alert bursts | Jumps | Dips |
A review of the research on sleep and the heart describes REM sleep as a stage where the alert side is likely to dominate and the calming influence is withdrawn, with the opposite pattern in non-REM sleep. Because deep sleep is concentrated in the first half of the night and REM in the second, a good night has a rhythm to it: recovery early, more activity towards morning.
Anything that cuts into deep sleep, or breaks the night into pieces, takes away the hours when HRV would have been at its highest. Our sleeping heart rate chart shows the heart rate side of the same story.
What a bad night does to your HRV
A 2025 meta-analysis pooled 11 randomised trials with 549 participants in total, all testing what happens to HRV when people are deprived of sleep. RMSSD, the measure that tracks the calming side most directly, fell significantly. Measures linked to the alert side rose. The authors' reading was that lost sleep pushes the nervous system towards its stressed setting.
You do not have to stay up all night to see it. A separate experiment that cut people's sleep short, without removing it altogether, found the same direction of change: RMSSD went down.
What gets in the way
- Alcohol. In a study of 4,098 adults, RMSSD in the first three hours of sleep fell by about 2 ms after light drinking, 6 ms after moderate drinking and 13 ms after heavy drinking. More in heart rate after alcohol.
- A late or heavy meal. Digestion keeps the alert side busy. See heart rate after eating.
- Late caffeine. It shortens sleep even when you fall asleep without trouble. See caffeine and heart rate.
- Hard exercise close to bedtime. Your body is still winding down.
- Stress carried to bed. A racing mind keeps the alert side switched on.
- A warm or noisy room. More awakenings, less deep sleep.
- Illness. HRV often drops before symptoms show. See heart rate when sick.
- Interrupted breathing. Loud snoring with gasping or pauses repeatedly jolts the heart. This one needs a GP.
It works in both directions
Poor sleep lowers HRV, and a nervous system stuck in its alert setting makes good sleep harder to come by. That loop is why a stressful week and a run of bad nights tend to arrive together. It is also why calming your system before bed is worth the effort: slow breathing raises HRV within minutes and can make it easier to drop off. Our breathing exercises page has a pacer you can follow.
How to track it without wearing anything overnight
Rings and bands measure HRV all night and report an average. A phone app takes a reading when you ask for one. The two give different numbers and cannot be compared with each other, but a morning spot check answers the same question: how well did I recover?
- Measure soon after waking. Before coffee, before getting busy, sitting or lying still. The HRV app page explains how.
- Keep the conditions identical. Same position, same time, normal breathing.
- Note the night. Hours slept, drinks, a late meal, how you feel.
- Read it against your baseline. Lower than usual after a short night is expected. Back to normal after a good one is the pattern you want.
- Watch the weekly average. Single mornings bounce around. See what is a good HRV.
How to sleep for a better HRV
- Keep a regular bedtime and wake time, weekends included.
- Finish alcohol and large meals a few hours before bed.
- Stop caffeine by early afternoon.
- Keep the bedroom cool, dark and quiet.
- Give yourself ten minutes of slow breathing or quiet before lights out.
- Get daylight and some activity during the day.
The rest of what moves HRV is in how to improve your HRV, and the HRV chart by age shows typical values.
When to speak to a doctor
See your GP if you regularly wake unrefreshed despite enough hours in bed, if someone has noticed you stop breathing or gasp in your sleep, or if poor sleep has lasted more than a few weeks and is affecting your days. An app can show you a pattern. It cannot diagnose a sleep disorder.
Sources and further reading
- Tobaldini and colleagues, 2013: Heart rate variability in normal and pathological sleep
- Zhang and colleagues, 2025: Effects of sleep deprivation on heart rate variability, a systematic review and meta-analysis
- Sleep deprivation deteriorates heart rate variability and photoplethysmography, 2021
- Pietila and colleagues, 2018: Acute effect of alcohol intake on autonomic regulation during sleep
This article is general information, not medical advice. Heart Rate Hero is a wellness app, not a medical device. If you are worried about your heart, speak to a healthcare professional. Medical disclaimer.