Coffee, caffeine and AFib
Coffee is one of the most suspected triggers. Here is what happened when researchers actually tested it.
The short version
- Does coffee raise the chance of developing AFib?
Overall, the evidence doesn’t show a higher risk. Most studies that followed adults for years found no increase, though one found more AFib in coffee drinkers.
- Does coffee make AFib come back?
One trial after cardioversion found it didn’t. AFib or flutter came back in 47 of 100 people asked to drink coffee and 64 of 100 asked to avoid caffeine.
- Could caffeine be a trigger for me, even if it isn’t for most people?
No one can say yet. When people tested caffeine on themselves, it wasn’t linked to more AFib, but studies can’t rule out a few people who react.
- What about energy drinks, caffeine pills or very large amounts?
Too little is known. AFib after energy drinks appears only in a handful of case reports, and the coffee results don’t carry over.
Does coffee raise the chance of developing AFib?
Overall, the evidence doesn’t show a higher risk. Most studies that followed adults for years found no increase, though one found more AFib in coffee drinkers.
What does this rating mean?
Large, consistent studies, including trials where they matter.
These studies followed people who didn’t have AFib yet and asked how much coffee they drank. In the UK, 386,258 adults were followed for about four and a half years. Each extra daily cup of coffee was linked to a 3% lower risk of developing AFib, not a higher one. In Sweden, 76,475 adults followed for 12 years were no more likely to develop AFib, even at five or more cups a day. A Danish study that counted caffeine from coffee, tea, cola and chocolate found the same.
A review that pooled 10 studies of 723,825 people found no rise in risk at any amount from one to seven cups a day.
One US study went the other way: people who drank at least a cup a week were more likely to develop AFib. It took fewer other factors into account than the studies above, and the link was seen mainly in its White and Hispanic participants.
None of these studies assigned coffee at random, so they show links rather than proof. Taken together, they don’t show a consistent rise in risk. The genetic studies in the next question found no clear link either.
Sources: Kim et al., 2021, Larsson et al., 2015, Frost & Vestergaard, 2005, Cao et al., 2022, Sehrawat et al., 2023
Does coffee protect against AFib?
Some large studies saw slightly less AFib in coffee drinkers. Studies using genes found no clear effect, so coffee itself may not be the reason.
What does this rating mean?
Studies disagree, are small, or only show a link.
Several large studies found slightly less AFib in coffee drinkers, about 2 to 3% less for each daily cup. That is a small difference, and studies like these can’t say whether coffee is the reason.
One reason for doubt is that people often drink less coffee once they feel unwell. In the Swedish study, people who already had AFib at the start drank less coffee than everyone else. That can make coffee drinkers look healthier than they are.
Genetic studies are less affected by this problem. Some people carry genes that make them drink more coffee, which they didn’t choose. If coffee protected against AFib, those people should have less of it. Two genetic studies found no clear effect either way, though they have limits too.
Sources: Kim et al., 2021, Cao et al., 2022, Larsson et al., 2015, Yuan & Larsson, 2019
UK study of 386,258 adults, per extra daily cup
3% lower
Ten studies pooled, 723,825 adults, per extra daily cup
2% lower
Genetic study of 588,190 people, for 50% higher predicted intake
No clear difference
The first two show a link; the genetic study tests whether coffee itself is the cause.
Does coffee make AFib come back?
One trial after cardioversion found it didn’t. AFib or flutter came back in 47 of 100 people asked to drink coffee and 64 of 100 asked to avoid caffeine.
What does this rating mean?
Good studies, but limited in size, design or who took part.
The DECAF trial tested daily coffee after a shock to restore normal rhythm (cardioversion). It included 200 current or past coffee drinkers with persistent AFib, or atrial flutter and a history of AFib. Half were asked to drink at least one cup of caffeinated coffee a day. Half were asked to avoid coffee, including decaf, and all other caffeine. Each group was followed for six months.
AFib or flutter came back in 47 of the 100 coffee drinkers, compared with 64 of the 100 who were asked to avoid caffeine. There was no clear difference in adverse events, emergency visits or hospital stays, but the trial was too small to settle uncommon risks.
The trial has real limits. It was small and lasted six months. Everyone knew which group they were in. Not everyone stuck to their group: only 69% of those asked to avoid coffee drank none at all. It studied people after cardioversion; the researchers say AFib that comes and goes may not respond the same way.
One thing doesn’t explain the result away: the coffee group wore more heart monitors, which should have found more of their AFib, not less. The trial hasn’t yet been repeated by another team.
In a separate Swiss study of 3,835 people with AFib, those who drank coffee every day had fewer serious heart problems over about five years than those who didn’t drink it daily. They chose how much to drink, so this shows a link, not proof.
Sources: Wong et al., 2026 (DECAF), Iten et al., 2024
Cups of coffee a week, during the trial
Asked to drink coffee: 7 (about one a day)
Asked to avoid caffeine: 0
People with AFib or flutter, just after cardioversion. Coffee amounts are medians.
Could caffeine be a trigger for me, even if it isn’t for most people?
No one can say yet. When people tested caffeine on themselves, it wasn’t linked to more AFib, but studies can’t rule out a few people who react.
What does this rating mean?
Not studied well enough to say.
Many people with AFib believe coffee sets off their episodes. In a survey of 1,295 people with AFib that comes and goes, caffeine was the second most often named trigger, after alcohol.
When people tested it, the belief didn’t hold up on average. In the I-STOP-AFib trial, people chose a trigger to test on themselves, then had it or avoided it in weeks assigned at random. Caffeine was the trigger chosen most often, and it wasn’t linked to more AFib. Alcohol was the only trigger linked to more self-reported AFib when researchers analysed what people actually consumed; the comparison based on assigned weeks was inconclusive.
That still leaves room for a few people who do react. People who were sure coffee was their trigger may have stayed out of DECAF: the researchers noted that many people who declined believed coffee worsened their AFib, and only 13 of the 200 who took part said coffee had ever set it off. The researchers wrote that “it remains possible that some select individuals are truly triggered by coffee.” In their trial, the benefit of coffee was clearest in people who had never noticed it as a trigger, but the groups were too small to show a real difference.
A pattern you notice in your own life can come from many things that happen alongside coffee, like stress, poor sleep or a late night. In I-STOP-AFib, testing one trigger properly took six weeks of planned on and off periods.
Sources: Groh et al., 2019, Marcus et al., 2022 (I-STOP-AFib), Wong et al., 2026 (DECAF)
Does coffee cause extra or skipped heartbeats?
In healthy adults, coffee days brought more extra beats from the lower chambers. There was no clear rise in upper-chamber extra beats, the kind linked to AFib.
What does this rating mean?
Good studies, but limited in size, design or who took part.
Extra beats are early heartbeats that can feel like a skip or a thump. Those starting in the upper chambers (premature atrial contractions) are linked to a higher chance of developing AFib later. Those starting in the lower chambers (premature ventricular contractions) are a different thing.
In the CRAVE trial, 100 healthy adults were told at random, day by day, whether to drink coffee, while wearing a heart monitor for two weeks. Coffee days didn’t bring significantly more upper-chamber extra beats: about 58 a day, against 53. They did bring more lower-chamber ones: about 154 a day, against 102, or roughly two more an hour. That rise appeared in people who drank more than one coffee a day.
The researchers called these results a starting point for more research, not a firm answer. Nobody in the trial had AFib, so it can’t say what coffee does to extra beats in people who do. In a study of 1,388 older adults who wore a 24-hour monitor, how much caffeine people usually had wasn’t linked to either kind of extra beat.
Sources: Marcus et al., 2023 (CRAVE), Dixit et al., 2016, Dewland et al., 2013
Upper chambers (linked to AFib)
Not a significant difference
Lower chambers
Bars share one scale, from 0 to 160 beats a day. 100 healthy adults without AFib.
Does the amount matter?
Studies of people without AFib saw no extra risk even at several cups a day. The trial in people with AFib tested about one cup a day.
What does this rating mean?
Good studies, but limited in size, design or who took part.
In studies of people without AFib, risk didn’t rise even at five or more cups a day. The trial in people with AFib tested about one cup a day, so it can’t say much about drinking much more coffee.
A “cup” in DECAF was a standard cup of about 240 mL, smaller than many café sizes. The amount of caffeine also varies a lot from one coffee to the next.
Sources: Larsson et al., 2015, Cao et al., 2022, Wong et al., 2026 (DECAF), Marcus et al., 2023 (CRAVE)
What about energy drinks, caffeine pills or very large amounts?
Too little is known. AFib after energy drinks appears only in a handful of case reports, and the coffee results don’t carry over.
What does this rating mean?
Not studied well enough to say.
Energy drinks have their own, much thinner evidence. A review of 32 published reports of heart problems after energy drinks found a few cases of AFib, mostly in young men after large amounts, sometimes with alcohol. Case reports can’t show what caused something, or how often it happens.
In a small trial, 34 healthy young adults drank about a litre of energy drink or a placebo drink. The energy drinks raised blood pressure and slightly changed the heart’s electrical timing on an ECG. These trials were too small and brief to establish the risk of AFib.
The DECAF researchers warned against applying their coffee results to high doses of caffeine or to energy drinks, which contain other ingredients. In Canada, an energy drink can have no more than 180 mg of caffeine per serving and must carry a “high caffeine content” warning.
Sources: Cao et al., 2021, Shah et al., 2019, Wong et al., 2026 (DECAF), Health Canada, energy drinks
Is decaf or tea any different?
Too few studies separate them to say. The trial in people with AFib didn’t test decaf.
What does this rating mean?
Not studied well enough to say.
In the UK Biobank, people who drank ground or instant coffee developed AFib less often than people who drank no coffee. For decaf drinkers, there was no clear link with AFib or with heart rhythm problems overall. These were people’s own choices, so the study can’t show that one type of coffee is better.
Few studies look at tea on its own. The Danish study counted caffeine from tea, cola and chocolate as well as coffee, and found no link with AFib. The DECAF trial asked one group to avoid all coffee, including decaf, as well as other caffeine sources such as tea, so it can’t say which part of coffee made the difference.
Sources: Chieng et al., 2022, Frost & Vestergaard, 2005, Wong et al., 2026 (DECAF)
Do my genes change how caffeine affects AFib?
Not as far as studies can tell. Studies found no clear difference in AFib risk linked to how fast people clear caffeine.
What does this rating mean?
Good studies, but limited in size, design or who took part.
People clear caffeine at different speeds, partly because of their genes. In the UK Biobank, the link between coffee and AFib was the same whatever those genes were. A genetic analysis in the same study found no clear effect of caffeine on AFib.
In the CRAVE trial, genes made some difference to other effects of coffee: faster processors appeared to have more lower-chamber extra beats, and slower processors appeared to lose more sleep. The researchers found no consistent pattern overall.
Sources: Kim et al., 2021, Yuan & Larsson, 2019, Marcus et al., 2023 (CRAVE)
Does coffee affect sleep, and does that matter for AFib?
In a trial, coffee days meant about half an hour less sleep. That trial didn’t test whether the lost sleep affects AFib.
What does this rating mean?
Good studies, but limited in size, design or who took part.
In the CRAVE trial, people slept about 397 minutes on nights after coffee days, against 432 minutes after no-coffee days: about 36 minutes less. Sleep was measured with a Fitbit, which isn’t as accurate as a sleep lab.
Poor sleep and sleep apnea are linked to AFib, but CRAVE didn’t test whether sleep lost to coffee changes AFib. Our sleep and AFib page covers what is known about sleep itself.
Source: Marcus et al., 2023 (CRAVE)
Bars share one scale, from 0 to 500 minutes. Measured with a Fitbit, in 81 people.
How much caffeine is in a cup?
These are Health Canada’s averages. Real drinks vary a lot, especially coffee from cafés.
Health Canada suggests healthy adults have no more than 400 mg of caffeine a day, and 300 mg when planning a pregnancy, during pregnancy or while breastfeeding. Those are general limits for those groups, not limits worked out for AFib. 400 mg is about three cups of brewed coffee by these averages.
Sources: Health Canada, Health Canada, energy drinks
- Brewed coffee, 237 mL
- 135 mg
- Instant coffee, 237 mL
- 76–106 mg
- Black or green tea, 237 mL
- 30–50 mg
- Regular cola, 355 mL can
- 36–46 mg
- Energy drink, per serving
- up to 180 mg
What the guidelines say
- United States (2023): recommending that people with AFib give up caffeine to prevent episodes is “of no benefit”, although it may ease symptoms for people who say caffeine sets them off. This was written before the DECAF trial. (Joglar et al., 2023)
- Canada (2020): the guideline’s chapter on risk factors doesn’t mention caffeine. A new Canadian guideline is expected in 2026–2027. (Andrade et al., 2020, Canadian Cardiovascular Society)
Questions for your next appointment
Print them, or copy them into your notes.
- I’ve been avoiding coffee because of my AFib. Is that still what you’d suggest for me?
- I think coffee sets off my episodes. How could we check whether it really does?
- Do any of my medicines change how my body handles caffeine?
- I have a heart stress test coming up. Do I need to avoid caffeine before it?
- Are energy drinks or pre-workout products a concern with my heart?
Caffeine and your own record
Evenbeat, coming to iPhone, shows alcoholic drinks you log in Apple Health. You can also log drinks in Evenbeat; with your permission, they’re saved to Apple Health and shown in your day. It doesn’t read caffeine for now: on average caffeine isn’t a trigger, and putting every coffee beside every episode could suggest a link that isn’t there. If you think coffee affects you, you can add a note to that day and bring your notes and ECGs to your care team.
How this page was made
I’m Josh. I live with AFib and I build Evenbeat. I’m not a doctor. I research these pages with help from AI tools, then check every number against the original study. A clinician hasn’t reviewed this page yet; when one does, their name will be here.
This is general information, not medical advice. Found a mistake or a newer study? Write to support@evenbeat.app. How these pages are written
First published · Updated
Changes to this page
- : Updated the Evenbeat example: alcohol import and logging drinks to Apple Health with permission are now implemented. Research findings and evidence-check dates are unchanged.
- : Corrected the DECAF population and combined AFib-or-flutter outcome, the I-STOP trigger-testing sample, and the genetic-study chart’s intake comparison. Corrected the decaf claim and clarified uncertain results and the Swiss study’s comparison group. Updated the Health Canada link and distinguished planned alcohol import from current features.
The studies behind this page
Grouped by question. Each title opens the original.
Developing AFib 5 studies
Kim et al., 2021
386,258 adults in the UK Biobank, followed for an average of 4.5 years; 12,811 developed AFib or flutter. The article was later corrected; these figures are from the corrected version.
Coffee Consumption and Incident Tachyarrhythmias: Reported Behavior, Mendelian Randomization, and Their Interactions. JAMA Internal Medicine, 2021;181(9):1185–1193.
Cao et al., 2022
A review pooling 10 long-term studies of 723,825 people without AFib, 30,169 of whom developed it. About half the people came from the UK Biobank.
Association of Coffee Consumption With Atrial Fibrillation Risk: An Updated Dose–Response Meta-Analysis of Prospective Studies. Frontiers in Cardiovascular Medicine, 2022;9:894664.
Larsson et al., 2015
76,475 Swedish men and women followed for 12 years; 7,041 developed AFib.
Coffee consumption is not associated with increased risk of atrial fibrillation: results from two prospective cohorts and a meta-analysis. BMC Medicine, 2015;13:207.
Frost & Vestergaard, 2005
47,949 Danish adults followed for about 6 years. It counted caffeine from coffee, tea, cola, cocoa and chocolate.
Caffeine and risk of atrial fibrillation or flutter: the Danish Diet, Cancer, and Health Study. American Journal of Clinical Nutrition, 2005;81(3):578–582.
Sehrawat et al., 2023
A US study of people from several ethnic backgrounds. It adjusted for six other factors, fewer than the studies above.
Association Between Coffee Consumption and Incident Atrial Fibrillation (from the Multi-Ethnic Study of Atherosclerosis [MESA]). American Journal of Cardiology, 2023;186:5–10.
Genes and caffeine 1 study
Yuan & Larsson, 2019
Used genes linked to drinking more coffee, in genetic data from 588,190 people, to test whether coffee itself changes the risk of AFib.
No association between coffee consumption and risk of atrial fibrillation: A Mendelian randomization study. Nutrition, Metabolism and Cardiovascular Diseases, 2019;29(11):1185–1188.
AFib coming back 2 studies
Wong et al., 2026 (DECAF)
A randomized trial of 200 current or past coffee drinkers with persistent AFib, or flutter and a history of AFib, just after cardioversion, at five hospitals in the US, Australia and Canada (Sunnybrook in Toronto). Average age 69; 71% men. Not blinded.
Caffeinated Coffee Consumption or Abstinence to Reduce Atrial Fibrillation: The DECAF Randomized Clinical Trial. JAMA, 2026;335(4):317–325.
Iten et al., 2024
3,835 people with AFib in two Swiss studies, followed for a median of 4.7 years. People chose how much coffee to drink.
Coffee consumption and adverse cardiovascular events in patients with atrial fibrillation. BMC Medicine, 2024;22:593.
Personal triggers 2 studies
Groh et al., 2019
An online survey of 1,295 people with AFib that comes and goes, recruited through the Health eHeart Study and StopAfib.org.
Patient-reported triggers of paroxysmal atrial fibrillation. Heart Rhythm, 2019;16(7):996–1002.
Marcus et al., 2022 (I-STOP-AFib)
A US-based online trial comparing trigger testing with monitoring alone in people with AFib that comes and goes. Across all study periods, 326 people tested triggers. AFib was self-reported; phone ECGs were also used in the first period.
Individualized Studies of Triggers of Paroxysmal Atrial Fibrillation: The I-STOP-AFib Randomized Clinical Trial. JAMA Cardiology, 2022;7(2):167–174.
Extra beats and sleep 3 studies
Marcus et al., 2023 (CRAVE)
100 healthy adults in San Francisco, average age 39, with no history of AFib, were told at random each day whether to drink coffee, for two weeks, while wearing a heart monitor and a Fitbit. Not blinded.
Acute Effects of Coffee Consumption on Health among Ambulatory Adults. New England Journal of Medicine, 2023;388(12):1092–1100.
Dixit et al., 2016
1,388 US adults aged 65 and over, most without AFib, who wore a 24-hour heart monitor and described their usual coffee, tea and chocolate.
Consumption of Caffeinated Products and Cardiac Ectopy. Journal of the American Heart Association, 2016;5(1):e002503.
Dewland et al., 2013
US adults aged 65 and over without AFib, who wore a 24-hour heart monitor and were followed for a median of 13 years.
Atrial ectopy as a predictor of incident atrial fibrillation: a cohort study. Annals of Internal Medicine, 2013;159(11):721–728.
Decaf and tea 1 study
Chieng et al., 2022
449,563 adults in the UK Biobank, followed for a median of 12.5 years, grouped by whether they drank ground, instant or decaf coffee.
The impact of coffee subtypes on incident cardiovascular disease, arrhythmias, and mortality: long-term outcomes from the UK Biobank. European Journal of Preventive Cardiology, 2022;29(17):2240–2249.
Energy drinks 2 studies
Cao et al., 2021
A review of 32 published case reports of heart problems after energy drinks, mostly in young men.
Energy Drink-Associated Electrophysiological and Ischemic Abnormalities: A Narrative Review. Frontiers in Cardiovascular Medicine, 2021;8:679105.
Shah et al., 2019
A small randomized trial in 34 healthy young adults, who drank about a litre of energy drink or a placebo drink.
Impact of High Volume Energy Drink Consumption on Electrocardiographic and Blood Pressure Parameters: A Randomized Trial. Journal of the American Heart Association, 2019;8(11):e011318.
Guidelines and caffeine amounts 5 studies
Joglar et al., 2023
The US AFib guideline. Section 5.2.5 covers caffeine. It was written before the DECAF trial.
2023 ACC/AHA/ACCP/HRS Guideline for the Diagnosis and Management of Atrial Fibrillation. Circulation, 2024;149(1):e1–e156.
Andrade et al., 2020
Canada’s AFib guideline. The link opens chapter 6, on risk factors, which doesn’t mention caffeine.
The 2020 Canadian Cardiovascular Society/Canadian Heart Rhythm Society Comprehensive Guidelines for the Management of Atrial Fibrillation. Canadian Journal of Cardiology, 2020;36(12):1847–1948.
Canadian Cardiovascular Society
Lists a new Canadian AFib guideline, expected in 2026–2027. Checked October 23, 2026.
Guidelines and Clinical Practice Updates in Development. Canadian Cardiovascular Society, 2026.
Health Canada
Health Canada’s average caffeine amounts for common drinks, and its suggested daily maximums for the general population.
Caffeine in Foods. Government of Canada, 2025.
Health Canada, energy drinks
Canada’s rules for energy drinks, including the limit on caffeine per serving and the warning labels.
Caffeinated energy drinks. Government of Canada, 2024.

