Coffee lovers may have another reason to enjoy their daily brew. A new scientific statement from the American Heart Association suggests that drinking up to five 8-ounce cups of coffee a day appears to be safe for most healthy adults and may even provide several heart health benefits.

Researchers reviewed recent studies examining the effects of caffeine and coffee consumption on cardiovascular health. While earlier research produced mixed results, newer evidence found that regular coffee drinkers may have a lower risk of heart failure, stroke, coronary heart disease, high blood pressure, and Type 2 diabetes.

The report also found that habitual coffee consumption may help reduce the risk of atrial fibrillation, a common heart rhythm disorder. Researchers noted that both caffeinated and decaffeinated coffee were associated with lower overall mortality, suggesting that beneficial compounds in coffee besides caffeine may play an important role.

Not all coffee is created equal, however. The researchers found that paper-filtered coffee and instant coffee appear to be the healthiest options. Unfiltered coffee, such as some French press or boiled coffee, contains higher levels of cafestol, a natural compound that can raise cholesterol levels.

Despite the potential benefits, experts caution that coffee isn’t suitable for everyone. Caffeine can temporarily increase blood pressure, blood sugar levels, and alertness, and some people may experience heart palpitations, anxiety, or trouble sleeping. Individual responses often depend on genetics and overall health.

The researchers also warned that energy drinks are a different story. Unlike coffee, high-caffeine energy drinks have been linked to significant increases in blood pressure, likely because of their concentrated caffeine levels and additional ingredients.

Overall, the findings suggest that moderate coffee consumption can be part of a healthy lifestyle for most people. If you have heart conditions, are pregnant, or are sensitive to caffeine, it’s always best to speak with your healthcare provider about the amount that’s right for you.