Caffeine and performance
How much caffeine should you have?
There is no single best dose. The useful amount depends on what you want from caffeine, when you take it, and what it does to your sleep.
Open the free caffeine tracker
The short answer
The best starting point is the smallest amount that gives you the effect you want without making you feel wired or taking from tonight’s sleep. That may be very different from the amount used in a study or by somebody else.
Research has tested doses from a few dozen milligrams to several milligrams per kilogram of body weight. The NCBI chapter on caffeine and military performance that inspired this page is useful for showing how much the results varied, but it is a 2001 review of military-performance research—not a prescription for everyday use. Read the chapter.
Safe is not the same as optimal. The FDA says up to 400mg across a day is not generally associated with negative effects for most healthy adults. EFSA says single doses up to 200mg and total daily intake up to 400mg generally do not raise safety concerns for healthy adults. Those are broad safety reference points, not targets you need to reach.
Start with the job you want caffeine to do
For focus and alertness
The older research includes attention tests where 70mg, 100mg, or 200mg helped in particular situations. That does not make one of those numbers universally right. The person’s sleep, usual caffeine intake, task, and timing all matter.
A 2024 controlled study found that 200mg of caffeine delivered in chewing gum improved performance on an auditory-attention task and reduced mind-wandering compared with placebo. That is promising, but it tells us about one dose, one delivery method, and one set of tests—not every kind of focus. See the study.
For exercise
Exercise studies often use roughly 3–6mg per kilogram of body weight. A sports-nutrition position stand notes that benefits can appear at lower doses too, while higher doses bring more chance of unwanted effects. These are performance-study ranges, not a reason to calculate a large daily dose for normal work or study. Read the position stand.
For protecting sleep
If sleep is the reason you are tracking caffeine, dose and timing belong in the same decision. A drink can feel helpful in the afternoon and still leave a meaningful amount in your system at bedtime.
Timing matters as much as the amount
Caffeine is absorbed fairly quickly, but your body clears it gradually. A half-life is not a countdown to zero: if 100mg remains and the half-life is four hours, about 50mg remains four hours later, then about 25mg after another four. See the half-life explanation.
A recent randomised crossover trial tested 100mg and 400mg at different points before bedtime in 23 men who normally used less than 300mg a day. The 100mg dose did not significantly change measured or reported sleep in that study. The 400mg dose affected sleep when taken within 12 hours of bed and caused more sleep fragmentation when taken within eight hours. The result is a useful warning about a large dose, not a universal 12-hour rule. Read the full study.
A 2025 meta-analysis of 22 controlled crossover trials, involving 956 healthy adults, found that caffeine reduced total sleep by about 35 minutes on average and delayed falling asleep by about eight minutes. Individual results varied, so treat those numbers as a population average rather than a forecast for your night. Read the meta-analysis.
When another coffee is not the answer
If you have to finish a project and you have already had the caffeine you want, a short nap may be a better next move than another cup. Caffeine can make tiredness feel quieter; sleep helps restore the function that tiredness has taken away.
The NCBI review found that caffeine and naps together improved alertness during long periods of sleep deprivation compared with either caffeine or naps alone. It recommends using short naps alongside caffeine when normal sleep is not possible. That evidence comes from military operations, not ordinary office work, but the practical point is useful: when more caffeine is likely to bring more side effects, rest is still a performance tool. Read the section on caffeine and naps.
Worth trying: If your next move would be another coffee, ask whether you can take a short, alarmed nap instead. Do not treat a nap-and-caffeine strategy as a replacement for a proper night’s sleep.
Newer studies point in the same direction for some physical tasks, but they are small and specific. A 2021 trial in nine trained judokas found that a 20-minute nap plus caffeine improved repeated-sprint power more than caffeine alone after partial sleep loss. A 2026 trial in 13 physical-education students found that a 90-minute nap plus caffeine improved squat-jump performance more than either on its own, but it did not improve reaction time or self-reported sleepiness. Those results support the idea that rest and caffeine can complement each other in some situations—not a universal recipe for finishing desk work. Read the 2021 study · Read the 2026 study.
Why your useful dose may be different
People do not clear or feel caffeine in exactly the same way. The difference can come from your usual intake, genetics, pregnancy, age, smoking, liver health, and some medicines. The NCBI pharmacology review also notes that oral contraceptives can slow caffeine clearance. See the pharmacology review.
A 2024 review found links between caffeine response or consumption and genes including CYP1A2 and ADORA2A. That helps explain why people differ, but it is not precise enough to choose your personal dose from a genetic test. Read the review. Your own sleep and side effects are more useful feedback.
A simple way to find what works for you
- Choose one familiar drink. Start with a dose you can estimate, rather than stacking several sources at once. Coffee amounts vary more than “a cup” suggests.
- Keep the test simple. Change either the amount or the time, not both, so you can tell what made the difference.
- Log it before you forget. Add the drink, amount, and time to SlumberBrew, then set your bedtime and the amount you would prefer to have left.
- Look for a pattern. Compare several similar days. Note sleep quality, not just whether you felt an afternoon lift.
- Reduce or move it earlier if sleep suffers. More caffeine is not a reliable fix for being tired, especially if the tiredness came from a shorter night.
SlumberBrew cannot measure caffeine in your blood or discover a perfect dose. It makes the trade-off visible: how much you logged, when it may peak, and how much may still be around at bedtime. That gives you a better starting point for noticing your own pattern.
Common questions
Is 400mg the right amount for me?
No. It is a broad daily safety reference for most healthy adults, not a recommended target. Many people will sleep better or feel better with much less.
Is more caffeine always more effective?
No. A 2024 dose study in 29 healthy, physically active young adults found a reaction-time benefit at 6mg per kilogram but not at 3mg per kilogram; the higher dose also increased feelings of nervousness, and it did not improve every attention or memory measure. More can add side effects without adding a useful effect. See the study.
How long before bed should I stop?
There is no one cutoff for everyone. A large 400mg dose affected sleep even when taken within 12 hours of bed in a small study. If sleep is your priority, move caffeine earlier and use the tracker to compare what happens with your own bedtime.
Can the tracker tell me my optimal dose?
No. It estimates caffeine over time from the drinks you log. It cannot measure your metabolism or diagnose a sleep problem. It can help you test a smaller, earlier dose and see whether the pattern is better for you.
Sources
- Institute of Medicine: Doses and Delivery Mechanisms — the 2001 military-performance chapter, including the wide range of doses used in older studies.
- Institute of Medicine: Combination of Caffeine and Naps — the older review’s conclusions about using short naps with caffeine during extended wakefulness.
- European Food Safety Authority: Caffeine — current intake guidance and factors that affect caffeine clearance.
- US Food and Drug Administration: How Much Caffeine Is Too Much? — current general guidance and why sensitivity varies.
- Gardiner et al. (2024/2025) — a randomised trial of caffeine dose and timing before sleep.
- Chang et al. (2025) — a meta-analysis of caffeine’s effects on sleep.
- Kruger et al. (2024) — a controlled study of caffeine gum, attention, and mind-wandering.
- Ramírez-delaCruz et al. (2024) — a comparison of 3mg/kg and 6mg/kg during cognitive and physical testing.
- Guest et al. (2021) — the International Society of Sports Nutrition position stand on caffeine and exercise.
- 2024 systematic review of genetic susceptibility — why caffeine metabolism and response can differ between people.
- Romdhani et al. (2021) — a 20-minute nap, caffeine, and combined performance after partial sleep deprivation.
- Mnif et al. (2026) — a recent small trial of a nap, caffeine, and combined physical performance.
How long does caffeine stay in your system? · How much caffeine is in coffee? · Use the caffeine cutoff calculator · Caffeine and sleep