Breathe with Alessio

Home › Articles › Caffeine, anxiety and sleep

Caffeine, anxiety and sleep

By Alessio, Certified Breathwork Instructor · last reviewed 2026-11-09

Caffeine and anxiety are closely linked. Caffeine can make anxiety worse, and it can cost you sleep even when you no longer feel it.

I used to drink five espressos a day, because I had a coffee machine at home.

Key takeaways

  • Caffeine can increase your body's stress response. If you're already anxious or sensitive to caffeine, it may make those feelings stronger.
  • In one home sleep study, 400 mg of caffeine taken 6 hours before bed still cut sleep by more than an hour, and people's own sleep diaries didn't pick it up.
  • Cutting down slowly, and replacing the afternoon coffee with 2 minutes of slow breathing, is a gentle place to start.

How caffeine feeds anxiety

Caffeine can put your body in fight-or-flight with nothing to fight or run from. I lived there on five espressos a day.

I was working 12, sometimes 14 hours a day in a restaurant. I lived in fight-or-flight all the time, even when I wasn't doing anything in particular. I was never relaxed.

There's a real reason for that feeling. Caffeine can increase stress hormones in the body. A study led by William Lovallo found that caffeine raises cortisol, the stress hormone. In people who had caffeine every day the rise was smaller, but it didn't disappear (Lovallo et al., 2005). If you're already anxious, it may be like pouring a little fuel on a fire that's already burning.

How caffeine hurts your sleep, even when you don't feel it

Most people say: "Coffee doesn't affect me, I can drink one at 4pm and sleep fine."

Maybe. But in a home sleep study, people took 400 mg of caffeine, more than a single coffee, either at bedtime, 3 hours before or 6 hours before. Even at 6 hours, a sleep monitor showed it cut their sleep by more than an hour. And their own sleep diaries didn't pick it up (Drake et al., 2013).

That's why a simple rule helps: no caffeine after 1pm.

What happened when I stopped

During the pandemic, when I started to get in touch with my body, I realized how bad coffee was for me. I noticed how much tension it built up, and how relaxed I could feel without it. That comparison gave me the strength to quit the habit.

Now I have one or two coffees a week, just for the taste. And I notice that if I drink one, I go straight back into that stress state. My muscles tense up, and it's hard to fall asleep.

I'm not telling you to quit coffee. I'm telling you to notice what it does to you.

Try this now: the 3pm breath instead of the 3pm coffee

The afternoon slump is where most of us reach for one more coffee. Try this first. The breath is a good friend: always there, and when you give it gentle attention, you get to know it better.

  1. Sit back in your chair, feet on the floor. Close your eyes or lower your gaze.
  2. For 2 minutes, breathe through your nose: about 4 counts in, 6 counts out. Nothing to get right.
  3. Then stand up, stretch your arms up, and drink a glass of water.

If the counting winds you up, drop it. Lift your gaze and simply let each breath out last a bit longer than the breath in.

How long: 2 minutes, plus the stretch. How often: every afternoon when the slump hits. Give it a week before you judge it.

This is a slow 4:6 breath: in for 4, out for 6. It doesn't give you a caffeine kick. It may give you something different: a calmer head instead of a buzzy one.

Want a guide? This 2-minute timer uses 4 in, 8 out, a little longer than the 4 and 6 above. If 8 feels long, stay with 6 on your own.

How to cut down without suffering

When to see a doctor

Chest pain, trouble breathing or fainting needs urgent help: call your local emergency number.

Please talk to your doctor if:

  • you have palpitations or a racing heart.
  • you feel anxious most days, even after cutting down.
  • you get bad headaches or feel very unwell when you try to cut down.
  • you're pregnant, or have heart problems or high blood pressure. Ask how much caffeine is safe for you.

Breathing is a relaxation practice, not medical care. It works alongside whatever else you're doing.

FAQ

Can caffeine cause anxiety?

Caffeine can raise stress hormones. Many people find it can bring on or worsen anxious feelings, especially if they're sensitive to it or already anxious. Cutting down is a simple experiment worth trying.

How long before bed should I stop drinking coffee?

At least 6 hours, based on sleep research, and many people do better with no caffeine after early afternoon. Aim for none after 1pm.

Why does coffee make me anxious and tired at the same time?

Caffeine can push your body into a more alert, stressed state, and it can also break up your sleep. So you get both: wired during the day and short on real rest at night.

Keep going

Sources: M. Pistono, Breathe How You Want to Feel (no caffeine after 1pm, 4:6 cadence breathing) · J. Hall, Breathe (breath awareness) · Lovallo et al., Psychosomatic Medicine 2005 · Drake et al., J Clin Sleep Med 2013 · Juliano and Griffiths, Psychopharmacology 2004 · Alessio's own experience.

Can't switch off at night?

Get my free 10-minute guided practice for the moment you turn the light off. Gentle: no breath holds, no fast breathing.

Send me the practice

Keep reading

Anxiety after drinkingAnxiety after drinking, or hangxiety, can turn a fun night into a day of dread. Why alcohol does this, and a gentle breath to get through the morning after.Read →The best breathing exercise for sleepWhat's the best breathing exercise for sleep? 4 gentle techniques compared: who each one suits, how long to do it, and which to skip if you're anxious.Read →Sleep anxiety: the fear of not sleepingSleep anxiety can turn bedtime into a test you're afraid to fail. Learn why trying harder can backfire, and try a gentle breathing practice without counting.Read →Replaying your mistakes at nightReplaying mistakes at night and feeling guilty? Learn why your mind keeps returning to the past, and try a gentle hand-on-heart breathing practice.Read →

All articles →