Caffeine & Sleep
Sleep science

Heart Racing After Caffeine at Night? Here's Why

Caffeine blocks adenosine and triggers adrenaline, raising heart rate ~5–10 bpm. Why it hits harder at night, and how to avoid it.

By Vadim Semenko
Built the caffeine half-life engine · 6 min read · Updated 2026-06-03

A racing heart after caffeine at night happens because caffeine blocks adenosine — the molecule that normally calms you — which triggers a release of adrenaline (epinephrine and norepinephrine). Those stress hormones speed your heart, often by 5–10 beats per minute at higher doses. At night the effect feels worse: you're lying still in a quiet room where every thump is obvious, and if you metabolize caffeine slowly, that evening cup is still very much active.

What caffeine does to your heart

Caffeine works by impersonating adenosine. Throughout the day, adenosine builds up in your body and slots into receptors that slow nerve signaling and electrical activity in the heart — it's a natural "calm down and rest" signal. Caffeine has a similar shape, so it jams those receptors without activating them. With the brakes blocked, your nervous system runs hotter.

One downstream consequence, described in the Institute of Medicine's review of caffeine and performance, is a surge of catecholamines — adrenaline and noradrenaline — from your adrenal glands. These hormones bind to your heart muscle and:

  • increase heart rate (a 200 mg dose can raise it roughly 5–10 bpm),
  • increase the force of each beat, which you may feel as a "thump" or flutter,
  • and can stir up the same physical sensations as anxiety — a racing mind, tense muscles, a jittery edge — an effect on cardiovascular function and anxiety that Nawrot et al. (2003) catalogued in their review of caffeine's health effects.

That's the mechanism behind both the pounding chest and the wired-but-tired feeling people describe after an evening coffee or energy drink.

Why it feels worse at night

The biology is the same morning or night, but two things amplify it after dark:

1. You finally notice it

In the morning you're moving, distracted and busy. At night you lie down in silence and turn your attention inward — the perfect conditions to feel every heartbeat. A mild, normal increase in rate that you'd never register at noon becomes impossible to ignore at 11 PM.

2. The caffeine is still active

Caffeine leaves the body slowly — Arnaud (2011) put the average half-life near 5 hours, but it swings widely from person to person. A 4 or 5 PM coffee can still be near its peak by bedtime, especially if you're a slow metabolizer, pregnant, on oral contraceptives, or older — all of which slow clearance. So "night heart racing" is often just an afternoon dose that hasn't faded yet. (See are you a fast or slow caffeine metabolizer? for where you fall.)

👉 Curious how much caffeine is still circulating when you lie down? Try the calculator to see your level at bedtime.

Sensitivity: why some people feel it and others don't

Two people can drink the same espresso and have totally different reactions. The biggest driver is the CYP1A2 gene, which sets how fast you clear caffeine — but receptor sensitivity matters too. Some people's cardiovascular and nervous systems simply respond more strongly to a given amount. If even a small or early coffee sets your heart racing, you're likely on the sensitive, slow-clearing end of the spectrum.

FactorEffect on caffeineEffect on heart racing
Slow metabolizer (CYP1A2)Caffeine lingers longerMore likely, lasts longer
Large dose / energy drinksHigher peak levelStronger HR and jitter spike
Late timingStill active at bedtimeMore noticeable at night
SmokingSpeeds clearanceLess likely (caffeine clears fast)
Anxiety / low sleepAmplifies the felt responseFeels worse even at low doses

How to avoid it

  • Set a cutoff. Stop caffeine early enough that levels fall before bed. See how late is too late for coffee? for timing.
  • Shrink the dose. Lower peak caffeine means a smaller adrenaline bump. Half a cup or a smaller drink often solves it.
  • Watch hidden sources. Energy drinks, pre-workout, strong tea, cola and even dark chocolate add up — these are common culprits behind a late spike.
  • If it's already happening, stop more caffeine, sit down, breathe slowly, and hydrate. You can't flush it faster than your liver works, but calming your breathing eases the adrenaline-driven sensation while it clears.
  • Protect your sleep. A racing heart and a wired brain often go together — see can caffeine cause insomnia? for the full picture.

When to see a doctor

For most healthy people, an occasional fast heartbeat after too much caffeine is uncomfortable but harmless, and it settles as the caffeine clears. But it's worth getting checked if palpitations are frequent, severe, or come with chest pain, fainting, dizziness, or shortness of breath — or if you have a known heart condition. Persistent or alarming symptoms aren't something to self-diagnose; a clinician can rule out arrhythmias and other causes. This article is general information, not medical advice.

The bottom line

A pounding heart after a late coffee is your body doing exactly what caffeine tells it to: block the calm signal, release adrenaline, beat faster. It feels worst at night because you're still enough to notice and the dose is often still active. The fix is timing and dose — stop early, keep it small, and know when your levels actually fall. If it keeps happening despite that, talk to a doctor.


See it before you feel it. The Caffeine & Sleep app logs every drink in one tap, models your personal caffeine curve, and shows how much is still circulating at bedtime — so you can catch the cup that would set your heart racing before you drink it. Get the app →

Try it for your bedtime
Drink
You drink it at
Bedtime
Coffee · 95 mg · assuming an average ~5 h half-life
At bedtime
31 mg
should be fine
Latest safe Coffee: 6:22 PM

Frequently asked

Caffeine blocks adenosine — the molecule that calms you — and prompts a release of adrenaline (epinephrine and norepinephrine). Those stress hormones speed up your heart, often by 5–10 bpm at higher doses. At night, lying still in a quiet room, that pounding is far easier to notice, and a slow metabolism means evening caffeine is still active.

For most healthy people an occasional caffeine-related fast heartbeat is uncomfortable but not dangerous, and it fades as the caffeine clears. But if palpitations are frequent, severe, come with chest pain, fainting or shortness of breath, or you have a heart condition, see a doctor — those need evaluation.

It tends to ease as blood caffeine falls. With a ~5-hour half-life, the peak effect is in the first hour or two and tapers over several hours. Slow metabolizers feel it longer; staying calm, hydrating and waiting it out helps.

Stop any further caffeine, sit or lie down, breathe slowly, and hydrate. Time is the real fix — nothing removes caffeine faster than your liver's fixed pace. Slow breathing can ease the adrenaline-driven feeling while you wait.

Partly perception — at night you're still and tuned into your body, so a fast heartbeat stands out. Partly biology — evening caffeine competes with rising sleep pressure, and if you're a slow metabolizer or sensitive, the dose is still very active when you lie down.

Sources

  1. Institute of Medicine, Caffeine for the Sustainment of Mental Task Performance (NCBI Bookshelf NBK223808) — adenosine antagonism, catecholamine release, cardiovascular effects
  2. Arnaud M.J., 2011, Handbook of Experimental Pharmacology — caffeine pharmacokinetics, ~5h half-life, CYP1A2 metabolism
  3. FDA — Spilling the Beans: How Much Caffeine is Too Much? (400 mg/day guidance)
  4. Nawrot P. et al., 2003, Food Addit Contam — effects of caffeine on cardiovascular function and anxiety

Educational content, not medical advice. For concerns about caffeine, sleep, pregnancy or a health condition, talk to a qualified clinician.

Track your caffeine. Sleep better.

The app does this live all day — one-tap logging, widgets, and a 30-minute pre-cutoff reminder. Free, no ads.

Keep reading

Get the App — it’s free