Back to blog

Caffeine: when does it help, and when does it make your energy worse?

Sonia Biecka

Sonia Biecka

Dietitian

Caffeine: when does it help, and when does it make your energy worse?

For many people the day only starts after the first coffee. Caffeine helps you wake up, improves concentration, and makes it easier to get to work. The problem appears when it stops being an aid that supports functioning and starts being used to mask chronic sleep deprivation.

You can fall asleep after an afternoon coffee and at the same time sleep more shallowly. You can also drink several cups, feel a surge of energy for a moment, and a few hours later struggle with even greater fatigue.

Caffeine is neither unambiguously good nor bad. Its effect depends above all on the dose, the time of consumption, sleep quality, individual sensitivity, and how often we reach for it.

How does caffeine work?

Over the course of the day, adenosine, a substance involved in building up sleep pressure, gradually accumulates in the brain. The longer we stay active, the stronger the signal of tiredness and the need for rest becomes.

Caffeine binds to adenosine receptors and temporarily limits the brain's ability to receive this signal. As a result, we may feel more alert, less sleepy, and better focused. Imaging studies confirm that caffeine doses typical of everyday consumption occupy a substantial share of the adenosine receptors in the brain.

It is worth stressing, however, that caffeine does not remove the physiological need for sleep and does not replenish the body's energy reserves. Above all, it reduces the perception of fatigue. When its effect wears off, the sleep debt is still there.

That is why coffee can help you get through a harder morning, but it will not replace recovery.

When does caffeine actually help?

1. When you need better alertness and reaction time

Caffeine can improve alertness, attention, and speed of reaction. The benefits are particularly visible in situations involving monotonous tasks, night work, long drives, or restricted sleep.

Studies conducted under sleep deprivation show that caffeine can temporarily limit the decline in attention and cognitive performance. It does not, however, restore the full capacity seen after a properly slept night, and over consecutive nights without adequate recovery its effectiveness may decrease.

This means that caffeine can be a useful short-term solution, but it should not be treated as a strategy for coping with a regular sleep deficit.

2. Before a demanding mental task

A small or moderate dose of caffeine can help before a task that requires focus, quick reactions, or sustained attention over a longer period.

A larger dose does not always mean better concentration, though. Beyond an individual threshold, the benefits can be replaced by agitation, tension, racing thoughts, trembling hands, or difficulty focusing on a single activity.

The goal should therefore not be maximum stimulation, but a level of alertness that genuinely helps you complete the task.

3. Before a workout

Caffeine is one of the best-researched substances supporting physical performance. It can reduce the subjective feeling of effort and improve results in endurance training, team sports, and some high-intensity efforts.

In many cases, doses of around 2–3 mg of caffeine per kilogram of body weight prove effective. Higher doses do not necessarily provide additional benefits, but they more often cause heart palpitations, anxiety, gastrointestinal problems, and worse sleep.

Coffee or a supplement before an evening workout can therefore improve the quality of a single session while at the same time making overnight recovery harder. In that situation, the potential training benefit does not always outweigh the cost of worse sleep.

When does caffeine start making your energy worse?

1. When it masks a sleep deficit

The most common problem is not the mere presence of caffeine in the diet, but what it is used for.

If after a sleepless night we reach for coffee in order to function, caffeine can be helpful. But if we repeat this pattern every day, a vicious circle easily forms:

  1. Sleep that is too short or too shallow causes fatigue.
  2. In the morning, a need for a bigger dose of caffeine appears.
  3. Another coffee is drunk in the afternoon.
  4. Caffeine reduces sleep pressure and worsens the quality of the night's rest.
  5. The next day, even more caffeine is needed.

In this situation coffee does not solve the problem of missing energy. It only helps to hide it for a while.

2. When you drink it too late

Caffeine's effect on sleep is one of the most important reasons why it can make your energy worse the next day.

In a study in which participants took 400 mg of caffeine before bed, sleep disruption was observed even when the dose was consumed six hours before going to bed.

A more recent study showed that both timing and dose size matter. In the men studied, 100 mg of caffeine taken four hours before bed did not cause a significant deterioration in sleep parameters. A single 400 mg dose, however, could disturb sleep even when consumed 12 hours earlier. Participants did not always correctly judge how strongly caffeine had affected their night's rest.

So there is no single cut-off hour that works for everyone. A sensible rule is to stop taking caffeine about 8 hours before your planned bedtime. People who are very sensitive, struggle with insomnia, or take larger doses may need an even longer break.

If you usually fall asleep around 11 p.m., it is best to have your last coffee by around 3 p.m. In the case of a large coffee, an energy drink, or a pre-workout, it is worth stopping caffeine earlier.

3. When the dose is bigger than you think

Caffeine is not found only in coffee. Its sources can also include:

  • tea,
  • matcha,
  • yerba mate,
  • energy drinks,
  • cola,
  • cocoa and dark chocolate,
  • energy gels,
  • pre-workout supplements,
  • focus-support supplements,
  • some painkillers.

Doses can therefore add up over the day. An espresso, a large filter coffee, an energy drink, and a pre-workout supplement can together deliver considerably more caffeine than we assumed.

The European Food Safety Authority considers that for most healthy adults, single doses of up to 200 mg and total intake of up to 400 mg per day should not raise safety concerns. This does not mean, however, that 400 mg is the optimal dose for energy, concentration, or sleep. It is an upper level, not a target to aim for.

Some people may experience unwanted effects after as little as 50–100 mg.

4. When tolerance builds up

With regular caffeine consumption, the body partially adapts to its effects. Over time, the same cup may produce a less noticeable effect, and a bigger dose is needed to reach a similar level of stimulation.

What is more, part of the improvement in how you feel after a morning coffee may come not from reaching above-average energy, but from removing the mild symptoms of the overnight break in caffeine intake.

Research indicates that in regular consumers, part of the perceived benefit may be related to reversing withdrawal symptoms such as sleepiness, worse mood, or reduced concentration.

A sign of growing tolerance may be a situation in which coffee no longer clearly improves how you feel, but its absence causes headache, irritability, and difficulty starting the day.

5. When you suddenly cut off a large amount of caffeine

Sudden caffeine withdrawal can cause:

  • headache,
  • sleepiness,
  • a drop in energy,
  • problems with concentration,
  • irritability,
  • low mood,
  • a feeling of "brain fog".

These symptoms may make a person trying to cut back on coffee conclude that they function much worse without caffeine. In reality, this may be a temporary reaction of the body to withdrawal. The phenomenon has also been confirmed in double-blind studies.

That is why, with high intake, it is better to reduce caffeine gradually. For example, you can shrink your portion size every few days, swap one coffee for a decaf, or gradually reduce the amount of caffeine in your pre-workout.

6. When it fuels tension instead of concentration

Caffeine can increase nervous system arousal. In some people this improves motivation and the ability to act, but in others it leads to:

  • anxiety,
  • irritability,
  • a racing heartbeat,
  • trembling hands,
  • racing thoughts,
  • a feeling of pressure,
  • difficulty focusing attention.

The risk increases with the dose, although individual reactions vary widely. Particular caution should be exercised by people with anxiety disorders, panic attacks, and high sensitivity to the physical symptoms of arousal. Research indicates that high doses can increase anxiety levels and, in people with panic disorder, provoke panic attacks.

If after coffee you feel tired and overstimulated at the same time, increasing the dose is usually not the best solution.

Where does the post-coffee energy dip come from?

The so-called caffeine crash can have several causes.

First, when caffeine's effect wears off, we again start to feel the fatigue that was previously masked.

Second, a large amount of caffeine can cause short-lived overstimulation. After a period of tension, fast action, and high activity, the subjective drop in energy becomes more noticeable.

Third, the drink that delivered the caffeine may matter. A sweetened coffee, an energy drink, or a coffee beverage can contain a lot of sugar and calories. How you feel after drinking them does not have to come from the caffeine alone.

Fourth, a "crash" can appear when the next dose is consumed only to avoid withdrawal symptoms.

Close-up of the creamy crema of freshly brewed coffee

How to use caffeine so it supports your energy

Start with the smallest effective dose

Not every situation calls for a large coffee or a strong pre-workout. For many people, 50–100 mg of caffeine may be enough.

If a small coffee improves your concentration, increasing the dose will probably not bring proportionally greater benefits.

Do not treat 400 mg as a recommended dose

The safety limit is not the same as the optimal dose. A good amount of caffeine is one that improves alertness without causing anxiety, heart palpitations, irritability, or sleep problems.

Keep a break of about 8 hours before sleep

Sensitivity is individual, so it is worth observing not only how easily you fall asleep, but also:

  • the number of night-time awakenings,
  • sleep quality,
  • how you feel in the morning,
  • the need to use an alarm clock,
  • the need to drink coffee immediately after waking up.

Being able to fall asleep quickly after coffee does not automatically mean that caffeine has no effect on the structure and quality of your sleep.

Do not stack sources of caffeine

Pay attention not only to coffee, but also to energy drinks, tea, matcha, cola, supplements, and pre-workouts. It is especially easy to exceed your own tolerance when caffeine comes from several products.

Use caffeine strategically

It may bring the most value when used before a specific task: a workout, a longer journey, or work requiring focus.

Drinking coffee automatically, at every small dip in energy, can promote growing tolerance and make it harder to recognise the real causes of fatigue.

Who should be particularly careful?

Individual caffeine tolerance depends, among other things, on metabolism, genetics, medications used, health status, and pregnancy. The biological half-life of caffeine in adults can range from about 2 to 8 hours, and in some situations be even longer.

Greater caution should be exercised by people:

  • with insomnia or very shallow sleep,
  • with anxiety disorders and panic attacks,
  • who experience heart palpitations after caffeine,
  • taking medications that affect caffeine metabolism,
  • with conditions in which a doctor has recommended limiting stimulants,
  • who are pregnant.

In pregnancy, EFSA recommends limiting caffeine from all sources to a maximum of 200 mg per day.

Summary

Caffeine can be an effective tool for improving alertness, reaction time, concentration, and performance during training. It works best when used consciously, in a small or moderate dose, and early enough in the day.

It starts making your energy worse when:

  • it replaces sleep,
  • it is consumed in the late afternoon or evening,
  • doses gradually increase,
  • it causes anxiety and overstimulation,
  • it serves mainly to remove withdrawal symptoms,
  • it masks chronic fatigue that requires finding the real cause.

The most important question is therefore not "Is caffeine healthy?", but "After this dose, do I also function better a few hours later and the next morning?".

If coffee gives a short-lived boost but at the same time worsens sleep and increases fatigue the next day, the balance may be negative. Used well, caffeine supports your energy. Used badly, it merely borrows it from the following night.

Frequently asked questions

How much caffeine per day is safe?

For most healthy adults, a total caffeine intake of up to 400 mg per day is considered safe. This does not mean, however, that everyone will tolerate such a dose well. In some people, as little as 50–100 mg can cause anxiety, heart palpitations, trembling hands, or sleep problems. It is worth remembering that 400 mg is the upper safety limit, not a recommended amount to consume every day.

How much caffeine is in coffee?

The caffeine content depends on the type of beans, the brewing method, the portion size, and the extraction time. Approximate values are:

  • espresso: about 50–80 mg,
  • double espresso: about 100–160 mg,
  • filter coffee: about 80–150 mg,
  • instant coffee: about 50–90 mg,
  • a 250 ml energy drink: most often about 80 mg.

A large coffee-shop coffee can contain considerably more caffeine than a small espresso. That is why the size of the drink does not always reflect the actual dose.

What time is best for the last coffee of the day?

The safest rule is to stop taking caffeine about 8 hours before your planned bedtime. If you fall asleep around 11 p.m., it is best to have your last coffee by around 3 p.m. People who are very sensitive to caffeine, have sleep problems, or take larger doses may need as much as a 10–12 hour break.

Can you drink coffee right after waking up?

You can, especially if it helps you function day to day. There is no need to wait exactly 60 or 90 minutes after waking. It is worth paying attention first to hydration, sleep, and morning light exposure. If you reach for coffee immediately because you cannot function without it, this may indicate insufficient recovery or a developed tolerance to caffeine.

Is coffee on an empty stomach harmful?

For most healthy people, drinking coffee on an empty stomach is not dangerous in itself. It can, however, worsen heartburn, stomach pain, nausea, jitteriness, or anxiety. If such symptoms appear after coffee drunk without food, it is worth having it after a meal or together with food.

Does coffee dehydrate you?

Caffeine can have a mild diuretic effect, especially in people who do not consume it regularly. Coffee still provides fluids, though, and in typical amounts does not cause dehydration in healthy people. Even so, it should not be the only source of fluids during the day. Water and other drinks without large amounts of caffeine and sugar remain the basis of hydration.

References

  1. Elmenhorst D, Meyer PT, Matusch A, Winz OH, Bauer A. Caffeine occupancy of human cerebral A1 adenosine receptors: in vivo quantification with 18F-CPFPX and PET. Journal of Nuclear Medicine. 2012;53(11):1723–1729.
  2. Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine. 2013;9(11):1195–1200.
  3. Gardiner CL, et al. Dose and timing effects of caffeine on subsequent sleep. Sleep. 2025;48(4):zsae230.
  4. Killgore WDS, et al. Multiple caffeine doses maintain vigilance, attention, complex motor sequencing, and manual dexterity during 77 hours of total sleep deprivation. Neurobiology of Sleep and Circadian Rhythms. 2020.
  5. James JE, Rogers PJ. Effects of caffeine on performance and mood: withdrawal reversal is the most plausible explanation. Psychopharmacology. 2005.
  6. Silverman K, Evans SM, Strain EC, Griffiths RR. Withdrawal syndrome after the double-blind cessation of caffeine consumption. The New England Journal of Medicine. 1992;327:1109–1114.
  7. European Food Safety Authority. Scientific Opinion on the Safety of Caffeine. EFSA Journal. 2015;13(5):4102.
  8. U.S. Food and Drug Administration. Spilling the Beans: How Much Caffeine Is Too Much? Updated 2024.
Caffeine: when does it help, and when does it make your energy worse?