Sam makes tea at 9 PM. Not decaf. Real black tea. A bag of English Breakfast steeps in a ceramic mug while she scrolls her phone, and by 9:30 she’s in bed, and by 9:40 she’s asleep. I’ve watched her do this hundreds of times. I’ve timed it once—twelve minutes from lights off to deep breathing.
At 9:40, I’m lying next to her, wide awake, listening to her exhale, my mind racing through the metabolic pathway of caffeine. Not because I want to. Because I can’t stop.
The Half‑Life Tracker is open on my phone under the pillow.
Sam and I share a bed, a cat, a grocery budget, and a last name. We don’t share a caffeine metabolism. She can drink coffee at 6 PM and fall asleep by 10. I can’t drink coffee after noon without sacrificing an hour of deep sleep. We are both normal. We are just genetically different.
The difference is CYP1A2.
That enzyme I mentioned before—the one that dismantles caffeine in your liver—is encoded by your genes. Some people inherit two copies of the “fast” version (A/A). Some inherit one fast and one slow (A/C). Some inherit two slow (C/C). The slow version reduces enzyme activity by about 60-70%.
If you’re A/A, your half‑life might be two to three hours. If you’re C/C, it might be six to eight. That means a 200 mg coffee at 3 PM leaves 100 mg in your system at 5 PM, 50 mg at 7 PM, 25 mg at 9 PM. Enough to keep a slow metabolizer staring at the ceiling.
Sam is probably A/A. I’m probably C/C. We figured this out through a series of accidental experiments.
The Caffeine Calculator can help you guess your type.
Caffeine Calculator
Track your daily caffeine intake against the FDA 400mg limit.
All data stays in your browser — we never see it.
Experiment one: Same coffee, same time, different outcomes. We both drank a single espresso at 8 PM, just to see what would happen. Sam fell asleep at 10:30. I lay awake until 2 AM. At 1 AM, I got up and made a spreadsheet. At 2 AM, I emailed myself notes about CYP1A2 allelic variance. Sam found the email draft the next morning and laughed at me.
Experiment two: Sam drank a cup of coffee at 5 PM for five days straight. She reported no change in sleep latency, no change in sleep quality, no change in morning alertness. She yawned normally. She woke up normally. It was infuriating.
Experiment three: I drank the same coffee at the same time. Half‑life: approximately seven hours by my subjective measure. Sleep latency: increased by 45 minutes. Deep sleep: reduced by 30%. Morning grogginess: extreme. I stopped after three days.
The Half‑Life Tracker confirmed what my body already knew.
But genetics aren’t the only factor. Oral contraceptives inhibit CYP1A2 activity by about 30-40%. That means if you take the pill, your caffeine half‑life effectively doubles. A woman who is A/A might metabolize caffeine like an A/C when on the pill. A woman who is A/C might metabolize it like a C/C.
I learned this from a client named Rachel. She was 28, a barista, drinking about 300 mg of caffeine a day. She started having panic attacks. Her doctor ran tests. Nothing. She quit caffeine for a week. The panic attacks stopped. She went back on caffeine. They returned.
I asked her if she was on oral contraceptives. She said yes. I explained the interaction. She looked at me like I’d just told her the sky was green.
“No one told me that,” she said.
“No one tells anyone that,” I said.
She switched to a non-hormonal IUD. Her caffeine tolerance improved. Not completely—she was still a slow metabolizer—but the panic attacks didn’t come back.
The Half‑Life Tracker has a toggle for oral contraceptives. It adjusts the half‑life estimate by 30-40%.
There’s another interaction that matters: smoking. Cigarette smoking induces CYP1A2 activity. Smokers clear caffeine about twice as fast as non‑smokers. If you smoke and drink coffee, your effective half‑life might be two to three hours, even if you’re genetically a slow metabolizer.
This is not a reason to start smoking.
I had a client named Kevin who was a heavy smoker and a heavy coffee drinker. He could drink espresso at 9 PM and fall asleep by 10. He thought he was a fast metabolizer. He quit smoking. Six weeks later, his afternoon coffee started keeping him awake. He didn’t connect the dots until I asked him about his smoking history.
“I didn’t know quitting smoking would make me sensitive to caffeine,” he said.
“Your liver didn’t either,” I said.
The Sleep Estimator can help you adjust your cutoff time when your metabolism changes.
Sleep Estimator
Get your personal caffeine cutoff time for better sleep.
All data stays in your browser — we never see it.
So why do some people fall asleep after espresso? Partly genetics. Partly lifestyle. Partly the placebo effect. Partly the fact that some people have built such a high tolerance that their bodies no longer register the stimulant effect.
But also, maybe, because they’re not paying attention. Sam sleeps well because Sam doesn’t worry about sleeping well. She drinks her tea, turns off the light, and trusts her body to do the rest.
I’ve tried to learn this. I’ve failed.
There’s a study from 2021 that looked at the relationship between caffeine intake and sleep quality in identical twins. The researchers found that even when genetics were controlled for, the subjective experience of caffeine’s effects varied dramatically. One twin would report feeling “wired” after a single cup. The other would report feeling “nothing.”
The difference wasn’t in their genes. It was in their expectations.
I think about this sometimes when Sam makes her 9 PM tea. She expects to fall asleep. So she does. I expect to lie awake. So I do.
The Half‑Life Tracker doesn’t measure expectations. It measures milligrams. That’s probably for the best.