← Coffee guide

How much caffeine is in coffee and when to drink it

More myths circulate around caffeine in coffee than around almost any other component of the diet. Espresso is stronger, so it has more caffeine? Dark roasting adds a kick? Afternoon coffee will surely ruin your sleep? Some of these beliefs are false, and some are only half true. Caffeine is a fascinating substance with a predictable, calculable mechanism of action. Once you understand how much of it you really drink and how long it stays in the body, you gain control over your own energy and sleep - and coffee stops being a lottery between alertness and insomnia.

How much caffeine a cup holds

Let us start with concrete numbers, because they surprise. A standard cup of filter or drip coffee (200-250 ml) usually contains around 100-150 mg of caffeine. A single espresso (about 30 ml), on the other hand, is only roughly 60-80 mg. In other words, a large mug of ordinary coffee usually has more caffeine than one espresso, even though espresso seems far stronger. This is one of the most common mistakes. The strong, intense flavour of espresso comes from its concentration, not from the absolute amount of caffeine. So when you want less caffeine, espresso is not always the wrong choice - sometimes it is the opposite.

Espresso versus filter - the concentration paradox

Where does this apparent contradiction come from? The whole secret lies in the difference between concentration and serving. Per millilitre, espresso is far more concentrated: 100 ml of espresso has about 130 mg of caffeine, while 100 ml of filter coffee has only about 70 mg. So espresso is denser. But you drink very little of it - a mere 30 ml. Filter coffee, on the other hand, you drink 200 ml and more, so despite the lower concentration the total caffeine dose comes out higher. It is a classic example of the fact that what matters is not only how strong something is, but also how much of it you drink. We have covered the differences between brewing methods more broadly elsewhere.

What really affects the dose

The amount of caffeine in your coffee depends on a few factors, and they are not the ones usually blamed. The most important is the kind of bean: robusta has about twice as much caffeine as arabica, so coffee with a robusta blend kicks harder. The second factor is the amount of coffee used - the more ground bean per serving, the more caffeine, regardless of method. The third is the contact time of water with coffee: longer brewing draws out more caffeine, which is why cold brew can be very strong. We have written about the difference between arabica and robusta separately. It is these three things, not the apparent strength of flavour, that decide the real dose.

The dark roast myth

There is a stubborn belief that dark-roasted coffee has more caffeine because it is stronger in flavour. This is untrue, and the differences are minimal. Caffeine is a very thermally stable substance and roasting barely destroys it - the bean loses mainly water and mass during roasting, not caffeine. Interestingly, this leads to a small measurement paradox: if you measure coffee by the scoop (by volume), darker, lighter beans give a little less caffeine; if you measure by weight (by grams), the difference practically disappears. In practice the roast level has a negligible effect on the caffeine dose. The intense, bitter flavour of a dark roast is a matter of aroma, not stimulation. More on how roasting shapes flavour.

How caffeine works in the brain

To drink coffee wisely, it helps to know how caffeine works at all. Over the day a substance called adenosine builds up in the brain, causing the feeling of tiredness and sleepiness - the longer you stay awake, the more of it you have. Caffeine has a molecular shape similar to adenosine, so it sneakily occupies its receptors, not letting it attach. The result? The brain stops receiving signals of tiredness - it does not add energy, it blocks the sense of its absence. This is a crucial distinction: caffeine does not charge the battery, it merely hides the gauge showing it is drained. When it stops working, all the accumulated adenosine hits at once, hence the sudden tiredness after coffee.

The half-life - that is, when it disappears

Here we reach the most important number for your sleep: the half-life of caffeine. In a healthy adult it is about 5-6 hours. This means that after that time half of the dose you drank is still circulating in the body. If at 2 pm you drink coffee with 200 mg of caffeine, then around 8 pm you still have about 100 mg in you, and around 2 am - still about 50 mg, that is as much as an espresso. This maths explains why afternoon coffee can disturb sleep, even if you fall asleep without trouble. The first half disappears quite quickly, but the second half stays with you surprisingly long - and it is the one working against your sleep.

How late you can drink coffee

Since we know the half-life, we can draw a practical conclusion. Studies show that even coffee drunk six hours before bed can measurably shorten and worsen sleep, even though you feel no stimulation subjectively. The safe rule goes: drink your last coffee at least eight, and ideally ten, hours before your planned sleep. If you go to bed at 11 pm, your last strong coffee should fall around 1-3 pm. A smaller dose (one espresso) is milder and can often be drunk a little later, but a large mug in the afternoon is a risk. You need not give up the afternoon pleasure - you can reach for decaf, which gives the flavour without the consequences.

Individual sensitivity

All these numbers are averages, and people differ enormously. The rate at which you break caffeine down depends on your genes - some have a variant of the enzyme that does it fast (and drink espresso after dinner with no trouble), others metabolise it slowly (and one morning coffee lasts them all day). Smoking (speeds up the breakdown), pregnancy and some medications (slow it down) and simply body mass also play a part. That is why there is no single universal rule - there is only your own. The best thing you can do is observe yourself: if you sleep badly, push the hour of your last coffee earlier and see if it helps. Your body is the best sensor.

Tolerance and the morning ritual

Over time the body gets used to caffeine - that is tolerance. The brain, bombarded with caffeine, creates more adenosine receptors, so the same dose works ever weaker, and without it you feel worse than before you started drinking. Hence the morning headache in people who skip their coffee. A curiosity: many experts advise not drinking coffee right after waking but waiting an hour or two. Just after getting up, the level of cortisol (the natural stimulation hormone) is high, so coffee then partly goes to waste. Drunk later, when cortisol drops, it gives a clearer effect. If you feel coffee has stopped working, a break of a few days sometimes helps, resetting your sensitivity.

How much is too much

Finally, a question of safety. For a healthy adult, about 400 mg of caffeine a day is considered a reasonable upper limit, that is roughly three or four cups of coffee. It is the dose at which most people reap the benefits (alertness, concentration) without unpleasant effects. Exceeding it risks nervousness, heart palpitations, irritability and precisely sleep disturbance. Caffeine has real benefits - it improves alertness and performance - but as with everything, moderation and timing matter. The key is not the amount in itself, but matching it to your own body and the time of day. Conscious coffee is the kind you drink for pleasure and energy, not against your own sleep.

Note in GustoNote when you drink coffee and how you sleep - after a few days you will see for yourself your personal hourly threshold, beyond which coffee starts to steal your sleep.