Caffeine TrackerJournal

CAFFEINE & SLEEP

How long does caffeine stay in your system? Half-life, sleep and cutoff time

An afternoon coffee may leave half its caffeine in your body by evening. Half-life helps estimate what remains and choose a better time for your last cup.

1. What is caffeine half-life?

Half-life is the time needed for the concentration of a substance to fall by half. An NCBI clinical review gives an average caffeine half-life of about five hours in adults, with meaningful variation between people.

Five hours does not mean caffeine is gone. In a simplified first-order model, each half-life halves what remains: 100% → 50% → 25% → 12.5%. Several half-lives are needed for the amount to become small.

t½ ≈ 5 h

remaining dose = initial dose × ½time ÷ half-life

2. How much remains from one drink?

This example assumes a single 200 mg dose and a fixed five-hour half-life. It shows the pattern, not an individual blood level.

TimeRemainingShareHalf-lives
0 h200 mg100%0
5 h100 mg50%1
10 h50 mg25%2
15 h25 mg12.5%3
20 h12.5 mg6.25%4

A 200 mg dose at 4 pm may leave about 100 mg at 9 pm and 50 mg at 2 am. Repeated drinks overlap rather than resetting the clock.

INTERACTIVE TOOL

Bedtime caffeine calculator

Enter one dose and its timing to estimate how much caffeine may remain at bedtime.

Estimated at bedtime75.8mg

Meaningful amount remains

of the original dose
37.9%
time elapsed
7.0 h

A simplified estimate using one fixed half-life. Calculate repeated drinks separately and add the results.

3. Why does caffeine affect sleep?

Caffeine blocks adenosine receptors and turns down the brain’s sleepiness signal. Feeling awake does not mean sleep pressure has disappeared or sleep architecture is unaffected.

EFSA notes that 100 mg close to bedtime may affect sleep in some adults. A small controlled study found that 400 mg disrupted sleep even six hours before bedtime. That dose is high, so the result does not create one universal six-hour rule, but it shows why late large doses matter.

4. What changes metabolism?

  • Genes and CYP1A2 activity can make metabolism faster or slower.
  • Pregnancy can markedly prolong half-life, especially late pregnancy.
  • Smoking can speed clearance; the same coffee may feel stronger after quitting.
  • Some medicines, oral contraceptives and liver disease can slow metabolism.
  • Morning, lunch and afternoon doses add together by evening.
  • Tolerance may reduce the buzz without preventing sleep disruption.

5. When should you stop?

There is no perfect cutoff for everyone. Avoiding large doses for six to eight hours before bed is a conservative starting point; sensitive or slower metabolisers may need longer.

For an 11 pm bedtime, try making the last caffeinated drink 3–5 pm, then move it earlier if sleep remains poor. Include tea, cola, energy drinks, chocolate, decaf and medicines.

Average half-life5hours
Starting cutoff6–8hours
Near bedtime100mg may matter

6. Find your personal cutoff

  1. 01Track timing, milligrams, bedtime and awakenings for one week.
  2. 02Change one variable first: move the final dose earlier while keeping the daily total similar.
  3. 03Replace large afternoon drinks with smaller, half-caf or caffeine-free options.
  4. 04Do not use caffeine as a permanent substitute for sleep.
  5. 05Seek professional advice for persistent insomnia, palpitations, pregnancy or medication questions.

KEY TAKEAWAY

The timing of your last cup can matter as much as the total

Caffeine does not vanish when the buzz fades. Start with a five-hour estimate, then adjust using your own intake and sleep response rather than relying on one universal clock time.

Tracker →Drinks

References

  1. NCBI Bookshelf — Caffeine (StatPearls)
  2. EFSA — Caffeine safety and sleep
  3. PubMed — Caffeine 0, 3, or 6 hours before bedtime
  4. PubMed — Systematic review and meta-analysis of caffeine and sleep

General education only. Half-life calculations are simplified estimates and are not medical or medication advice.