Our admissions team is available now, 24/7
Generalized Anxiety Disorder Guide · Anxiety at Night

Night-time anxiety: why does it get worse at bedtime, and how do you calm it?Racing thoughts, a pounding heart and sleep that comes late: what is happening, and what actually helps

Reviewed by: Dr. Mahmoud El-Sawy Last updated: October 1, 2026 7-minute read
The short answer

Anxiety at night is common because the quiet and dark leave the mind alone with its thoughts, and because over time the bed can become linked with thinking and tension. A scientific review indicates that insomnia and anxiety feed each other. What helps most: setting aside a daytime “worry time” away from the bed, a fixed wake-up time, less caffeine and screen time, and cognitive behavioral therapy. Sleeping pills and sedatives are only a very short-term fix according to the NHS, and can cause dependence.

  • If anxiety at night continues for months along with daytime anxiety, it may be generalized anxiety disorder.
  • Waking suddenly in terror with a pounding heart may be a night-time panic attack.
  • Shortness of breath or chest pain for the first time needs emergency care, not a psychological explanation.

Why does anxiety increase at night?

“All day I'm fine, and as soon as I put my head on the pillow my brain switches on: work, money, the kids, anything that could happen tomorrow.” This is one of the most common complaints in anxiety and insomnia clinics. Anxiety at night is not imaginary and not a weakness, but a known pattern with understandable causes and practical solutions.

During the day the mind is busy with work, people and tasks, so worrying thoughts recede into the background. With the quiet and dark the distractions disappear, and all the postponed thoughts come forward at once. Tiredness at the end of the day makes them harder to calm. When this repeats night after night, the brain may learn to link the bed itself with thinking and tension, so the anxiety starts as soon as you enter the room.

The US National Institute of Mental Health (NIMH) states that difficulty falling or staying asleep is a symptom of generalized anxiety disorder, along with worry that is hard to control, muscle tension and fatigue.

Anxiety and insomnia: which causes which?

In a systematic review published in the journal Sleep in 2013, the researchers concluded that the best available evidence indicates that insomnia is linked to anxiety and depression in both directions: anxiety disrupts sleep, and lack of sleep raises anxiety the next day. A closed loop forms:

  1. Anxiety before bed delays sleep.
  2. Too little sleep makes you more tense and less able to cope during the day.
  3. The anxiety begins to be about sleep itself: “If I don't sleep, I'll be wrecked tomorrow.”
  4. This new anxiety delays sleep even more the following night.

The NHS defines insomnia that lasts three months or more as long-term insomnia. If you have reached this stage, read the guide to chronic insomnia.

How does anxiety show up at night?

  • Racing thoughts about tomorrow or the day's events, and endless “what if” scenarios.
  • Palpitations or a sense of the heartbeat when lying down, and tightness in the neck and shoulders.
  • Tossing and turning in bed for an hour or more before sleep.
  • Waking in the middle of the night with the thoughts returning at once.
  • Watching the clock and counting the hours of sleep left.
  • Fatigue, irritability and poor concentration in the morning.

If the same thoughts go round in a loop that does not stop night or day, the guide to overthinking may help you.

Waking in terror: is it a night-time panic attack?

The anxiety that keeps you from falling asleep is different from waking suddenly from sleep in terror, with palpitations, shortness of breath, sweating and a sense of danger. A review published in Sleep Medicine Reviews in 2005 notes that night-time panic is common in people with panic disorder, with 44% to 71% of them reporting at least one episode, that it occurs in non-dreaming stages of sleep, and that it differs from nightmares, sleep terrors and sleep apnea.

In this case cognitive behavioral therapy targets the frightening interpretation of body sensations and the pattern of rapid breathing. Telling them apart needs a doctor, because waking up choking can also be a sign of sleep apnea, a medical problem that needs examination.

What can you do tonight to calm anxiety at night?

These steps combine NHS sleep advice with techniques used in cognitive behavioral therapy for anxiety:

A set worry time during the day

Half an hour in a fixed place away from the bedroom, writing down your worries and what can be done about them.

A paper beside the bed

If a thought comes at night, write it in one line and postpone it to the next day's worry time.

A wind-down hour before bed

A quiet activity such as reading or a warm bath, and a dark, quiet room.

Screens out of bed

News and social media before bed fire up thoughts and delay drowsiness.

Less caffeine

The NHS advises avoiding tea, coffee, smoking and alcohol for at least six hours before bed.

Wake up at a fixed time

Wake up and get out of bed at the same time every day, even after a bad night.

Infographic: six steps to calm anxiety at night: a set worry time during the day, a paper beside the bed, a wind-down hour before bed, screens out of bed, less caffeine, waking at a fixed time
Practical steps that help reduce anxiety before sleep and improve sleep over time.

The idea of “worry time” has a research basis: in a small trial published in the journal Behavior Modification in 2013 with 53 participants who worried a lot, setting aside a daily period of 30 minutes at a set time and place for worrying, for two weeks, led to a greater reduction in anxiety and insomnia compared with the other group. Treating generalized anxiety explains how this technique is used within cognitive behavioral therapy.

If you cannot sleep: get out of bed

Staying in bed for hours wrestling with thoughts strengthens the link between the bed and anxiety. It is better to get up and go somewhere else with dim light, do something quiet and a little boring, and return when you feel sleepy. Do not look at the clock often, as counting the lost hours raises tension. And avoid making up for a bad night with long daytime sleep, because it delays sleep the following night.

Are sleeping pills and sedatives a solution for anxiety at night?

The NHS notes that doctors rarely prescribe sleeping pills today to treat insomnia, because they can cause serious side effects and dependence, and they do not treat insomnia but may help with sleep for only a very short time. In Egypt many people turn to benzodiazepines, allergy medications or alcohol to calm anxiety at night, and over time the problem turns into dependence that increases anxiety when they stop.

The guide to insomnia and addiction explains how this cycle begins and how it is broken safely. Do not start or stop any medication without a doctor.

When does anxiety at night need a doctor?

  • If the anxiety and insomnia continue for more than a few weeks despite regulating your habits.
  • If it comes with persistent daytime worry that is hard to control about many things.
  • If you repeatedly wake in terror with palpitations and shortness of breath.
  • If you have come to depend on sedatives, alcohol or cannabis to sleep.
  • If thoughts about death appear, or life has become unbearable.

Cognitive behavioral therapy is effective for anxiety and insomnia together, and a doctor may add a suitable medication when needed. At Eradah Hospital it starts with an assessment that determines whether what you are experiencing is generalized anxiety, panic, insomnia, depression or dependence on sedatives, followed by a plan through outpatient treatment or residential care for men when needed. The first consultation is free and confidential.

A severe attack, or symptoms that do not feel like anxiety? Get help now

  • Pressing chest pain spreading to the arm or jaw, or shortness of breath that will not ease
  • Fainting, confusion, or sudden weakness on one side of the body
  • Attacks that do not stop as time passes, especially for the first time
  • Talk of death or that life has become “unbearable”
  • Increasing use of sedatives or alcohol at night to sleep or to calm down

If chest symptoms, fainting or sudden weakness appear for the first time, do not assume it is anxiety: call the ambulance (123) or go to the nearest emergency room to rule out a physical cause. If the person talks about death or hurting themselves, stay with them, listen calmly, keep medications out of their reach, and contact the mental health support line (16328), open around the clock.

Ambulance 123 Mental health support line 16328
Frequently asked questions

Frequently asked questions about anxiety at night

Didn’t find your answer?

Ask an advisor directly. The reply is confidential and carries no commitment.

Ask on WhatsApp
Why does anxiety increase at night?

Because the quiet and dark remove distractions so postponed thoughts come forward, because tiredness weakens the ability to calm them, and because with repetition the bed can become linked with thinking and tension.

How do I get rid of anxiety before sleep?

Set aside a worry time during the day away from the bed, write down night-time thoughts to postpone them, keep the last hour before bed quiet and screen-free, cut back on caffeine, and wake at a fixed time every day.

Is anxiety at night a sign of mental illness?

Not always; it may be a reaction to temporary stress. But if it continues for weeks with daytime anxiety that is hard to control, it may be generalized anxiety disorder that deserves assessment.

Why do I wake up frightened with my heart racing?

It may be a night-time panic attack, which is common in people with panic disorder, but it can have other causes such as sleep apnea. A medical assessment determines the cause.

Do sleeping pills treat anxiety at night?

No. The NHS notes that they do not treat insomnia and can cause dependence, and they are prescribed only for a very short time. Cognitive behavioral therapy is the foundation.

Does overthinking before bed cause insomnia?

Yes. According to a systematic review in the journal Sleep, anxiety and insomnia are linked in both directions, and breaking this loop takes consistent sleep habits and techniques for postponing worry.

When should I see a doctor about anxiety and insomnia?

If insomnia continues for weeks despite regulating your habits, or comes with daytime anxiety or panic attacks, or you begin to depend on sedatives or alcohol to sleep, or thoughts about death appear.

Need help with generalized anxiety disorder?

Your information is confidential and is not shared with anyone

Call WhatsApp Consultation