Why Anxiety Gets Worse at Night and 7 Ways to Calm a Racing Mind

Mehr Patni
September 9, 2026
Why anxiety gets worse at night and how to calm it

The house is quiet. The lights are off. And your mind decides now is the perfect time to replay every conversation from the day, run through tomorrow's problems, and convince you that something is about to go wrong.

If anxiety at night feels harder to manage than it does during the day, you are not imagining it. Research from a 2025 study published in the British Medical Journal found that happiness tends to peak in the morning, while anxiety tends to be at its highest in the evening. There are real reasons why nighttime anxiety hits differently, and understanding them is the first step toward sleeping better.

This guide covers why your anxiety gets worse at night, what happens in your brain when racing thoughts take over, and seven strategies that can help you calm a racing mind and fall asleep.

Key Takeaways

  • Nighttime anxiety is common and tends to feel worse because of reduced distractions, hormonal shifts, and the brain's tendency to focus on threat when the body is still.
  • Sleep and anxiety have a bidirectional relationship. Poor sleep makes anxiety worse, and anxiety makes sleep harder, creating a cycle that can be difficult to break.
  • Body-based strategies like controlled breathing and progressive muscle relaxation can activate the parasympathetic nervous system and reduce physical symptoms within minutes.
  • Cognitive approaches like writing down worries and challenging catastrophic thoughts can interrupt the mental loops that keep you awake.
  • Chronic nighttime anxiety may affect Cognitive Function over time, making it worth addressing early rather than waiting for it to resolve on its own.

Why Anxiety Gets Worse at Night

Anxiety follows patterns shaped by your biology and how your brain processes threat. Several factors converge at night to make anxious feelings more intense.

Fewer Distractions Leave Room for Worry

During the day, your attention is occupied by work, conversations, errands, and tasks. These activities serve as natural buffers against anxious thoughts. At night, when external demands drop away, your mind has more space to wander. The silence and stillness that should support sleep can instead become the conditions that allow racing thoughts at night to take hold.

Cortisol and Your Body Clock

Your body's stress hormone, cortisol, follows a daily rhythm. Levels are highest in the morning and gradually fall through the evening. For most people, this decline supports relaxation. But for people with chronic anxiety, cortisol may remain elevated at night, keeping the body in a heightened state of alertness even when there is no real threat.

Research published in Dialogues in Clinical Neuroscience found that the corticotropin-releasing hormone (CRH) system and the locus coeruleus-autonomic nervous system both play key roles in the arousal response to stress. When these systems become overactive due to prolonged or repeated stress, they may contribute to a dysfunctional arousal state that makes it difficult to wind down.

The Sleep-Anxiety Cycle

Sleep and anxiety have a bidirectional relationship. A review in Dialogues in Clinical Neuroscience found that the prevalence of anxiety disorders was approximately 24 to 36 percent in people with insomnia complaints. Anxiety disrupts sleep, and poor sleep amplifies anxiety the following day, creating a feedback loop that can become self-reinforcing.

This cycle can also affect how the brain manages memory and cognitive function during sleep. When sleep architecture is disrupted by anxiety, the brain gets less time in the restorative stages that support memory consolidation.

What Happens in Your Brain During Nighttime Anxiety

When anxiety takes hold, the amygdala (the brain's threat-detection centre) becomes more active, signalling the body to release stress hormones that increase heart rate, tense muscles, and speed up breathing. The prefrontal cortex, which normally helps you assess threats rationally, becomes less effective under sustained stress. At night, this creates a recognisable pattern of symptoms.

Common physical symptoms of nighttime anxiety

  • Rapid or pounding heartbeat
  • Muscle tension in the jaw, shoulders, or chest
  • Shallow or rapid breathing
  • Sweating or stomach discomfort

Common mental symptoms

  • Racing or looping thoughts
  • Catastrophic thinking about the future
  • Replaying past events or conversations
  • A sense of dread or impending danger

Some people also experience nocturnal panic attacks, which involve waking from sleep in a state of intense fear. Research indicates that nocturnal panic typically occurs during late stage 2 to early stage 3 sleep, distinguishing it from nightmares (REM sleep) and sleep terrors (stage 4 sleep).

7 Ways to Calm Anxiety at Night

The strategies below target both the physical and mental components of nighttime anxiety. The goal is to find two or three that fit your life and practise them consistently.

1. Use Controlled Breathing to Activate Your Calm System

Controlled breathing is one of the fastest ways to shift your nervous system from fight-or-flight mode into a calmer state. The key is extending the exhale, which directly activates the vagus nerve and slows the heart rate.

Try this: 

  • Inhale slowly through your nose for 4 counts. 
  • Hold for 7 counts. 
  • Exhale through your mouth for 8 counts. 
  • Repeat three to four times. 
  • If that feels too structured, simply breathe in for 4 counts and out for 6 to 8 counts.

2. Practise Progressive Muscle Relaxation

Progressive muscle relaxation (PMR) involves tensing and then releasing each muscle group in your body, one at a time. Start with your feet and work upward through your calves, thighs, stomach, chest, arms, and face. Hold each tension for five to ten seconds, then release and notice the contrast.

Research supports PMR for reducing both anxiety and insomnia symptoms. Chronic anxiety often manifests as physical tension you may not notice until you deliberately scan for it. Regular practice may lower your baseline tension level over time.

3. Write Down Your Worries Before Bed

When racing thoughts at night are driven by unfinished tasks or future concerns, writing can help. Research has found that people who write a detailed to-do list before bed tend to fall asleep faster than those who write about completed tasks. The act of externalising your worries moves them from an internal loop to an external record, giving your brain permission to let go.

Keep a notebook by your bed. When anxious thoughts arise, write them down briefly and close the notebook. You are not solving problems at midnight. You are parking them until morning.

4. Challenge Catastrophic Thoughts

Anxiety tends to overestimate danger and underestimate your ability to cope. When you catch yourself spiralling, try asking yourself what evidence you actually have that your feared outcome will happen, what you would say to a friend with the same worry, what the most likely outcome is rather than the worst case, and whether you could handle it even if the worst did happen.

The goal is not to replace anxious thoughts with positive ones. It is to arrive at a more realistic appraisal. Understanding the mind-sleep connection can also help you recognise when your thinking patterns are working against your sleep.

5. Limit Caffeine, Alcohol, and Screen Time Before Bed

These three factors are among the most common contributors to sleep anxiety.

Factor

How it affects nighttime anxiety

Caffeine

Blocks adenosine, a brain chemical that promotes sleepiness. Even caffeine consumed six hours before bed can reduce total sleep time.

Alcohol

May feel relaxing initially, but disrupts REM sleep and increases anxiety the following day through rebound effects on brain chemistry.

Screen time

Blue light suppresses melatonin production. Stimulating content keeps the brain alert when it should be winding down.

Stop caffeine by early afternoon, avoid alcohol as a sleep aid, and put screens away at least 30 minutes before bed.

6. Build a Consistent Wind-Down Routine

Your brain responds to cues. If you spend the last hour before bed scrolling through news and answering messages, you are signalling alertness. If you spend it doing the same calming activities in the same order each night, you teach your brain that sleep is approaching.

A wind-down routine does not need to be elaborate. A warm shower, ten minutes of reading, a cup of caffeine-free tea, and a short meditation or breathing practice are all effective options. The consistency matters more than the specific activities.

7. Move Your Body Earlier in the Day

Regular physical activity has strong evidence for reducing anxiety. Exercise lowers cortisol sensitivity, increases the calming neurotransmitter GABA, and improves sleep quality. The timing matters, though. Vigorous exercise close to bedtime can increase arousal and make it harder to fall asleep.

Aim for 30 minutes of moderate activity earlier in the day. Even a short walk after dinner can help process residual stress before it reaches the bedroom. The benefits of mindfulness and movement are well documented for managing both anxiety and sleep quality.

When Nighttime Anxiety May Be Affecting Your Brain

Occasional anxiety before bed is a normal part of life. But when nighttime anxiety becomes chronic, it can begin to affect how well your brain handles attention, memory, and decision-making during the day. Research has found that fragmented sleep may be associated with poorer Cognitive Function in older adults.

The relationship between anxiety, sleep, and Cognitive Health is worth paying attention to, especially if you have noticed changes in your focus or memory alongside persistent sleep difficulties. Building daily habits that support both your mental health and your ​brain's cognitive systems can help address both sides of the equation.

Conclusion

Nighttime anxiety has more to do with how the brain and body are wired than with any personal failing. When distractions fall away, and the nervous system stays alert, anxious thoughts get louder. The strategies in this guide, from controlled breathing and progressive muscle relaxation to limiting caffeine and building a wind-down routine, are designed to give your body the signals it needs to stand down.

If poor sleep and anxiety are starting to affect your focus or memory during the day, Ivory's Cognitive Assessment can help you understand where things stand. It measures 22 skills across five domains: Reasoning, Memory, Attention, Coordination, and Perception, and produces a Cognitive Profile report. Think of it like an annual health checkup for your brain, a way to separate a rough patch from something worth paying closer attention to.

For daily support, the Ivory app offers mindfulness activities and a mood tracker alongside neuroscience-backed games for focus and attention. On nights when your brain will not switch off, the mindfulness tools may be a better option than reaching for your phone.

Note: The information in this blog is for educational and informational purposes only. Nothing here should be taken as medical or mental health advice. If anxiety is significantly affecting your daily life or sleep, please speak with a qualified healthcare provider or mental health professional.

Frequently Asked Questions

Why does anxiety get worse at night?

Anxiety tends to intensify at night because of a combination of factors. Fewer distractions allow worries to feel louder, cortisol levels drop in ways that may leave some people feeling less able to manage anxious thoughts, and physical stillness makes body sensations like a racing heart or tense muscles more noticeable. The quiet of the evening removes the natural buffers that help redirect attention during the day.

Can nighttime anxiety cause nocturnal panic attacks?

Nocturnal panic attacks involve waking from sleep in a state of intense fear with physical symptoms like a pounding heart, sweating, and shortness of breath. They typically occur during late stage 2 to early stage 3 sleep and are distinct from nightmares, which happen during REM sleep. Research suggests that people who experience frequent nocturnal panic attacks may represent a subgroup of panic disorder characterised by heightened distress around situations involving loss of vigilance, such as sleep.

How do I stop racing thoughts at night?

Writing down your worries before bed can help by externalising the thoughts that are looping internally. Controlled breathing techniques, progressive muscle relaxation, and cognitive strategies like challenging catastrophic thoughts can also interrupt the cycle. The goal is not to stop thinking entirely but to shift your nervous system out of high-alert mode so that sleep becomes possible.

Does sleep anxiety affect Cognitive Function?

Chronic sleep disruption linked to anxiety may affect how well the brain handles attention, memory, and decision-making. Research has found that fragmented sleep is associated with poorer cognitive outcomes, and sustained stress may affect brain regions involved in memory and emotional regulation. Addressing sleep anxiety early, through both anxiety management and good sleep habits, can help support long-term Cognitive Health.

What is the best breathing technique for anxiety at night?

Extended-exhale breathing is consistently supported by research. The 4-7-8 method (inhale for 4 counts, hold for 7, exhale for 8) is a widely used version. If that feels too structured, simply making your exhale longer than your inhale (for example, breathing in for 4 counts and out for 6 to 8) activates the vagus nerve and slows the heart rate. Practising this regularly, not just when anxious, can make it more effective over time.

When should I see a doctor about nighttime anxiety?

If nighttime anxiety regularly disrupts your sleep, affects your ability to function during the day, or has persisted for several weeks, speaking with a healthcare provider is a good next step. You should also seek help if you experience frequent nocturnal panic attacks, if anxiety is accompanied by significant changes in mood or behaviour, or if you have started using alcohol or medication to cope with sleeplessness.

Sources

  1. Staner, L., "Sleep and anxiety disorders," Dialogues in Clinical Neuroscience, 2003. ​PMC
  2. INTEGRIS Health, "Why Is Anxiety Worse at Night?" INTEGRIS Health, 2025. ​INTEGRIS Health
  3. Cleveland Clinic, "Sleep Anxiety," Cleveland Clinic, 2024. ​Cleveland Clinic
  4. Sleep Foundation, "Anxiety at Night," Sleep Foundation, 2026. ​Sleep Foundation
Blog

Explore Our Latest Insights

Dive deeper into cognitive health and wellness.