Stress, mood & sleepInsomnia & sleep problems

Anxiety at night: why worry peaks at bedtime and what actually helps

You were fine all day. Then the light went off, and every unresolved thing you own turned up at once. That is not a coincidence: night removes most of what normally keeps worry in check, and there are specific ways to give some of it back.

A person resting calmly with eyes closed in a quiet, dimly lit bedroom
Dr. Adekunle Ajisebutu, Sleep Physician

Medical reviewer

Dr. Adekunle Ajisebutu, MD

Sleep Physician · Board-certified in Sleep Medicine

Pending medical review

In short

Worry gets louder at night because nothing competes with it, tiredness weakens your ability to put it in proportion, and after enough bad nights the bed itself becomes a cue for alertness. What helps is lowering arousal rather than trying harder: scheduled worry time, writing thoughts down, getting up after about 20 minutes awake, slow breathing and no clock-watching. Persistent anxiety that affects your days is treatable.

Key takeaways

  • Worry peaks at bedtime because nothing distracts from it and tiredness weakens the part of the mind that puts it in proportion.
  • Sleep needs a high sleep drive, the right body-clock timing and a quiet arousal system; anxiety keeps arousal switched on, which is why you can be exhausted and wide awake.
  • After repeated nights of fretting in bed, the bed itself triggers alertness; get up after about 20 minutes awake, and move worry earlier with a scheduled worry time and a paper notepad.
  • Waking in panic can feel like a heart attack, and other conditions cause the same symptoms: get urgent help for a first episode, chest pain or pressure, symptoms that are not easing after 20 to 30 minutes, or if you have heart or lung disease.
  • Anxiety and the insomnia that grows around it are usually treated together, with CBT-I for the sleep alongside therapy and, where needed, medication for the anxiety.

Why worry gets louder at night

By day, worry has competition: work, conversations and errands push an anxious thought aside before it can settle. In bed, in the dark, nothing competes. The thought that was background noise at 2 pm is the only thing in the room at 2 am.

Tiredness makes this worse: the part of the mind that puts worries in proportion (“this can wait until morning”) works less well when you are exhausted, so night pairs the loudest worry with your weakest ability to answer it. None of this is a character flaw.

The sleep drive and the arousal system

Several forces decide whether you fall asleep. The sleep drive is pressure that builds the longer you have been awake. The arousal system is the alerting network that keeps you watchful when something seems to need attention. Your body clock sets the window in which sleep is possible, which is why going to bed unusually early to get ahead of a bad night rarely works. Sleep comes when the drive is high, the clock is ready and arousal is low.

Anxiety turns arousal up. Racing thoughts, a faster heartbeat and tense muscles are signs your brain has decided there is something to guard against, and it will not let you sleep while it thinks so, which is why you can be bone-tired and wide awake.

How the bed becomes a cue for wakefulness

After enough nights of lying awake and worrying, the bed itself starts to trigger alertness before a single worry has arrived. Sleep clinicians call this conditioned arousal. It is why many people drop off on the sofa but lie wide awake in bed, and it is what cognitive behavioural therapy for insomnia (CBT-I) is designed to undo.

An anxious night or an anxiety disorder?

Everyone has anxious nights (before an exam, after bad news) and they pass when the situation does. An anxiety disorder is different in three ways. The worry persists: for generalised anxiety disorder, most days for six months or more. It spreads beyond one situation to many. And it interferes with daily life: work, relationships, health. Sleep trouble is a recognised symptom, alongside restlessness, irritability and poor concentration.

Anxiety disorders respond well to talking therapy (most often cognitive behavioural therapy) and to medication, often combined. Treating the anxiety often helps sleep, but insomnia frequently persists on its own and responds to CBT-I in its own right, so the two are usually treated together.

Panic on waking

Some people wake suddenly with a pounding heart, sweating, shortness of breath and a sense of dread. Panic attacks can happen at any time, including during sleep, and they can feel like a heart attack; the same symptoms can also come from other conditions, including heart problems. Get urgent medical help if it is the first time, if there is chest pain or pressure, if symptoms are not easing after 20 to 30 minutes, or if you have heart or lung disease. Panic disorder is diagnosed only once other causes are ruled out.

Once that is done, a panic attack is frightening but it passes. Repeated attacks with dread of the next one define panic disorder, which is treatable with CBT and, where needed, medication. If you wake gasping or choking, or someone has noticed pauses in your breathing, tell your doctor: sleep apnea can wake you in a similar way.

Tools that help, borrowed from CBT-I

None of these forces sleep; they lower arousal and teach your brain that bed is where sleep happens (see also our tips for managing stress before bedtime).

Schedule your worry earlier

Set aside 15–20 minutes in the late afternoon or early evening, not in bed, to go through what is on your mind and plan tomorrow. Worry that has already had its turn is easier to postpone at midnight.

Write it down

If a thought arrives in bed anyway, put it on a paper notepad, not your phone. Writing it down tells your brain the item is stored and needs no rehearsing.

Get up after about 20 minutes

This is stimulus control, a core method of CBT-I. If you have been awake for what feels like 20 minutes (don’t check the clock), get up, do something quiet in dim light in another room until you feel sleepy, then go back. Repeat as needed, and get up at the same time every morning whatever the night was like. It feels counter-intuitive and some people take longer than others to learn it, but it works.

Slow your breathing

Slow breathing turns arousal down directly. Let the out-breath run longer than the in-breath, roughly four counts in and six out, for a few minutes. You are not trying to make yourself sleep, only calmer.

Stop checking

Turn the clock to the wall and keep the phone out of reach. Every glance at the time restarts the arithmetic; every glance at the phone gives your brain something new to guard.

What not to do

  • Don’t lie there trying harder. Effort raises arousal; sleep is something you allow, not something you do.
  • Don’t use alcohol to switch off. It may bring sleep on faster but disrupts it later.
  • Don’t use caffeine to repair the day. It keeps arousal primed just when you need it quiet.
  • Don’t take screens to bed. The light is part of the problem, and so is the content.
  • Don’t sleep in or nap to catch up. It lowers the sleep drive and sets up the next bad night.

When to talk with a doctor

Talk with a doctor if anxious nights have gone on for more than a few weeks, if you dread bedtime, if worry is spilling into your days, or if you are having panic attacks. Anxiety and the insomnia that grows around it are both treatable, usually together (our insomnia guide covers CBT-I in detail). If your thoughts at night turn towards harming yourself, please do not wait until morning: call or text 988 in the US and Canada, Samaritans on 116 123 in the UK, or your local crisis line.

In summary

Worry is loudest at night because nothing competes with it and tiredness blunts your reply. Anxiety keeps the arousal system on, and after enough bad nights the bed itself starts switching it on. The way out is lowering arousal rather than trying harder (worry time earlier, a notepad, slow breathing, getting up when awake) and, if the anxiety persists, treating it alongside the insomnia. A first or unusual night-time panic episode needs a medical check first.

Questions people ask

Why is my anxiety worse at night?

At night there is nothing to distract you from a worry, and tiredness weakens your ability to put it in proportion. If you have spent many nights fretting in bed, the bed itself can also start to trigger alertness, so worry seems to arrive the moment you lie down.

Should I get out of bed if I can't sleep because of anxiety?

Yes. If you have been awake for what feels like about 20 minutes, get up, do something quiet in dim light, and return when you feel sleepy. This is stimulus control, a core part of CBT-I, and it stops the bed becoming a cue for wakefulness.

Can a panic attack wake you from sleep?

Yes. Panic attacks can happen at any time, including during sleep, and the physical symptoms can feel like a heart attack. Because other conditions cause the same symptoms, get urgent medical help if it is the first time, if there is chest pain or pressure, if symptoms are not easing after 20 to 30 minutes, or if you have heart or lung disease; panic disorder is diagnosed only once other causes are ruled out. Repeated attacks with dread of the next one are treatable with CBT and, where needed, medication.

How do I know if my night-time anxiety is a disorder?

Occasional anxious nights pass with the situation. An anxiety disorder persists — for generalised anxiety disorder, most days for six months or more — spreads across situations, and interferes with daily life. Talk with a doctor if that describes you.

Two-minute check

Wondering about snoring or daytime sleepiness? STOP-Bang is scored in your browser.

Take the self-check

Keep reading

10 Ways to Manage Stress Before Bed

A racing mind at bedtime is common and manageable. Ten practical ways to lower arousal in the evening, what the evidence says about each, and how to tell stress from anxiety that needs care.