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.
In this article
- What caffeine does in the body
- Does caffeine cause anxiety?
- Who is more sensitive?
- How much is too much?
- 8 ways to cut back without misery
- 1. Track what you actually have
- 2. Notice the pattern
- 3. Reduce gradually
- 4. Swap, do not just remove
- 5. Move your last caffeine earlier
- 6. Do not use caffeine to cover for sleep debt
- 7. Eat before you drink
- 8. Learn a calming response for when it hits
- A worked example
- Common mistakes
- When to seek help
- Frequently asked questions
- Can caffeine cause anxiety attacks?
- How much caffeine is too much for anxiety?
- How long does caffeine anxiety last?
- Is decaf safe if I have anxiety?
- Does caffeine withdrawal cause anxiety?
- Should I give up coffee completely?
- 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:
| Drink | Approximate caffeine |
|---|---|
| Brewed coffee, 240 ml | 80–120 mg |
| Espresso, 30 ml | 60–80 mg |
| Black tea, 240 ml | 40–50 mg |
| Cola, 330 ml | 30–40 mg |
| Energy drink, 250 ml | 80 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.
- Track: she finds she also has two energy drinks a week, bringing her to around 500 mg on busy days.
- Pattern: the worst symptoms follow her third cup at 2 p.m. on an empty stomach.
- Reduce gradually: she goes down to three cups for four days, then two.
- Swap: her afternoon cup becomes half-caf, then herbal tea.
- Earlier cut-off: no caffeine after 1 p.m.
- Sleep: she improves her bedtime routine.
- 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
- Effects of caffeine on human behavior . Food and Chemical Toxicology, 40(9), 1243–1255 (Smith), 2002.
- 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.
- Increased anxiogenic effects of caffeine in panic disorders . Archives of General Psychiatry, 42(3), 233–243 (Charney, Heninger & Jatlow), 1985.
- 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.
Related reading
Why Anxiety Feels So Physical (and What Your Body Is Trying to Do)
A racing heart, tight chest and knotted stomach are part of the body's alarm system. Here's why anxiety shows up physically and what can help settle it.
How to Calm Anxiety Fast: 9 Techniques to Try Right Now
When anxiety spikes, you don't need a theory. You need something that works in the next few minutes. Here are nine techniques, why they help, and how to choose between them.
Why Do I Feel More Anxious at Night? Causes and What Helps
Daytime keeps worry busy. Night removes the noise and leaves you alone with your thoughts, right as your body's stress-regulating hormones are dropping. Here's why nights feel harder, and what helps.
More in Anxiety & Stress
All Anxiety & Stress →
Editor’s picks
The Clear Mind letter
One considered essay, now and then.
No streaks, no urgency. A short note when we publish something worth your attention.