Anxiety & stress

Caffeine and anxiety: does coffee make you more on edge?

A racing heart and shaky hands after coffee: is it anxiety or caffeine? What caffeine does in the body, why it can feel like anxiety, how it affects sleep, and how to cut back gently.

By mettame editors9 min read
A coffee and an iced tea on an office desk in late afternoon light, the person beside them resting a hand on their chest
Image: Illustration: mettame (AI-generated)

A latte from the convenience store on the way in, a bubble tea ordered before the afternoon meeting: for many people in Taiwan that's just a normal day. But you may have noticed that on some days, after the second drink, your heart starts racing, your hands shake a little, your chest feels tight and your mind tenses up as if something is about to go wrong.

Is that anxiety, or is it the caffeine? This isn't a "quit coffee" article. It sets out what the sources say, so you can read your own body's signals and decide whether and how to adjust.

What caffeine does in the body

The brain has a substance called adenosine, and its receptors are involved in sleep and alertness. As Examine.com, a site that summarizes nutrition research, explains, caffeine's main action is to occupy adenosine's receptors so adenosine can't bind. It doesn't unlock anything; it's more like something jammed in the keyhole, so for a while you don't feel as tired.

That also affects other neurotransmitters, such as norepinephrine and dopamine, which are tied to alertness, mood and motivation. It's part of why coffee can make you feel more awake and even a bit more cheerful.

On timing, Examine.com's summary says:

  • Caffeine is mostly absorbed from the small intestine within an hour, then spreads through the body, including the brain.
  • Blood levels usually peak within two hours, which is roughly when you feel most "switched on".
  • The half-life, the time the body takes to clear half of it, ranges from about 3 to 10 hours. It varies a lot between people, depending on how much of a particular metabolizing enzyme they have.

A bit of simple arithmetic: if your half-life is five hours, about half of the coffee you drank at 3 p.m. is still in your body at 8 p.m. That matters for sleep, which comes up below.

Racing heart, shaky hands, tension: sensations that look like anxiety

A handbook from Taiwan's Ministry of Health and Welfare lists common physical signs of anxiety: a fast or pounding heartbeat, rapid breathing, trembling, sweating or sweaty palms, muscle tension, dry mouth, nausea. Compare that with how you feel after too much coffee. Some of it probably sounds familiar.

That's not a coincidence. Caffeine increases the release of norepinephrine, which is linked to the body's "fight or flight" response, and for some people the physical effects can resemble a panic attack. Reference sources also note that both caffeine and anxiety increase activity in the sympathetic nervous system. You may be feeling the same set of body signals, which is why the two are so easy to mix up.

What does research say about caffeine and anxiety?

  • On average people feel more anxious after caffeine, but results vary widely. A meta-analysis by Zhang and colleagues pooled 12 randomized controlled trials and found anxiety scores were, on average, higher after caffeine than under control conditions. The differences between studies were very large, and the authors stress this doesn't mean everyone reacts the same way.
  • The amount may matter. In an exploratory comparison in the same analysis, studies with caffeine doses of 200 mg or less showed anxiety scores close to the control conditions, while studies using more than 200 mg showed clearly higher scores. The authors add that this is a rough grouping and does not make 200 mg a safe limit or a clinical threshold.
  • Other studies point the same way. A scoping review by Aucoin and colleagues found that observational and human experimental studies were more likely to report worsening anxiety with higher caffeine intake.
  • People already prone to anxiety are more sensitive. A review by Sarris and colleagues notes that people with anxiety disorders are especially sensitive to caffeine's anxiety-provoking effects. In one experiment using a high dose of caffeine (10 mg per kilogram of body weight), people with panic-related difficulties reported more anxiety, palpitations, restlessness and tremor after caffeine than healthy participants.

So if you're a naturally anxious person, or you've had panic attacks before, and coffee hits you harder than it does your friends, it doesn't mean you're "too fragile". Your body is simply more sensitive to it. For more on panic attacks, see What to do during a panic attack.

Caffeine and sleep

Caffeine keeps you awake: that's both the point and the price. Reference sources note that drinking it close to bedtime, or on and off all day, can delay sleep, shorten total sleep and lower sleep quality. It may reduce deep sleep early in the night and affect REM sleep later on.

A review by Fusi and colleagues describes related studies: healthy young adults who took 150 mg of caffeine three times a day for 10 days had worse REM sleep, and caffeine taken 30 minutes before bed has been found to cause insomnia.

But people differ. Phan and colleagues reviewed studies on regular caffeine use and how well people feel they sleep: four of the included studies found worse sleep quality and six found no significant link, so the evidence isn't enough to draw a firm conclusion. Possible reasons include genetic differences, the body adapting to regular caffeine, and many people already avoiding it close to bedtime.

The pattern worth watching is a familiar loop: you sleep badly, so you need more coffee to get through the next day; more coffee, later in the day, means another bad night. Reference sources point out that sleep loss on its own lowers alertness and attention, which works against the very reason you reached for the coffee. If sleep is a struggle for you, see Can't sleep? Wind-down and breathing practices for bedtime.

Watching yourself: amount, timing and sensitivity

Since people react so differently, the most reliable data is your own. Rather than adopting someone else's rule, spend a week or two observing.

1. Amount: count every source

In Taiwan, caffeine isn't only in coffee. Coffee from convenience stores and cafés, black tea, green tea and milk tea from bubble tea shops, and energy drinks can all contain it, and reference sources note that some medicines do too. The sources used here don't give caffeine figures for common Taiwanese drinks, so: check the label on bottled drinks, ask at the counter for freshly made ones, and count large or extra-strong cups as more.

2. Timing: when is your last cup?

Because the half-life can stretch over several hours, an afternoon or early-evening drink may affect your night more than your morning one. The time of your last caffeinated drink is often more telling than the number of cups.

3. Sensitivity: how does your body respond?

Reference sources note that how long caffeine stays in the body depends on age, liver function, medications, pregnancy and other factors, and research has also linked genetic differences in adenosine receptors to caffeine sensitivity. A coworker who handles three coffees a day isn't proof that you can.

A simple log

Each time you have a caffeinated drink, note:

  • What it was, what size, and what time.
  • Whether, within an hour or two, you noticed a racing heart, shaky hands, a tight chest or restlessness.
  • What time you fell asleep that night, how often you woke, and how you felt the next day.

A week or two is often enough to see patterns, such as "whenever I have that afternoon bubble tea, I can't fall asleep" or "I sleep better on coffee-free weekends". A post-disaster mental health handbook from Taiwan's Ministry of Health and Welfare describes noticing your own habits as the first step in adjusting them: you have to see the pattern before you know where to start.

If you want to cut back

The Sarris review makes a practical suggestion: people with anxiety symptoms who take in a lot of caffeine may benefit from moderating their intake. The authors are candid that no prospective study has yet tested cutting back on caffeine in people with anxiety disorders, so this is practical advice rather than a proven treatment. If your log suggests caffeine is tied to your tension or poor sleep, here are some directions to try.

One note first: reference sources say caffeine-related discomfort can show up while you're drinking it and also after you stop. The sources here don't give a specific schedule for cutting down, so the safer approach is to go gradually rather than stopping all at once.

1. Start with the latest cup

There's no need to drop your morning coffee first. Move the afternoon or evening drink earlier, make it smaller, or swap it for something caffeine-free, then see whether your sleep changes.

2. Go smaller, or switch

At the bubble tea shop, choose a caffeine-free option; at the café, go from large to medium. Change one thing at a time. It's easier to keep up, and you can tell which change actually helped.

3. Ask why you're really drinking it

The Sarris review notes that some people with low mood lean on caffeine more heavily for a lift. If you drink coffee because you're chronically short on sleep, exhausted or feeling low, cutting coffee without looking at the reason underneath often leads straight back to where you started.

4. Give yourself time to adjust

The Ministry of Health and Welfare handbook also notes that new habits feel effortful at first, and under stress we slip back into old ones. An extra cup now and then isn't failure. Look at your log and adjust again.

If you still feel jittery while cutting back, body-based self-regulation can help, such as lengthening your out-breath or pressing your feet into the floor. Step-by-step instructions are in Feeling anxious? 10 self-regulation techniques.

When to reach out for help

Caffeine is only one of many things that affect anxiety. MedlinePlus describes anxiety as a normal reaction to stress, but when it doesn't go away, keeps getting worse, or gets in the way of work, school or relationships, it's worth talking to a professional. In these situations, don't rely on adjusting your drinks alone:

  • You've cut back on caffeine and still often have palpitations, chest tightness or tremor. The Ministry of Health and Welfare handbook advises seeing a doctor early when physical symptoms persist and affect daily life, to rule out other physical causes; MedlinePlus also lists physical conditions such as thyroid problems and an irregular heartbeat among the factors linked to anxiety.
  • Anxiety or worry keeps disrupting your sleep, work or relationships. In Taiwan you can see a psychiatrist (身心科 or 精神科), a clinical psychologist or a counseling psychologist.
  • You take medication, are pregnant, or have a heart, thyroid or other health condition: please talk to your doctor about how much caffeine is right for you. StatPearls notes that besides high caffeine intake, some medications can also make anxiety worse; discuss any medication questions with your doctor.

If you're not sure where to start, see Looking for a psychologist in Taiwan?

If you need help right now (for readers in Taiwan): for sudden chest pain, difficulty breathing or feeling about to faint, get medical help immediately; in an emergency call 119. If anxiety leaves you feeling you can't go on, or you have thoughts of harming yourself, call the 1925 Mental Health Hotline (24 hours), or Lifeline 1995 or Teacher Chang 1980. If you are in immediate danger, call 110 or 119.

Talk this through with mettame

Tell the AI companion what's going on and sort your thoughts together. It is not a doctor or psychologist, and it can connect you with a real person.

I often feel jittery and panicky after coffee. Should I cut back?

FAQ

Can coffee give you an anxiety disorder?

Most studies look at how people feel shortly after caffeine, such as how tense they are in the moment, not at whether they go on to develop an anxiety disorder. So the sources here don't support the claim that coffee causes anxiety disorders. What is clearer is that a lot of caffeine can trigger or worsen anxious feelings, and people who are already prone to anxiety or panic tend to be more sensitive. Whether your anxiety needs professional support is something a psychiatrist or psychologist can assess.

Does tea have less caffeine than coffee? What about bubble tea?

Tea and milk tea can contain caffeine just like coffee, but the amount varies a lot with the type of tea, how strong it is and the size of the cup. The sources used here don't give figures for common drinks, so a direct comparison isn't possible. In practice: check the label on bottled drinks, ask at the counter for freshly made ones, and count your bubble tea as part of the day's caffeine, not just your coffee.

Does L-theanine in green tea cancel out the jitters?

Some studies have looked at green tea compounds, including L-theanine, and anxiety, mostly with positive results, but a meta-analysis pooling several trials did not find a significant benefit. In other words, the evidence isn't strong enough to say green tea keeps you calm. Rather than relying on one compound to offset caffeine, it's more useful to watch how much you drink and when.

Sources

  1. Effects of caffeine intake on depressive and anxiety symptoms: a systematic review and meta-analysis of randomized controlled trials · PubMed Central (NIH)
  2. How does caffeine work? · Examine.com
  3. Caffeine benefits, dosage, and side effects · Examine.com
  4. Caffeine-induced sleep disorder · Wikipedia
  5. Caffeine-induced anxiety disorder · Wikipedia
  6. Complementary Medicine, Exercise, Meditation, Diet, and Lifestyle Modification for Anxiety Disorders: A Review of Current Evidence · PubMed Central (NIH)
  7. Diet and Anxiety: A Scoping Review · PubMed Central (NIH)
  8. Improving Sleep Quality to Enhance Athletic Activity—The Role of Nutrition and Supplementation: A Mini-Short Review · PubMed Central (NIH)
  9. Regular caffeine consumption & subjective sleep quality: A systematic review · PubMed Central (NIH)
  10. Anxiety · StatPearls (NCBI Bookshelf)
  11. Anxiety · MedlinePlus (NLM)
  12. Suicide Prevention Handbook 7: Women's Mental Health and Suicide Prevention (in Chinese) · Ministry of Health and Welfare, Taiwan
  13. Post-Disaster Mental Health Handbook (in Chinese) · Ministry of Health and Welfare, Taiwan

This content is health education and self-care information, not medical advice, diagnosis or treatment. If you are in danger, call the 1925 Mental Health Hotline (24 hours) or 119.

Follow mettame on LINE

A gentle weekly note for body and mind, new articles and group sessions.

Add @526noptp on LINE