This is a fictional, illustrative case created for education. It is not medical advice, diagnosis, or treatment, and does not describe a real person.
He could drink coffee at 9pm and fall asleep. That was the problem.
Derek, 41: he thought caffeine did not affect him because he could fall asleep after coffee. His results showed the opposite problem: he could not feel the damage it was doing to sleep.
Persona
Derek, 41, Male, White European, Software engineer.
For the past year he wakes between 2 and 4am with his brain racing. He falls asleep easily, but his sleep is broken, his afternoon energy crashes, and his anxiety is higher than usual.
Family history: Father: type 2 diabetes. No family history of sleep disorders.
Clinical picture
Symptoms
- Wakes between 2 and 4am most nights, brain racing — falls asleep again after 30–60 minutes
- Afternoon energy crash, typically 2–4pm, most days
- Elevated anxiety over the past year — background tension rather than panic
- Drinks 3–4 cups of coffee per day, last cup typically around 3–4pm
Labs
- Morning cortisol (stress hormone measured in the blood): 19 mcg/dL (6–18 mcg/dL)
- Sleep tracker deep sleep percentage: 8% (15–25% of total sleep)
Medications
- No prescription medications
Supplements
- None
Lifestyle
- Coffee: 3–4 cups per day, first at 7am, last typically at 3–4pm
- Sleep: 7.5 hours in bed, falls asleep within 10 minutes, wakes 2–4am and lies awake 30–60 minutes
- Exercise: gym 2x/week (evenings), sedentary desk job otherwise
- Diet: regular meals, moderate sugar, no major dietary restrictions
- Alcohol: 3–5 drinks per week, mostly weekends
- Non-smoker
Genetics
- CYP1A2 Slow metabolizer variant (AA (two slow copies)): Derek clears caffeine slowly, so an afternoon coffee can still be active after he has gone to bed.
- ADORA2A Reduced adenosine sensitivity variant (TT (two copies of the variant)): Derek's brain does not feel much of caffeine's alerting effect, but the sleep-disrupting effects can still happen.
Twenty years of the wrong clue
Derek has drunk 3–4 coffees a day since college. He learned early that he could drink espresso after dinner and still fall asleep within an hour. That became the proof that caffeine did not affect him. So when the 3am waking started, then the afternoon crashes, then the background anxiety, coffee did not seem like a suspect. It felt like the one thing he already understood.
Feeling fine was not proof
Caffeine can affect the body in more than one way. It can block sleepiness signals, and it can raise stress hormones. Those effects do not always feel the same. A person can miss the 'wired' feeling and still have caffeine circulating, raising cortisol, and lowering sleep quality. Derek's main clue was misleading: falling asleep easily did not mean the caffeine was gone.
His afternoon coffee was still there at midnight
The issue was not bedtime coffee. It was afternoon caffeine that never cleared. Derek's CYP1A2 result means he metabolizes caffeine slowly, so a 3pm coffee can still leave a meaningful amount in his system at midnight. That leftover caffeine can keep cortisol higher than it should be and reduce deep sleep, even if he falls asleep fast. His tracker showing 8% deep sleep fits that pattern.
He missed the warning signal
Derek's ADORA2A result explains why he never felt wired. His brain is less sensitive to caffeine's alerting signal, so he can drink coffee without noticing much. But that does not protect his sleep. The cortisol and deep-sleep effects can still happen, especially when CYP1A2 keeps caffeine around for hours. His 'immunity' was not immunity. It was a missing warning light.
Five things to try or discuss
- Move the caffeine cutoff to noon. For a slow metabolizer, the usual 'no coffee after 2pm' rule may be too late.
- Reduce to 1–2 cups in the morning only. Lower volume means a lower total caffeine and cortisol load.
- Consider a 14-day caffeine-free trial to find his true baseline. Withdrawal can cause headaches, fatigue, and low mood in the first few days, but the comparison can be useful.
- Support cortisol rhythm with morning exercise, consistent wake times, and less screen or news exposure in the 30 minutes before bed.
- Recheck morning cortisol after about 6 weeks without afternoon caffeine. That gives him and his family doctor a concrete data point.
Derek's 14-day caffeine experiment
Sleep quality, energy & anxiety. Derek cut afternoon caffeine on day 1, dropped to one morning coffee on day 5, and went fully caffeine-free on day 10. The first few days were rough, but the sleep improvement from day 9 onward showed his 'caffeine immunity' was the wrong story.
- Day 1: Cut afternoon coffee. No obvious difference yet.
- Day 2: Headache started mid-afternoon. Woke at 3am again.
- Day 3: Worst day so far. Headache, low energy, irritable. Classic withdrawal.
- Day 4: Headache easing off. Still woke in the night but only briefly.
- Day 5: Down to one coffee at 8am. Morning was fine — did not miss the afternoon one as much as expected.
- Day 6: Slept until 4am before waking — an hour longer than usual.
- Day 7: Afternoon crash less severe. Background tension lower than it has been.
- Day 8: Bit of a dip today. Stressful work deadline — woke briefly at 2am.
- Day 9: Slept through until 5:30am. That has not happened in months.
- Day 10: Fully caffeine-free today. Surprisingly not as bad as expected.
- Day 11: Best sleep in a year. Woke feeling like I had actually rested.
- Day 12: The afternoon crash is basically gone. I did not notice it was 3pm.
- Day 13: Slept 7 hours without waking. Anxiety is the lowest it has been all year.
- Day 14: Two weeks in. The 3am waking is gone. I thought this was just getting older. It was caffeine.