Does Coffee Make Your Heart Flutter?

F. Perry Wilson, MD, MSCE


July 21, 2021

This transcript has been edited for clarity.

Welcome to Impact Factor, your weekly dose of commentary on a new medical study. I'm Dr F. Perry Wilson of the Yale School of Medicine.

There's a near truism in dietary science that anything that is too pleasurable is probably not good for you. It holds for ultra-processed foods, refined sugars, alcohol. But there is one stubborn holdout to this trend, one thing you can ingest that provides both pleasure and, in study after study, health benefits. It's sort of a unicorn. I'm speaking, of course, of coffee.

Coffee has come a long way since being falsely implicated in causing stomach ulcers or nervous exhaustion. In fact, newer studies have highlighted that coffee drinking is associated with a decreased risk for cancer, diabetes, even overall mortality. You could almost argue that it's a heath food.

Nevertheless, some guideline-making societies have recommended avoiding coffee to certain individuals because it might promote cardiac arrhythmia.

This is in the medical zeitgeist. Coffee makes your heart race. Coffee gives you palpitations. But does it? Or, more meaningfully, does it have any long-term consequences? This study, appearing this week in JAMA Internal Medicine from Gregory Marcus and his team at UCSF, suggests quite the opposite: Coffee drinking may, in fact, reduce the risk for arrhythmia.

The researchers used data from the UK Biobank — a huge cohort of around 400,000 individuals. As this was a UK cohort, it's almost all White people. And somehow, the most common form of coffee consumed is instant? England, we need to talk.


Okay. At enrollment, individuals were asked a slew of questions, including how much coffee they drank. They were then followed for about 5 years, on average, for the development of a cardiac arrhythmia like atrial fibrillation.

And the results are pretty clear: a dose-dependent protective effect. The more coffee you drink, the less likely you are to be diagnosed with atrial fibrillation.


Now, we need to be really careful with studies like this; they can go wrong in some subtle ways.


For one, arrhythmia was detected based on diagnosis codes. The authors appropriately excluded patients who had a code for arrhythmia before they took the coffee survey. But not every arrhythmia gets coded. It's possible that some people may have noticed their heart racing from time to time and held off on drinking coffee — either out of caution or because it truly made things worse. They then enter the cohort, report not drinking coffee, and sometime later, get the official diagnosis of AF that they actually had all along.

The researchers have a trick up their sleeves, though: genetics. See, it turns out that our genes dictate how fast we metabolize caffeine. The researchers created a polygenic risk score for caffeine metabolism, showing, as you might expect, that fast metabolizers drink a bit more coffee than slow metabolizers.


Regardless of which you were, though, your risk for arrhythmia was the same. The implication here is that there is no non-caffeine substance in coffee that substantially changes your risk for arrhythmia. It doesn't say much about caffeine itself, though, since — coffee being as ubiquitous as it is — we can more or less determine our own caffeine levels regardless of our metabolism rates.

Is it open season on rocket fuel? Not really. This study tells us about diagnosed arrhythmias, not transient arrythmias that might occur in the setting of high caffeine intake. If a patient told me they were getting palpitations after drinking coffee, I'd tell them to stop drinking coffee. But overall, this study provides good reassurance that you're not doing long-term damage by partaking of the one good thing that doesn't seem like it's out to kill you.

F. Perry Wilson, MD, MSCE, is an associate professor of medicine and director of Yale's Clinical and Translational Research Accelerator. His science communication work can be found in the Huffington Post, on NPR, and here on Medscape. He tweets @fperrywilson and hosts a repository of his communication work at

Follow Medscape on Facebook, Twitter, Instagram, and YouTube


Comments on Medscape are moderated and should be professional in tone and on topic. You must declare any conflicts of interest related to your comments and responses. Please see our Commenting Guide for further information. We reserve the right to remove posts at our sole discretion.