It is mid-morning. You have had your usual coffee, maybe a second one to get through a long meeting, and an hour later an attack arrives. Afterwards the question sits there: was it the coffee? If you have typed "can caffeine cause panic attacks" or "panic attack after coffee" into a search bar, you are in good company. Tea, cola, energy drinks and pre-workout drinks all raise the same question.
Often the answer people get back is short: cut it out. This post takes a slower look. Here is what reputable sources and the research actually say about caffeine and panic, why the link is hard to judge from memory, and how a few weeks of your own record can show whether high-caffeine days really do come before your attacks.
What the research says about caffeine and panic
Caffeine is a stimulant, and most adults handle moderate amounts without trouble. Mayo Clinic says up to about 400 milligrams a day appears safe for most healthy adults, roughly four cups of brewed coffee, while noting that people differ a lot in how sensitive they are. The NHS panic disorder page lists caffeine, alongside sugary drinks and alcohol, among the things that can make attacks worse.
The strongest evidence comes from lab studies. A 2022 review by Klevebrant and Frick at Uppsala University, published in General Hospital Psychiatry, pulled together ten blinded, placebo-controlled studies. Across nine of them, 237 people with panic disorder were given a large dose of caffeine, usually 480 milligrams in one go, about five cups of coffee. Around half had a panic attack afterwards, and none did after the placebo. In the studies that also included people without panic disorder, fewer than 2 in 100 of them had an attack.
Two older studies point the same way. A 1985 study by Charney and colleagues compared 21 people with panic disorder and 17 without, and found the same dose made the first group much more anxious. Most of them said the effect felt similar to their own attacks. A 1984 survey by Boulenger and colleagues found that, in people with panic disorder, self-rated anxiety tended to rise with how much caffeine they usually drank.
So does caffeine cause panic attacks?
The honest answer is: a big dose seems able to set off the alarm in many people who are already prone to panic. What is much less clear is what an ordinary cup or two does. The 2022 review says so directly: little is known about doses smaller than the one used in the lab. Plenty of people with panic have a morning coffee and an ordinary day. Research describes groups of people. It cannot tell you what happens for you.
That is the useful part. Whether caffeine matters for your attacks, and at what amount, is something you can look at in your own life rather than guess at.
Why the link can be hard to see
Memory is a poor record keeper, and caffeine is especially easy to blame or to miss:
- We remember the coffee that came before an attack. We forget the many coffees that were followed by an ordinary afternoon.
- Caffeine hides in more places than coffee. Tea, cola, energy drinks, chocolate and some cold remedies all add up, so a "two coffee day" can be a much bigger day than it feels.
- Caffeine rarely travels alone. Extra cups often come with a short night, a deadline or a skipped lunch. It is hard to tell which part matters.
- Stopping suddenly has its own effects. A 2004 review by Juliano and Griffiths, drawing on 66 studies, found that going without caffeine after regular use can bring headaches, tiredness, irritability and low mood for a few days, even at around one cup a day. A rough few days after a sudden change can easily be misread.
A written record, kept over weeks rather than days, gets around most of this. It shows the high-caffeine days that led nowhere as well as the ones that did, and it lets you compare the days with attacks against the days without.
How AnxietyMe helps with this
AnxietyMe is an app for people who have panic or anxiety attacks, available on iPhone and Android. You log your attacks, and the app keeps track of the rest.
Caffeine shows up as a trigger called Caffeine high. It is one of the triggers the app can flag on its own: when a day goes over the caffeine level set for it, that day is marked Caffeine high. You can see and change that level under Manage Items > Triggers. You can also log Caffeine high by hand from the Quick log strip on Home, in the Triggers step when you log an attack, or in the Daily Check-In at the end of the day.
Logging an attack takes one tap on Home. After a handful of attacks and a few weeks of data, the What Happened screen in Insights shows how often Caffeine high turned up around your attacks compared with your calm days. It might show up a lot, or hardly at all.
The app does not tell you to cut anything out. It shows you the pattern, and you decide whether caffeine is worth testing. It is not a medical device and does not diagnose or treat.
What you can do with this
You do not have to change anything to start finding out. Simply noting your caffeine and your attacks for a few weeks is enough to begin with. If, after that, high-caffeine days do seem to show up before your attacks, you might decide to test a small change for a week or two and see what your record shows. If they do not, that is useful to know too. Either way, the choice is yours, and it works best as an experiment rather than a rule.
For panic itself, NICE guidance recommends psychological therapy such as cognitive behavioural therapy, and the NHS explains how to get it, including referring yourself.
What a panic attack after coffee is not
- It is not dangerous. Panic attacks are frightening, but the US National Institute of Mental Health describes them as a false alarm rather than a sign of real harm.
- It is not a sign you have failed. A stimulant nudging an alarm system that is already sensitive is biology, not weakness.
- It is not something to work out alone. A GP or therapist can assess properly and talk through options.
Some things need urgent help, right now, not a tracking app. Chest pain that does not settle, fainting, an attack lasting more than an hour, or thoughts of harming yourself all warrant calling 111 or 999 in the UK, or your local emergency number elsewhere. If any of those are happening, please get help now.
Sources
- Klevebrant L, Frick A (2022). Effects of caffeine on anxiety and panic attacks in patients with panic disorder: a systematic review and meta-analysis. General Hospital Psychiatry.
- Charney DS, Heninger GR, Jatlow PI (1985). Increased anxiogenic effects of caffeine in panic disorders. Archives of General Psychiatry.
- Boulenger JP, Uhde TW, Wolff EA, Post RM (1984). Increased sensitivity to caffeine in patients with panic disorders: preliminary evidence. Archives of General Psychiatry.
- Juliano LM, Griffiths RR (2004). A critical review of caffeine withdrawal: empirical validation of symptoms and signs, incidence, severity, and associated features. Psychopharmacology.
- Mayo Clinic (n.d.). Caffeine: How much is too much? Mayo Clinic.
- NHS (n.d.). Panic disorder. NHS.
- NICE (2011, updated 2020). Generalised anxiety disorder and panic disorder in adults: management (CG113). National Institute for Health and Care Excellence.
- National Institute of Mental Health (n.d.). Panic Disorder: When Fear Overwhelms. NIMH.