Caffeine before a workout: dosage, timing and safety
Caffeine is one of the few supplements proven to help in almost any kind of exercise: running, cycling, lifting and team sports. Regular coffee works too. The key is getting the dose right and not paying for your workout with bad sleep.
MyGymGuid team · Updated November 19, 2026
Quick facts
- Dosage
- 3–6 mg per kg of body weight, start with 3 mg/kg
- When
- 30–60 minutes before training
- Limit
- Up to 400 mg a day from all sources (EFSA)
- Evidence
- Strong: ISSN position stand and dozens of meta-analyses
What caffeine is for
Caffeine improves performance by a small but consistent amount. A review of 21 meta-analyses found benefits for endurance, strength, muscular endurance, power, jumping and speed. The effect is strongest in long aerobic exercise.
- Endurance. In a meta-analysis of 46 studies, caffeine made people finish a set distance 2–3% faster on average. For a recreational athlete that's barely noticeable; in competition it's the difference between places.
- Strength and power. Meta-analysis: a small increase in maximal strength (more noticeable in upper-body exercises) and jump height.
- Repeated efforts. More reps to failure, faster sprints, better performance in game actions.
- Focus. According to the ISSN position stand, caffeine improves concentration and alertness. When you're short on sleep, it can partly restore performance.
The effect is seen in both trained people and beginners, men and women. But everyone reacts differently: some people barely feel a boost, while for others the same dose already brings anxiety and a racing heart.
Caffeine is not a fat burner. It slightly increases energy expenditure, but without a calorie deficit you won't lose weight from it.
How caffeine works
Over the day, adenosine builds up in your brain. It's the substance that makes you feel tired and sleepy. Caffeine has a similar shape and occupies its receptors. The "time to rest" signal gets through more weakly.
Here's what matters for training: the same workload feels easier, and pain and fatigue set in later. You hold your pace longer or squeeze out a couple of extra reps. Caffeine also helps your nervous system activate your muscles more strongly.
Caffeine is absorbed almost completely. It peaks in the blood about an hour after a capsule or a coffee. It's cleared slowly: half the dose leaves the blood in 3–6 hours on average, and longer in some people. The rate depends on genes, smoking, pregnancy, hormonal contraceptives and some medications.
How much caffeine to take
The effective dose in studies is 3–6 mg per kg of body weight at a time. The lower limit may even be around 2 mg/kg. More than 6 mg/kg usually adds no benefit, only side effects. At around 9 mg/kg and above, nausea, anxiety and a racing heart are already common.
| Weight | 3 mg/kg | 6 mg/kg |
|---|---|---|
| 55 kg | 165 mg | 330 mg |
| 70 kg | 210 mg | 420 mg, over the daily limit |
| 85 kg | 255 mg | 510 mg, over the daily limit |
Start with 3 mg/kg and see how you feel. For most people that's 150–250 mg, a couple of cups of coffee. Only increase the dose if there's no effect and you tolerate it well.
Daily limit. According to EFSA, up to 400 mg of caffeine a day from all sources combined is safe for a healthy adult: coffee, tea, energy drinks, cola, pre-workout. A single dose of up to 200 mg, even before intense exercise, raises no concerns for EFSA. That's why the top of the ISSN range, 6 mg/kg, doesn't suit heavier people: it goes over the daily limit.
Count all your caffeine for the day. Morning coffee plus pre-workout plus an energy drink easily adds up to 500–600 mg. A pre-workout often has 150–300 mg of caffeine per serving, check the label.
When to take caffeine and how to protect your sleep
The classic approach is 60 minutes before training for capsules and tablets, 30–60 minutes for coffee. Caffeine gum is absorbed through the mouth and works faster: chew it 5–15 minutes before you start.
Sleep is the main price of caffeine. A 2023 meta-analysis: caffeine cut sleep by 45 minutes on average, and there was less deep sleep. To avoid losing sleep, the authors advise:
- a cup of coffee (about 100 mg): no later than 9 hours before bed;
- a serving of pre-workout (about 200 mg): no later than 13 hours before bed;
- in a study, 400 mg of caffeine even 6 hours before bed cut sleep by more than an hour.
If you train in the evening, take a smaller dose, choose a stimulant-free pre-workout or just skip caffeine that day. Bad sleep will cost you more performance than caffeine gives you.
Tolerance. In people who barely drank coffee, 4 weeks of daily caffeine removed the performance boost in one study. According to the ISSN position stand, habitual intake may matter, but the data are mixed. If you want your best result on competition day, keep your caffeine low on regular days.
Caffeine pills or coffee: which to choose
It's the caffeine that works, not the form. What differs is dose accuracy and speed.
| Form | Caffeine | Pros | Cons |
|---|---|---|---|
| Coffee | ≈60–150 mg per cup | Cheap, familiar, works in studies | The dose varies 2-fold or more |
| Tablets, capsules | 100–200 mg each | Exact dose, easy to carry | Easy to overdo when combined with coffee |
| Energy drink | ≈80 mg per 250 mL | Convenient | Often a lot of sugar |
| Pre-workout | 150–300 mg per serving | Caffeine plus other ingredients | A lot of caffeine in one serving, the label isn't always honest |
| Gum, gel | ≈40–100 mg | Fast: 5–15 minutes | Pricier, few studies on strength |
| Pure powder | grams per spoon | — | Dangerous: you can't measure the dose by eye |
Bottom line: for an exact dose, take 100–200 mg tablets or capsules. Coffee works too, the dose is just approximate.
Don't buy pure caffeine powder. A teaspoon is several grams, dozens of cups of coffee at once. Deaths from powder overdose have been reported: in one case, about 12 g.
Side effects and who should avoid it
According to EFSA, caffeine up to 400 mg a day doesn't harm the heart and blood vessels of healthy adults. But some people get side effects even at lower doses.
- Common side effects: insomnia, anxiety, jitters, a fast pulse, upset stomach, headache.
- Dehydration is a myth at normal doses. In a study, 4 cups of coffee a day were no different from water for fluid balance.
- Withdrawal. If you stop abruptly after long-term use, you may get headaches and feel sleepy for 1–3 days. It's better to cut down gradually.
- Caffeine doesn't sober you up. Alcohol is cleared at the same rate, and coffee or an energy drink just adds strain on your heart and sleep.
Pregnancy and breastfeeding: no more than 200 mg a day from all sources (EFSA). No caffeine supplements or pre-workouts.
Children and teenagers: EFSA's guideline is 3 mg per kg of body weight a day. Teenagers don't need caffeine supplements or pre-workouts.
Talk to your doctor before taking caffeine tablets or pre-workout if:
- you have heart disease, an irregular heartbeat or high blood pressure;
- you have an anxiety disorder, panic attacks or insomnia;
- you have an ulcer, gastritis or reflux;
- you take medication regularly: some antibiotics, antidepressants and hormonal contraceptives slow down caffeine clearance, and stimulants and ADHD medications add to its effect.
What to combine caffeine with
- With creatine: at different times. In one early study, daily caffeine during loading cancelled the benefit of creatine. Later data were mixed, but it's simpler to take them a few hours apart. More in the creatine guide.
- With beta-alanine and citrulline: that's how most pre-workouts are made, and it's fine. But count the caffeine in your pre-workout toward your daily limit.
- With carbs during a long session: fine, often as caffeinated gels.
- With other stimulants (synephrine, yohimbine, "fat burners"): no. The strain on your heart adds up, but the benefit doesn't.
Before buying a pre-workout, check how much caffeine it has per serving. If it's 300 mg or more, start with half.
Myths and FAQ
How many mg of caffeine are in a cup of coffee?
It varies a lot. Espresso has about 60–80 mg, a large cup of filter coffee 100–150 mg or more, instant 60–90 mg, black tea 30–50 mg. For an exact dose before training, a tablet is easier.
Does coffee work as well as caffeine tablets?
Yes, in studies coffee also improved performance. The only problem is the dose: a cup can have 60 mg or 200 mg. If accuracy matters, take a tablet.
Why doesn't caffeine work on me?
Your response to caffeine depends on your genes: some people clear it quickly, others slowly, and receptors differ too. Your usual intake and lack of sleep also play a role. Don't go above 6 mg/kg just to feel it: it adds almost no benefit.
Does coffee dehydrate you?
Not at normal doses. Coffee slightly increases urine output, but in a study 4 cups a day were no different from water for fluid balance. Drink by thirst.
Can I take caffeine every day?
Yes, if you stay within 400 mg a day and sleep well. But you can build a tolerance to daily caffeine, and its effect on training will shrink. Before important competitions, some people lower their dose on regular days.
Is caffeine bad for your heart?
For healthy adults up to 400 mg a day, according to EFSA, no. With heart disease, an irregular heartbeat or high blood pressure, take caffeine supplements only after talking to your doctor.
Can I have caffeine during pregnancy?
No more than 200 mg a day from all sources, according to EFSA. That's about two cups of coffee. You don't need caffeine tablets or pre-workouts during pregnancy.
Is caffeine OK for teenagers?
Coffee and tea in reasonable amounts, yes. Caffeine tablets and pre-workouts, no. EFSA considers up to 3 mg per kg of body weight a day safe for teenagers, and that's easier to exceed than it seems.
Log your supplements in the app
Add your supplements with the dose and the app will remind you and log each dose. Free.
Based on publicly available sources. Reference information, not a substitute for medical advice. If you have a health condition, are pregnant or take medication, talk to your doctor.