Key takeaways:
Most people with atrial fibrillation (AFib) can safely enjoy coffee in moderation.
Coffee doesn’t usually trigger AFib — and it might even lower your risk.
Unlike coffee and tea, energy drinks and sodas can increase your risk of atrial fibrillation
For years, health professionals have warned people with atrial fibrillation (AFib) to avoid caffeine. Since caffeine is a stimulant, it seemed reasonable to think that it might make AFib worse.
But over 20 years of medical research tells a different story. In fact, there’s growing evidence that caffeine in moderation might even lower your chances of getting AFib. Here’s what you need to know.
Why are caffeine and AFib even connected?
Many people assume that because caffeine is a stimulant, it must raise your heart rate. This led to the belief that caffeine could trigger AFib. Now we know that’s not correct.
It’s true that like most stimulants, caffeine activates your sympathetic nervous system. In other words, your “fight, flight, or freeze” system is switched on. But it turns out that although caffeine can temporarily raise your blood pressure, it doesn’t usually raise your heart rate. And caffeinated coffee doesn’t usually cause AFib, even in people who drink up to 6 cups per day.
What’s more, in one study, men who drank 1 to 3 cups of coffee every day had a lower risk of AFib compared to men who drank no coffee at all.
Should you avoid caffeine if you have AFib?
Most people with AFib don’t have to avoid caffeinated coffee. A recent study found that people who had been cardioverted (shocked) out of AFib were actually less likely to go back into AFib if they drank a cup of coffee every day.
Although this may seem surprising, it’s consistent with other studies on coffee. Less is known about naturally caffeinated tea, but it also seems to be safe in moderation. However, this doesn’t apply to all drinks that contain caffeine. Energy drinks are a different story, which we’ll discuss below.
How much caffeine is safe if you have atrial fibrillation?
As a general rule, it’s best to limit caffeine to 300 mg daily. Some people can drink twice that amount with no problem, and others can’t tolerate any caffeine at all. If you have AFib, it’s important to pay attention to your own body and be aware of what triggers your symptoms. If caffeine gives you palpitations, it’s best to avoid it.
Over time, people tend to build up a tolerance to caffeine. That’s why people who drink a lot of coffee become less sensitive to it.
Caffeine content can vary depending on how drinks are made, but here’s a general guide:
Brewed coffee (8 oz): 150 mg
Espresso (1 oz): 50 mg
Black tea (8 oz): 50 mg
Green tea (8 oz): 30 mg
Keep in mind that a cup is 8 oz, but many mugs and to-go drinks are 12 oz or more.
Are there caffeinated drinks you should avoid with AFib?
Although coffee (and black or green tea) are generally safe for people at risk for AFib, energy drinks are different. They can definitely raise your heart rate. And they can also put you at risk for serious heart rhythm problems, including AFib.
The caffeine content in an energy drink is often more than twice that of a cup of coffee. But the risk for AFib is probably related to other stimulants in these products, and not the caffeine alone.
Energy drinks aren’t regulated by the FDA, and ingredient labels may be misleading. Most of the stimulants found in energy drinks — like guarana, taurine, ginseng, and others — haven’t been well studied. Some scientists believe that these stimulants may interact with caffeine in a way that can be risky for the heart.
Sweetened and caffeinated sodas can also raise your risk of getting AFib. This is true whether they are sugar sweetened or artificially sweetened. We don’t yet know whether highly sweetened coffee drinks affect AFib risk, but it makes sense to limit added sugar.
The bottom line
Most people with atrial fibrillation (AFib) can safely enjoy coffee. There’s good evidence that coffee may even help prevent AFib. Although there’s no strict upper limit, it’s usually best to keep your intake to about 3 cups per day or less. Black and green tea also appear to be safe in moderation. But caffeinated energy drinks and sodas may be risky. These beverages have been found to raise the risk for AFib and other heart rhythm problems.
Why trust our experts?


References
American College of Cardiology. (2018). Coffee and tea are safe for patients with abnormal heart rhythm. CardioSmart.
American Heart Association. (2024). Cardioversion.
American Heart Association. (2024). Sweetened drinks linked to atrial fibrillation risk.
Bodar, V., et al. (2019). Coffee consumption and risk of atrial fibrillation in the physicians’ health study. Journal of the American Heart Association.
Corti, R., et al. (2002). Coffee acutely increases sympathetic nerve activity and blood pressure independently of caffeine content: Role of habitual versus nonhabitual drinking. Circulation.
Costantino, A., et al. (2023). The dark side of energy drinks: A comprehensive review of their impact on the human body. Nutrients.
Lara, B., et al. (2019). Time course of tolerance to the performance benefits of caffeine. PLoS One.
Lars, F., et al. (2005). Caffeine and risk of atrial fibrillation or flutter: the Danish Diet, Cancer, and Health Study. The American Journal of Clinical Nutrition.
Mandato, J., et al. (2025). The effects of energy drinks on the cardiovascular system: A systematic review. Current Cardiology Reports.
Martinez, K. A., et al. (2024). Sudden cardiac arrest occurring in temporal proximity to consumption of energy drinks. Heart Rhythm.
Mattioli, V. A., et al. (2018). Energy drinks and atrial fibrillation in young adults. Clinical Nutrition.
Mendpara, V., et al. (2023). Is coffee and tea a threat or ally to cardiovascular health? Cureus.
Pincomb, G. A., et al. (1985). Effects of caffeine on vascular resistance, cardiac output and myocardial contractility in young men. The American Journal of Cardiology.
Voskoboinik, A., et al. (2018). Caffeine and arrhythmias: Time to grind the data. JACC: Clinical Electrophysiology.
Walia, R., et al. (2024). Excess of high-caffeinated energy drinks causing ventricular arrhythmias. Journal of Family Medicine and Primary Care.
Wong, C. X., et al. (2025). Caffeinated coffee consumption or abstinence to reduce atrial fibrillation: The DECAF randomized clinical trial. JAMA.












