← All posts
AnxietySleepMental HealthNighttime

Why Does My Anxiety Get Worse at Night? (And How to Actually Sleep)

Understand why your anxiety spikes at bedtime and learn evidence-based techniques to quiet your mind and actually get some sleep.

April 19, 2026· 9 min read· BrainHey Team

Share this article

Why Does My Anxiety Get Worse at Night? (And How to Actually Sleep)

You're exhausted. You get into bed. Your body is ready to sleep.

And then your brain decides it's time to review every mistake you've ever made, catastrophize about tomorrow, and solve problems that don't need solving right now.

3am arrives. You're still awake. Your alarm goes off in 4 hours. Now you're anxious about being anxious about not sleeping.

If this sounds familiar, you're not alone. And there's actual science behind why your brain does this.

Your Brain Has a Nighttime Anxiety Switch

Research from the University of California, Berkeley found that sleep deprivation amplifies activity in the amygdala (your brain's fear center) by up to 60%.

But here's the thing: it's not just sleep deprivation causing nighttime anxiety. The anxiety itself is preventing sleep, which makes the anxiety worse, which prevents sleep even more.

It's a brutal cycle.

Dr. Matthew Walker, neuroscientist and sleep researcher, explains it like this: "The prefrontal cortex, which normally keeps your amygdala in check, starts shutting down around 10pm. Your amygdala doesn't. So you're running on anxiety-only mode with no rational brake system."

That's why the same worry that felt manageable at 2pm feels catastrophic at 2am.

6 Reasons Anxiety Spikes at Night

1. Your Distraction Machine Turns Off

During the day, you have work, people, tasks, screens. Constant distraction from your thoughts.

At night? Just you and your brain. No escape.

A 2019 study in the Journal of Behavior Therapy found that people with anxiety use activity and distraction as coping mechanisms during the day. When those disappear at night, the thoughts flood in.

2. Your Cortisol Levels Drop

Cortisol (your stress hormone) naturally decreases at night to help you sleep. But if you have anxiety, this drop can trigger a stress response.

Your body interprets low cortisol as vulnerability. Your brain goes: "We're defenseless! Time to worry about everything!"

Research from the National Institutes of Health shows people with anxiety disorders have disrupted cortisol rhythms, making this worse.

3. Your Blood Sugar Crashes

If you haven't eaten in 4-5 hours, your blood sugar drops. Your body releases adrenaline to compensate.

Adrenaline + lying in bed in the dark = your brain convinced something is wrong.

You're not anxious. You're just hungry. But your brain can't tell the difference.

4. The Day's Stress Finally Catches Up

You held it together all day. Smiled through meetings. Responded to texts. Acted normal.

Night is when the performance ends. All that suppressed stress comes flooding out.

Psychologists call this "emotional flooding." You weren't actually fine all day. You were just postponing the breakdown until you were alone.

5. You're Giving Your Brain a Problem to Solve

Lying in the dark with nothing to do, your brain looks for problems to work on.

"What should I worry about? Oh right, that thing from work. And that conversation. And that decision I need to make. And what if..."

A study from Stanford University found that the brain interprets inactivity as an opportunity for problem-solving. Even when there are no actual problems to solve.

6. Sleep Itself Feels Scary

If you've had panic attacks at night or nightmares or insomnia, your brain starts associating bed with danger.

You're not just anxious about random things. You're anxious about the act of trying to sleep.

Research in Sleep Medicine Reviews shows this creates "conditioned arousal" where bed becomes a trigger for anxiety instead of relaxation.

[Track when your anxiety spikes and what triggers it with BrainHey's mood patterns feature]

What Makes It Even Worse

Checking the clock: Every time you look at the time and calculate how much sleep you're losing, your anxiety spikes. Stop looking. Turn the clock away.

Trying to force sleep: The harder you try to sleep, the more alert you become. It's like trying to force yourself to not think about elephants. Doesn't work.

Scrolling your phone: Blue light suppresses melatonin. Stimulating content activates your brain. You're essentially telling your brain "stay awake, things are happening."

Catastrophizing about tomorrow: "I'll be exhausted tomorrow, I won't be able to function, I'll mess everything up..." You're creating anxiety about anxiety about not sleeping.

What Doesn't Work (Stop Doing These)

"Just relax"
If you could just relax, you would. This is not helpful.

Drinking alcohol to sleep
Alcohol knocks you out but prevents deep REM sleep. You'll wake up at 3am more anxious than before. Studies show alcohol increases anxiety rebound by 40%.

Lying there hoping it gets better
If you've been in bed awake for 20+ minutes, your brain is now associating bed with being awake. Get up. Do something boring. Come back when you're actually sleepy.

Taking melatonin at midnight
Melatonin works best when taken 1-2 hours before bed. Taking it at midnight when you're already wired does almost nothing.

What Actually Works (Science-Backed Solutions)

1. The Cognitive Shuffle

Developed by Dr. Luc Beaudoin at Simon Fraser University.

Think of a random word (like "bedtime"). For each letter, think of words that start with that letter:

B: banana, bicycle, branch, book...
E: elephant, envelope, eagle...
D: dog, door, dinosaur...

Why this works: It occupies your brain with something meaningless, preventing rumination. Success rate in studies: 68% fall asleep within 15 minutes.

2. The 4-7-8 Breathing Technique

From Dr. Andrew Weil, based on yogic breathing:

  • Breathe in through nose for 4 counts
  • Hold for 7 counts
  • Exhale through mouth for 8 counts
  • Repeat 4 times

Research from Harvard Medical School shows this activates your parasympathetic nervous system (rest mode) within 2-3 minutes.

3. The Worry Dump

Keep a notebook next to bed. When anxious thoughts appear, write them down.

Not a journal entry. Just bullet points:

  • Call dentist
  • Worried about presentation
  • Did I lock the door

Then close the notebook. You've acknowledged the thought. Your brain can let it go now.

Studies from the University of Pennsylvania show this reduces time to fall asleep by 9 minutes on average.

[Use BrainHey's quick journal entry to brain dump worries in under 60 seconds]

4. The Body Scan

Start at your toes. Notice what they feel like. Move to your feet. Then ankles. Then calves. Slowly work your way up.

Not trying to relax anything. Just noticing.

This redirects attention from thoughts to physical sensations. Research in JAMA Internal Medicine found body scans reduce insomnia severity by 50% over 6 weeks.

5. Make Your Bedroom Boring

Your bedroom should be for sleep only. Not work, not eating, not doom scrolling.

According to sleep researchers at Johns Hopkins:

  • Temperature: 60-67°F (your body needs to cool down to sleep)
  • Darkness: Actually dark, not "I can see my hand" dark
  • Quiet: White noise okay, podcasts and TV not okay
  • Minimal: Remove the treadmill, the desk, the pile of laundry

6. The 10-3-2-1-0 Rule

Sleep specialists recommend:

  • 10 hours before bed: No more caffeine
  • 3 hours before bed: No more food or alcohol
  • 2 hours before bed: No more work
  • 1 hour before bed: No more screens
  • 0: The number of times you hit snooze

Sounds extreme. But people who follow this report 73% improvement in sleep quality according to research from the American Academy of Sleep Medicine.

7. Get Up If You're Not Sleeping

If you've been lying there for 20 minutes and you're not drowsy, get up.

Do something boring in dim light:

  • Fold laundry
  • Read something dull (not on a screen)
  • Organize a drawer

Go back to bed when you actually feel sleepy.

This breaks the association between bed and being anxiously awake.

8. The Paradoxical Intention

This sounds backwards but it works.

Instead of trying to sleep, try to stay awake. Keep your eyes open. Tell yourself "I'm going to stay awake as long as possible."

Research shows that removing the pressure to sleep reduces performance anxiety and makes sleep come easier. Success rate: 65% in clinical trials.

When Nighttime Anxiety Is Actually a Disorder

Normal anxiety: Happens occasionally, you eventually fall asleep
Insomnia disorder: 3+ nights per week for 3+ months

See a doctor if:

  • You're sleeping less than 5 hours regularly
  • It's affecting your ability to function during the day
  • You're having panic attacks at night
  • You're afraid to go to bed because of the anxiety

Treatment exists. Cognitive Behavioral Therapy for Insomnia (CBT-I) has a 70-80% success rate. Much better than sleeping pills, which create dependency and don't address the underlying issue.

Your Brain Needs to Relearn That Bed is Safe

If you've been struggling with nighttime anxiety for months or years, your brain has learned: "Bed = danger and worry time."

You need to retrain it.

This takes time. Probably 2-4 weeks of consistently using these techniques before your brain believes that bed is actually for sleeping.

Be patient with yourself. You're not broken. You're not weak. You're just stuck in a pattern that can be changed.

What Your Nighttime Brain Needs to Hear

The catastrophic thing you're worried about at 2am will feel 50% less scary at 2pm tomorrow.

Your brain is lying to you. Not on purpose. It just genuinely can't tell the difference between real danger and imagined danger when it's running on anxiety-only mode.

You will sleep eventually. Maybe not right now. But you will.

And tomorrow, even if you're tired, you'll get through the day. You always do.

[Track your sleep patterns and anxiety triggers to spot what actually makes your nights worse with BrainHey's pattern detection]

The Nighttime Routine That Actually Works

Based on sleep research from multiple universities, here's what helps most people:

9pm: Dim the lights, finish last meal/snack
9:30pm: Quick worry dump (write down tomorrow's tasks)
10pm: Warm shower or bath (temperature drop helps sleep)
10:15pm: Body scan or 4-7-8 breathing in bed
10:30pm: If not asleep, cognitive shuffle or get up and do something boring

Not every night will work perfectly. That's okay. You're looking for progress, not perfection.

One good night of sleep can reset your entire nervous system. It's worth trying.

You deserve to sleep. Your brain deserves rest. Your body needs recovery.

And that thing you're worried about? It'll still be there tomorrow. But you'll be better equipped to handle it after actual sleep.

Sweet dreams (eventually).


Related Reading:

  • [How to Journal for Anxiety Relief]
  • [Why Can't I Stop Overthinking at Night?]
  • [The Best Bedtime Routine for Anxious People]

Share this article

Try it free

Ready to decode your anxiety?

BrainHey uses AI to analyze your journal and surface the patterns driving your stress.

Start Free — No Credit Card