Managing Stress ✓ Evidence-based

Why Is Anxiety Worse at Night and How Can You Sleep?

Why worry can build at bedtime, what to do about racing thoughts, anxious awakenings and sleep-onset twitches, and when sleep tips are not enough.

Researched and written by our editorial team — every claim is sourced from peer-reviewed studies or recognised health organisations and cited inline. Read our editorial process →

Adult sitting on the edge of a bed beside a warm lamp in a quiet bedroom at night

Anxiety can feel worse at night when worries about the day become worries about sleep itself. The National Heart, Lung, and Blood Institute (NHLBI, 2022) identifies stress, fear of not getting enough sleep, and clock watching as factors that can worsen insomnia. That sleep-related worry is one possible explanation, rather than a diagnosis of why your nights are difficult.

For tonight, choose one manageable response: write down a concern to revisit tomorrow, try a gentle relaxation exercise, or leave the bed briefly if you are lying awake and struggling.

Why bedtime can become a time for worry

Think about what happens when you turn out the light. Are you replaying something that happened, planning tomorrow, checking how much sleep is left, or waiting for an uncomfortable sensation? Those are different problems, even when they all feel like nighttime anxiety.

If you spend bedtime reviewing unanswered messages or unfinished work, write down which concern keeps returning. That gives you a specific problem to address the next day.

A question about an unpaid bill calls for a practical plan. Fear that you will never fall asleep calls for a different approach than another round of budgeting.

Worry about sleep can become part of the problem

You might start with a work concern, then notice that you are still awake. The thought changes from what happened today to how you will function tomorrow. Checking the time can become another way of measuring how badly the night is going.

NHLBI’s 2022 insomnia guidance specifically identifies worrying about sleep and watching the clock as factors that can make insomnia worse. This does not mean you caused your difficulty or should simply stop worrying. It means the worry itself may deserve attention alongside the original concern.

Try noticing the moment the topic changes. You could write: I started thinking about tomorrow’s meeting, then began calculating how little sleep I would get. That is an observation you can discuss with a clinician or use when reviewing your bedtime habits.

Anxiety and poor sleep may reinforce each other

Cleveland Clinic’s 2024 overview Sleep Anxiety describes how anxiety can interfere with falling or staying asleep, while fear of another poor night can create anxiety before bed. Its clinical overview explains this relationship without suggesting that everyone has the same cause.

If you dread bedtime, ask what you are expecting to happen. Is it hours of wakefulness, a panic episode, a nightmare, or feeling unwell the next day? Tell your clinician which event you fear and whether it has happened before.

Check what kind of nighttime anxiety you are having

Use the comparisons below to describe your experience. They are not a diagnostic test, and more than one pattern can occur on the same night.

What you noticeWhat to recordA useful next step
Racing thoughts before sleepThe topic and whether you keep returning to itWrite a next action or a time to revisit it
Fear about not sleepingClock checking and predictions about tomorrowPut the clock out of view and consider sleep-focused care if recurring
Sudden fear that wakes youPhysical symptoms and whether you remember a dreamDiscuss repeated episodes with a clinician
A brief twitch as you drift offWhether it happens only at sleep onset or also while fully awakeSeek assessment if frequent, unusual, or disruptive
Wakefulness that keeps affecting daytime lifeYour sleep pattern and daytime difficultiesArrange a health appointment rather than relying only on sleep tips

Waking up with anxiety in the middle of the night

Being worried while awake in bed is different from waking abruptly in intense fear. Mayo Clinic Staff’s 2024 guidance on nocturnal panic attacks explains that an attack can wake someone without an obvious trigger, with symptoms such as a racing heart, sweating, trembling, or shortness of breath. Its nighttime panic guidance also notes that medical conditions can cause panic-like symptoms.

Do not assume every frightening awakening is a panic attack. Tell a clinician whether you woke from a remembered dream, were gasping, noticed pain, or experienced symptoms while fully awake too. Describe what you remember without trying to assign a cause yourself.

Mayo Clinic Staff (2024) cautions that panic symptoms can resemble serious medical problems in that same guidance. NHS guidance, reviewed in 2023, says to seek emergency help for sudden chest pain that does not go away, or chest pain with shortness of breath, sweating, or lightheadedness. Follow this chest pain advice and call your local emergency number if these symptoms occur.

For a familiar episode that has already been assessed, use the response plan you agreed with your clinician. Afterward, note what happened in the morning rather than repeatedly checking your symptoms through the night.

Twitching as you fall asleep does not always mean anxiety

A sudden movement while drifting off may be a hypnic jerk. Cleveland Clinic’s 2020 explanation describes these movements during sleep transitions and notes that they can occur in otherwise healthy people. Its guide to twitching at sleep onset discusses stress, caffeine, and lack of sleep among possible contributors.

That does not establish the cause of a particular movement. If twitching is frequent, regularly keeps you awake, also occurs while fully awake, or comes with other symptoms, describe it to a clinician. You can mention whether it is a single movement, a repeated sequence, or something another person has noticed.

Avoid searching for increasingly alarming explanations while lying in bed. If there is no urgent symptom, make a note of the question you want answered and bring it to an appointment.

How to fall asleep when stressed

Choose a starting point that matches what is keeping you awake. The examples here are practical suggestions, not a promise that you will fall asleep within a set number of minutes.

Give a concern somewhere to go before bed

Earlier in the evening, write down the concern in plain language. Underneath it, add either one action you can take or a time when you will reconsider it. You can leave uncertain questions unresolved.

For example: I am worried about the appointment. Tomorrow after breakfast, I will check the time and write down what I want to ask. This is an original planning example, not a quotation or a tested treatment protocol.

If the concern returns in bed, you can remind yourself that it has a place in tomorrow’s plan. Avoid turning the note into an extended nighttime analysis of every possible outcome. You can decide that a question is important without deciding it must be answered now.

Adult writing in a notebook at an evening desk with a phone placed face down

Try gentle progressive muscle relaxation

Progressive muscle relaxation involves noticing the difference between gently tensed and released muscles. Shilagh A. Mirgain and Janice Singles’ VA Whole Health guide, updated in 2023, advises avoiding strain and breath holding, and stopping or skipping areas that hurt. The guide recommends consulting a clinician before practising PMR and advises against active tensing with a history of serious injury, muscle spasms, or back problems. Check the official practice guidance before trying it.

Here is a shortened adaptation you can try while supported in a chair or bed:

  1. Let your breathing continue normally. Notice how your hands feel.
  2. Gently close your hands, using only enough effort to notice tension. Release them and notice the difference.
  3. If comfortable, repeat with your arms, then your legs, one area at a time. Skip painful areas.
  4. Finish by letting your hands rest and your shoulders settle. You can stop without completing the sequence.

If active tensing is uncomfortable, simply notice an area and allow it to rest. The VA guide describes passive relaxation as an alternative when tensing is unsuitable.

Jack D. Edinger and colleagues’ 2021 American Academy of Sleep Medicine guideline in Journal of Clinical Sleep Medicine gives relaxation therapy a conditional recommendation for chronic insomnia. The guideline rates the supporting evidence as low quality. It does not establish that this shortened exercise will make you sleep tonight.

Adult resting in bed with relaxed shoulders and hands lying loosely on the blanket

Treat cognitive shuffle as an optional experiment

Cognitive shuffle involves imagining separate objects or scenes, switching from one to another. Luc P. Beaudoin describes this in his 2014 developer announcement on CogZest. That commercial announcement explains the idea; it does not establish that the technique treats insomnia.

An informal version is to imagine an apple, then a chair, then a sailboat, then a leaf. Spend a little time with each ordinary object, without connecting them into a plot. The sequence is an editorial example, and there is no target number of objects to complete.

Skip an image if it leads to something upsetting. If the exercise feels effortful or turns into a test of whether you are doing it correctly, leave it. There is no reason to force a technique that adds another task to the night.

For related reading, see LifeNByte’s article about a viral sleep hack. Use the exercise only if you find it comfortable, and avoid treating it as a substitute for insomnia care.

Resting adult with separate imagined images of an apple, chair, sailboat, and leaf

Step away from struggling in bed

If you are awake and frustrated, consider leaving the bed for a quiet activity in dim light, then returning when sleepy. NHLBI’s 2022 treatment guidance describes going to bed when sleepy and getting out of bed when unable to sleep as parts of stimulus control therapy.

You do not need to watch the clock to enforce an exact deadline. Choose an accessible, safe place to sit, and avoid starting work or opening a stream of news. If leaving the bed is difficult because of mobility, caregiving, or safety needs, discuss an adaptation with your clinician.

A familiar book may suit you. If you prefer a written relaxation exercise, you can read LifeNByte’s five-minute sleep meditation script before bed. Leave it if the exercise makes you more alert or uncomfortable.

Adult reading a book in an armchair under a dim lamp with a bed nearby

Make the next day part of the plan

Review one or two things that are realistic to change, rather than redesigning your whole routine after a difficult night. Consider the timing of caffeine, whether evening work runs into bedtime, and what time you usually get up.

NHLBI’s 2022 insomnia treatment guidance recommends a regular sleep schedule and a wind-down routine, and notes that caffeine, nicotine, and alcohol can interfere with sleep. Use that guidance to choose a specific adjustment, such as moving an evening coffee earlier or finishing work away from the bed.

If your job, children, or living arrangements limit your choices, work with the options you have. A sleep plan should account for those constraints rather than treat them as a lack of effort.

When sleep tips are not enough

Arrange an appointment if poor sleep or nighttime anxiety is affecting daily activities. NHLBI’s 2022 diagnosis guidance recommends discussing that impact and suggests that a sleep diary can help a clinician understand the pattern.

Record approximate sleep and wake times, daytime sleepiness, and relevant habits or symptoms. Write this in the morning rather than turning the diary into another reason to monitor every waking minute.

For ongoing insomnia, ask specifically about cognitive behavioral therapy for insomnia, or CBT-I. Edinger and colleagues’ 2021 Journal of Clinical Sleep Medicine guideline strongly recommends multicomponent CBT-I and advises against sleep hygiene alone as treatment for chronic insomnia. Those recommendations mean that needing more than general bedtime advice is a reason to consider appropriate treatment.

If anxiety also affects daytime decisions, work, or relationships, describe that too. Bring the whole pattern to the appointment instead of treating sleep as an isolated problem.

Questions about nighttime anxiety and sleep

Why is my anxiety worse at night but manageable during the day?

Notice what changes at bedtime: the topic of your worries, how often you check the time, and what you expect from the night. NHLBI (2022) identifies stress and worry about sleep as factors that can worsen insomnia in its official guidance. That may help explain your experience, but the timing alone does not identify the cause.

How do I stop racing thoughts so I can sleep?

Try writing one concern and a next action before bed, or choose a quiet exercise that does not require solving the concern. These are practical options rather than a guarantee that thoughts will stop. If racing thoughts repeatedly disrupt sleep, ask about care that addresses both the sleep difficulty and the worry.

Why do I wake up with anxiety in the middle of the night?

Mayo Clinic Staff (2024) explains that nocturnal panic can wake someone from sleep, but medical conditions may also produce panic-like symptoms. Its guidance supports discussing repeated episodes with a clinician. Describe the symptoms and any remembered dream rather than assuming every anxious awakening is panic.

Is twitching when falling asleep caused by anxiety?

A sleep-onset twitch may be a hypnic jerk, and anxiety is not the only possible explanation. Cleveland Clinic (2020) discusses stress, caffeine, and insufficient sleep in its sleep-transition guidance. Seek assessment when movements are frequent, disruptive, unusual, or occur while fully awake too.

Does cognitive shuffle cure insomnia?

Beaudoin’s 2014 CogZest announcement describes the proposed approach, not evidence of a cure. It is a developer’s explanation rather than an independent clinical evaluation. Treat the exercise as optional, and seek assessment for persistent insomnia.

Should I stay in bed until I finally fall asleep?

NHLBI (2022) describes getting out of bed when unable to sleep as part of stimulus control. A quiet activity and returning when sleepy may be more appropriate than continuing to struggle in bed. Adapt this with a clinician if getting up is unsafe or impractical.

Can I use alcohol to settle nighttime anxiety?

Alcohol is not a dependable sleep solution. NHLBI’s 2022 treatment guidance notes that it can make sleep lighter even when falling asleep seems easier. Discuss recurring anxiety or sleep difficulties with a clinician rather than using alcohol as treatment.

What if relaxation and better sleep habits do not help?

Ask about CBT-I and assessment of the symptoms that keep waking you. Edinger and colleagues’ 2021 AASM guideline recommends multicomponent CBT-I for chronic insomnia and advises against sleep hygiene as the only treatment. If a bedtime exercise has not helped, ask your clinician whether CBT-I would suit your sleep problem.

A quieter plan for tonight

For tonight, choose the response that matches the problem keeping you awake. You might put a concern on paper, try gentle relaxation, or step away from a frustrating spell of wakefulness. If difficult nights keep affecting your life, bring the pattern to a clinician instead of asking yourself to solve it with increasingly elaborate bedtime routines.

A calmer inbox, once a week

One evidence-based idea on sleep, stress, or mindfulness — no hype, no filler.

No spam. Unsubscribe anytime. Privacy policy

LifeNByte Editorial Team

LifeNByte Editorial Team writes and researches every article published here. We're not licensed medical professionals — we're writers and researchers who dig into peer-reviewed studies, clinical research, and guidance from recognized health organizations, then cite our sources inline so you can verify every claim yourself. Every article is reviewed for accuracy and sourcing before it goes live. Questions or spotted an error? Reach us at lifenbyte.com/contact.

Leave a Comment