NEW · THE MENTALLY UNITED WELLNESS APP IS FREE ON GOOGLE PLAY AND THE APP STORE · SEE WHAT'S INSIDE

Racing mind at night: anxiety & sleep

When the lights go out and the worries switch on, you are not alone, and there are gentle ways to quiet the noise.

⏱ 4 min read📑 10 sections📚 19 sources✅ Reviewed October 2026

By the numbers

What research tells us about worry, anxiety and sleep.

Sleep & anxiety

Up to 30%rise in anxiety levels after one sleepless night, in a University of California, Berkeley brain-imaging study (2019).
280people tracked online over four days in the same research: small night-to-night drops in sleep predicted more anxiety the next day.
2 experimentsfound that watching the clock while trying to fall asleep led to more worry and took people longer to drop off.
10 trialsof online CBT for insomnia, pooled together, showed small-to-moderate drops in anxiety as well as better sleep (2015).

United States

1 in 3U.S. teens and adults will have an anxiety disorder at some point in their lives.
30–46%of adults in each U.S. state got less sleep than they need in 2022 (from 30% in Vermont to 46% in Hawaii).
7 in 10people with panic disorder also have panic attacks that wake them from sleep.

Why anxiety and sleep clash

Your body’s alarm system and your sleep system don’t mix well.

Sleep needs your body and mind to feel safe enough to switch off. When you feel stressed or anxious, your body becomes more alert, which makes it harder to drift off.

Trouble falling or staying asleep is one of the common signs of generalized anxiety. Stress about work, school, money, relationships or a loss also raises the chance of insomnia.

💓 A body on alertA fast heart, tight muscles and shallow breathing tell your brain to stay awake.
Read more

Anxiety can show up in the body as tension, headaches, stomach aches, sweating or feeling out of breath. These are the same signals your body uses to keep you ready for danger, so they work against sleep.

Calming the body often calms the mind. The “Breathing for sleep & rest” guide has bedtime breathing routines.
🔁 A mind on replayQuiet and darkness leave room for worries to fill the space.
Read more

During the day, tasks and people keep your mind busy. At bedtime, there is nothing else to hold your attention, so worrying thoughts can take over.

People who find it hard to control their worries during the day often notice it most at night.

⏰ Worry about sleep itself“What if I can’t sleep again?” can become its own worry.
Read more

Worrying about getting enough sleep, and watching the clock, can raise the risk of insomnia or make it worse.

A well-known model of insomnia describes how worry about sleep and about the next day triggers arousal and distress, which then makes sleep harder still.

↔️ A two-way streetAnxiety disturbs sleep, and poor sleep can make anxiety worse.
Read more

In a Berkeley study, a sleepless night raised anxiety levels by up to 30%. Brain scans showed that a part of the brain that helps keep anxiety in check (the medial prefrontal cortex) was less active after sleep loss.

The researchers found that deep sleep seemed to calm and reset the anxious brain. People who got more deep sleep felt less anxious the next day.

This works both ways. Small steps that help your sleep can also take the edge off anxiety, and the other way around.
A restless night now and then is part of being human. Having some of these experiences doesn’t mean you have an anxiety condition. Only a qualified professional can assess what’s going on, so please talk to your clinical provider if it worries you.

The night-time worry loop

How worry, watching and trying hard keep you awake.

Researchers describe a loop that keeps many people awake. Worry wakes the body up. Then you start watching for signs you’re not sleeping, which feeds more worry.

How the loop can go

  1. A worry pops up: “I have a big day tomorrow.”
  2. Your body tenses and your heart speeds up.
  3. You notice you’re still awake and check the time.
  4. You start to worry about how tired you’ll be.
  5. Sleep feels further away, and the loop starts again.
🔍 Scanning for troubleAn anxious brain watches closely for anything that seems wrong.
Read more

When you’re anxious, attention narrows onto possible threats, inside and outside the body. At night that can mean noticing every sound, every heartbeat and every minute awake.

This close watching can trick you into thinking you slept less, or are coping worse, than you really are.

🕰️ Clock-watchingChecking the time feeds worry and slows sleep.
Read more

In two experiments, people asked to watch a clock while trying to sleep worried more and took longer to fall asleep. People with insomnia who watched the clock also overestimated how long it took them to drop off.

Turn the clock face away and put your phone across the room. Set an alarm so you don’t need to check.
💪 Trying too hardFighting thoughts or forcing sleep often backfires.
Read more

Pushing thoughts away, trying to control images in your mind, or holding feelings in are all things people do to try to sleep. Research suggests these efforts can actually keep the worry going.

Sleep comes more easily when you stop chasing it. Aim to rest, not to “make” yourself sleep.

💭 Beliefs about worry“If I worry, I’ll be ready” can keep the mind busy at night.
Read more

Some people believe worry helps them prepare or stay safe. Unhelpful beliefs like this, about worry and about sleep, are named as things that keep insomnia going.

Planning helps. Going over the same worry again and again at 2 a.m. usually doesn’t. The next section has a way to plan earlier in the evening instead.

The loop is not your fault. It’s how a caring, protective brain behaves when it feels on guard. The good news: each part of the loop is a place you can step in.

Settle worries before bed

Give worries a time and a place earlier in the evening.

Many worries show up at bedtime simply because it’s the first quiet moment of the day. Giving them attention earlier can mean they knock less loudly at night.

🗂️ Constructive worrySpend about 15 minutes earlier in the evening planning, not worrying.
Read more

Researchers developed a simple method sometimes called “constructive worry.” Well before bed, you write down what’s on your mind and a next step for each worry. In a study of students with insomnia, this lowered mental busyness before sleep.

Try it

  1. Pick a time early in the evening, well before bed.
  2. Set a timer for about 15 minutes.
  3. In one column, write each worry.
  4. In the next column, write one small next step, or “not mine to solve tonight.”
  5. Fold the page and put it away.
The “Constructive worry sheet” worksheet sets this up for you.
✅ A to-do list for tomorrowWriting tomorrow’s tasks can help you fall asleep faster.
Read more

In a sleep-lab study, people who spent five minutes writing a detailed to-do list before bed fell asleep faster than those who wrote about tasks they had already done.

The “Insomnia & trouble sleeping” guide has a “Worry dump” worksheet you can use for this.

🛋️ A buffer zoneLeave a calm gap between your busy day and bed.
Read more

Healthy sleep habits include putting screens away at least half an hour before bed, keeping the bedroom quiet and cool, and avoiding big meals and alcohol close to bedtime.

Use the buffer for something soothing: a shower, stretching, a paper book or quiet music. The “Screens, sleep & your brain” guide has a full screen wind-down plan.

📦 Not tonight’s problemSome worries can’t be solved at night, and that’s okay.
Read more

Some worries have no next step right now, like waiting for test results. For these, it can help to write them down and tell yourself, “I’ve noted this. I’ll come back to it tomorrow.”

You are not ignoring the worry. You are choosing a better time to give it your attention.

When your mind races in bed

Gentle things to try instead of fighting your thoughts.

Sleep experts recommend therapy that includes relaxation and “stimulus control” (using your bed mainly for sleep) for long-term insomnia. These ideas can help when worry keeps you up.

🍃 Notice, name, let goTreat thoughts like clouds passing, not problems to fix.
Read more

Instead of arguing with a worry, try noticing it: “There’s the work worry again.” Then gently bring your attention back to your breath or the feel of the sheets.

A review of 18 trials found early evidence that mindfulness meditation may help with some sleep problems.

🧘 Relax the bodyTense and release your muscles one group at a time.
Read more

Relaxation therapy is one of the approaches sleep experts suggest for long-term insomnia.

Try it

  1. Start with your feet. Squeeze the muscles for about five seconds.
  2. Let go and notice the difference for a few breaths.
  3. Move up to your legs, belly, hands, arms, shoulders and face.
  4. Finish with a few slow breaths.
🏞️ Picture somewhere calmAn interesting, peaceful scene can hold your attention.
Read more

Imagine a calm place in detail: a beach, a forest path, a favourite room. What can you see, hear and smell? A detailed, gentle scene gives your mind something to rest on besides worry.

Choose a scene with no tasks or people that might stir up feelings.
🚪 Get up if it’s not workingIf you’ve been awake a while and feel frustrated, leave the bed.
Read more

Stimulus control means keeping the bed linked with sleep, not with worry. If you can’t sleep, get up, do something calm in dim light, and come back when you feel sleepy.

The “Insomnia & trouble sleeping” guide has a “My can’t-sleep plan” worksheet to plan this ahead.

🌬️ Slow your breathingLong, slow out-breaths tell your body it’s safe.
Read more

Slow breathing is one of the simplest ways to settle a body on alert. The “Breathing for sleep & rest” guide walks you through several bedtime breathing routines.

Resting quietly with your eyes closed is still good for you. Remind yourself: “I’m resting. Sleep will come when it’s ready.”

Waking at 3 a.m. with worries

What to do when worries wake you in the middle of the night.

Many people sleep fine at first, then wake in the night with a busy mind. Problems can feel bigger in the dark, when you’re tired and alone with your thoughts.

🙈 Don’t check the timeKnowing it’s 3:12 a.m. rarely helps you sleep.
Read more

Clock-watching has been shown to raise worry and slow sleep. Trust your alarm to do its job.

🗒️ Park it on paperKeep a notepad and pen by the bed.
Read more

If a worry or task wakes you, jot down a few words in dim light. Then tell yourself you’ll deal with it in the morning.

Writing things down is part of the constructive worry approach that helped lower mental busyness before sleep.

📵 Leave the phone aloneScrolling can wake your brain up even more.
Read more

Night-time news or social media can feed worry and keep your mind busy. The “Screens, sleep & your brain” guide has ideas for night-time worry scrolling.

💬 Talk back kindlyRemind yourself that night thoughts are not the full picture.
Read more

Try saying: “This feels huge right now because I’m tired. I’ll look at it in daylight.” Being kind to yourself works better than telling yourself off for being awake.

Anxiety can make you think you slept less, or will cope worse, than you really will.

Waking up in panic

Night-time panic attacks: frightening, but not dangerous.

A night-time (nocturnal) panic attack is a sudden wave of fear that wakes you from sleep. Your heart may race, you may sweat, and it can feel hard to breathe.

Symptoms usually peak within about 10 minutes. Unlike night terrors, you are awake and aware of the fear.

🫁 In the momentLet it pass rather than fight it.
Read more

Once a panic attack starts, the feelings need to run their course. Slow, steady breathing or relaxing your muscles may make it less intense.

Try this

  1. Sit up and put your feet on the floor.
  2. Turn on a soft light.
  3. Breathe in gently, then breathe out slowly, longer than the in-breath.
  4. Tell yourself: “This is panic. It will pass.”
  5. When it settles, do something calm before going back to bed.
🩺 Get checkedA provider can rule out other causes.
Read more

Some health conditions, such as heart or thyroid problems, can cause similar feelings. Call a provider if you have chest pain, breathing problems, or panic that lasts more than 15 minutes.

Loud snoring or gasping for breath can also be a sign of sleep apnea, which is worth mentioning. See the “Sleep apnea & your mental health” guide.

🌱 Therapy helpsCognitive behavioral therapy (CBT) can reduce panic attacks.
Read more

CBT helps you spot triggers and change how you think about and respond to panic. Over time, panic attacks often decrease and may stop completely.

For any other treatment options, please consult your clinical provider.

If you have chest pain or trouble breathing and aren’t sure what’s happening, call 911 or go to the nearest emergency room.

Daytime habits that calm night-time worry

What you do in the day shapes how your mind feels at night.

Good nights often start in the morning. Healthy habits like cutting back on caffeine and getting enough sleep can help reduce anxiety, alongside proper care.

⏰ Keep a steady wake timeGet up at about the same time every day, even after a bad night.
Read more

A consistent schedule for going to bed and waking up is one of the main healthy sleep habits.

Sleeping in after a rough night can make it harder to fall asleep the next night, which can feed the worry loop.

🚶 Move your bodyExercise helps both anxiety and sleep.
Read more

Exercise, mindfulness and meditation can reduce anxiety symptoms and add to the benefits of therapy.

Staying physically active is also one of the CDC’s healthy sleep habits.

☕ Go easy on caffeineCaffeine can make anxious feelings and sleep worse.
Read more

Reducing caffeine is one of the habits that can help with anxiety. For sleep, limit caffeine in the afternoon and evening.

🗓️ Daytime worry timeGive worry a short, set slot in your day.
Read more

Moving worry to a set time earlier in the day, instead of at bedtime, is the idea behind constructive worry.

When a worry pops up at other times, jot it down and save it for your worry slot.

🤝 Stay connectedSharing worries in the day can lighten them at night.
Read more

Talking to a friend, family member, faith leader or support group gives worries somewhere to go before bedtime. Feeling understood can make the night feel less lonely.

How to support someone

When a partner, child or friend lies awake worrying.

Watching someone you love struggle with night-time worry can be hard. You don’t need to fix it. Calm, patient company often helps most.

👂 Listen in the daytimeOffer a chance to talk about worries before bed, not at 2 a.m.
Read more

Ask open questions like “What’s been on your mind lately?” Listen without rushing to solve. A daytime chat can take some weight off bedtime.

🪶 Take the pressure off sleepAvoid comments like “Just stop thinking about it.”
Read more

Pressure to sleep can add to worry about sleep. Try “Rest is still good for you” instead.

🛌 Sharing a bedMake it okay for them to get up without disturbing you.
Read more

Agree ahead of time that it’s fine to leave the bed for a while if they can’t sleep. Keep a soft lamp and a blanket ready in another room.

🧒 Supporting a child or teenA calm, predictable bedtime helps young worriers.
Read more

Spend a few minutes before lights out talking through the day. Help them write or draw a worry and “put it away” in a box until morning.

If worries are keeping them up most nights, talk to their pediatrician or school counselor.

Look after your own sleep too. Supporting someone is easier when you are rested.

When and where to get help

Signs it’s time to reach out, and where to start.

Anxiety and sleep problems both respond well to the right help. Cognitive behavioral therapy (CBT) is considered the “gold standard” therapy for generalized anxiety, and CBT for insomnia (CBT-I) is the most strongly recommended approach for long-term insomnia.

Treating insomnia can help anxiety too. A review of 10 trials found that online CBT-I eased anxiety and low mood as well as improving sleep.

Talk to your clinical provider if…

  • Panic attacks wake you, or you have chest pain or trouble breathing at night
  • Someone notices you snore loudly or gasp in your sleep
  • Worry keeps you awake on most nights for weeks
  • You feel exhausted, on edge or low during the day
  • Your sleep or worry is affecting work, school or relationships
Bring the “Constructive worry sheet” and a week of notes about your nights to your appointment. For any other treatment options, please consult your clinical provider.
If you’re in crisis, call or text 988 (U.S.), or text HOME to 741741. If a life is in danger, call 911. Outside the U.S., findahelpline.com lists free, confidential helplines in many countries.

📝 Worksheets for this guide

Fill these in privately in the app. Your answers stay on your phone.

Constructive worry sheetUse this early in the evening, well before bed. Give each worry a next step so it doesn’t follow you to bed.
My racing-mind bedtime planPlan in the daytime what you’ll do when your mind races in bed, so you don’t have to decide when you’re tired.
Night worry logFill this in the morning after a night when worries kept you up. Patterns often show up after a week or two.
If I wake up in panicWrite your steps now, while you feel calm, so they’re ready if a night-time panic attack happens.
🔒 Fill in privately in the Mentally United Wellness App. Free, no ads, no accounts.

Sources

  1. NHS (UK National Health Service). How to fall asleep faster and sleep better (Every Mind Matters)
  2. National Institute of Mental Health (NIMH). Generalized Anxiety Disorder: When Worry Gets Out of Control
  3. National Institute of Mental Health (NIMH). Anxiety Disorders
  4. National Heart, Lung, and Blood Institute (NHLBI), NIH. Insomnia: Causes and Risk Factors
  5. Behaviour Research and Therapy (peer-reviewed) (2002). A cognitive model of insomnia (Harvey, Behaviour Research and Therapy 40(8): 869–893)
  6. University of California, Berkeley (2019). Stressed to the max? Deep sleep can rewire the anxious brain
  7. Nature Human Behaviour (peer-reviewed) (2020). Overanxious and underslept (Ben Simon, Rossi, Harvey & Walker, Nature Human Behaviour 4(1): 100–110)
  8. Journal of Behavior Therapy and Experimental Psychiatry (peer-reviewed) (2007). Sleeping with the enemy: clock monitoring in the maintenance of insomnia (Tang, Schmidt & Harvey, Journal of Behavior Therapy and Experimental Psychiatry 38: 40–55)
  9. Behavioral Sleep Medicine (peer-reviewed) (2006). Effects of a structured problem-solving procedure on pre-sleep cognitive arousal in college students with insomnia (Carney & Waters, Behavioral Sleep Medicine 4: 13–28)
  10. Scullin et al. (peer-reviewed) (2018). The effects of bedtime writing on difficulty falling asleep: a polysomnographic study comparing to-do lists and completed activity lists (Journal of Experimental Psychology: General)
  11. Centers for Disease Control and Prevention (CDC). About Sleep
  12. Centers for Disease Control and Prevention (CDC). Adults Sleep Facts and Stats
  13. American Academy of Sleep Medicine (AASM) (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline (Edinger et al., Journal of Clinical Sleep Medicine 17(2): 255–262)
  14. Annals of the New York Academy of Sciences (peer-reviewed) (2019). The effect of mindfulness meditation on sleep quality: a systematic review and meta-analysis of randomized controlled trials (Rusch et al., Annals of the New York Academy of Sciences 1445(1): 5–16)
  15. Cleveland Clinic. Nocturnal Panic Attacks
  16. PLoS One (peer-reviewed) (2015). Internet-based cognitive behavioral therapy for insomnia (ICBT-i) improves comorbid anxiety and depression: a meta-analysis of randomized controlled trials (Ye et al., PLoS One)
  17. 988 Suicide & Crisis Lifeline. 988 Suicide & Crisis Lifeline
  18. Crisis Text Line. Crisis Text Line
  19. Find A Helpline (ThroughLine), in partnership with the International Association for Suicide Prevention. Find A Helpline

This guide is for education and self-care. It is not a diagnosis or a substitute for professional care. Please talk to a counselor or clinical provider about your health. Reviewed October 2026.

Take every guide with youFree Mentally United Wellness App · no ads, no accounts