Does caffeine make anxiety worse?
A gene variant, a big dose and a daily habit decide who gets jittery from coffee. Here is what the studies show, and what to try if it is you.
How much caffeine is in your own day? Take the one-minute test

It can, depending on the dose, your genes and whether you have an anxiety disorder. In people with panic disorder, a large dose of caffeine triggered panic attacks in about half of them in lab studies, while healthy people hardly ever reacted that way. Most regular coffee drinkers build up a tolerance to the jittery feeling, but people with a certain gene variant stay more sensitive.
Key takeaways
- People with panic disorder are far more likely than healthy people to have a panic attack after a large dose of caffeine.
- A common variant of one adenosine receptor gene made people feel more anxious after caffeine.
- Regular coffee drinkers felt less anxiety from caffeine than people who rarely drank it.
- Regular drinkers didn’t end up more alert than non-drinkers; coffee mostly reversed their withdrawal.
- A smaller dose is the simplest fix if coffee makes you jittery.
Why does coffee make some people anxious?
Coffee makes some people anxious because caffeine blocks adenosine, a messenger in the brain that calms things down, and some brains react more strongly to that block. In a double-blind study at the University of Chicago, 94 healthy people who rarely drank caffeine took 150 milligrams, about one and a half cups of coffee, or a placebo. Those with a particular version of the gene for the A2A adenosine receptor reported a clearly larger rise in anxiety after caffeine than everyone else (Alsene et al., 2003). The same gene variant had already been linked to panic disorder.
A larger study with 379 people at the University of Bristol confirmed it. People with this variant, called TT, were more prone to caffeine-induced anxiety. Interestingly, they didn’t drink less coffee because of it; they actually drank more (Rogers et al., 2010). So the jittery feeling doesn’t automatically teach people to cut back, perhaps because the anxiety and the pleasant lift arrive together in the same cup and most of us are better at noticing the lift, although that last part is my guess and not something the study tested.
Do you get used to caffeine if you drink coffee every day?
Largely, yes: daily coffee drinkers feel less anxiety from caffeine over time. In the same trial, people who regularly drank medium to high amounts of caffeine felt much less anxiety from a dose than people who usually drank little or none, whatever their genes (Rogers et al., 2010).
The same study had an uncomfortable second finding. After 16 hours without caffeine, the regular drinkers who got a placebo felt less alert and had more headaches. Caffeine brought them back to normal, but not above the alertness of people who didn’t drink coffee at all. In the authors’ words, consumption “merely returns it to baseline” (Rogers et al., 2010). Much of the morning lift, in other words, is relief from your own withdrawal, which is a slightly deflating thing to learn while holding a cup.
Can caffeine trigger a panic attack?
In people with panic disorder, caffeine can trigger panic attacks. A 2022 review pooled nine placebo-controlled studies with 237 people with panic disorder who were given caffeine in the lab, usually 480 milligrams, about five cups of coffee at once. About half of them had a panic attack after caffeine and none after placebo. Among healthy volunteers given the same dose, fewer than 2 in 100 did. That is a striking split. Caffeine also raised anxiety more in people with panic disorder than in healthy people (Klevebrant & Frick, 2022).
Those doses are high. The studies were also too few to show where the effect starts. Still, if you have panic attacks or an anxiety disorder, caffeine is one of the easiest and cheapest things to experiment with, because cutting it down costs you nothing but a little morning comfort (decaf keeps the ritual, as the decaf article explains), and you can try it together with your doctor or therapist while you keep track of whether the attacks become less frequent.
How much caffeine is too much?
How much caffeine is too much depends on you. For healthy adults, the European Food Safety Authority considers up to 400 milligrams a day and single doses of up to 200 milligrams unproblematic. Sensitivity differs widely, though, and it changes with pregnancy, medication and how fast your liver breaks caffeine down (EFSA, 2015). A dose that is fine for your colleague can be too much for you, and energy drinks are the easiest way to overshoot, as Are energy drinks bad for you? shows. Palpitations after coffee are a separate question, covered in Is coffee good for your heart?
What I’d do
- If coffee makes you jittery, halve the dose before you give it up: a smaller cup, a single shot, or half decaf.
- Notice whether the anxiety comes after the first cup or only after the third, and set your limit there.
- Have a calming tool ready for the moments when nerves win anyway. (One with trial data: Does slow breathing calm your nervous system?)
- Try matcha or tea if you like a warm drink with less caffeine. (Comparison: Is matcha better for you than coffee?)
- Cut down gradually over a week or two if you drink a lot, to soften the withdrawal headaches.
- Keep caffeine away from the evening, so it doesn’t cost you sleep as well. (Cutoffs: When should you stop drinking coffee for better sleep?)
Frequently asked questions
How many cups of coffee can trigger a panic attack? In the lab studies, the dose was usually 480 milligrams, about five cups at once, and it set off panic attacks in about half of the people with panic disorder. The studies were too few to show where the effect starts, so there is no safe cutoff to quote.
Can I take a gene test to see if I’m sensitive? You can, but your own experience tells you the same thing for free. If one coffee reliably makes you anxious, you are sensitive, whatever a test says.
Is decaf a good option if caffeine makes me anxious? Yes. It keeps the taste and the ritual with very little caffeine, as explained in Is decaf worth it?
Should I quit coffee completely if it makes me anxious? Halving the dose first is the gentler route. Regular drinkers had more headaches after 16 hours without caffeine, so cutting down over a week or two softens the withdrawal.
Sources
- Alsene, K., Deckert, J., Sand, P., & de Wit, H. (2003). Association between A2a receptor gene polymorphisms and caffeine-induced anxiety. Neuropsychopharmacology, 28(9), 1694–1702. https://doi.org/10.1038/sj.npp.1300232
- European Food Safety Authority [EFSA]. (2015). EFSA explains risk assessment: Caffeine. https://www.efsa.europa.eu/sites/default/files/corporate_publications/files/efsaexplainscaffeine150527.pdf
- 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, 74, 22–31. https://doi.org/10.1016/j.genhosppsych.2021.11.005
- Rogers, P. J., Hohoff, C., Heatherley, S. V., Mullings, E. L., Maxfield, P. J., Evershed, R. P., et al. (2010). Association of the anxiogenic and alerting effects of caffeine with ADORA2A and ADORA1 polymorphisms and habitual level of caffeine consumption. Neuropsychopharmacology, 35(9), 1973–1983. https://doi.org/10.1038/npp.2010.71


