Coffee Before a Workout and Your Sleep

Plenty of people drink a coffee on the way to a 6 AM session. Coffee before a workout can help your strength a little. It can also cost you sleep if you have it too late in the day.

Here's what the studies found for lifting, and how late you can have caffeine and still sleep well. Our post on what to eat before a workout covers the food side.

What caffeine does for your lifts

A 2018 review pooled 10 studies on max strength, tested with a 1 rep max, and 10 studies on power, tested with a vertical jump. Caffeine improved both. The effect size was 0.20 for strength and 0.17 for power. Both effects were small (Grgic et al., 2018).

A larger 2020 review looked at 11 reviews covering 21 meta analyses together. Caffeine helped muscle strength, muscle endurance, power and aerobic endurance. The effect was usually bigger for endurance work, like running or cycling, than for strength and sprint work (Grgic et al., 2020).

So caffeine gives you a small edge on top of your training. It won't make up for missed sessions.

How much caffeine helped strength and power

Pooled effect sizes from 10 strength studies and 10 power studies comparing caffeine with a placebo. The grey lines mark where a small (0.2) and medium (0.5) effect start. Tap a bar to read what it means.

0.2 small0.5 medium
Tap a bar above.

Source: Grgic et al., 2018, Journal of the International Society of Sports Nutrition, 10 strength studies and 10 power studies (PubMed). Values are standardized mean differences. Scale runs from 0 to 0.8.

Coffee counts too

You don't need a pill or a pre workout drink. In one small trial, 9 trained lifters did sets of squats and bench press at 60% of their max until they couldn't do another rep. In the squat, they lifted more total weight after drinking coffee than after a placebo (Richardson & Clarke, 2016).

The International Society of Sports Nutrition (ISSN) says caffeine helps performance in both trained and untrained people (Guest et al., 2021). You don't have to be an athlete for it to work.

How much caffeine the studies used

The ISSN says doses of 3 to 6 mg per kg of body weight have improved performance again and again. The lowest dose that works may be as low as 2 mg per kg. Very high doses, like 9 mg per kg, caused a lot of side effects and weren't needed (Guest et al., 2021).

Here's what that looks like for someone who weighs 70 kg (about 154 lb). 3 mg per kg is 210 mg. 6 mg per kg is 420 mg, which is already over Health Canada's limit for a whole day.

Health Canada's limit for most healthy people is 400 mg of caffeine a day from all sources. If you're pregnant, planning to get pregnant or breastfeeding, the limit is 300 mg. An 8 oz (237 mL) cup of brewed coffee has about 135 mg on average, and filter drip coffee has about 179 mg (Health Canada, 2025).

That's why we'd start at the low end. Count every coffee, tea, cola and pre workout in your day, including the one before your session.

When to have it before your session

The most common timing in the research is 60 minutes before exercise (Guest et al., 2021). For a 6 PM class, that's a coffee at about 5 PM. For a 6 AM session, it's 5 AM, which is a good reason to set the coffee maker the night before.

How long does caffeine last

On average, your body clears half the caffeine you take in 4 to 6 hours. That changes a lot from person to person, from 1.5 to 10 hours (Guest et al., 2021). So a 5 PM coffee can still be working at bedtime.

A 2023 review pooled 24 studies on caffeine and sleep. Caffeine cut total sleep by 45 minutes. It took people 9 minutes longer to fall asleep, and they spent 12 more minutes awake during the night. Deep sleep dropped by 11.4 minutes (Gardiner et al., 2023).

From those studies, the review estimated how early to stop. To avoid losing sleep, a regular cup of coffee (107 mg) needed to be at least 8.8 hours before bed. A standard serving of pre workout (217.5 mg) needed at least 13.2 hours (Gardiner et al., 2023).

A 2013 study gave 12 healthy sleepers 400 mg of caffeine (about 3 cups of coffee) at bedtime, 3 hours before bed or 6 hours before bed. On a sleep monitor, they slept 1.1 to 1.2 hours less at each of those times. At 6 hours before bed, their own sleep diaries didn't pick up a clear difference (Drake et al., 2013). You can lose sleep to caffeine and not notice it the next morning.

What caffeine did to sleep

Pooled results from 24 studies. Pick a view.

Source: Gardiner et al., 2023, Sleep Medicine Reviews, systematic review and meta analysis of 24 studies (PubMed). The coffee figure is for 107 mg per 250 mL. The pre workout figure is for a standard serving of 217.5 mg.

Morning and evening sessions

If you train early, caffeine timing is easy. A 5 AM coffee is 17 hours before a 10 PM bedtime, which is longer than the 13.2 hours from the sleep review.

Evening sessions are where it gets tricky. A 5 PM coffee for a 6 PM class and a 10:30 PM bedtime leaves 5.5 hours. That's less than the 8.8 hours a regular cup needed. For an evening session, decaf (about 3 mg a cup) is the easy swap. Or move your session earlier in the day. The studio is open weekdays 5:45 AM to 8 PM and weekends 8:30 AM to 4 PM, so a lunch hour or weekend class can work.

Sleep matters for your results too. Our post on sleep and recovery covers what short sleep does to your training. Our post on exercise for sleep covers how training can help you sleep better.

Use the calculator below to check your own numbers.

Caffeine timing calculator

Fill in the boxes below. It shows the doses studies used for your weight and how your timing lines up with the sleep research. It isn't a prescription.

Your weight
Session start time
Usual bedtime

Doses: ISSN position stand, Guest et al., 2021 (3 to 6 mg per kg improved performance, the lowest dose that works may be 2 mg per kg, 60 minutes before is the most common timing; PubMed). Daily limit and cup size: Health Canada, Caffeine in foods (400 mg a day for most healthy people, 300 mg if pregnant, planning to get pregnant or breastfeeding, brewed coffee about 135 mg per 237 mL cup; Canada.ca). Bedtime cutoffs: Gardiner et al., 2023 (PubMed) and Drake et al., 2013 (PubMed).

Check with your doctor first

This post is general information and isn't medical advice. If you have a heart condition or high blood pressure, talk to your doctor before you use caffeine for training. Do the same if you're pregnant or you take medication. If you get chest pain or your heart races during a session, stop and get medical care. Our post on which supplements are worth it also covers the caffeine in pre workout drinks.

Train with a coach in Vaughan

Our small group classes are capped at 16, with a coach running every class. We're at 11-411 Confederation Pkwy, 2nd floor (stairs only), in Concord, Vaughan, with parking on site.

If you want a coach to plan your sessions and your training times with you, look at personal training in Vaughan. Our nutrition coaching can help with what you eat and drink before you train.

If you're new to the studio, start with the $30 seven day trial (+ HST). Join by day 5 and your $30 is credited toward your membership. Call (289) 536-8066 or email g-squad@innerg.ca, and book your first class for this week.

References

  • Drake, C., Roehrs, T., Shambroom, J., & Roth, T. (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 9(11), 1195-1200. https://doi.org/10.5664/jcsm.3170 | PubMed
  • Gardiner, C., Weakley, J., Burke, L. M., Roach, G. D., Sargent, C., Maniar, N., Townshend, A., & Halson, S. L. (2023). The effect of caffeine on subsequent sleep: A systematic review and meta-analysis. Sleep Medicine Reviews, 69, 101764. https://doi.org/10.1016/j.smrv.2023.101764 | PubMed
  • Grgic, J., Trexler, E. T., Lazinica, B., & Pedisic, Z. (2018). Effects of caffeine intake on muscle strength and power: A systematic review and meta-analysis. Journal of the International Society of Sports Nutrition, 15, 11. https://doi.org/10.1186/s12970-018-0216-0 | PubMed
  • Grgic, J., Grgic, I., Pickering, C., Schoenfeld, B. J., Bishop, D. J., & Pedisic, Z. (2020). Wake up and smell the coffee: Caffeine supplementation and exercise performance-an umbrella review of 21 published meta-analyses. British Journal of Sports Medicine, 54(11), 681-688. https://doi.org/10.1136/bjsports-2018-100278 | PubMed
  • Guest, N. S., VanDusseldorp, T. A., Nelson, M. T., Grgic, J., Schoenfeld, B. J., Jenkins, N. D. M., Arent, S. M., Antonio, J., Stout, J. R., Trexler, E. T., Smith-Ryan, A. E., Goldstein, E. R., Kalman, D. S., & Campbell, B. I. (2021). International society of sports nutrition position stand: Caffeine and exercise performance. Journal of the International Society of Sports Nutrition, 18(1), 1. https://doi.org/10.1186/s12970-020-00383-4 | PubMed
  • Health Canada. (2025). Caffeine in foods. Government of Canada. https://www.canada.ca/en/health-canada/services/food-nutrition/food-safety/food-additives/caffeine-foods.html
  • Richardson, D. L., & Clarke, N. D. (2016). Effect of coffee and caffeine ingestion on resistance exercise performance. Journal of Strength and Conditioning Research, 30(10), 2892-2900. https://doi.org/10.1519/JSC.0000000000001382 | PubMed
Previous
Previous

Is Nutrition Coaching Worth the Money

Next
Next

Body Recomposition: Lose Fat, Build Muscle