HopeStage
Skip to content

How does caffeine affect my mental health?

Explore how caffeine affects alertness and sleep, what studies say about anxiety, and what we’re still learning about mood.

Everyday experience

A coffee after lunch helps you feel more awake. On another day, the same drink leaves you feeling on edge. You might fall asleep easily that evening or find yourself still awake when you expected to feel tired. Tea, cola and energy drinks can contain caffeine too.

How caffeine feels can depend on when you have it, what you’re used to and how well you slept beforehand. Researchers can measure attention, sleep and anxiety separately, and those results don’t always move together.

What science tells us

Caffeine can temporarily make you feel more alert

Adenosine is one of the brain’s signals for sleep pressure, the drive to sleep that builds while you’re awake. Caffeine temporarily blocks adenosine receptors, making that signal less noticeable. Brain scans in a small study confirmed that caffeine occupies one type of adenosine receptor in humans. In a separate review of 31 controlled trials with 1,455 rested, healthy adults, caffeine modestly improved reaction time and accuracy on attention tasks in the short term. [1][2]

The amount and timing can affect sleep

Across 24 studies, people took longer to fall asleep and slept less on average after having caffeine. In a later trial with 23 healthy men who regularly consumed caffeine, each person took a placebo or one of two amounts of caffeine at different intervals before bed. The larger amount disturbed sleep more, particularly when taken closer to bedtime. Participants did not always notice changes that the sleep recordings detected. [3][4]

Feeling anxious and having a bodily response are different outcomes

In a review of experiments using large test doses, panic attacks were more common after caffeine than after placebo among adults with panic disorder. A 2025 trial tested a much smaller amount in 29 adults with panic disorder and 53 adults without it, all with low habitual caffeine use. It found no clear increase in self-reported anxiety, the main outcome. Caffeine did increase a measure of physical arousal and avoidance in a lab task in both groups. [5][6]

Regular use can change what you notice

Tolerance means the same amount can feel less noticeable after repeated use. In a small controlled study of 16 regular caffeine users, tolerance appeared in how people rated some effects, while changes in brain blood flow and electrical activity were still measurable. When caffeine was withheld after a period of regular intake, participants reported more tiredness. Fatigue when a usual drink is missed can therefore include a temporary withdrawal effect. [8]

How caffeine relates to mood stability is still being studied

In a 20-day study of 150 young adults with and without conditions on the bipolar spectrum, higher-than-usual caffeine use was associated with more depressive symptoms the next day. Shorter sleep accounted for part of the association in an analysis of the 128 participants who wore a sleep monitor. A review of 17 studies in people with bipolarity found that much of the evidence about manic episodes came from individual case reports. These studies leave the effects on long-term mood stability open. [10][9]

What science doesn’t know yet

An average result leaves room for different responses

The sleep timing trial measured one night per test condition and included a small group of healthy men. Other people may respond differently, and the same person may feel different effects with a different sleep schedule or pattern of caffeine use. [4][8]

Anxiety measures vary across studies

A 2026 review that included the 2025 panic trial found higher anxiety scores on average when it pooled experiments across different settings. The evidence was rated very uncertain because the results varied widely and the studies had methodological limits. Many tested a single dose, so the findings tell us little about long-term anxiety or whether someone will develop an anxiety condition. [7][6]

The direction of a change in mood can be hard to untangle

Caffeine might contribute to a shorter night, and tiredness or a change in mood might lead someone to have more caffeine. The young-adult study observed these patterns without assigning caffeine use. A change after a drink can help you describe what you noticed. Its cause and relevance to future mood episodes remain open questions. [10][9]

Reflect on your experience

Think of an ordinary day when you had caffeine. Open any question you want to think through privately.

When did I have caffeine, and what did I have?

Think about coffee, tea, cola or other sources you had that day. When was the last one in relation to when you went to bed?

How did I sleep?

Think about how long it felt like it took to fall asleep, whether you woke up and how rested you felt the next morning.

How did my energy change?

What was your energy like just before you had caffeine, later that day and the next morning? Was this typical for you?

Did I notice tension or anxiety?

Think about how calm or on edge you felt, and whether your body felt more restless. What else was happening that might have shaped those feelings?

Skip to everyday considerations

From science to everyday life

Notice timing alongside sleep and energy

If it feels useful, a short note about an ordinary day can include what you had and when, how you slept and how your energy felt the next day. Two naturally different days with similar schedules can give you something concrete to talk about. Work hours, stress or an unusually short night can be part of the picture too. [4][10]

Bring the pattern to a conversation if it concerns you

If a pattern of poor sleep, anxiety or mood changes is affecting your day, you can describe it to a healthcare professional. Include what changed and when, even if the connection seems uncertain. A pharmacist or prescriber can answer questions about how caffeine may interact with medicines you take. [3][6][9]

Questions to discuss with a healthcare professional

  • When I have caffeine later, I sometimes sleep differently. What other factors could help explain that pattern?
  • What would help us tell whether caffeine, poor sleep or something else is contributing to how anxious I feel?
  • Could caffeine be relevant to my mood or to any medicines I take?

Scientific references

Sources checked on

  1. Brain imaging study of caffeine and adenosine receptors

    Elmenhorst et al. · Journal of Nuclear Medicine, 2012 · DOI 10.2967/jnumed.112.105114

    Full article
  2. Meta-analysis of short-term effects of caffeine on attention

    Kløve and Petersen · Psychopharmacology, 2025 · DOI 10.1007/s00213-025-06775-1

    Scientific abstract
  3. Systematic review of caffeine’s effects on the following night’s sleep

    Gardiner et al. · Sleep Medicine Reviews, 2023 · DOI 10.1016/j.smrv.2023.101764

    Full article
  4. Randomised trial comparing caffeine amounts and times before bedtime

    Gardiner et al. · Sleep, 2025 · DOI 10.1093/sleep/zsae230

    Full article
  5. Systematic review of caffeine challenge studies in people with panic disorder

    Klevebrant and Frick · General Hospital Psychiatry, 2022 · DOI 10.1016/j.genhosppsych.2021.11.005

    Full article
  6. Randomised trial of reported anxiety and bodily responses to caffeine

    Hoppe et al. · Journal of Psychopharmacology, 2025 · DOI 10.1177/02698811251344692

    Full article
  7. Review of randomised trials on caffeine, anxiety and depressive symptoms

    Zhang et al. · Frontiers in Nutrition, 2026 · DOI 10.3389/fnut.2026.1950050

    Full article
  8. Controlled experiment on caffeine tolerance and withdrawal

    Sigmon et al. · Psychopharmacology, 2009 · DOI 10.1007/s00213-009-1489-4

    Full article
  9. Systematic review of caffeine use and symptoms in people with bipolarity

    Frigerio et al. · Bipolar Disorders, 2021 · DOI 10.1111/bdi.12990

    Scientific abstract
  10. Twenty-day study of caffeine, sleep and mood symptoms in young adults

    Walsh et al. · Chronobiology International, 2025 · DOI 10.1080/07420528.2025.2548345

    Full article

Explore further