
Caffeine and Sleep: Why It Affects Everyone Differently
We often hear simple advice when it comes to caffeine and sleep: “don’t drink it after mid-afternoon” or “avoid caffeine before bed”. But the reality is far more individual than a single rule can explain.
At Bensons for Beds, we know sleep isn’t just about general guidelines; it’s about how your body responds in real life.
And when it comes to caffeine, that response can vary more than most people realise.
How Sleep Actually Works: Three Systems Working Together
To understand caffeine’s impact, it helps to understand how sleep is regulated. Sleep is controlled by three interacting systems:
1. Sleep pressure
This builds the longer you are awake. Think of it as your body’s natural “need for sleep” accumulating throughout the day.
2. Circadian rhythm
Your internal body clock, which regulates when you feel naturally alert or sleepy across the 24-hour cycle.
3. Stress and arousal system
This influences how alert or “switched on” your brain feels. It’s shaped by stress, emotion, environment and stimulants like caffeine.
Caffeine mainly affects the sleep pressure and arousal systems, temporarily reducing the feeling of tiredness and increasing alertness.
But how strongly you feel this effect is not the same for everyone.
Why Caffeine Doesn’t Affect Everyone the Same Way
While general advice suggests cutting off caffeine in the afternoon, this doesn’t reflect how varied human sleep biology actually is.
Some people can drink tea in the evening and sleep normally. Others may feel alert hours after a single morning coffee.
This difference is largely down to:
- Genetic differences in caffeine metabolism
- Stress levels and daily fatigue
- Hormonal factors
- Sleep debt (how tired you already are)
- Medications or health conditions
- Individual nervous system sensitivity
In short, caffeine doesn’t behave like a universal rule, it behaves like a personal response.
Why “Average Advice” Isn’t Always Helpful
Much of the guidance around caffeine is based on averages. But sleep doesn’t happen on averages. Sleep happens in individual bodies, with individual routines, stress levels and lifestyles.
For example:
- A shift worker may rely on caffeine to stay alert at unusual hours
- Someone with ADHD may experience different stimulant effects that support focus and regulation
- Parents or carers may use caffeine to manage fragmented sleep schedules
- Others may associate tea or coffee with calm, routine and emotional comfort
This means caffeine isn’t just a stimulant; it can also be part of how people function, cope and regulate daily life.
Emotional Connection Matters Too
Caffeine also has a behavioural and emotional dimension.
For many people, a cup of tea or coffee is linked to:
- Routine and structure
- Comfort and familiarity
- Social connection
- Childhood or family memories
- Wind-down rituals
These associations can influence how calming or stimulating a drink feels, especially in the evening.
That’s why removing caffeine entirely doesn’t always improve sleep. Sometimes, the ritual itself plays a role in relaxation.
So Should you Avoid Caffeine Before Bed?
There’s no single right answer.
Instead of focusing on strict cut-off times, a more useful approach is to understand your own response.
Try experimenting with:
- When you last consume caffeine during the day
- How quickly you fall asleep afterwards
- Whether you wake during the night
- How rested you feel the next morning
- Whether you feel calm or restless in the evening
This kind of self-awareness is often more effective than following a fixed rule.
When Caffeine can be Helpful
It’s also important to recognise that caffeine isn’t inherently “bad” for sleep.
It can be useful for:
- Supporting alertness during shift work
- Managing demanding schedules
- Supporting focus in neurodivergent individuals
- Helping people function during periods of sleep disruption
The key is not elimination; it’s understanding timing, dose, and personal sensitivity.
Practical Takeaway: Experiment Rather than Restrict
Instead of trying to apply a universal rule, consider caffeine as something to explore:
- Notice how your sleep changes with different timings
- Adjust gradually rather than cutting everything at once
- Pay attention to both physical sleep quality and evening alertness
- Respect that your needs may differ from others
Sleep works best when it’s tailored to you, not to the average person.
FAQs: Sleep & Caffeine
How much caffeine keeps you awake?
There is no single amount of caffeine that will keep everyone awake.
A mug of instant coffee contains around 100mg of caffeine, although amounts vary considerably depending on the drink and how it is prepared. Even around 100mg can affect sleep when consumed close to bedtime in some people, while others may tolerate more without noticing an obvious effect. EFSA notes that a single dose of 100mg may affect sleep duration and sleep patterns in some adults, particularly when consumed close to bedtime (1).
Importantly, caffeine doesn't have to stop you falling asleep to affect your sleep. You might fall asleep normally but sleep for less time, wake more often or experience changes in your sleep quality.
The amount that matters is the amount that starts affecting your sleep or how you feel the following day.
How long before bed should you stop drinking caffeine?
Six hours before bed is a reasonable starting point, but it isn't a rule that works for everyone.
Caffeine can remain in your system for several hours. Its average half-life is around four hours in healthy adults, although this varies considerably between individuals.
If you're struggling to fall asleep, waking repeatedly or feeling unrefreshed during the day, try moving your final caffeinated drink earlier.
Some people may benefit from leaving eight or more hours between caffeine and bedtime, while others may find that stopping around lunchtime works better.
Rather than becoming anxious about a specific cut-off time, experiment with your caffeine timing and see what happens to your sleep.
How long does caffeine stay in your body?
The average half-life of caffeine in a healthy adult is around four hours, although it can vary from approximately two to eight hours. Half-life means the time it takes for your body to eliminate around half of the caffeine, not the time it takes for all of it to disappear.
For example, if you consume 100mg of caffeine at 3pm, there could still be around 50mg in your body several hours later.
How quickly you process caffeine can vary depending on factors including pregnancy, age, medicines, smoking and individual differences in metabolism.
Can caffeine affect your sleep even if you fall asleep normally?
Yes. Falling asleep is only one part of sleeping well.
Caffeine can affect sleep duration and sleep patterns even when you don't notice any difficulty getting to sleep. It may contribute to lighter or more disrupted sleep, particularly when larger amounts are consumed later in the day.
If you're falling asleep normally but waking more often than usual or feeling unrefreshed during the day, caffeine could be one factor worth investigating.
Can you drink coffee and still sleep well?
Absolutely. Plenty of people can enjoy coffee and sleep well.
There is no need to remove caffeine from your life without a reason. Instead, consider your own experience.
Ask yourself:
- How long does it usually take you to fall asleep?
- How often do you remember waking during the night?
- How easily do you get back to sleep?
- How do you feel a couple of hours after starting your day?
If your sleep is working well and you're functioning normally during the day, there may be no reason to stop drinking coffee.
Dose, timing and individual response all matter.
Does caffeine affect everyone differently?
Yes. Caffeine can affect people very differently.
Some people process caffeine relatively quickly, while others may still feel its effects many hours after drinking it. Genetics, age, pregnancy, medicines and individual metabolism can all play a role.
There can also be an emotional and cultural element to caffeine. For some people, an evening cup of tea is a comforting and familiar part of winding down.
If sleep is becoming a problem, switching that drink to decaf could allow you to keep the ritual while testing whether caffeine is contributing to the problem.
How much caffeine is too much for sleep?
There is no universal amount of caffeine that is guaranteed to be safe for everyone's sleep.
UK guidance and European food-safety advice state that up to 400mg of caffeine per day is unlikely to cause adverse effects for most healthy adults. However, this is a general safety guideline, not a guarantee that 400mg won't affect your sleep. Some people may notice sleep disruption at much lower amounts.
Remember to include caffeine from all sources, including:
- coffee
- tea
- energy drinks
- cola
- chocolate
- supplements
- some medicines
Timing matters as well as total intake. A large amount of caffeine later in the day is more likely to interfere with sleep than a smaller amount consumed earlier.
If you're pregnant, NHS guidance recommends no more than 200mg of caffeine per day.
Does tea affect sleep in the same way as coffee?
Tea and coffee contain the same caffeine molecule, so both can affect sleep.
Tea generally contains less caffeine than coffee, but the amount varies according to the type of tea, how it is brewed and the size of the drink.
As a rough guide, the FSA estimates around 75mg of caffeine in a mug of tea and around 100mg in a mug of instant coffee, although coffee-shop and filter coffees can contain more (2).
If your evening cup of tea is an important part of your routine, you don't necessarily have to give up the ritual. Try a decaffeinated version and see whether your sleep changes.
Does decaf coffee contain caffeine?
Yes. Decaf coffee still contains a small amount of caffeine.
“Decaf” means that most of the caffeine has been removed, rather than necessarily all of it.
For most people, the remaining amount is unlikely to cause a problem. However, if you're particularly sensitive to caffeine or drink several cups of decaf, you may still notice an effect.
Caffeine levels vary between products, so check the manufacturer's information if you're trying to monitor your intake closely.
Does caffeine in chocolate affect sleep?
It can, although chocolate usually contains much less caffeine than coffee.
Dark chocolate generally contains more caffeine than milk chocolate. The NHS estimates that a 50g bar of plain dark chocolate contains less than 25mg of caffeine, while the same amount of plain milk chocolate contains less than 10mg.
For most people, chocolate is unlikely to be the first thing to change when investigating poor sleep. However, it is worth considering as part of your overall caffeine intake, particularly if you're eating larger amounts later in the evening.
Can caffeine make you feel tired later?
Caffeine doesn't replace sleep or create energy. It temporarily reduces feelings of sleepiness.
As caffeine wears off, the tiredness that was already there can become more noticeable. This can contribute to a cycle where poor sleep leads to more caffeine the next day, which may then make it harder to sleep.
Regular caffeine users can also experience withdrawal symptoms such as headaches, tiredness and irritability when they suddenly reduce their usual intake.
Should I stop drinking caffeine if I'm struggling to sleep?
Not necessarily. But caffeine is one of the simplest things to investigate.
Try keeping a record for a week or two of how much caffeine you drink and when you drink it. Then try moving your final caffeinated drink earlier in the day or replacing it with decaf.
Pay attention to:
- how long it takes you to fall asleep
- how often you remember waking
- how easily you return to sleep
- how you feel a couple of hours after starting your day
If you consume a lot of caffeine, reduce it gradually rather than stopping suddenly. Withdrawal can cause headaches, fatigue and irritability, which can make it harder to tell whether changing your caffeine intake has actually helped.
What time should I stop drinking coffee if I go to bed at 10pm?
Stopping caffeine around 4pm gives you a six-hour gap before a 10pm bedtime and is a reasonable starting point.
But it isn't a guarantee that your sleep won't be affected.
If you're still struggling to fall asleep, waking during the night or feeling unrefreshed the following day, try moving your final coffee to 2pm or lunchtime and compare the difference.
Your response matters more than somebody else's caffeine cut-off time.
Can caffeine affect deep sleep?
Yes. Caffeine can affect sleep patterns, particularly when larger amounts are consumed later in the day.
Research shows that caffeine can interfere with sleep duration and alter sleep patterns, although the size of the effect varies depending on the dose, timing and individual.
Try not to become overly focused on the “deep sleep” number produced by a consumer sleep tracker. These devices estimate sleep stages rather than measuring them directly, so the number isn't necessarily an accurate representation of your sleep architecture.
Look at the bigger picture: how you're sleeping, how often you're waking and how you feel during the day.
Can you build up a tolerance to caffeine?
Yes, you can develop tolerance to some of caffeine's noticeable effects.
You may find that the same cup of coffee no longer makes you feel as alert or stimulated as it once did.
However, feeling accustomed to caffeine doesn't necessarily mean it has stopped affecting your sleep. You may not feel particularly stimulated but could still experience changes to your sleep duration or quality.
If you increasingly rely on caffeine to feel alert, it may be worth asking whether you're masking tiredness rather than addressing why you're tired.
Does caffeine affect sleep if I drink it in the afternoon?
It can.
Because caffeine can remain in the body for several hours, an afternoon coffee may still be present at bedtime. EFSA notes that caffeine's half-life varies considerably between individuals, with an average of around five-six hours in healthy adults.
A small coffee early in the afternoon may make no noticeable difference to one person, while another may experience more disrupted sleep after the same drink.
If your sleep isn't working well, try moving your afternoon caffeine earlier for a week or two and see whether your overall sleep improves.
The Bottom Line: Caffeine Isn't Automatically Bad for Sleep.
Some people can drink coffee in the afternoon and sleep perfectly well, while others are much more sensitive to even modest amounts. If you're having problems with sleep, look at how much caffeine you're consuming, when you're consuming it and how your own sleep responds.
You don't necessarily need to give up your morning coffee or favourite cup of tea. A small change in timing, or switching your final drink of the day to decaf, may be enough to find out whether caffeine is contributing to the problem.
And remember: falling asleep isn't the only measure of good sleep. How long you sleep, how often you wake and how you feel during the day all matter too.
Sources:

James Wilson - Sleep Expert
James is our current Sleep Expert and has helped hundreds of individuals, sports organisations and communities with their sleep using his non-nonsense approach to sleep methods. He has also written, presented, and broadcasted about sleep for over 10 years. His sleep expertise has been showcased on the Channel 4 series The Secrets of Sleep, as well as through appearances on The One Show, This Morning, BBC Breakfast, Steph’s Packed Lunch, Channel 4 News, Sky Sports, Football Focus, and many more.
