Caffeine and Anxiety: How Coffee and Energy Drinks Trigger Jitters, Palpitations and Panic, and How to Cut Down Safely
☕ A second espresso before a meeting, an energy drink to get through the afternoon, a pre-workout scoop before the gym: for most adults this is ordinary life. For a large group of people, the same caffeine brings a racing heart, shaky hands, a knot in the stomach and a wave of dread that feels exactly like an anxiety attack. 🔍 Caffeine is the most widely used psychostimulant in the world, and doctors see its effect on anxiety every week: in people who never had a problem before, in people with panic disorder who react to even one cup, and in people whose medicines quietly raise their caffeine levels. This guide explains how caffeine produces anxiety, how much is too much, how to tell caffeine jitters from an anxiety disorder or a heart or thyroid problem, how to cut down without a week of withdrawal headaches, and when anxiety needs its own treatment with medicines such as buspirone or an SSRI.
☕ Caffeine: the stimulant almost everyone takes
🧪 Pharmacologists divide psychostimulants into strong ones, such as amphetamines and cocaine, and mild ones, such as nicotine and the xanthines. Caffeine belongs to the xanthine family, together with theophylline in tea and theobromine in cocoa. It is mild only in comparison: at the doses people drink every day, caffeine clearly changes heart rate, alertness, mood and sleep. It is found in coffee, tea, cola, energy drinks, chocolate, pre-workout powders, some painkillers and cold remedies, and slimming products. Because it is legal, cheap and part of social life, people rarely count it, and many do not link their anxiety to it at all.
📖 Most people drink caffeine without trouble. The aim of this article is not to frighten anyone away from coffee, but to help the people for whom it causes real symptoms. If you notice anxiety, palpitations or poor sleep, caffeine is one of the first and easiest things to check, long before tests or new medicines.
🧬 How caffeine switches the brain into alert mode
🧠 During the day the brain builds up a chemical called adenosine. Adenosine attaches to its receptors and slowly slows nerve activity, which is one reason why we feel tired by evening. Caffeine fits into the same receptors and blocks them, so the brakes come off. Nerve cells fire more, the brain releases more noradrenaline and dopamine, and the adrenal glands release adrenaline. The result is the alert, energised feeling people want, but in a sensitive person the same chain runs on into the physical feeling of fear.
🔍 That last step matters most. The anxious brain watches the body closely. When it notices a pounding heart and shaky hands, it often concludes that something is wrong, and that thought adds a second wave of adrenaline on top of the caffeine. This is why one strong coffee can turn into a full panic attack in someone prone to panic, while a colleague who drank the same cup simply feels awake.
🧩 Why the same coffee rattles one person and not another
🧬 Sensitivity to caffeine varies widely between people. Some of the difference is genetic, some comes from health and medicines, and some from habits on the day. Variants of the gene for the adenosine A2A receptor have been linked to caffeine-induced anxiety in studies, and variants of the liver enzyme CYP1A2 decide whether a person clears caffeine fast or slowly.
📋 Caffeine-induced anxiety disorder: when coffee is the cause
🩺 Psychiatric diagnostic manuals list a condition called caffeine-induced anxiety disorder. It means that anxiety or panic attacks appear during or soon after caffeine use or during withdrawal, and are clearly linked to it, rather than being explained by an independent anxiety disorder. The practical test is simple: the symptoms should fade within days to a few weeks of cutting caffeine down. If anxiety stays at the same level a month after stopping, caffeine was probably a trigger on top of another problem, not the whole cause.
- 📌 Anxiety comes on within an hour or two of coffee, energy drinks or pre-workout
- 📌 It is worse on days with more caffeine and better on days with less
- 📌 Worry about the future is less central than the physical surge
- 📌 It improves clearly after a few caffeine-free weeks
- 📌 It may also appear during withdrawal, as irritability and restlessness
📖 Diagnostic manuals also describe caffeine intoxication: restlessness, nervousness, flushed face, frequent urination, stomach upset, muscle twitching, rambling thoughts and speech, a fast or irregular heartbeat and agitation, usually after more than about 250 mg in a short time. Many people who feel “wired” after a large coffee and an energy drink are, medically speaking, mildly intoxicated.
⚡ Typical signs of too much caffeine
💡 These signs are not dangerous in themselves in a healthy adult, and they fade as caffeine is cleared. The problem is the pattern: daily jitters, daily poor sleep and daily low-level fear wear people down, and many end up treating the anxiety while still drinking four or five strong coffees a day.
📊 How much caffeine is in your drinks
🔍 The numbers below are typical values. Real amounts vary a lot by brand, bean, brewing method and cup size, and coffee-shop sizes are often two or three times larger than a standard cup.
| ☕ Drink or product | 📏 Serving | ⚡ Typical caffeine |
|---|---|---|
| Brewed filter coffee | 240 ml (8 oz) | About 80 to 100 mg |
| Espresso | One shot (30 ml) | About 60 to 65 mg |
| Instant coffee | One mug | About 60 to 80 mg |
| Black tea | 240 ml | About 40 to 50 mg |
| Green tea | 240 ml | About 25 to 30 mg |
| Cola | 330 to 355 ml can | About 30 to 40 mg |
| Energy drink | 250 ml / 500 ml can | About 80 mg / 160 mg or more |
| Pre-workout powder | One scoop | Often 150 to 300 mg |
| Decaf coffee | 240 ml | About 2 to 15 mg |
| Dark chocolate | 30 g | About 12 to 25 mg |
💊 Some over-the-counter headache tablets and cold remedies also contain caffeine, often 30 to 65 mg per tablet. Taking two tablets three times a day adds as much caffeine as several cups of coffee, so it is worth reading the label when anxiety and headaches appear together.
📏 How much is too much?
⚖️ Food safety agencies in the US and Europe consider up to about 400 mg a day safe for most healthy adults, and up to 200 mg a day during pregnancy. A single dose of about 200 mg is usually tolerated by healthy adults. These limits are about physical safety, not about anxiety. People with an anxiety disorder often feel symptoms well below 400 mg, and some react to a single cup.
🤰 Pregnancy and breastfeeding:
🔹 Caffeine is cleared much more slowly in the second half of pregnancy, so the same cup lasts longer and feels stronger.
🔹 Most guidelines advise staying under 200 mg a day, which is about two small cups of filter coffee.
🔹 Some caffeine passes into breast milk; a very jittery or sleepless baby is a reason to cut down.
😱 Caffeine and panic attacks
💥 People with panic disorder are especially sensitive. In laboratory studies, a large dose of caffeine, around 400 to 500 mg, set off panic attacks in a substantial share of people with panic disorder, while healthy volunteers mostly felt only jittery. The reason seems to be fear of body sensations: the heart speeds up, the chest feels tight, breathing changes, and a brain primed for panic reads these as the start of a heart attack or loss of control.
📖 If attacks keep coming even after caffeine is cut, and you start to fear the next one, this is likely panic disorder, which responds well to therapy and medicine. See panic disorder: when fear hits fast. Cutting caffeine is still worth doing, because it removes one of the most common triggers.
💓 Palpitations and skipped beats after coffee
🔎 Many people first notice caffeine through the heart: a pounding pulse, a flutter, or the feeling that the heart stopped for a moment and then thumped. Most of these are harmless extra beats, and in healthy people moderate coffee has not been shown to cause dangerous rhythm problems. Still, large amounts, especially from energy drinks combined with alcohol, sleep loss or other stimulants, can make extra beats more frequent and uncomfortable. A doctor should check palpitations that come with fainting, chest pain, breathlessness or a very fast, irregular pulse at rest.
📖 What extra beats are, which tests are used and when they need treatment: premature ventricular contractions and skipped heartbeats. Noticing every beat is itself a sign of anxiety, and the beats often feel less frequent once caffeine and worry both settle.
🌙 The caffeine, poor sleep and anxiety loop
⏰ Caffeine has a half-life of several hours, so half of a 4 pm coffee may still be in the blood at 9 or 10 pm. In a sleep study, caffeine taken six hours before bed still cut total sleep by about an hour, even though many participants did not notice it. Short or broken sleep raises next-day anxiety, and the tired person reaches for more caffeine, which completes the loop.
To beat the slump
Later, shorter, more waking
Low mood, poor focus
Bigger cups, energy drinks
On top of sleep debt
“I cannot function without it”
🛌 If sleep stays poor after caffeine is under control, the sleep problem needs its own plan. Short-term melatonin can help when the body clock has drifted late, for example Restfine (Melatonin), taken a couple of hours before the target bedtime. Longer insomnia is covered in trazodone for sleep and what else works for insomnia.
🥤 Energy drinks and pre-workout powders
⚠️ Doctors see the strongest caffeine reactions not from coffee but from products that pack a lot of caffeine into a small, fast drink. Energy drinks are often drunk cold and quickly, sometimes two or three in a row, and pre-workout powders may contain 200 to 300 mg in one scoop, plus other stimulants. Mixing them with alcohol masks drunkenness and adds to heart strain.
🚨 Serious caffeine poisoning is rare from drinks but has happened with tablets and powders. Confusion, vomiting, a very fast or irregular heartbeat, chest pain or a seizure after a large caffeine dose is a medical emergency.
🔎 Is it caffeine, an anxiety disorder or something else?
🩺 Several medical conditions cause the same mix of tremor, fast pulse, sweating and dread. If symptoms continue after caffeine is cut down, a short examination and a few blood tests are worth doing before settling on anxiety as the only explanation.
| 🔎 Possible cause | 📋 Clues | 🧪 Usual check |
|---|---|---|
| Overactive thyroid | Weight loss, heat intolerance, tremor and fast pulse even without caffeine | Thyroid blood test |
| Heart rhythm problem | Sudden fast or irregular pulse at rest, fainting, breathlessness | ECG, heart monitor |
| Low blood sugar | Shaky and sweaty when meals are late, better after food; diabetes medicines | Glucose check |
| Alcohol or sedative withdrawal | Shakes and anxiety in the morning after heavy drinking or stopping pills | History, review of use |
| Other medicines | Decongestants, asthma inhalers, steroids, thyroid tablets, ADHD stimulants | Medicine review |
| Generalized anxiety or panic disorder | Worry or attacks continue for weeks after caffeine is cut | Clinical assessment |
📖 Constant worry about many everyday things, with tension and poor sleep, may be generalized anxiety disorder: see generalized anxiety: when the mind never switches off. Caffeine and an anxiety disorder often exist together, and both need attention.
💊 Medicines that raise caffeine levels
🧪 Caffeine is broken down in the liver, mostly by the enzyme CYP1A2. Medicines that block this enzyme can make the usual morning coffee behave like several cups, with jitters, palpitations and insomnia that appear only after the new medicine is started.
| 💊 Medicine or situation | 📝 Effect on caffeine | ✅ What to do |
|---|---|---|
| Fluvoxamine (an SSRI) | Strongly slows caffeine clearance; levels can rise several times | Cut caffeine sharply or avoid it |
| Ciprofloxacin and some related antibiotics | Slows clearance during the course | Halve caffeine until the course ends |
| Combined birth control pills | Moderate slowing | Watch for new jitters or poor sleep |
| Stopping smoking | Smoking speeds clearance; quitting lets levels climb | Reduce coffee by about half when quitting |
| Theophylline, decongestants, ADHD stimulants | Add their own stimulant effect | Ask a pharmacist about the total load |
| Lithium | Caffeine increases lithium clearance; stopping caffeine suddenly can raise lithium levels | Change caffeine intake gradually and tell the prescriber |
📖 If you take Luvox (Fluvoxamine), the caffeine interaction is one of the most important to know; details are in fluvoxamine for social anxiety, caffeine and drug interactions. Smokers who quit often blame nicotine withdrawal for anxiety that is partly caused by the same coffee becoming much stronger.
📉 Caffeine withdrawal: what to expect
🤕 Caffeine causes physical dependence. People who drink caffeine every day, even around 100 mg, can get withdrawal symptoms when they stop suddenly. The most common is a dull, throbbing headache, often with tiredness, low mood, poor concentration, irritability and sometimes flu-like aches. Withdrawal can itself feel like anxiety, which is why some people conclude that they “need” coffee to stay calm.
First headache, sleepiness
Peak headache, fog, irritability
Easing, tiredness lingers
Most people feel normal again
💊 For a withdrawal headache, a simple painkiller without added caffeine, such as paracetamol or ibuprofen if suitable for you, plenty of water and regular meals usually help. Avoid headache tablets that contain caffeine during a taper, since they simply replace the coffee you are trying to reduce.
🪜 How to cut down without withdrawal headaches
🎯 Many people do not need to give caffeine up completely. The goal is the lowest amount that keeps you free of anxiety symptoms, which for some is one morning coffee and for others is none at all. A few weeks fully caffeine-free is still a useful test: it shows how much of the anxiety was caffeine and how much is left to treat.
📅 A sample 4-week step-down plan
📝 Keep a short diary during the plan: caffeine amount, anxiety level from 0 to 10, and sleep hours. After a month, most people can see clearly whether their anxiety moved with their caffeine, and that diary is very useful if you later see a doctor.
☑️ Self-check: is caffeine feeding your anxiety?
🌳 Cut down first, or treat the anxiety too?
🧠 Therapy, especially cognitive behavioural therapy, is a first-line treatment for both generalized anxiety and panic disorder. When symptoms are strong or therapy is hard to access, medicines are a reasonable part of the plan, and they work better when caffeine is no longer pushing the nervous system the other way.
💊 Buspirone: a non-habit-forming option for ongoing worry
🌿 Buspirone is an anti-anxiety medicine that acts on serotonin 5-HT1A receptors. It is not a sedative, does not cause dependence, and does not interact with alcohol the way benzodiazepines do, which makes it a useful choice for generalized anxiety in people worried about habit-forming pills. It does not stop a panic attack in progress and is not meant to be taken “as needed”; it is taken every day, and its effect builds over about 2 to 4 weeks.
📋 How it is commonly used
💊 Often started at 7.5 mg twice a day or 5 mg three times a day
📈 Raised step by step every few days; usual range 20 to 30 mg a day, maximum 60 mg
🍽️ Taken the same way each day, always with food or always without
⚠️ Points to know
💫 Dizziness, nausea and headache are the usual early side effects
🍊 Grapefruit juice raises buspirone levels; avoid large amounts
🚫 Not combined with MAOI antidepressants
☕ Heavy caffeine can work against it, so keep your personal limit
📖 How buspirone compares with benzodiazepines, beta blockers and antidepressants: anxiety medication compared, and which ones are non-addictive. Buspirone suits people whose anxiety is steady worry and tension rather than sudden attacks.
💊 SSRIs when anxiety stays after cutting caffeine
📆 Selective serotonin reuptake inhibitors are first-line medicines for generalized anxiety disorder and panic disorder. They are taken daily, usually start working in 2 to 6 weeks, and are continued for months after improvement. In the first one or two weeks an SSRI can cause jitteriness or restlessness, and caffeine makes this start-up phase harder, so it is a good time to keep caffeine low and start at a low dose.
⚠️ SSRIs should not be stopped suddenly once taken for weeks, and they are not combined with MAOIs. Anyone under 25, or with a history of bipolar disorder, needs closer follow-up in the first weeks, because mood changes and, rarely, suicidal thoughts can appear early in treatment.
💓 Propranolol for the physical surge
💊 Propranolol is a beta blocker that blocks the action of adrenaline on the heart and muscles. It calms a pounding heart and shaking hands within about an hour, but it does not treat worry itself. Doctors sometimes use it for predictable situations such as a presentation or exam, or for a period when palpitations are very distressing while other treatment starts to work. Common options are Inderal (Propranolol) and P-Nolol (Propranolol).
🚫 Propranolol is not suitable for people with asthma or wheezy COPD, a slow pulse, heart block or low blood pressure, and it can hide warning signs of low blood sugar in people on insulin. It is not a way to keep drinking large amounts of caffeine; covering the symptoms while the cause continues only delays the real fix.
🚫 What not to do: alcohol and sedatives to calm the jitters
🍷 A common pattern is caffeine all day and alcohol or a sleeping pill at night to come down. This see-saw makes anxiety worse over time: alcohol breaks up sleep in the second half of the night and causes rebound anxiety the next morning, and regular sedative use brings tolerance and dependence.
Coffee and energy drinks by day, wine or sleeping pills at night, more coffee the next morning
Moderate caffeine before noon, regular meals, a wind-down routine, treatment for anxiety if it stays
Daily medicines that treat anxiety without sedation, such as buspirone or an SSRI
🗿 Myths and facts about caffeine and anxiety
🌟 Living well on less caffeine
💪 People who cut down often worry they will feel slow and unproductive. In practice, once withdrawal passes, energy usually evens out: fewer peaks and crashes, steadier mood and deeper sleep. Daylight in the morning, a short walk after lunch, regular meals with protein and enough water all help with the afternoon dip that used to be filled with another coffee.
- 📌 Keep caffeine in the morning, when it helps most and harms sleep least
- 📌 Drink it with food, not on an empty stomach
- 📌 Choose smaller cups and slower drinks over cans and shots
- 📌 Tell your doctor and pharmacist how much caffeine you use when a new medicine is started
🚨 When to see a doctor
⛔ Get emergency help now if, after caffeine or energy drinks, you have:
🔹 Chest pain, fainting, a seizure, confusion or repeated vomiting.
🔹 A very fast or irregular heartbeat that does not settle with rest.
⛔ Book a doctor visit soon if:
🔹 Anxiety or panic attacks continue 3 to 4 weeks after cutting caffeine.
🔹 You have tremor, weight loss or a fast pulse even without caffeine.
🔹 You rely on alcohol or sleeping pills to come down at night.
🔹 You feel hopeless or have thoughts of harming yourself. In that case, contact emergency services or a crisis line now.
📋 Bring your caffeine and anxiety diary and a list of all medicines and supplements. This short record often answers the question faster than any test.
❓ Frequently asked questions
Can caffeine cause anxiety?
Yes. Caffeine raises adrenaline and can cause jitters, a fast heartbeat and dread. In sensitive people it can trigger anxiety or panic attacks, and doctors recognise caffeine-induced anxiety disorder.
How much caffeine is too much if I have anxiety?
Healthy adults are usually advised to stay under 400 mg a day, but people with anxiety often react to much less. Your limit is the amount that does not bring symptoms.
How long does caffeine anxiety last?
After a single large dose, jitters usually fade within a few hours as caffeine is cleared. Anxiety driven by daily caffeine often improves within 1 to 4 weeks of cutting down.
Can coffee trigger a panic attack?
Yes, especially in people with panic disorder, who are more sensitive to the body sensations caffeine causes. Cutting caffeine removes a common trigger.
How long does caffeine withdrawal last?
Symptoms usually start 12 to 24 hours after the last dose, peak in the first two days and last 2 to 9 days. A gradual taper prevents most of them.
Should I quit caffeine completely?
Not always. Many people do well on one morning coffee. A few weeks caffeine-free is a useful test to see how much of the anxiety was caused by it.
Can I drink coffee while taking buspirone?
Moderate amounts are usually fine, but heavy caffeine works against the calming effect. Keep to your personal limit and avoid large amounts of grapefruit juice.
Which medicines make caffeine stronger?
Fluvoxamine, ciprofloxacin and combined birth control pills slow caffeine clearance. Stopping smoking also makes the same coffee stronger.
Are energy drinks worse than coffee for anxiety?
Often yes, because they deliver large doses quickly, are easy to stack and are often mixed with alcohol or taken on little sleep.
When does anxiety need treatment beyond cutting caffeine?
If worry or panic attacks continue 3 to 4 weeks after cutting down, see a doctor. Therapy, buspirone or an SSRI may help.
📑 Sources and editorial
- 📘 Psychiatric diagnostic criteria for caffeine intoxication, caffeine withdrawal and caffeine-induced anxiety disorder
- 🧪 Food safety agency opinions on safe caffeine intake in adults and in pregnancy
- 🔬 Laboratory studies of caffeine challenge in people with panic disorder and in healthy volunteers
- 🌙 Sleep research on caffeine taken at different times before bed
- 💊 Drug interaction references on CYP1A2 inhibitors, lithium and caffeine
- 📖 Clinical guidelines on treatment of generalized anxiety disorder and panic disorder, and product information for buspirone, SSRIs and propranolol
- 📖 Related reading: panic disorder, generalized anxiety, anxiety medication compared, fluvoxamine and caffeine, skipped heartbeats, insomnia treatment
- 🛒 Related products: Buspar (Buspirone), Lexapro (Escitalopram), Sertafine (Sertraline), Celexa (Citalopram), Luvox (Fluvoxamine), Inderal (Propranolol), P-Nolol (Propranolol), Restfine (Melatonin)
- 🩺 RXshop Editorial Team — reviewed by Thomas Walsh, MD — Psychiatrist
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.