IT/EN
← All notes

Pl. IQuantified self· 3 min read

Why caffeine stops working (and how to avoid it)

I built a pharmacokinetic model of caffeine tolerance. Here is what I learned about adenosine receptors, and the rules that come out of it.

The first coffee of the morning works. After a few weeks of coffee every day, much less so. It happens to almost everyone, and it is the starting point of Caffeine Lab, the simulator I wrote this summer to understand when the effect fades, by how much, and how to avoid it.

Receptors don’t “wear out”

The intuitive explanation is wrong. In fact, it is the opposite of the right one.

  • Adenosine builds up while we are awake and tells the brain it is time to sleep.
  • Caffeine is an antagonist of the A1 and A2A receptors: it sits on them, and the signal doesn’t get through.
  • With chronic use, the brain reads the blockade as a lack of signal and compensates by making more receptors (upregulation).
  • More receptors means the same dose blocks a smaller fraction of them: less effect, i.e. tolerance.
  • When you stop abruptly, the extra receptors fill up with normal adenosine: headache and fatigue. That rebound is exactly what confirms the mechanism.

The model, in five steps

  1. Pharmacokinetics: how much caffeine is circulating. One compartment with first-order absorption, half-life of about 5 hours.
  2. Blockade: the law of mass action, weighted on the affinities of the A2A and A1 receptors.
  3. Memory: the system responds to the average, not the peak. An exponential moving average of about 36 hours.
  4. Adaptation: receptor density rises slowly (time constant of about three weeks) and comes back down faster (about one week).
  5. Effect: as long as the extra receptors stay within a “reserve”, the effect is intact; past that threshold it drops quickly.

The parameters are calibrated on Lara and colleagues (2019): 3 mg/kg per day for 20 days, ergogenic effect preserved for about two weeks and then declining. Every prediction comes with a Monte Carlo uncertainty band (5–95%), never as a single line.

What the model says

Remaining effect after 12 weeks of daily intake:

Daily dose Effect at 12 weeks
70 mg (one espresso) 100%
100 mg 89%
150 mg 76%
200 mg and above 68–70%

And a few less obvious results:

  • The pattern matters more than the dose. With the same weekly caffeine (1050 mg), 300 mg every other day keeps 100% of the effect; 150 mg every day keeps 76%; three 50 mg doses a day only 57%.
  • Spreading it out is the worst choice. Three 100 mg coffees across the day leave 47% of the effect, against 68% for a single 300 mg dose. What counts is how long the receptors stay occupied, not the peak.
  • Escalating doesn’t work. Keeping the same effect would take 274 mg on day 7, 522 on day 15, more than 800 on day 30.
  • The reset has two clocks. One week off brings the effect back close to 100% (the reserve absorbs what is left); the “biological” return of the receptors to baseline takes 13–16 days.

The rules that come out of it

  • concentrate the dose, don’t spread it;
  • leave at least two days a week at zero;
  • stay around 250 mg at most per single dose;
  • no caffeine after 2 pm: sleep is recovery, and the instrument on Plate I shows how much is still circulating when you go to bed;
  • a week off every 6–8 weeks. Break, don’t escalate.

Epistemic honesty

The parameters are phenomenological: fitted to data, not measured directly. The reserve threshold and the steepness of the drop are model assumptions, chosen to reproduce the shape of the Lara 2019 data, not universal biology. “100% every other day” means that this dynamical system converges there with these parameters: an anchor, not a proof.

The next step is an N-of-1 model: logging doses and perceived effect for a few weeks, and updating the parameters the Bayesian way to get my own curves instead of population averages.

All models are wrong, but some are useful. — George Box

This is not medical advice: it is a study tool. The code is open on GitHub.

Sources

  • Lara B. et al. (2019). Time course of tolerance to the performance benefits of caffeine. PLOS ONE 14(1): e0210275.
  • PET studies by Elmenhorst and colleagues on brain A1 receptor availability in habitual caffeine consumers.