Does caffeine lower HRV?
Not much, and not the way people expect. In sleep lab trials, caffeine close to bedtime didn’t lower HRV during sleep, and in one it raised a measure of it. What caffeine reliably does is shorten and lighten your sleep, and short sleep is what costs you.
Coffee speeds you up, so it seems obvious it would drag HRV down overnight. The trials point somewhere else. During sleep, the heart’s rhythm barely suffered. The sleep itself did.
What we’d do: if your number is low, put coffee near the bottom of the list. Look at drinks, late dinners, late hard workouts and short nights first. Stop caffeine about six hours before bed for your sleep’s sake.

What the sleep trials found
| Trial | Who | What happened |
|---|---|---|
| 160 mg in a slow-release capsule at bedtime, 2024 | 21 young men in a sleep lab | Heart rate in non-dream sleep about 3.2 beats lower and a vagal HRV measure higher than on placebo. Deep-sleep brain waves were weaker |
| 400 mg 30 minutes before bed, 2005 | 15 young adults in a sleep lab | One frequency measure shifted during dream sleep, which the authors put down to caffeine’s stimulant effect |
| 400 mg at bedtime, 3 or 6 hours before, 2013 | Adults at home | All three timings disturbed sleep compared with placebo, even 6 hours before bed |
400 mg is about two to three 12 oz cups of brewed coffee, by the FDA’s count.
Why sleep is the part that matters
Losing sleep does lower HRV. Across 11 trials of sleep loss, RMSSD fell. So the route from an evening coffee to a lower number most likely runs through a shorter, lighter night.
These were small trials, mostly in young men. If you want to know about yourself, take two weeks with your usual coffee and two weeks with the last cup before noon, and compare your 7-day averages.
5 sources
- Baur DM, Dornbierer DA, Landolt HP, Concentration-effect relationships of plasma caffeine on EEG delta power and cardiac autonomic activity during human sleep, Journal of Sleep Research, 2024pubmed.ncbi.nlm.nih.gov
- Bonnet M et al., Effects of caffeine on heart rate and QT variability during sleep, Depression and Anxiety, 2005pubmed.ncbi.nlm.nih.gov
- Drake C et al., Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed, Journal of Clinical Sleep Medicine, 2013pubmed.ncbi.nlm.nih.gov
- Zhang S et al., Effects of sleep deprivation on heart rate variability: a systematic review and meta-analysis, Frontiers in Neurology, 2025pubmed.ncbi.nlm.nih.gov
- US Food and Drug Administration, Spilling the Beans: how much caffeine is too much, checked 2026-11-10fda.gov