When it comes to whether drinking coffee affects your health, when you consume it may matter, a new study suggests. Credit: PeopleImages/iStockphoto / Getty Images via CNN Newsource

(CNN) โ€”ย Drinking coffee hasย repeatedly been linkedย with better heart health and prolonged life. But the benefits of coffee consumption could depend on whenย you drink it, new research has found.

Limiting coffee intake to the morning, it turns out, may be best โ€” and that seems to be regardless of the amount consumed and other potentially influential factors, according toย a study published Tuesdayย in the European Heart Journal.

โ€œThis is the first study testing coffee drinking timing patterns and health outcomes,โ€ said lead author Dr. Lu Qi, HCA Regents Distinguished Chair and professor at Tulane Universityโ€™s Celia Scott Weatherhead School of Public Health and Tropical Medicine in New Orleans,ย in a news release. โ€œWe donโ€™t typically give advice about timing in our dietary guidance, but perhaps we should be thinking about this in the future.โ€

Most past research investigating participantsโ€™ coffee intake over time have found moderate levels of coffee consumption may be associated with lower risks of type 2 diabetes, cardiovascular diseases and premature death, according to the latest study. But scientific evidence of whether factors such as genetics, amount consumed or added sweeteners affect these relationships has been inconsistent or, at times, controversial, the authors said.

The authors studied the dietary and health data of 40,725 adults age 18 and older from theย National Health and Nutrition Examination Surveyย conducted from 1999 to 2018. During 10 cycles over the years, those participants provided details of their dietary intake from the previous day. The authors also included a subgroup of 1,463 adults, from both the womenโ€™s and menโ€™s versions of the Lifestyle Validation Study, who had completed at least one weeklong dietary record.

Both caffeinated and decaffeinated coffee were included, and timing was categorized in three periods: morning (from 4 a.m. to 11:59 a.m.), afternoon (from 12 p.m. to 4:59 p.m.) and evening (from 5 p.m. to 3:59 a.m.).

The researchers identified two patterns of timing of consumption: morning and all day. By the end of the median follow-up period of nearly 10 years, there were 4,295 deaths from all causes, 1,268 from cardiovascular disease and 934 from cancer.

Compared with people who werenโ€™t coffee drinkers, having coffee only in the morning was associated with a 16% lower risk of premature death from any cause and a 31% lower risk of dying from cardiovascular disease. Those who tended to drink coffee all day didnโ€™t have a reduction in risk. These findings remained even after the authors took into account confounders such as sleep hours, age, race, ethnicity, sex, family income, education, physical activity levels, a dietary score, and health conditions such as diabetes, hypertension and high cholesterol.

For morning coffee drinkers, the amount of caffeinated or decaffeinated coffee consumed didnโ€™t matter, either โ€” whether they drank less than one or more than three cups of coffee daily. Having done so in the morning was still better than other patterns in terms of mortality risk.

โ€œThe study was observational, meaning that it wasnโ€™t an experiment setting, (which) is the gold standard,โ€ said Vanessa King, a registered dietitian nutritionist and spokesperson for the Academy of Nutrition and Dietetics who wasnโ€™t involved in the study, via email.

The nature of the study also means it only establishes an association, not a causal relationship between morning coffee drinking and early death risk. But the findings are โ€œmeaningful as theย leading cause of deathย in America is cardiovascular diseases,โ€ King added.

Why timing could matter

Dr. David Kao, who wasnโ€™t involved in the research, found the study to be โ€œfascinatingโ€ and one of the best investigations on this topic in years, he said.

โ€œHighlights include using a machine learning-style method to categorize coffee drinking patterns, and validation of findings in (more than one) external data source which are distinct from the primary source, which greatly reduces the likelihood of an accidental/false positive finding,โ€ Kao, the Jacqueline Marie Schauble Leaffer Endowed Chair in Womenโ€™s Heart Health at the University of Colorado Anschutz, said via email.

However, the study has a few other shortcomings: For one, recollections of dietary intake are subject to inaccuracies or biases, and they donโ€™t account for long-term habits, the authors said.

Secondly, even though the authors considered multiple confounders, itโ€™s possible there were others that couldnโ€™t be completely ruled out, they said.

The team โ€œcould not exclude the possibility that the morning-type coffee drinking pattern is a marker for an overall healthy lifestyle,โ€ according to the study. โ€œFor example, morning-type coffee drinkers may be more willing to exercise and eat non-ultra-processed foods.โ€

Additionally, genetic information wasnโ€™t available, so the authors were unable to examine any possible effect ofย genetically determined caffeineย metabolism rates.

A possible explanation for the findings โ€œis that consuming coffee in the afternoon or evening may disrupt circadian rhythms and levels of hormones such as melatonin,โ€ Qi said. Low levels of melatonin have been linked with higher levels of blood pressure and oxidative stress, and greater cardiovascular disease risk.

Coffee also contains antioxidants that reduce inflammation in the body by neutralizing free radicals that may increase the risk of cardiovascular disease, King said. Free radicals, unstable molecules from environmental sources such as cigarette smoke or pesticides, can harm cells.

Some inflammatory markers in the blood have their own clocks, the authors said, and they are typically highest in the morning โ€” so โ€œthe anti-inflammatory effect of a pattern of coffee consumption concentrated in the morning may be more beneficial than that of a pattern โ€ฆ spread across morning, afternoon and evening.โ€ That applies to both caffeinated and decaf coffee consumption.

Adjusting coffee intake

If you want to start restricting your coffee intake to the morning but are having trouble, consider whether youโ€™re regularly gettingย enough quality rest, King said. Seeing a sleep specialist to find out whether you have a condition, such as sleep apnea, disturbing your rest could also be useful, Kao said.

You can also begin with diluting your daytime servings and accompanying them with water for hydration, King said โ€” which can also help you feel more awake.

READ MORE: 6 ways to wake up without coffee

Getting your thyroid, vitamin D and iron levels tested can help you determine whether exhaustion is stemming from something more serious, said Sue-Ellen Anderson-Haynes, a registered dietitian nutritionist and spokesperson for the Academy of Nutrition and Dietetics.

If you donโ€™t drink coffee and think you could gain from adding it to your routine, first โ€œlook at the bigger picture,โ€ said Anderson-Haynes, who wasnโ€™t involved in the study. โ€œAre you living an overall physically active, balanced, sustainable and healthy diet and lifestyle?โ€

Until more evidence is provided about when to drink coffee, she added, follow your doctor or dietitianโ€™s recommendation on caffeine intake.