Caffeine is part of many people’s daily routine.
A morning coffee may help you feel more alert, while tea, cola or an energy drink may provide a boost during a busy afternoon or long shift. For many adults, moderate caffeine consumption does not cause significant problems.
However, caffeine can affect anxiety.
Because caffeine is a stimulant, it can increase alertness and activate physical sensations that are similar to the body’s stress response. These may include a faster heartbeat, shaking, sweating, restlessness and difficulty relaxing.
For someone already experiencing anxiety, these sensations can feel frightening. They may intensify existing symptoms or be mistaken for evidence that something dangerous is happening.
Understanding the relationship between caffeine and anxiety can help you decide whether reducing your intake may support your mental wellbeing.
What Is Caffeine?
Caffeine is a stimulant that affects the central nervous system.
It is commonly found in:
- Coffee
- Black and green tea
- Energy drinks
- Cola
- Chocolate
- Some painkillers
- Pre-workout products
- Caffeine tablets
- Certain food supplements
Caffeine can make you feel more awake and temporarily reduce tiredness. It does this partly by blocking the effects of adenosine, a substance involved in making the body feel sleepy.
The effects can be useful when you need to concentrate or stay alert. However, they may also create uncomfortable physical and emotional symptoms.
The Food Standards Agency warns that high caffeine exposure can be associated with nervousness, tension, anxiety, irritability, tremors, sweating, restlessness and heart palpitations. People who are particularly sensitive may experience effects at lower amounts.
How Caffeine Can Make Anxiety Feel Worse
Anxiety activates the body’s threat response.
When the brain believes something may be dangerous, your heart may beat faster, your muscles may tense and your breathing may change.
Caffeine can produce some of these same sensations.
Too much caffeine may cause:
- A racing heartbeat
- Heart palpitations
- Shaking or trembling
- Restlessness
- Sweating
- Nausea
- Dizziness
- Feeling tense
- Difficulty sitting still
- Faster or more shallow breathing
- Trouble sleeping
The FDA includes anxiety, jitters, increased heart rate, palpitations and sleep disruption among the possible signs of consuming too much caffeine.
These physical effects may be especially difficult for people who experience panic attacks, health anxiety or a fear of losing control.
Caffeine and Panic Attacks
Panic attacks involve sudden, intense fear accompanied by strong physical symptoms.
Someone may experience a pounding heart, chest discomfort, dizziness, shaking, breathlessness or a feeling that something terrible is about to happen.
Caffeine does not cause every panic attack. However, its stimulant effects can create sensations that resemble the beginning of one.
A person may notice their heart beating faster after coffee and think:
“Something is wrong with my heart.”
“I am going to faint.”
“I am losing control.”
Those thoughts may increase fear, which makes the physical sensations stronger. This can develop into a cycle of anxiety and panic.
People who are particularly sensitive to bodily sensations may therefore find caffeine more difficult to tolerate than others.
Caffeine Can Affect Sleep
One of the most important links between caffeine and anxiety is sleep.
Caffeine can make it harder to fall asleep, reduce sleep quality or cause you to wake feeling less refreshed. NHS advice identifies caffeine as a stimulant that can increase alertness and contribute to sleep difficulties.
Poor sleep can then make anxiety harder to manage.
After a difficult night, you may feel:
- More emotionally sensitive
- Less able to concentrate
- More irritable
- Physically tense
- Less able to challenge anxious thoughts
- More easily overwhelmed
You may then drink more caffeine to manage the tiredness.
This can create a cycle:
You feel anxious and struggle to sleep.
You use caffeine to stay awake.
The caffeine increases alertness and physical tension.
You struggle to sleep again.
Breaking this cycle may require reducing caffeine, particularly later in the day.
Coffee Is Not the Only Source
Many people monitor how much coffee they drink but overlook other sources of caffeine.
Energy drinks can contain significant amounts, and some people drink several in one day. Pre-workout powders, caffeine tablets and supplements may also deliver concentrated doses.
Tea generally contains caffeine too, although amounts vary depending on the type, strength and brewing time.
Chocolate, cola and some medicines can add to your total intake.
This means someone may be consuming more caffeine than they realise.
Check product labels, particularly on energy drinks, food supplements, pain relief medication and fitness products.
Avoid pure or highly concentrated caffeine products. Small measuring errors can result in extremely dangerous doses, and official guidance warns that concentrated caffeine can be life-threatening.
Why Caffeine Affects People Differently
There is no single amount of caffeine that affects everyone in the same way.
Your response may depend on:
- Body size
- Genetics
- Medication
- Physical health
- Sleep quality
- Pregnancy
- How often you consume caffeine
- Whether you use nicotine
- Existing anxiety
- The speed at which you drink it
- Whether you have eaten
Someone who drinks coffee every day may develop tolerance and notice fewer immediate effects.
Another person may feel shaky or panicked after one strong drink.
You may also become more sensitive during periods of stress, poor sleep or illness.
Rather than comparing your intake with someone else’s, notice how caffeine affects your own body and mood.
Signs You May Be Sensitive to Caffeine
Caffeine may be contributing to anxiety if you regularly notice:
- Shaking after coffee or energy drinks
- A racing or irregular-feeling heartbeat
- Increased worry
- Feeling restless or unable to relax
- Panic symptoms
- Irritability
- Stomach discomfort
- Difficulty falling asleep
- Waking during the night
- Feeling exhausted in the morning
- Needing more caffeine to function
- Anxiety that becomes worse soon after consuming it
Try keeping a simple record for one or two weeks.
Write down what you drink, the approximate time and how you feel afterwards. Include your sleep quality and anxiety level.
This may help you notice patterns that are difficult to recognise from memory alone.
How Much Caffeine Is Too Much?
The amount someone can tolerate varies.
The FDA states that, for most adults, up to 400 milligrams of caffeine per day is not generally associated with negative effects. However, that figure is not a target and does not mean that 400 milligrams will feel comfortable or appropriate for everyone.
Someone living with anxiety may experience symptoms at a much lower amount.
The strength of drinks also varies considerably. A large café coffee may contain much more caffeine than a small homemade one, and energy drinks differ by brand and serving size.
Focus on your symptoms rather than only the number.
When caffeine makes you feel anxious, restless or unable to sleep, reducing it may be worthwhile even when your intake is below a general guideline.
Should You Stop Caffeine Completely?
Not everyone with anxiety needs to stop caffeine completely.
Some people feel better after reducing the amount, avoiding energy drinks or switching to decaffeinated options.
You could begin by:
- Choosing a smaller coffee
- Replacing one drink with water
- Mixing regular and decaffeinated coffee
- Switching to decaffeinated tea
- Avoiding energy drinks
- Checking supplements and medicines
- Stopping caffeine earlier in the day
- Eating before consuming caffeine
NHS sleep guidance suggests avoiding tea or coffee for at least six hours before bedtime.
You may need an earlier cut-off when you are particularly sensitive or already struggling with insomnia.
Reduce Caffeine Gradually
Stopping caffeine suddenly can cause withdrawal symptoms, particularly when you consume it regularly.
Possible symptoms include:
- Headaches
- Tiredness
- Irritability
- Poor concentration
- Low mood
- Nausea
- Strong cravings
- Temporary increases in anxiety
Withdrawal can make you believe that reducing caffeine is making your mental health worse.
The symptoms usually reflect the body adjusting to the change rather than proof that you need to return immediately to your previous intake.
A gradual reduction may be easier.
For example, you could reduce the number or strength of drinks over several days or weeks. Replace one caffeinated drink at a time rather than stopping everything at once.
Stay hydrated and allow yourself additional rest where possible.
Alternatives to Caffeine
When caffeine is part of your daily routine, replacing the habit can be as important as reducing the stimulant.
Alternatives may include:
- Decaffeinated coffee
- Decaffeinated tea
- Herbal tea
- Water
- Warm milk
- Caffeine-free soft drinks
- Diluted fruit juice
Be aware that “decaffeinated” does not always mean completely caffeine-free, although the amount is normally much lower.
You can also support alertness by eating regular meals, getting outside, moving your body briefly and protecting your sleep routine.
These approaches may not provide the immediate jolt of caffeine, but they can support more stable energy.
Do Not Blame Caffeine for Every Symptom
Caffeine can contribute to anxiety, but it is rarely the only factor.
Anxiety may also be connected to:
- Chronic stress
- Trauma
- Relationship problems
- Physical illness
- Financial pressure
- Work difficulties
- Medication
- Alcohol or drug use
- Lack of sleep
- A recognised anxiety disorder
Reducing caffeine may ease some symptoms, but it is not a replacement for counselling, medical care or psychological treatment when these are needed.
New, severe or persistent symptoms should be discussed with a healthcare professional.
Chest pain, fainting, severe breathing difficulties or a very fast or irregular heartbeat may require urgent medical assessment rather than being assumed to be anxiety.
When to Ask for Help
Speak to a GP or mental health professional when anxiety:
- Is difficult to control
- Continues for weeks or months
- Causes frequent panic attacks
- Affects sleep, work or relationships
- Leads to increasing avoidance
- Makes everyday tasks difficult
- Causes you to rely heavily on caffeine, alcohol or drugs
- Leaves you feeling hopeless or unable to cope
Tell the professional how much caffeine you consume and whether symptoms become worse afterwards.
They can help consider whether anxiety is linked to caffeine, medication, a physical condition or another mental health difficulty.
Finding the Right Balance
Caffeine affects everyone differently.
For one person, a morning coffee may be enjoyable and cause no problems. For another, the same drink may trigger shaking, racing thoughts and panic symptoms.
The important thing is to listen to your body.
Notice how caffeine affects your heart rate, sleep, mood and ability to relax. Check less obvious sources such as energy drinks, supplements and medication.
Reduce your intake gradually when necessary, and remember that you do not have to stop completely unless that feels right for you or a healthcare professional advises it.
Caffeine may not be the cause of your anxiety, but reducing it can sometimes remove one source of physical stimulation.
Small changes may help you feel calmer, sleep better and understand your symptoms more clearly.
