Jitters & anxiety
Racing Heart After Coffee: What Caffeine Does and When to Get Help
Updated 2026-10-03 · Checked against the sources below by Oleksii Y. · 8 min read
A faster heartbeat and palpitations are recognized effects of too much caffeine; both the FDA and MedlinePlus list them. Call your local emergency number if palpitations come with chest pain, shortness of breath, feeling faint or fainting, or if they don't go away. See a doctor if they last more than a few minutes, keep coming back, or you have a heart condition. Research on coffee and extra heartbeats is mixed, so don't assume it's only the coffee.
How much will be left at bedtime?
Left at 11:00 PM (8 h later), average metabolism
≈ 66 mg
Range 31–100 mg (fast to slow metabolism)
To be at 50 mg or less by bedtime, have 200 mg by 12:15 PM (average) or 6:15 AM (slow metabolism).
What sleep studies found near this dose
- Gardiner et al. 2023 (meta-analysis): To avoid losing sleep time, the authors suggest a coffee (107 mg per 250 ml) at least 8.8 hours before bed.
- Gardiner et al. 2023 (meta-analysis): For a pre-workout serving (217.5 mg), the authors suggest at least 13.2 hours before bed.
Estimate from a simple model: half-life of 3, 5 or 8 hours, 50 mg bedtime target. How we calculate
Key takeaways
- Increased heart rate, palpitations and higher blood pressure are on the FDA list of signs of too much caffeine.
- Palpitations with chest pain, shortness of breath, feeling faint or fainting, or palpitations that do not go away, need emergency help.
- In a 2023 randomized trial, coffee did not significantly increase extra beats from the upper heart chambers but was linked to more extra beats from the lower chambers.
- Caffeine peaks in the blood within about an hour and can be felt for 4 to 6 hours, and longer in slow clearers.
- If coffee keeps setting off palpitations, cut down gradually and talk to a doctor, especially if you have a heart condition.
Call for help now if a racing heart after coffee comes with these signs
Do not try to wait these out, even if you are sure you just had too much coffee. The NHS says to call emergency services or go to the emergency department if you have palpitations that do not go away, or palpitations together with any of the symptoms below. MedlinePlus says anyone with signs of a caffeine overdose should seek medical help right away.
If these symptoms happened but have now stopped, the NHS still advises getting an urgent appointment rather than waiting (in the UK, through your GP surgery or 111). It also says not to drive yourself to the emergency department: ask someone to take you, or call an ambulance.
- Chest pain.
- Shortness of breath or trouble breathing.
- Feeling faint or fainting.
- Palpitations that do not go away.
- An irregular heartbeat, confusion, seizures, vomiting or fever.
- You took caffeine pills, powder or energy shots, or you cannot tell how much you had. The FDA estimates toxic effects such as seizures can occur with rapid intake of around 1,200 mg.
When heart palpitations after caffeine need a doctor visit
Even when you feel well otherwise, some patterns are worth getting checked. The NHS advises seeing a GP if palpitations keep coming back or happen more often, last longer than a few minutes, or if you have a heart condition or a family history of heart problems. The FDA also advises talking with a health professional about your caffeine use if you notice symptoms such as an increased heart rate or palpitations.
MedlinePlus advises people with arrhythmia (a heart rhythm problem), high blood pressure or anxiety, and people taking certain medicines, to check with their health care provider about whether to limit or avoid caffeine. If any of these apply to you, ask your doctor or pharmacist what makes sense for you rather than relying on general advice.
Why caffeine can make your heart pound
Caffeine works mainly by blocking adenosine receptors, which makes you more alert and stimulates the body. In a controlled study of 102 light caffeine users given 50 to 450 mg, caffeine raised blood pressure and produced feelings of arousal, and MedlinePlus notes that caffeine increases blood pressure. A faster heart rate is listed by both the FDA and MedlinePlus among the effects of too much caffeine.
Anxiety adds to the picture. The NHS lists stress and anxiety, lack of sleep and strenuous exercise, as well as caffeine, alcohol and nicotine, among the common causes of palpitations, so a big coffee on a stressful day can involve several triggers at once. That is one reason it can be hard to know what caused a racing heart, and why our guide on panic attacks or too much coffee treats them together.
How much you had matters most for most people. FDA figures put a 12-fl oz brewed coffee at 113 to 247 mg and an energy drink at 41 to 246 mg, and the FDA notes that people differ widely in how sensitive they are to caffeine.
What heart-rhythm studies show about coffee and extra heartbeats
The strongest recent study is a 2023 randomized trial in the New England Journal of Medicine. One hundred adults (average age 39, 51% women) wore a continuous heart monitor for 14 days, and daily text messages told them at random to drink caffeinated coffee or avoid caffeine. Coffee did not significantly increase premature atrial contractions, extra beats from the upper chambers of the heart. It was linked to more premature ventricular contractions, extra beats from the lower chambers: about 154 a day on coffee days versus 102 on caffeine-free days.
An earlier meta-analysis of seven human studies found no significant effect of caffeine on ventricular premature beats over 24 hours. Put together, the evidence is mixed. It does not show that caffeine causes dangerous rhythms in healthy people, and it does not show that caffeine has no effect on the heart. Neither study tells you how caffeine affects someone with a heart condition, so their results should not be stretched to cover that.
| Study | Who and how | Main finding |
|---|---|---|
| Marcus et al. 2023, NEJM | 100 adults, randomized coffee vs no-caffeine days, 14 days of heart monitoring | Upper-chamber extra beats: 58 vs 53 a day, not significant. Lower-chamber extra beats: 154 vs 102 a day |
| Zuchinali et al. 2016, Europace | Meta-analysis of 7 human studies | No significant effect of caffeine on ventricular premature beats (relative risk 1.00) |
| Childs & de Wit 2006 | 102 light caffeine users given 0, 50, 150 and 450 mg, double-blind | Caffeine raised blood pressure and feelings of arousal |
How long a caffeine racing heart can last, including at night
MedlinePlus says caffeine reaches its peak blood level within an hour and that you may feel its effects for 4 to 6 hours. The European Food Safety Authority puts the average half-life at about 4 hours in healthy adults, with a range of 2 to 8 hours. The calculator above shows how much of a dose may still be in your body at a given time.
Caffeine also lingers longer than people expect. In a small lab study of nine healthy men, 200 mg taken at about 7 a.m. was still measurable in saliva at 11 p.m., at roughly one-sixth of its peak level. If you notice your heart pounding when you lie down at night, an afternoon coffee or energy drink may still be in play. Our guide to waking up at night after caffeine covers the sleep side.
Knowing caffeine takes hours to clear is not a reason to sit with symptoms. The NHS advises a GP visit for palpitations that last longer than a few minutes, and emergency help if they do not go away or come with the warning signs above.
Steps that may help a racing heart after too much coffee
If you have none of the warning signs and you know you overdid it, these steps do not lower your caffeine level, but they avoid making things worse:
- Stop all caffeine, including tea, cola, energy drinks, pre-workout and caffeinated medicines or supplements.
- Avoid nicotine and alcohol, which the NHS lists alongside caffeine as palpitation triggers.
- Sit down somewhere quiet and breathe slowly. calmness.today has a free guided 4:6 breathing reset if it helps to follow along.
- Skip a hard workout meant to burn off the caffeine: the NHS lists strenuous exercise as a common cause of palpitations. See can you flush caffeine out for what does and doesn't change clearance.
- If symptoms are not easing, or you feel worse, get medical advice rather than waiting.
Cutting back if coffee keeps setting off heart palpitations
When palpitations are not caused by a health condition, the NHS says cutting out triggers like caffeine can help. That makes it worth getting checked first, then trying less caffeine.
If you drink caffeine daily, cut down gradually. The FDA advises this because withdrawal can be unpleasant, and in experimental studies about half of people got a headache when they stopped caffeine. Switching some cups to decaf, which typically has 2 to 15 mg per 8-fl oz cup, or to green tea, lowers the dose while keeping the habit. Our caffeine withdrawal guide explains what to expect.
Common questions
Can a single cup of coffee make your heart race?
It can, especially if the cup is strong or you rarely have caffeine. A 12-fl oz brewed coffee can hold 113 to 247 mg, and the FDA notes people vary widely in sensitivity. If it happens with warning signs or keeps recurring, get checked.
Why do I get heart palpitations from caffeine at night?
Caffeine can stay in your body for many hours: in one small study, a 7 a.m. dose was still measurable at 11 p.m. An afternoon drink may still be active at bedtime. Recurrent night-time palpitations are worth discussing with a doctor.
Is it safe to keep drinking coffee if it gives me palpitations?
We can't answer that for you, and the research does not give a general answer. The 2023 heart-monitor trial looked at average effects in 100 adults, not at your heart. If coffee repeatedly triggers palpitations, see a doctor before deciding how much, if any, to keep drinking.
Can decaf coffee still cause a racing heart?
Decaf is not caffeine-free: it typically has 2 to 15 mg per 8-fl oz cup. That is far less than regular coffee, but the FDA notes that people who react strongly to caffeine may want to avoid decaf too.
General information, not medical advice
If you feel unwell after caffeine — for example chest pain, a fast or irregular heartbeat that does not settle, fainting, confusion or trouble breathing — get urgent medical help. If you are pregnant, take medication or have a heart, liver or anxiety condition, ask a doctor or pharmacist what amount is right for you.
Sources
- U.S. Food and Drug Administration (2024). Spilling the Beans: How Much Caffeine is Too Much? FDA Consumer Updates. fda.gov ↗
- MedlinePlus (U.S. National Library of Medicine) (2021). Caffeine: MedlinePlus. MedlinePlus, U.S. National Library of Medicine. medlineplus.gov ↗
- NHS. Heart palpitations. NHS. nhs.uk ↗
- MedlinePlus Medical Encyclopedia (2025). Caffeine overdose. MedlinePlus, U.S. National Library of Medicine. medlineplus.gov ↗
- McLellan TM, Caldwell JA, Lieberman HR. (2016). A review of caffeine's effects on cognitive, physical and occupational performance. Neuroscience & Biobehavioral Reviews, 71, 294–312. PMID 27612937 ↗
- Childs E, de Wit H. (2006). Subjective, behavioral, and physiological effects of acute caffeine in light, nondependent caffeine users. Psychopharmacology, 185(4), 514–523. PMID 16541243 ↗
- Marcus GM, Rosenthal DG, Nah G, et al. (2023). Acute Effects of Coffee Consumption on Health among Ambulatory Adults. New England Journal of Medicine, 388(12), 1092–1100. PMID 36947466 ↗
- Zuchinali P, Ribeiro PA, Pimentel M, et al. (2016). Effect of caffeine on ventricular arrhythmia: a systematic review and meta-analysis of experimental and clinical studies. Europace, 18(2), 257–266. PMID 26443445 ↗
- European Food Safety Authority (2015). EFSA explains risk assessment: Caffeine. European Food Safety Authority (doi:10.2805/618813). efsa.europa.eu (PDF) ↗
- Landolt HP, Werth E, Borbély AA, et al. (1995). Caffeine intake (200 mg) in the morning affects human sleep and EEG power spectra at night. Brain Research, 675(1–2), 67–74. PMID 7796154 ↗
- Juliano LM, Griffiths RR. (2004). A critical review of caffeine withdrawal: empirical validation of symptoms and signs, incidence, severity, and associated features. Psychopharmacology, 176(1), 1–29. PMID 15448977 ↗
An app for calmer days is on the way
We’re working on a mobile app to help with anxious, on-edge days. It isn’t out yet. Leave your email and we’ll let you know when it launches.