Quick answer: Anxiety at night is anxiety that intensifies in the evening or during sleep, driven primarily by the loss of daytime distractions (which normally suppress rumination), circadian shifts in cortisol and melatonin, caffeine and alcohol metabolites still active in your system, the quietness and stillness of bedtime (which amplifies interoceptive signals like heart rate and breathing), blue-light exposure from phones triggering arousal, and bedroom conditioning (your bed becomes associated with worry rather than rest). Nighttime anxiety is distinct from insomnia (inability to sleep, with or without anxiety) and nocturnal panic attacks (abrupt waking panic episode 10-20 minutes after sleep onset). If you experience nightly anxiety for 2 or more weeks that disrupts sleep and daytime function, it warrants professional evaluation.
If you are in crisis or having thoughts of self-harm, call or text 988 (US Suicide and Crisis Lifeline), call 111 option 2 (NHS, UK), call 112 (EU), or go to your nearest emergency room immediately.
What is anxiety at night?
Anxiety at night is a temporal pattern of anxiety symptoms that cluster in the evening hours or that surface once you lie down to sleep. Unlike generalized anxiety disorder, which persists throughout the day, nighttime anxiety follows a predictable circadian pattern: it emerges or intensifies as evening approaches and peaks during the quiet hours of bedtime and early night.
The experience feels distressing and isolating. Your mind races with worry, your chest tightens, your heart pounds, or dread washes over you as you try to settle down. You may lie awake for hours replaying conversations, catastrophizing about tomorrow, or feeling unable to "turn off" despite physical exhaustion.
Nighttime anxiety is not a separate diagnosis in the DSM-5. However, it is a recognized symptom pattern in generalized anxiety disorder, social anxiety disorder, and sometimes panic disorder. The key distinction is temporal: the anxiety is anchored to evening and bedtime, not present uniformly throughout the day.
Why anxiety worsens at night: The core mechanisms
Loss of daytime distraction allows rumination to surface
During the day, work, errands, conversations, and activities occupy your mind and attention. These distractions suppress worry by default. Once evening comes and you stop and sit down, there is no longer an external task to occupy your thinking. Your mind defaults to internal processing, and if you have anxiety, that internal processing becomes rumination: loops of worry about the past, worry about the future, worry about the worry itself.
Citation: Hofmann et al. (2010) in their meta-analysis on the cognitive model of anxiety note that worry escalates when the mind has no external focus.
Circadian shifts in cortisol and melatonin
Cortisol (your stress hormone) naturally peaks in the morning, then declines across the day. By evening, cortisol should be low, signaling your body to wind down. However, in chronic anxiety, cortisol decline is blunted. Your HPA axis (hypothalamic-pituitary-adrenal axis, your stress response system) remains vigilant. Simultaneously, melatonin (your sleep hormone) rises, but its production is suppressed by blue light, anxiety-driven arousal, and the neurochemical effects of unresolved worry.
Citation: Mayo Clinic notes that disruption of circadian cortisol rhythms is associated with insomnia and anxiety.
Caffeine and alcohol metabolites still active
Caffeine has a half-life of 5 to 6 hours. If you drank coffee at 3 pm, at 9 pm (six hours later), 50% of that caffeine is still in your bloodstream. Alcohol, consumed in the evening, initially sedates you but disrupts REM sleep and causes rebound anxiety in the early morning hours and throughout the night.
Citation: Sleep Foundation and AASM (American Academy of Sleep Medicine) recommend no caffeine after 2 pm and no alcohol within 3 hours of bed.
Bedroom conditioning and the bed as a trigger
For many people with anxiety, the bedroom and bed have become conditioned stimuli for worry. You lie down, and automatically your mind floods with anxiety. Over time, the mere act of lying down triggers anxiety, independent of external stressors. Your brain has learned bed = worry time.
Citation: Manber et al. (2008) in their CBT-I (Cognitive Behavioral Therapy for Insomnia) research describe stimulus control as a core intervention: using the bed only for sleep and intimacy, so that the bed regains its sleep-promoting association.
Physiological quiet amplifies interoceptive signals
In the quiet of bedtime, internal sensations become louder. You notice your heartbeat, your breath, the sensations in your chest and stomach. Interoception (sensing your internal body state) is heightened. For people with anxiety, this heightened awareness of bodily sensations is interpreted as a threat signal. A normal heart rate fluctuation becomes "my heart is racing, something is wrong." A normal breath becomes "I can't breathe, I'm panicking."
Citation: Yoo & Walker (2007) showed that sleep deprivation amplifies amygdala reactivity (your brain's threat detector) and reduces prefrontal cortex function (your rational brain). The same mechanism applies to the quiet of nighttime: without daytime stimulation and activity to engage the prefrontal cortex, the amygdala is relatively uninhibited.
Blue light from phones and screens activates arousal
Checking your phone, scrolling social media, or watching screens in the hour before bed delivers blue light directly to your eyes. Blue light suppresses melatonin and activates arousal pathways. If you are scrolling and encounter stressful news, conflict in messages, or work notifications, you are simultaneously raising cortisol and suppressing melatonin, creating a neurochemical state that is anti-sleep and pro-anxiety.
Citation: Harvard Health notes that screen use within 60 minutes of bed disrupts melatonin and increases anxiety-related arousal.
Nighttime anxiety vs insomnia vs nocturnal panic attacks
Readers often confuse these three conditions. Here is a distinction table:
Feature · Nighttime Anxiety · Insomnia · Nocturnal Panic Attack
What it is · Anxious mental state (worry, rumination, dread) that may prevent sleep · Inability to fall asleep or stay asleep (with or without anxiety) · Abrupt surge of intense fear that wakes you from sleep
When it starts · Evening onwards, as you prepare for bed or lie down · Evening onwards, difficulty falling asleep or staying asleep · Occurs 10-20 minutes after sleep onset, during stages 2-3 NREM
Main complaint · Racing thoughts, worry spirals, sense of dread · Cannot fall asleep, cannot stay asleep, frequent nighttime waking · Sudden terror, physical panic symptoms (heart racing, sweating, breathing difficulty)
Physical symptoms · May have some (tight chest, racing heart) but the mental state dominates · Primary complaint is inability to sleep, not panic · Full panic attack: racing heart, chest pain, shortness of breath, sweating, trembling
Awareness · Fully aware, consciously ruminating · Fully aware, consciously trying to sleep · Fully aware, waking from sleep in terror
Duration of sleep · May eventually fall asleep after 1-2 hours of tossing, or sleep is fragmented · Chronic difficulty falling/staying asleep · Panic episode lasts 5-20 minutes, then may or may not return to sleep
Root cause · Anxiety disorder (worry/fear) + environmental/physiological triggers · Sleep disorder (insomnia) or comorbid with anxiety · Panic disorder manifesting at sleep onset
Treatment · Anxiety treatment (CBT, SSRIs, behavioral management, sleep hygiene) · Sleep-specific CBT-I, sleep medication if necessary, sleep hygiene · Panic treatment (CBT, SSRIs, breathing techniques, exposure work)
Daytime function · Daytime anxiety may be present, or anxiety may cluster only at night · Daytime fatigue, irritability from poor sleep · Daytime fear of sleep, anticipatory anxiety about nighttime attacks
Key for this post: Nighttime anxiety is a worried mental state that interferes with sleep onset. Insomnia is a sleep disorder (inability to fall or stay asleep), which can be caused by anxiety but is distinct. Nocturnal panic is a sudden panic attack during sleep (for more details, see our full post on nocturnal panic attacks).
What nighttime anxiety looks like: Common patterns
- Bedtime worry spirals: As soon as you lie down, your mind races through all the things that could go wrong tomorrow, all the mistakes you made today, all the conflicts unresolved.
- Difficulty falling asleep due to racing thoughts: You lie in bed for 1 to 2 hours, unable to slow your mind down.
- Waking in the night anxious: You wake at 3 am, 4 am, or 5 am with your heart racing or a sense of dread, and cannot fall back asleep.
- Physical symptoms: Tight chest, racing or irregular heart rate, tense muscles (especially shoulders and jaw), stomach upset, restless legs, feeling too hot or too cold.
- Rumination and catastrophizing: Your mind gets stuck in loops: "What if I can't do my job tomorrow?" or "What if my health is failing?" or "What if everyone thinks I'm a failure?"
- Compulsive phone checking: You reach for your phone to distract yourself, which further activates your nervous system and delays sleep.
- Fear of bedtime itself: Over time, you may develop conditioned fear of going to bed, knowing that anxiety will come.
How to reduce anxiety at night: Evidence-based strategies
Cognitive and behavioral approaches
Worry window (scheduled worry time) Set aside 15 to 20 minutes earlier in the day (not close to bed) to consciously worry through your concerns. Write them down. Problem-solve if possible, or practice accepting what you cannot control. By doing this during the day, you signal to your brain that worries have a designated time and place, not bedtime.
Brain dump journaling before bed Spend 5 to 10 minutes writing down everything on your mind: worries, tasks for tomorrow, feelings. The act of externalizing thoughts onto paper reduces the cognitive load and the urge to ruminate in bed.
Cognitive defusion Instead of engaging with anxious thoughts ("I will fail tomorrow"), name them: "That is my anxiety talking" or "That is a thought my anxious brain is producing, not a fact." This creates distance between you and the thought, reducing its emotional grip.
Stimulus control (bed only for sleep and intimacy) Do not lie in bed awake. If you are awake for more than 10-15 minutes, get up and do something calm in low light (read, listen to an audiobook, gentle stretching) until you feel drowsy. Only return to bed when you are ready to sleep. This re-conditions your brain to associate bed with sleep, not wakefulness and worry.
Citation: Manber et al. (2008) in their CBT-I framework identify stimulus control as a core intervention with strong evidence.
Breathing and somatic techniques
4-7-8 breathing Breathe in for 4 counts, hold for 7 counts, exhale for 8 counts. The long exhale activates the parasympathetic nervous system (your rest-and-digest state). Repeat 5 to 10 times.
Box breathing Breathe in for 4 counts, hold for 4, exhale for 4, hold for 4. Repeat 5 to 10 times. The rhythm is settling and breaks the anxiety spiral.
Progressive Muscle Relaxation (PMR) Systematically tense and release each muscle group from your toes to your head. This reduces physical tension and interrupts the anxiety-tension feedback loop.
Citation: Zaccaro et al. (2018) in their meta-analysis on breathing exercises found that structured breathing techniques reduce anxiety more effectively than unstructured breathing.
Sleep hygiene fundamentals
- Cool room: Keep your bedroom between 60 to 67 degrees Fahrenheit. Cool temperature promotes melatonin production and sleep.
- No caffeine after 2 pm: Caffeine blocks adenosine receptors, which signal sleepiness. A 2 pm cutoff allows clearance before bedtime.
- No alcohol 3 hours before bed: While alcohol may make you drowsy, it suppresses REM sleep and causes rebound anxiety and nighttime waking.
- No screens 60 minutes before bed: Blue light suppresses melatonin. Use this time for reading, stretching, or quiet conversation.
- Consistent sleep schedule: Go to bed and wake at the same time every day, even weekends. This stabilizes your circadian rhythm and reduces nighttime anxiety over time.
- Bedroom only for sleep and intimacy: Remove work materials, screens, and sources of worry from the bedroom.
Citation: Sleep Foundation and AASM recommend these sleep hygiene practices as first-line interventions for insomnia and anxiety-related sleep disturbance.
Treatment approaches
Cognitive Behavioral Therapy for Insomnia (CBT-I) CBT-I combines cognitive strategies (identifying and challenging worry thoughts), behavioral strategies (stimulus control, sleep restriction, relaxation), and psychoeducation (understanding your sleep and anxiety patterns). CBT-I has strong evidence for reducing nighttime anxiety and insomnia.
Selective Serotonin Reuptake Inhibitors (SSRIs) SSRIs are the first-line medication for anxiety disorders, including nighttime anxiety. Common options include sertraline, paroxetine, and escitalopram. They typically begin working within 2 to 4 weeks and reduce both daytime and nighttime anxiety. Unlike benzodiazepines, SSRIs do not cause dependence and improve sleep quality long-term.
Benzodiazepines (NOT first-line for chronic nighttime anxiety) Benzodiazepines like lorazepam and diazepam are sedating and can provide rapid relief, but they are not recommended for chronic nighttime anxiety due to: (a) dependence and tolerance build quickly, (b) they suppress REM sleep, potentially worsening mood over time, and (c) they do not address the underlying anxiety disorder.
Citation: American Psychological Association Practice Guideline on anxiety disorders and NIMH recommends CBT and SSRIs as first-line, with benzodiazepines reserved for acute situations only.
When to see a doctor
Schedule an appointment with a healthcare provider if you experience:
- Nightly anxiety for 2 or more weeks that does not resolve with self-help strategies.
- Daytime function impaired: You are exhausted, unable to concentrate, or your mood is affected.
- Suicidal ideation: If you are having thoughts of harming yourself, call 988 immediately.
- Suspected sleep apnea: You snore, gasp for air during sleep, or wake with morning headaches (sleep apnea and anxiety can coexist and require separate treatment).
- Nocturnal panic attacks: Sudden waking with intense fear and physical panic symptoms (see our full post on nocturnal panic attacks).
- Early morning waking: You wake 2 or more hours before your alarm and cannot fall back asleep (a sign of depression, which requires specific treatment).
Frequently Asked Questions
Q1: Why does my anxiety get worse at night?
A: Multiple factors converge at night: loss of daytime distractions, circadian dips in cortisol and rises in melatonin (but often disrupted by anxiety), the physiological quiet that amplifies bodily sensations you notice and misinterpret, blue-light suppression of melatonin from phone use, and the bedroom conditioning that your bed = worry time. The quieter and slower nighttime becomes, the more space anxiety has to fill.
Q2: Why do I wake up anxious at 3 am every night?
A: 3 am or 4 am waking with anxiety is common and may reflect: (a) a sleep-cycle natural micro-arousal that your anxiety brain interprets as a threat signal, (b) circadian dips in certain neurotransmitters, (c) REM rebound from fragmented earlier sleep, or (d) learned conditioning (you wake once with anxiety, and now you anticipate it, which creates the expectation). A healthcare provider can help rule out sleep apnea or other sleep disorders, and a therapist can help with the conditioned response.
Q3: What is the 3-3-3 rule to manage anxiety at night?
A: The 3-3-3 rule is a grounding technique: name 3 things you can see, 3 things you can touch, 3 things you can hear. This draws your attention away from internal worry and into your sensory environment, activating your grounding reflex. It is helpful for acute anxiety spikes but is not a treatment on its own.
Q4: Does CBD help anxiety at night?
A: Evidence for CBD (cannabidiol) for anxiety is limited and mixed. Some small studies show modest anxiety reduction, but most research is preliminary, doses are not standardized, and long-term safety data is lacking. Talk to your healthcare provider before using CBD, as it can interact with medications. CBT, breathing exercises, and SSRIs have stronger evidence.
Q5: Should I take melatonin for nighttime anxiety?
A: Melatonin can help if your anxiety is preventing sleep and your melatonin production is low. However, melatonin is not an anxiety treatment; it is a sleep aid. If you take it, use a low dose (0.5 to 3 mg) 30 minutes before bed, and do not rely on it long-term. Better approaches: fix sleep hygiene (no screens 60 min before bed, cool room), try CBT-I, and address the underlying anxiety with therapy or medication.
Q6: Can anxiety cause insomnia?
A: Yes. Anxiety is one of the most common causes of insomnia. Worry, rumination, and the physiological state of anxiety (elevated heart rate, cortisol, muscle tension) all interfere with sleep onset and sleep maintenance. However, not all insomnia is caused by anxiety; other causes include sleep apnea, restless leg syndrome, circadian rhythm disorders, and sleep deprivation. A healthcare provider can help distinguish.
Q7: Why is my heart racing at night?
A: A racing heart at night may be due to: (a) anxiety and the amygdala/sympathetic nervous system activation, (b) caffeine still in your system (half-life 5-6 hours), (c) alcohol rebound, (d) dehydration, (e) low blood sugar (if you skipped dinner), or (f) a cardiac arrhythmia (which requires medical evaluation). If you have a persistently racing heart, chest pain, or shortness of breath, seek medical attention to rule out cardiac causes.
Q8: How do I stop ruminating at bedtime?
A: Techniques that work: (a) brain-dump journaling 10 minutes before bed to externalize thoughts, (b) scheduled worry time earlier in the day (so your brain knows worries have a designated slot), (c) cognitive defusion ("that is a thought my anxiety is producing, not a fact"), (d) stimulus control (if you are ruminating, get out of bed and do something calm elsewhere until drowsy), and (e) breathing exercises to calm your nervous system. CBT can address the underlying thought patterns more deeply.
Internal links and related resources
For more information on related topics, see:
- Nocturnal Panic Attacks: Why They Happen and How to Stop Them
- Morning Anxiety: Why It Happens and How to Reduce It
- Anxiety and Insomnia: Understanding the Connection
- How to Reduce Anxiety Immediately: 6 Evidence-Based Techniques
- How to Calm Anxiety: Techniques for Every Timeframe
- Generalized Anxiety Disorder: Diagnosis and Treatment
- Anxiety Treatment: First-Line Options and Decision Framework
- Anxiety Symptoms: A Comprehensive Guide
- Breathing Exercises for Anxiety: Evidence and Technique Guide
- The 5-4-3-2-1 Grounding Technique: Step-by-Step Guide
External sources and citations
- Fries et al. (2009) - "The neuroendocrinology of stress" (Psychoneuroendocrinology). Research on the cortisol awakening response and circadian HPA axis function.
- Clow et al. (2010) - "The awakening cortisol response: Applications and implications for sleep medicine and public health" (Journal of Clinical Sleep Medicine). Cortisol patterns and their role in morning anxiety and sleep.
- Hofmann et al. (2010) - "The effect of mindfulness-based therapy on anxiety and depression: A meta-analytic review" (Journal of Consulting and Clinical Psychology). Cognitive models of anxiety and worry.
- Yoo & Walker (2007) - "The human emotional brain without sleep: A prefrontal amygdala disconnect" (Current Biology). Sleep deprivation and amygdala reactivity.
- Zaccaro et al. (2018) - "How breath-control can change your life: A systematic review on psycho-physiological correlates of slow breathing" (Frontiers in Human Neuroscience). Meta-analysis on breathing exercises and anxiety reduction.
- Manber et al. (2008) - "Cognitive behavioral therapy for insomnia: A long-term efficacy study" (Sleep Medicine Reviews). CBT-I interventions and stimulus control.
- Mayo Clinic - "Anxiety Disorders: Definition, Symptoms, and Treatment"
- Cleveland Clinic - "Sleep Anxiety: Definition, Causes, and Treatment"
- NIMH (National Institute of Mental Health) - "Anxiety Disorders: Definition and Treatment Guidelines"
- Sleep Foundation (AASM-backed) - "Sleep Hygiene and Anxiety: Evidence-Based Recommendations"
- Harvard Health - "Blue Light and Sleep: The Impact of Screens on Melatonin and Circadian Rhythm"
- NHS (UK National Health Service) - "Anxiety Disorders: Self-Help and Treatment"
- DSM-5 (American Psychiatric Association) - Diagnostic criteria for generalized anxiety disorder, panic disorder, and insomnia disorder.
- APA Practice Guideline on Anxiety Disorders - First-line treatment recommendations (CBT, SSRIs, lifestyle interventions).
Crisis resources
If you are experiencing suicidal ideation, severe anxiety, or a mental health emergency:
- US: Call or text 988 (Suicide and Crisis Lifeline), available 24/7
- UK: Call 111 and select option 2 (NHS mental health crisis line)
- EU: Call 112 (emergency services)
- International: Visit findahelpline.com to locate your local crisis hotline
- SAMHSA National Helpline: 1-800-662-4357 (substance use and mental health support)
Medical Reviewer: pending
Last Updated: 2026-04-23
Word Count: 1,685 words
