Can anxiety stop you sleeping?
Yes, and it works both ways. Worry keeps you awake, and poor sleep feeds worry. After 3 months of poor sleep, the first treatment GPs are advised to offer isn’t a pill.
On this page
Can anxiety cause insomnia?
Yes. The NHS puts stress, anxiety or depression at the top of its list of the most common causes of insomnia.
It runs the other way too. NICE’s guidance for GPs says long-term insomnia and anxiety often affect each other. Each one can make the other worse.
Think of a tap and a sink. Worry turns the tap on, and bad nights block the drain, so the sink fills faster.
Easing worry helps, but if sleep has been bad for months, the drain needs clearing too. That is what CBT for insomnia is for.
| Type | How long | What it means |
|---|---|---|
| Short-term | Less than 3 months | Common, and can follow a stressful event. |
| Long-term | 3 months or longer | CBT for insomnia, a talking therapy for sleep, is the first treatment GPs are advised to offer to adults. |
Bad sleep after a shock, a deadline or a break-up is common. If it has dragged past 3 months, it’s worth more than a quick fix.
Note how many weeks it has been. That number shapes what a GP offers.
Why do I wake up with anxiety in the night?
One research idea is called hyperarousal. Studies find people whose insomnia has no other cause have bodies and brains that stay more switched on than usual, by night and by day.
What keeps it going? The review names stress, sleep habits, a bed you link with being awake and a habit of worry. It’s one explanation, not a condition you get told you have.
Some people wake in a panic: a racing heart, sweating, short of breath. The NHS says most panic attacks last 5 to 20 minutes. They’re frightening, but they’re not dangerous.
If you wake in a panic: the NHS steps
- 1
Stay put
Stay where you are, if you can.
- 2
Breathe
Breathe slowly and deeply.
- 3
Tell yourself
It will pass, and it’s not life threatening.
- 4
Picture calm
Focus on a peaceful, relaxing image.
Source: NHS: panic disorder
The NHS also warns these symptoms can come from other conditions. Never write off chest pain as nerves. The 999 signs are in the last section.
More on this in panic attacks at night.
Is insomnia a sign of depression?
It can be part of it, and it can come first. NICE’s GP guidance says a history of persistent insomnia at least doubles the risk of developing depression.
Doubled risk is not a sure thing. It means taking long-term poor sleep seriously, not waiting for it to fade.
Treating the sleep can help mood. A review of 22 trials in people with a mental health condition and insomnia found CBT for insomnia eased depression symptoms straight after treatment. That effect wasn’t clear at later follow-up.
Symptoms of depression most of the day, every day, for more than 2 weeks? The NHS says see a GP.
What can I do tonight?
Your sleep and anxiety plan for this week
- Only go to bed when you feel sleepy.
- Wake up and get out of bed at the same time every day.
- Relax for at least 1 hour before bed, for example with a bath or a book.
- Avoid caffeine, alcohol and smoking for at least 6 hours before bed.
- Don’t exercise for at least 4 hours before bed.
- Don’t nap in the day, or sleep in after a bad night.
Source: NHS: insomnia
Lying awake and wound up? See how to fall asleep faster and these relaxation techniques.
Pharmacy sleep aids may help for 1 to 2 weeks and shouldn’t be taken for longer. Some make you drowsy, which can affect driving. Check with your doctor before taking anything.
What will a GP offer for anxiety and insomnia?
That treatment from the top of the page is CBT for insomnia (CBTi). CBT stands for cognitive behavioural therapy, a talking therapy that changes thoughts and habits.
What usually happens at the GP
- 1
Find the cause
Your GP looks for what is behind your poor sleep.
- 2
Sleep course
CBTi for long-term insomnia, in person or online.
- 3
Treat anxiety too
Any anxiety or depression is managed alongside.
- 4
Pills rarely
A few days or weeks at most, if it’s very bad or nothing else worked.
Sources: NHS: insomnia; NICE CKS
Unlike pills, NICE’s GP guidance says CBTi’s benefits last after the course ends.
Will it fix the anxiety? Partly. Across 72 trials, CBTi had only a small to moderate effect on anxiety, so the authors advise checking for any anxiety that is left.
Anxious most days, not only at night? Aged 18 or over, you can refer yourself to NHS talking therapies without seeing a GP.
Pregnant or had a baby in the last 12 months? Your midwife, doctor or health visitor can also help.
Never stop or change a prescribed medicine without your prescriber. More in CBT-I explained, and track your nights with a sleep diary.
When to speak to a GP
- Changing your sleep habits hasn’t helped, you’ve had trouble sleeping for months, or it’s making it hard to cope.
- You’ve had symptoms of depression for most of the day, every day, for more than 2 weeks.
- You need urgent help for your mental health. Call 111 and choose the mental health option, or ask for an urgent GP appointment.
- Call 999 if you have sudden pain or discomfort in your chest that doesn’t go away, pain that spreads to your arms, neck, jaw, stomach or back, or chest pain with sweating, feeling sick, light-headed or short of breath.
- Call 999 or go to A&E now if someone’s life is at risk, or you don’t feel you can keep yourself or someone else safe.
You can also talk to Samaritans on 116 123.