When You Drink Coffee May Matter More Than Which Coffee
A cross-sectional survey of nearly 1,500 Saudi youth found that when you drink coffee matters more for sleep than which coffee you choose. Evening and night-time coffee was a strong independent predictor of a post-midnight bedtime, roughly tripling the odds, suggesting timing changes may beat switching your brew.
There's a special coziness to a coffee ritual — the warm cup, the little pause, the pick-me-up. But if you've ever wondered whether your afternoon or evening habit is quietly sabotaging your sleep, a study of nearly 1,500 young adults suggests the timing of your coffee may matter more than the kind you choose.
What the researchers wanted to know
The researchers set out to examine coffee consumption patterns and how they relate to sleep quality among Saudi youth. More specifically, they wanted to identify the independent predictors of poor sleep outcomes — the factors that hold up as meaningful even after other influences are accounted for. Rather than lumping "coffee" together as one thing, they broke it into pieces: the type of coffee, the timing of consumption, and whether people stopped drinking it before bed.
The question underneath it all was practical. If we want to help young people sleep better, is it more useful to tell them what to drink, or when to drink it?
How they studied it
This was a cross-sectional study, meaning it captured a snapshot of people at a single point in time rather than following them for months. The researchers surveyed 1,458 consenting Saudi youth, aged 16 to 30, using an online questionnaire adapted from the Pittsburgh Sleep Quality Index, a well-known tool for assessing sleep. The sample skewed female (about 69%) and young, with most participants between 18 and 22.
To analyze the data, they used chi-square tests to look for associations between coffee patterns — type, timing, and pre-bedtime cessation — and sleep variables. Then they ran binary logistic regression to identify independent predictors of a late bedtime, defined here as falling asleep after midnight, while adjusting for demographic factors. That regression step is what lets researchers say a factor matters on its own, rather than just riding along with something else.
What they found
One pattern stood out sharply: evening and night-time coffee consumption was a strong independent predictor of sleeping after midnight. In the study's numbers, people who drank coffee in the evening or at night had roughly three times the odds of a post-midnight bedtime, and that link held up even after adjusting for other factors.
The bigger-picture conclusion is the one worth remembering. The researchers found that the temporal aspects of coffee — that is, when you drink it — showed stronger and more consistent associations with sleep quality than the type of coffee people chose. Evening coffee, in particular, emerged as an independent risk factor for delayed sleep timing. Their suggestion followed naturally: strategic timing interventions may be more effective than content-based restrictions for improving sleep health.
“You might not need to trade your favorite brew for a milder one — this study suggests the hour on the clock mattered more for sleep than what was in the cup.”
What this means for you
If you're a coffee lover who also wants better sleep, this study offers an oddly forgiving message. You may not have to agonize over switching to a different roast or a fancier low-caffeine option. According to this research, the clock might matter more than the cup. The consistent thread was timing — and evening and night coffee especially was tied to drifting off after midnight.
That points to a simple, low-effort experiment you can try: keep the coffee you love, but pull your last cup earlier in the day and see whether your bedtime creeps earlier too. The researchers themselves lean toward timing-based strategies over restricting what people drink, which is welcome news if giving up your favorite brew felt like a dealbreaker. As always, this is general wellness information rather than medical advice, and everyone's sensitivity to caffeine differs — but tweaking timing is a gentle, reversible thing to test.
There's a certain relief in a finding like this. So much health advice asks you to give things up entirely, which is a big ask for a ritual you genuinely love. Here, the researchers' own conclusion leaned toward strategic timing over content-based restrictions — a reframing from "stop drinking that" to "maybe just move it earlier." For young adults especially, whose late-night study sessions and social lives can push coffee into the evening, that small shift in when the cup lands might be far easier to sustain than swearing off it altogether.
The honest caveats
The most important limit is baked into the design: this was a cross-sectional, snapshot study. It can show that evening coffee and late bedtimes travel together, but it can't prove that the coffee causes the late nights. It's conceivable that night owls simply drink more evening coffee because they're up anyway, rather than the coffee pushing them past midnight.
The data also came from self-reported online questionnaires, which rely on people accurately recalling and describing their habits. And the sample was specific — Saudi youth, mostly young and mostly female — so the findings may not map neatly onto older adults or other populations. Take the practical tip about timing as reasonable and easy to try, while remembering that a snapshot survey is a starting point, not the final word.
- ✓In a survey of 1,458 Saudi youth, evening and night-time coffee was a strong independent predictor of falling asleep after midnight.
- ✓When people drank coffee showed stronger, more consistent links to sleep than which type of coffee they chose.
- ✓It's a snapshot study that can't prove cause, but nudging your last cup earlier is a gentle, reversible thing to test for yourself.
Frequently asked questions
Does the type of coffee or the timing matter more for sleep?
The researchers found that the temporal aspects of coffee, that is, when you drink it, showed stronger and more consistent associations with sleep quality than the type of coffee people chose. Evening coffee in particular emerged as an independent risk factor for delayed sleep timing, and they suggested strategic timing interventions may be more effective than content-based restrictions.
How much does evening coffee delay bedtime?
In the study's numbers, people who drank coffee in the evening or at night had roughly three times the odds of a post-midnight bedtime, defined as falling asleep after midnight. That link held up even after adjusting for other factors using binary logistic regression, making evening and night coffee a strong independent predictor of delayed sleep.
Who took part in the study?
The researchers surveyed 1,458 consenting Saudi youth aged 16 to 30 using an online questionnaire adapted from the Pittsburgh Sleep Quality Index. The sample skewed female, about 69%, and young, with most participants between 18 and 22. Because it was cross-sectional, it captured a snapshot at a single point in time rather than following people over months.
Coffee consumption patterns and sleep quality among Saudi Youth: A cross-sectional study
Read the full studyThis is a plain-English summary reviewed by Jillian Schafer. It is educational, not medical advice.
Turn the science into a daily habit
Selfpause helps you build a simple, research-backed practice — affirmations in your own voice, guided sessions, and more.
Get Selfpause FreeOne study, explained simply — weekly
Join the Selfpause newsletter for a research-backed idea you can actually use.