What the caffeine curfew calculator does

Enter the caffeine in your pre workout, the time you take it, your bedtime, your half life and the amount you are happy to have left when you lie down. The calculator uses simple half life decay to show how much remains and the last time you can take the dose to stay under your target.

It is built for lifters and athletes who train after work, but it works for coffee, energy drinks and tablets too. For general drinks use the caffeine half life calculator.

What the research says about evening caffeine

Drake and colleagues gave 400 mg of caffeine at bedtime, three hours before bed and six hours before bed. All three doses reduced sleep compared with placebo. Even the dose taken six hours before bed cut total sleep time by more than an hour, and many people did not notice how much their sleep had changed.

That study used a high dose, so a smaller pre workout will have a smaller effect. The sound lesson is that caffeine acts for a long time, and the effect on sleep can be hidden. A curfew is the safest way to protect it.

Advertisements

Half life in plain words

Half life is the time the body takes to clear half of the caffeine. If you take 200 mg and your half life is 5.5 hours, you have 100 mg left after 5.5 hours and 50 mg after 11 hours. The decay is gradual, not a cliff.

Half life varies. Smoking can shorten it, while pregnancy, some medicines and liver conditions lengthen it. If caffeine keeps you awake easily, choose the slow setting.

Reading your pre workout label

  • Look at the caffeine per serving, not per scoop, as these can differ
  • Remember that stacked products, such as a pre workout plus coffee, add up
  • Some powders hide caffeine in blends such as guarana or green tea extract
  • A half scoop gives about half the dose
  • Caffeine free versions exist for evening sessions

If you must train in the evening

  1. Take a half dose or skip the stimulant on late sessions.
  2. Use a short, bright warm up and music to raise alertness instead.
  3. Eat a balanced meal with carbohydrate and protein.
  4. Finish your session at least two to three hours before bed.
  5. Cool down with a shower and dim the lights.
  6. Use the post workout sleep optimizer to plan your wind down.

How much caffeine is safe in a day

Health authorities such as the FDA suggest up to 400 mg a day is not generally linked to harmful effects in healthy adults. That is a daily ceiling, not a recommendation to reach it. Pregnant people, teens and people with heart rhythm problems should follow medical advice and usually need much less.

Advertisements

Signs that caffeine is hurting your sleep

  • You take over 30 minutes to fall asleep
  • You wake at night with a racing heart
  • You feel tired in the morning and rely on more caffeine
  • Your sleep is lighter after hard training days

Better alternatives to a stimulant

Good sleep, a decent meal two hours before training, enough fluid, and light or music can lift energy without caffeine. Carbohydrate before long sessions fuels work better than extra stimulant. Use the sleep debt compounder to see whether poor sleep is the real reason you need a booster.

Frequently Asked Questions

What time should I stop taking pre workout? ›

With a typical half life, taking it at least 8 to 10 hours before bed is a safe rule for most people. The calculator gives your own time.

Is pre workout bad for sleep? ›

The caffeine in it can be, if taken in the afternoon or evening. Caffeine free products avoid the problem.

How long does pre workout caffeine last? ›

Half of the caffeine remains after about 5 to 6 hours for most people, so the effect can last into the night.

Can I take pre workout at 6 PM? ›

If you go to bed at 11 PM, a 200 mg dose leaves around 50 mg at bedtime for a typical half life, which may still disturb sensitive people.

Does caffeine reduce deep sleep? ›

Studies show caffeine can lighten sleep and reduce total sleep time. Effects differ from person to person.

Is this calculator exact? ›

No. It uses a simple average half life. Your own metabolism may differ.

How this page was made

Written by and last updated on 5 November 2026. Claims are checked against the peer reviewed papers and public health sources listed below, and findings from small or early studies are labelled as such. We follow our editorial policy and explain how times and results are calculated in our methodology. Calculators run in your browser and store nothing. Found an error? Tell us and we will correct it.

Sources

This page gives general information for adults and is not medical advice. If you have ongoing sleep problems, loud snoring, breathing pauses or heavy daytime sleepiness, speak to a doctor. Times and results are estimates.