The large observational study included data from over 40,000 U.S. adults.
Drinking coffee later in the day can affect sleep duration and quality.
The new study highlights that drinking coffee in the afternoon can disrupt circadian rhythms, which reducesmelatoninproduction.

Guido Mieth / Getty Images
Research suggests that low levels ofmelatoninand disrupted sleep may increase heart disease risk.
However, since the study included decaffeinated coffee, caffeine content alone does not fully explain the findings.
Chan School of Public Health and co-author of the study, told Verywell in an email.
Coffees anti-inflammatory properties may have a stronger effect when consumed in the morning.
Should You Only Drink Coffee in the Morning?
If youre not a coffee drinker, you dont have to start drinking coffee because of this study.
Cause and effect has not been established.
Evening or all-day coffee drinkers may gain more benefits by switching to a morning-only habit, Judd said.
Published online January 8, 2025. doi:10.1093/eurheartj/ehae871
Harvard T.H.
Chan School of Public Health.Coffee.
Statista.How frequently do you drink coffee?.
Samoggia A, Riedel B.Consumers perceptions of coffee health benefits and motives for coffee consumption and purchasing.Nutrients.
2023;69:101764. doi:10.1016/j.smrv.2023.101764
Covassin N, Somers VK.Sleep, melatonin, and cardiovascular disease.Lancet Neurol.
2018;14(01):109-117. doi:10.5664/jcsm.6894
American Heart Association.Added sugars.