← The Caffeine Curfew

Caffeine and heart rate variability

Why the timing of your last coffee may matter more than the amount — and how to test it on your own wearable data in seven days.

What HRV actually measures

Heart rate variability (HRV) is the variation in time between consecutive heartbeats. It reflects the balance between the sympathetic ("activating") and parasympathetic ("recovery") branches of the autonomic nervous system. Overnight HRV is the number most wearables — Oura, WHOOP, Garmin, Fitbit, Apple Watch — surface as a recovery or readiness signal, because sleep is the most standardised window they can measure.

Where caffeine comes in

Caffeine blocks adenosine receptors and raises sympathetic activity. That is useful at 9 am and less useful at midnight. Its half-life in healthy adults is commonly cited at roughly 3–7 hours, and varies widely with genetics, liver enzyme activity, medication, pregnancy, and smoking status. A 3 pm coffee can therefore still be measurably circulating when you go to bed.

A controlled trial published in the Journal of Clinical Sleep Medicine found that caffeine taken even six hours before bedtime measurably disrupted sleep — and that participants did not always notice the disruption themselves. That gap between how you feel and what your sensors record is exactly the gap wearable data can close.

Metrics worth watching

MetricWhy it's relevant
Overnight HRVProxy for parasympathetic recovery during sleep
Resting heart rateTends to move in the opposite direction to HRV
Deep sleepThe stage most associated with physical restoration
Sleep latencyHow long it takes you to fall asleep after lights out

Why a 12:00 pm cutoff

Noon is a deliberately conservative line. With a half-life in the several-hour range, a last sip at 12:00 pm leaves most people with only a small fraction of that dose on board by a typical bedtime — while still leaving your morning routine completely untouched. It is also an easy rule to follow honestly for seven days, which matters more for clean data than a stricter rule you break on day three.

How to run the test on yourself

  1. 1. Keep your usual morning caffeine — same drinks, same amounts.
  2. 2. Take your last caffeinated sip by 12:00 pm. That includes tea, energy drinks, pre-workout, and half-caf.
  3. 3. Wear your device every night, charged, for the full seven days.
  4. 4. Check in for about a minute a day to confirm you kept the curfew.
  5. 5. Compare your HRV, resting heart rate, and deep sleep against your own baseline.

Individual responses vary a lot. The point is not to find a universal answer — it's to find out what your own physiology does.

Run it yourself

The Caffeine Curfew is a free 7-day study in the Reputable app. Invite code NZZU.

Join the study →

Sources

This page is general information about published research, not medical advice. Talk to a clinician about changes to your caffeine intake if you have a heart condition, are pregnant, or take medication affected by caffeine.