Is Coffee Good for You? What the Biggest Studies Found
Two to three cups a day keeps turning up next to lower death rates in very large studies. What that evidence can and can't tell you, and why the time of your last cup may matter more than the count.
For most of the twentieth century, doctors were wary of coffee. It nudged blood pressure up, it made people jittery, and a string of early studies linked it to heart disease. Many of those studies had a problem they never fully dealt with: in the 1970s and 80s, heavy coffee drinkers were also far more likely to smoke.
Once researchers began separating the two habits, the picture turned around. Coffee is now one of the most studied things people consume every day, and the large studies point the same way. That doesn’t make it medicine. It does mean that if you enjoy a few cups, you probably don’t need to feel bad about it.
What the Large Studies Found
In 2017, researchers at the universities of Southampton and Edinburgh gathered more than 200 meta-analyses on coffee into a single umbrella review. Across dozens of outcomes, coffee was linked with benefit far more often than with harm. The biggest drop in the risk of dying from any cause appeared at around three to four cups a day, and coffee drinkers also had lower rates of liver disease, type 2 diabetes and several cancers.
Poole, R., Kennedy, O.J., Roderick, P., Fallowfield, J.A., Hayes, P.C. & Parkes, J. (2017). “Coffee consumption and health: umbrella review of meta-analyses of multiple health outcomes.” BMJ, 359, j5024.
A later analysis of nearly 450,000 people in the UK Biobank looked at the kind of coffee they drank. Ground, instant and decaf were all associated with lower mortality and less cardiovascular disease, with the lowest risk at two to three cups a day. The decaf result is worth noticing. It suggests caffeine isn’t the whole story, and that other compounds in the bean may play a part.
Chieng, D. et al. (2022). “The impact of coffee subtypes on incident cardiovascular disease, arrhythmias, and mortality: long-term outcomes from the UK Biobank.” European Journal of Preventive Cardiology, 29(17), 2240-2249.
Sugar is the obvious next question. A 2022 study of about 170,000 UK adults followed for around seven years found lower mortality in people who drank their coffee unsweetened and, to a similar degree, in those who added a modest amount of sugar (about a teaspoon a cup on average). The results for artificially sweetened coffee were less consistent.
Liu, D. et al. (2022). “Association of Sugar-Sweetened, Artificially Sweetened, and Unsweetened Coffee Consumption With All-Cause and Cause-Specific Mortality: A Large Prospective Cohort Study.” Annals of Internal Medicine, 175(7), 909-917.
Why This Isn’t a Reason to Start
All of these findings come from observational data. People who drink two or three cups a day differ from people who drink none in ways that are hard to measure: income, existing health problems, how well they sleep, whether a doctor once told them to cut back. Researchers adjust for what they can, and the results have held up across many cohorts, but an association still isn’t proof that coffee is what lowers the risk. If you don’t drink it and don’t miss it, nothing here says you should take it up.
Some people should treat the averages with more caution. In pregnancy, higher caffeine intake is linked to lower birth weight and pregnancy loss, which is why guidelines suggest staying under about 200 mg a day, roughly two small cups. The 2017 review also flagged a possible link with fractures in women. And if you have an irregular heart rhythm, blood pressure that isn’t under control, or reflux that coffee clearly makes worse, your own doctor’s advice counts for more than any population study.
Timing Matters More Than the Count
For most healthy adults, the practical issue is when you drink it. Caffeine has a half-life of around five hours in a typical adult, and it varies a lot between people, so part of an afternoon cup is still circulating at bedtime. Plenty of people fall asleep fine after an evening espresso and still sleep more lightly than they would have without it. We went through the evidence in our article on caffeine and sleep. A cup at 8 a.m. and a cup at 4 p.m. are, for your night, two quite different things.
If you want to know what coffee does for you rather than for half a million strangers, the test is simple. For two weeks, keep your coffee habits as they are and note when you have your last cup and how you slept. Then move that last cup to before lunch for two more weeks and compare. Most people get a clear enough answer within a month, and it’s usually about the timing rather than the number of cups.
Lamplit’s sleep log is free and quick to fill in: bed time, wake time and how rested you feel, plus a caffeine tag for the nights it applies. After a few weeks you can scroll back through your sleep history and see how the tagged nights compare with the rest. It can’t tell you whether coffee is adding years to your life. No one’s personal data can. It will show you whether that late espresso is costing you sleep.
Log last night’s sleep in Lamplit and tag the caffeine. It’s free and takes less than a minute.
Frequently asked questions
How many cups of coffee a day is healthy?
In large observational studies, the lowest risk of death from any cause shows up at around two to four cups a day, compared with drinking none. That is an association, not proof that coffee causes the benefit, and it doesn't apply in pregnancy, where guidelines suggest staying under about 200 mg of caffeine a day.
Is decaf coffee as good for you as regular coffee?
In a UK Biobank analysis of nearly 450,000 people, decaf, ground and instant coffee were all associated with lower mortality and less cardiovascular disease. That suggests compounds other than caffeine may be involved, though like the rest of the coffee research it comes from observational data.
How late can I drink coffee without hurting my sleep?
Caffeine has a half-life of around five hours in a typical adult, with wide variation between people, so an afternoon cup is still partly active at bedtime. A simple personal test is to move your last cup to before lunch for two weeks and compare your sleep with the two weeks before.
Related Articles
Caffeine and Sleep: Why Timing Matters More Than Quantity
Caffeine doesn't create energy - it hides your brain's sleepiness signal, and it lingers far longer than the buzz. Controlled trials show even a coffee six hours before bed measurably cuts sleep while you barely notice. Here's how to find your personal cut-off without giving up coffee.
Sleep Consistency: Why a Regular Bedtime Beats Extra Hours
In a large accelerometer study, how regularly people slept predicted mortality risk more strongly than how long they slept. Here is why a steady schedule beats extra weekend hours, what social jetlag does to your metabolism, and how to anchor your rhythm in practice.
The Longevity Blueprint: Evidence-Based Habits for a Longer, Healthier Life
From Blue Zones to telomere research, the science of longevity has moved from speculation to actionable data. Build your personal longevity stack with these evidence-based habits.
Lamplit Team
We're a team of wellness enthusiasts, developers, and researchers building tools to help people live healthier, more intentional lives. Every article we write is grounded in peer-reviewed scientific research.