If you have been told to give up coffee because of your Afib, you are far from alone.
For decades, cutting out caffeine was recommended for people with heart rhythm conditions. The thinking was straightforward: caffeine stimulates the heart, so it might provoke abnormal rhythms.
However, research over the past two decades has challenged this assumption, and a recent randomized clinical trial found that avoiding caffeine did not reduce Afib episodes in habitual coffee drinkers. Instead, participants experienced the expected withdrawal symptoms, such as headaches and reduced alertness.
Key takeaways
-
Blanket avoidance of caffeine is not supported by current evidence for most people with Afib: multiple large prospective studies fail to find a harmful association between habitual moderate coffee consumption and Afib risk.
-
The DECAF trial, a randomized crossover study, found that continuing coffee consumption did not increase Afib burden, and that stopping abruptly was associated with a modest increase in episodes.
-
Caffeine blocks adenosine, a molecule that can itself trigger Afib in some people; this partly explains why caffeine is not universally harmful to heart rhythm.
-
Individual sensitivity is real and varies by genetics: some people do experience consistent episode onset with caffeine, and for them, reduction is appropriate. Energy drinks carry a distinct risk profile from moderate coffee consumption and should not be treated as equivalent.
-
The 2024 ESC Guidelines support an individualized approach, not universal restriction.
-
Tracking caffeine intake and timing alongside Afib episodes is the most direct way to determine whether it is a personal trigger for you.
How caffeine acts on the heart
Caffeine works by blocking the effects of adenosine, a naturally occurring molecule that builds up during the day and makes you feel tired. In the heart, adenosine also slows the electrical signals that travel between the upper and lower chambers.
By blocking adenosine, caffeine helps keep you alert, slightly increases heart rate, and reduces this slowing of the heart’s electrical activity. Because of these effects, doctors once suggested that caffeine might increase the risk of abnormal heart rhythms such as Afib. However, research over the past two decades has shown that, for most people, moderate caffeine intake does not increase the risk of developing Afib.
What this reasoning misses is that adenosine itself, at high concentrations, can actually trigger Afib in some people, by directly triggering abnormal electrical firing in tissue around the pulmonary veins. Blocking adenosine may therefore have a neutral or even mildly protective effect on Afib in some people, which helps explain why the population data has consistently failed to support the hypothesis that caffeine triggers Afib on a large-scale.
What large-scale studies show
A systematic review and meta-analysis by Caldeira and colleagues combined data from seven observational studies evaluating 115 993 individuals over years and tracking both coffee habits and whether they developed Afib. The results were unexpected: people who consumed low amounts of caffeine had about a 15% lower risk of developing Afib compared with those who consumed none at all.
This effect was seen across the studies included, though moderate or high intake did not show a clear difference in Afib risk. Similar results appeared in another analysis of cohort studies. That analysis once again suggested that moderate caffeine intake was not associated with increased Afib risk and may be linked to a modest reduction in risk. Neither analysis found evidence that caffeine causes Afib.
The DECAF trial: what the randomized evidence shows
The DECAF trial (Caffeinated Coffee Consumption or Abstinence to Reduce Atrial Fibrillation) used a crossover design, meaning each participant tried both conditions in a random order and acted as their own comparison.
In total, 300 people with paroxysmal Afib who regularly drank coffee were included. They were assigned to either continue their usual coffee intake or stop drinking coffee for four weeks, before switching to the other condition. Throughout the study, their heart rhythms were continuously monitored using a wearable device, providing objective data on Afib episodes rather than relying on symptoms alone.
The results went against older common advice. Continuing coffee did not increase Afib episodes. In fact, stopping coffee was linked to a small increase in Afib during the no-coffee period. People who continued drinking coffee also took more daily steps on average, which may be beneficial since physical activity is known to help reduce Afib risk.
Overall, the researchers concluded that routinely advising people with paroxysmal Afib to avoid coffee is not strongly supported by evidence.
One possible explanation is that suddenly stopping caffeine after long-term use may affect the body. Caffeine withdrawal can influence the autonomic nervous system, which helps control heart rate and other automatic functions, and this may temporarily increase Afib susceptibility. This does not mean caffeine is protective for everyone, but it does suggest that blanket advice to stop caffeine may not be helpful and could even be counterproductive for regular users.
Not all caffeine is created equal
Not all caffeine exposure is the same when it comes to Afib risk. Research shows that the effects can depend on where the caffeine comes from, how much is taken, and the situation it is consumed in. Drinks like coffee, tea, and soft drinks usually contain moderate amounts of caffeine, and they are typically consumed in a gradual way throughout the day. Energy drinks are different because they can contain much higher and more variable doses of caffeine in a single serving, and they are often combined with other stimulating ingredients. These combinations may make the heart more sensitive or easily “stimulated” in some people.
A 2026 review of multiple studies looking at energy drinks and heart health found that they were consistently associated with short-term effects including raised blood pressure, heart rhythm disturbances, and impaired blood vessel function, sometimes within hours of consumption.
The review explains that this is mainly linked to the high amounts of caffeine in energy drinks, but also to other added ingredients like taurine, which can increase the stimulant effect on the body. The risks seem to be higher when people drink strong energy drinks, or when they combine them with alcohol or intense exercise, because all of these can further stimulate the heart.
It also notes that teenagers and young adults are the most affected group, partly because they are more likely to use these drinks during stress (like studying or working) and may not always realise the potential risks.
The reassuring evidence on moderate coffee consumption does not apply to energy drinks. Caution with these products is appropriate regardless of your general caffeine tolerance.
Have you noticed energy drinks affecting your heart more than coffee or tea?
The dehydration caveat
While normal moderate consumption of caffeine has not been linked to dehydration or electrolyte dysbalance, some existing research and case reports show that higher than normal caffeine consumption can have an effect on electrolyte balance. Here caffeine was linked to increased loss of electrolytes such as potassium and sodium through excessive peeing.
As commonly noted, electrolytes and Afib are closely related. Abnormally low levels of electrolytes in blood have been identified as a possible Afib risk factor. So, for individuals with Afib it is especially important to stay within the safe range of caffeine consumption to reduce the risk of dehydration and electrolyte loss.
Individual sensitivity still matters
Population-level evidence cannot tell you what applies to you specifically. Some people with Afib do notice a consistent pattern: they drink coffee, and within hours an episode begins. Have you noticed something like that? For those individuals, caffeine, even at lower doses, may be a personal trigger worth taking seriously, regardless of what the average study shows.
What the guidelines say
The 2024 ESC Guidelines take an individualised approach to lifestyle and risk-factor management in Afib and do not recommend routine avoidance of dietary triggers like caffeine where the evidence is not established.
For those who notice a consistent link between caffeine and their episodes, reducing intake is a reasonable step. For those who do not notice that pattern, restriction is not supported by the available evidence.
How MyAfib fits in
Caffeine is one of the most practical potential Afib trigger to track. You can log the dose, the timing, and the source straightforwardly alongside your Afib episodes. Doing this in MyAfib over a few weeks can help you build a picture of whether a consistent pattern exists for you specifically. Is it coffee in general? A certain amount? A particular time of day? Or only when combined with other factors like poor sleep or alcohol the night before? Large studies can tell you what happens on average. Only your own tracking can tell you what is relevant to you.
As always, remember to speak with your healthcare provider before making any changes to your treatment or routine.