⌑ The Labs HQ
Performance Lab·The Codex·Caffeine
⌑ Codex Protocol · Supplement · Ergogenic Aid

Caffeine.

C₈H₁₀N₄O₂ · 194.19 g/mol · 1,3,7-trimethylxanthine

The most extensively studied ergogenic compound in human physiology. Improves endurance, strength, focus, and pain tolerance with a small effect size that is nearly always significant. The dose, the timing, and the half-life are what separate use from misuse.

⌑ Dose
3-6 mg/kg
pre-training, body weight calibrated
⌑ Onset
30-60 min
peak plasma concentration
⌑ Half-Life
~5 hours
range 3-9 hrs, CYP1A2 variant dependent
⌑ Sleep Cutoff
8-10 hours pre-bed
strict for sleep architecture

⌑ I · The MechanismHow it actually works.

Caffeine's primary mechanism is adenosine receptor antagonism. Throughout waking hours, adenosine — a byproduct of ATP metabolism — accumulates in the brain and binds A1 and A2A receptors. This binding promotes the subjective sensation of fatigue and sleep pressure. Caffeine's molecular shape is similar enough to adenosine to occupy these receptors without activating them, effectively blocking adenosine's signaling.[1]

⌑ Figure A · Receptor Diagram
How caffeine blocks the fatigue signal.
WITHOUT CAFFEINE neuron membrane A A A → fatigue signal fires WITH CAFFEINE neuron membrane C C C → signal blocked ADENOSINE (FATIGUE) CAFFEINE (BLOCKER)
Caffeine doesn't add energy. It occupies the seat the fatigue signal needs to sit in. The adenosine accumulates behind the blockade — which is why the crash hits all at once when caffeine clears.
Mechanism per Nehlig 2018 [1]

Downstream effects of adenosine receptor blockade include increased release of dopamine, norepinephrine, and acetylcholine; elevated cyclic AMP; and reduced inhibitory tone in the central nervous system. Net effect: increased arousal, focus, alertness, and motivation. None of this generates new energy — caffeine reveals what would otherwise be masked.[1][2]

For exercise performance specifically:

⌑ Mechanism Note

Caffeine does not eliminate adenosine. It blocks its receptors. The adenosine accumulates behind the blockade, and when caffeine clears, the "fatigue debt" lands all at once. This is the post-caffeine crash and a reason caffeine is best used as a deliberate tool, not a constant background stimulant.

⌑ II · The EvidenceWhat the research actually shows.

The 2021 International Society of Sports Nutrition position stand on caffeine and exercise performance synthesized decades of research. Key conclusions:

⌑ III · The ProtocolHow to actually use it.

⌑ Standard Protocol · Performance Dose

Dose for performance

3-6 mg per kilogram of body weight. For an 80 kg (176 lb) adult, that range is 240-480 mg. Most consistent performance effects are observed at the lower end of this range; higher doses do not reliably produce larger effects but do reliably produce more side effects.[3]

Form

Anhydrous caffeine capsule or tablet for reproducibility. Coffee delivers caffeine but variably (50-200 mg per cup depending on bean, roast, brew method, serving size). For consistent dosing, supplement form is preferable; for general use, coffee is fine.

Timing relative to exercise

30-60 minutes before activity. Peak plasma concentration occurs in this window with anhydrous caffeine; coffee absorption is slightly slower due to the food matrix.[3]

Timing relative to sleep

This is where most people get it wrong. With a half-life of ~5 hours, caffeine consumed at 2 PM still has approximately 25% of its dose active at 12 AM. Drake et al. (2013) directly measured the effect of caffeine timing on sleep: 400 mg caffeine consumed 6 hours before bedtime reduced total sleep time by more than an hour compared to placebo, with users frequently unaware of the disruption.[7] Conservative practical guidance: no caffeine within 8-10 hours of intended sleep.

Cycling

For users who train competitively and want maximal acute effect, a 1-week deload from caffeine periodically (or before key events) may restore responsiveness. For general use, this is not necessary.

⌑ IV · The Half-LifeThe number that explains everything.

Caffeine has a pharmacological half-life of approximately 5 hours in the average adult — but the population range is wide: 3 hours in fast metabolizers to 9 hours or more in slow metabolizers. The variation is largely explained by the CYP1A2 gene, which encodes the liver enzyme responsible for caffeine metabolism.[8]

⌑ Interactive Tool · Your Caffeine, Your Sleep

Will your last cup wreck your sleep tonight?

Enter what you actually had. The chart shows your live decay curve. The numbers show what's still circulating when you try to sleep. The verdict tells you whether you should expect impact.

Coffee ≈ 95-200 · espresso ≈ 60-80 · pre-workout ≈ 150-300
When you drank/took it
When you plan to sleep
Quick set ·
At Bedtime
--
mg active
% of Peak
--
at bedtime
Sleep Impact
--
est. min lost
Adjust the inputs above to see your verdict.
Model: ~5 hr pharmacokinetic half-life per Nehlig 2018 [1] · sleep impact extrapolated from Drake et al. 2013 [7]. Individual CYP1A2 variation can shift half-life ±50%.

Practical implications of a 5-hour half-life from a 200 mg dose at 12 PM:

Adenosine accumulates throughout the day to build sleep pressure. Caffeine binding adenosine receptors throughout the evening directly interferes with sleep onset and reduces slow-wave sleep architecture even when the user reports feeling tired enough to fall asleep. Subjective ability to fall asleep is not a measure of whether caffeine is affecting sleep quality.[7]

⌑ Practical Warning · The Tolerance Trap

Habitual users frequently report that "caffeine doesn't keep me up." This perception reflects tolerance to the subjective wakefulness effect, not to the receptor-level disruption of sleep architecture. EEG studies consistently show reduced deep sleep and altered REM patterns even in those who report sleeping fine. The cost of late caffeine is real even when it is invisible.

⌑ Figure 2 · Drake et al. 2013
400 mg caffeine, taken at three timepoints before bed.
MIN SLEEP LOST 90 60 30 0 PLACEBO At bedtime 0 HRS BEFORE −84 min 3 hours before 3 HRS BEFORE −71 min 6 hours before 6 HRS BEFORE −63 min
Even 6 hours before bedtime, 400 mg of caffeine reduced total sleep time by more than an hour compared to placebo. Subjects in the 6-hour group frequently reported sleeping fine — and didn't.

⌑ V · Contraindications & ConsiderationsWhat to watch for.

⌑ VI · StackingWhat pairs well.

Combinations to be cautious of: caffeine + synephrine, caffeine + yohimbine, caffeine + high-dose stimulant pre-workouts. These products stack adrenergic agonists and have produced adverse cardiovascular events in healthy users.

⌑ VII · ReferencesPrimary sources.

  1. Nehlig A. Interindividual differences in caffeine metabolism and factors driving caffeine consumption. Pharmacological Reviews. 2018;70(2):384-411. PMID: 29514871
  2. Heckman MA, Weil J, Gonzalez de Mejia E. Caffeine (1, 3, 7-trimethylxanthine) in foods: a comprehensive review on consumption, functionality, safety, and regulatory matters. Journal of Food Science. 2010;75(3):R77-87. PMID: 20492310
  3. Guest NS, VanDusseldorp TA, Nelson MT, et al. International Society of Sports Nutrition position stand: caffeine and exercise performance. Journal of the International Society of Sports Nutrition. 2021;18(1):1. PMID: 33388079
  4. Motl RW, O'Connor PJ, Dishman RK. Effect of caffeine on perceptions of leg muscle pain during moderate intensity cycling exercise. Journal of Pain. 2003;4(6):316-321. PMID: 14622688
  5. Grgic J, Trexler ET, Lazinica B, Pedisic Z. Effects of caffeine intake on muscle strength and power: a systematic review and meta-analysis. Journal of the International Society of Sports Nutrition. 2018;15:11. PMID: 29527137
  6. McLellan TM, Caldwell JA, Lieberman HR. A review of caffeine's effects on cognitive, physical and occupational performance. Neuroscience and Biobehavioral Reviews. 2016;71:294-312. PMID: 27612937
  7. Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine. 2013;9(11):1195-1200. PMID: 24235903
  8. Womack CJ, Saunders MJ, Bechtel MK, et al. The influence of a CYP1A2 polymorphism on the ergogenic effects of caffeine. Journal of the International Society of Sports Nutrition. 2012;9(1):7. PMID: 22418017
  9. Owen GN, Parnell H, De Bruin EA, Rycroft JA. The combined effects of L-theanine and caffeine on cognitive performance and mood. Nutritional Neuroscience. 2008;11(4):193-198. PMID: 18681988
← Back to the Codex