Anxiety & Stress

Does Caffeine Cause Anxiety? What the Research Says and How Much Is Too Much

Caffeine does not cause an anxiety disorder in most people, but it can produce the same sensations and make existing anxiety worse. Knowing your own threshold is the useful part.

Abstract pale blue shape of a coffee cup with fine trembling lines rising from it, softening into a calm steady line above.
Placeholder artwork
In this article
  1. What caffeine does in the body
  2. Does caffeine cause anxiety?
  3. Who is more sensitive?
  4. How much is too much?
  5. 8 ways to cut back without misery
  6. 1. Track what you actually have
  7. 2. Notice the pattern
  8. 3. Reduce gradually
  9. 4. Swap, do not just remove
  10. 5. Move your last caffeine earlier
  11. 6. Do not use caffeine to cover for sleep debt
  12. 7. Eat before you drink
  13. 8. Learn a calming response for when it hits
  14. A worked example
  15. Common mistakes
  16. When to seek help
  17. Frequently asked questions
  18. Can caffeine cause anxiety attacks?
  19. How much caffeine is too much for anxiety?
  20. How long does caffeine anxiety last?
  21. Is decaf safe if I have anxiety?
  22. Does caffeine withdrawal cause anxiety?
  23. Should I give up coffee completely?
  24. The bottom line

Key takeaways

  • Caffeine can trigger anxiety-like symptoms such as jitters, a racing heart and restlessness, and can worsen anxiety in people who are prone to it.
  • People with panic disorder appear especially sensitive; studies show caffeine can provoke panic attacks in this group.
  • European and US safety bodies treat up to about 400 mg a day (around four cups of coffee) as safe for most healthy adults, with 200 mg suggested in pregnancy.
  • Cutting back gradually avoids withdrawal headaches; if anxiety persists after reducing caffeine, speak to a doctor.

You have your second coffee of the morning, and twenty minutes later your heart is pounding, your hands feel unsteady and there is a buzzing unease you cannot quite explain. Is it work stress, or is it the espresso?

For a lot of people, it is a bit of both. Here is what the evidence says about caffeine and anxiety, and how to find your own limit.

What caffeine does in the body

Caffeine is a stimulant. It blocks adenosine, a chemical that builds up during the day and signals tiredness, so you feel more alert. It also increases the release of adrenaline and raises heart rate and blood pressure for a while. In other words, caffeine nudges the body into the same state that anxiety produces.

That is why the sensations overlap so much: a racing heart, trembling, restlessness, sweating, a churning stomach, difficulty concentrating and trouble sleeping. If these feel familiar, see why anxiety feels so physical.

Does caffeine cause anxiety?

It can trigger the symptoms. A review of the effects of caffeine on behaviour by Andrew Smith found that high doses can produce anxiety, nervousness and jitteriness, even in people who are not usually anxious.

It can worsen existing anxiety. In people with anxiety disorders, caffeine tends to intensify symptoms. Reviews note that caffeine can increase anxiety in people who are already prone to it.

Panic disorder is a special case. Studies dating back to the 1980s, including work by Dennis Charney and colleagues, found that people with panic disorder were much more likely than others to experience anxiety or panic after caffeine. A more recent meta-analysis of caffeine in panic disorder found that caffeine increased anxiety and the likelihood of panic attacks in these patients. People with panic disorder are usually advised to limit or avoid caffeine.

It is not the whole story. Caffeine rarely causes a lasting anxiety disorder on its own, and the amount that affects someone varies enormously. The diagnostic manuals recognise “caffeine-induced anxiety disorder” for cases where the symptoms are clearly caused by caffeine and stop when it is removed.

Who is more sensitive?

  • People with anxiety or panic disorder.
  • Slow metabolisers. Genes affect how quickly the liver breaks down caffeine, so the same cup lasts longer in some people.
  • Occasional drinkers. People who rarely have caffeine feel it more than regular users, who develop tolerance.
  • Children and teenagers.
  • People who are pregnant.
  • Those taking certain medications. Some drugs slow caffeine clearance.
  • People who are tired, hungry or stressed. Caffeine on an empty stomach or after poor sleep can hit harder.

How much is too much?

The European Food Safety Authority concluded in 2015 that up to 400 mg of caffeine a day from all sources is not a safety concern for healthy adults, as long as single doses stay under about 200 mg. For pregnant and breastfeeding women the advice is up to 200 mg a day. Rough amounts:

DrinkApproximate caffeine
Brewed coffee, 240 ml80–120 mg
Espresso, 30 ml60–80 mg
Black tea, 240 ml40–50 mg
Cola, 330 ml30–40 mg
Energy drink, 250 ml80 mg or more

These are guidelines for the average healthy adult, not targets. People with anxiety often feel better on much less, and some do best with none. Pay attention to your own response.

8 ways to cut back without misery

1. Track what you actually have

Write down every caffeinated drink for a few days, including tea, cola, energy drinks, chocolate and some painkillers. Many people underestimate their intake.

2. Notice the pattern

Do jitters follow your second cup, a late-afternoon drink or coffee on an empty stomach? Matching symptoms to timing shows what to change first.

3. Reduce gradually

Cut your intake by about a quarter every few days. Stopping suddenly can cause withdrawal: headache, tiredness, irritability and low mood for a few days.

4. Swap, do not just remove

Replace some caffeinated drinks with half-caffeine mixes, decaf, herbal tea or water. Keep the ritual of a warm cup, which is part of the comfort.

5. Move your last caffeine earlier

Caffeine can stay in the body for many hours. Having your last cup before early afternoon protects sleep, and poor sleep makes anxiety worse. See why you feel more anxious at night.

6. Do not use caffeine to cover for sleep debt

If you are leaning on coffee to get through the day, improve sleep first. See how to build an evening routine for better sleep.

7. Eat before you drink

Having food with your coffee slows the spike and can reduce jitters.

8. Learn a calming response for when it hits

If you feel the symptoms rising, slow breathing and a short walk help. See how to calm anxiety fast. Reminding yourself that “this is the caffeine and it will pass” reduces the fear that feeds the loop.

A worked example

Lena, 29, drinks four cups of coffee a day and feels anxious most afternoons.

  1. Track: she finds she also has two energy drinks a week, bringing her to around 500 mg on busy days.
  2. Pattern: the worst symptoms follow her third cup at 2 p.m. on an empty stomach.
  3. Reduce gradually: she goes down to three cups for four days, then two.
  4. Swap: her afternoon cup becomes half-caf, then herbal tea.
  5. Earlier cut-off: no caffeine after 1 p.m.
  6. Sleep: she improves her bedtime routine.
  7. Food: she has breakfast before coffee.

After three weeks, she has a mild headache in the first few days and then notices fewer afternoon jitters and sounder sleep.

Common mistakes

  • Stopping all at once. It can cause withdrawal headaches and tiredness.
  • Assuming it is “just anxiety.” Check your caffeine too.
  • Ignoring hidden sources. Pre-workout powders, energy drinks and some medicines contain caffeine.
  • Using caffeine to push through exhaustion. It worsens sleep.
  • Treating the limit as universal. Your sensitivity may be much lower.
  • Cutting caffeine and expecting all anxiety to vanish. It helps, but other causes may remain.

When to seek help

Talk to a doctor if:

  • anxiety or panic continues after you have reduced caffeine for a few weeks,
  • you have chest pain, fainting, a very irregular heartbeat or severe symptoms,
  • you are pregnant or breastfeeding and unsure about intake,
  • you take medication that may interact with caffeine,
  • anxiety is affecting your sleep, work or relationships.

Anxiety disorders are common and treatable. The National Institute of Mental Health provides information on anxiety and treatment. If you are in crisis, contact your local emergency number or, in the United States, call or text 988. See our disclaimer.

Frequently asked questions

Can caffeine cause anxiety attacks?

It can trigger panic in people with panic disorder and can provoke anxiety symptoms in sensitive people, especially at high doses.

How much caffeine is too much for anxiety?

Safety bodies set around 400 mg a day for most healthy adults, but people with anxiety often do better on much less. Watch your own response.

How long does caffeine anxiety last?

Caffeine’s effects usually peak within an hour and fade over several hours, but it can linger longer in slow metabolisers.

Is decaf safe if I have anxiety?

Decaf contains small amounts of caffeine, usually 2 to 15 mg per cup, which is fine for most people.

Does caffeine withdrawal cause anxiety?

It can cause irritability, low mood and headaches for a few days. Reducing gradually helps.

Should I give up coffee completely?

Not necessarily. Many people can keep a smaller amount earlier in the day. If you have panic disorder, your doctor may recommend avoiding it.

The bottom line

Caffeine rarely causes an anxiety disorder, but it can mimic and amplify anxiety, especially in people prone to it. Track what you drink, cut back gradually, move your last cup earlier and protect your sleep. If symptoms persist, a doctor can look for other causes.

References & sources

  1. Effects of caffeine on human behavior . Food and Chemical Toxicology, 40(9), 1243–1255 (Smith), 2002.
  2. Effects of caffeine on anxiety and panic attacks in patients with panic disorder: A systematic review and meta-analysis . General Hospital Psychiatry, 74, 22–31 (Klevebrant & Frick), 2022.
  3. Increased anxiogenic effects of caffeine in panic disorders . Archives of General Psychiatry, 42(3), 233–243 (Charney, Heninger & Jatlow), 1985.
  4. Scientific opinion on the safety of caffeine . EFSA Journal, 13(5), 4102 (European Food Safety Authority), 2015.

This article is for general information and education. It is not medical advice and cannot replace care from a qualified professional. Read our disclaimer.

The Clear Mind letter

One considered essay, now and then.

No streaks, no urgency. A short note when we publish something worth your attention.

We'll only use your address to send the letter, through Kit. You will get one email to confirm. Unsubscribe any time. See our privacy policy.