Back to blog
Anxiety

How to sleep with anxiety: a calm UK guide for 2am and beyond

·10 min read

Reviewed and updated 13 October 2026

Wobble is not a crisis service. If you are in danger call 999, or Samaritans on 116 123.

Read this first

To sleep with anxiety, get up rather than lie there if your mind is racing, slow your breathing, and write the worry down so it can wait until morning; in the daytime, keep a fixed wake time, cut back on caffeine and alcohol, and give your worries a set slot earlier in the evening. If bad nights have gone on for weeks or months, talk to your GP: the NHS can offer cognitive behavioural therapy (CBT) for insomnia, face to face or as an online self-help programme.

If you are reading this at 2am, propped on a pillow with your phone glowing in your face, you are not alone. Anxiety and sleep have a nasty feedback loop. The worse you sleep, the more anxious you feel. The more anxious you feel, the worse you sleep. Night-time is particularly unfair because the distractions that kept you functional all day have gone, and what is left is your brain and a dark room.

This guide has two parts. The first is what to do now, tonight, if you are reading this in the middle of the night. The second is the daytime work that actually shifts the pattern over weeks rather than hours. The techniques are drawn from NHS self-help material and UK mental health charities including Mind.

None of this is a quick fix. All of it is quieter and more useful than lying in the dark scrolling.



What to do if it is the middle of the night right now

Get out of bed. This feels counterintuitive and it is a piece of advice that shows up consistently across NHS sleep self-help material. If you have been lying awake for a while and your brain is racing, staying in bed trains your brain to associate the bed with being awake and anxious. Go to another room, or at least get up and sit somewhere else. Keep the lights low. Do something quiet and boring (reading a physical book, not a phone) until you feel sleepy. Then go back to bed.

Do not check the time. Watching the clock turn over from 2:41 to 3:18 to 4:02 adds a layer of maths anxiety on top of everything else. Turn the phone face down. Turn the alarm clock around.

Try slow breathing. The NHS recommends slow, controlled breathing as part of its anxiety self-help guidance. Breathe in slowly through your nose and out more slowly through your mouth, making the out-breath a little longer than the in-breath. Do this for a few minutes. You are not trying to force yourself to fall asleep. You are nudging your nervous system out of high alert.

Name what you can sense. Mind describes grounding techniques that anchor you in the present when anxious thoughts are spiralling. One simple version is to name five things you can see, four things you can feel, three things you can hear, two things you can smell, one thing you can taste. It sounds basic. It works because it gives your attention somewhere to go that is not the worry.

Write the worry down. If the same thought keeps looping, get a pen and write it down. Mind and the NHS both describe writing worries down as a way of acknowledging them without having to solve them at 3am. You are not agreeing to ignore the concern. You are telling your brain you will deal with it in daylight.


The daytime work (this is the bigger fix)

Night-time anxiety is rarely only a night-time problem. The things you do between 7am and 11pm shape what happens at 2am.

Keep your wake time consistent

The NHS sleep self-help guidance recommends keeping a consistent wake time. Even if you slept badly, get up at roughly the same time every day, including weekends. Sleeping in to "catch up" tends to push the next night later rather than helping.

Sort the amplifiers

None of these are cures. All of them are fuel you can stop pouring on the fire.

  • Caffeine. The NHS specifically recommends cutting down on caffeine for both anxiety and poor sleep. Caffeine has a long half-life, so an afternoon coffee can still be in your system at bedtime. Try holding your last drink to earlier in the day.
  • Alcohol. It feels like it helps you drop off, but it fragments sleep later in the night and can leave you feeling more anxious the next day. The NHS flags alcohol as something that can make anxiety and sleep problems worse.
  • Daylight and movement. The NHS recommends getting daylight during the day and regular physical activity (the general UK guideline is around 150 minutes of moderate activity a week). Both support a more stable sleep pattern.

Give the worry a window

If you have thoughts that only show up once your head hits the pillow, one approach described in UK mental health charity self-help guidance is to create a scheduled "worry time" earlier in the day. Pick a short, set slot in the early evening. Sit down with a notebook, let the worries come, write them down, think about what if anything you can do about each one. When anxious thoughts turn up in bed, you can tell them they have already had their turn. This is a standard technique used in cognitive behavioural approaches.

For wider self-help on anxiety during the day, our guide on anxiety self-help covers this in more detail.

Wind down properly

The NHS describes a wind-down routine as part of its insomnia self-help. The period before bed should not be your busiest or most stimulating. Lower the lights, put the phone down, avoid the news, and do something calm and repetitive. Reading, a warm shower, quiet music, stretching. Your brain needs a runway, not a cliff.


Still struggling to sleep?

Wobble connects you to a qualified UK therapist without the commitment of a full course of therapy. Describe what is happening, get a personal video back in hours.


The bedroom itself

The NHS and Mind both describe the same broad principles for a sleep-friendly room, the unglamorous stuff usually filed under sleep hygiene.

  • Dark, cool, and as quiet as you can reasonably make it
  • Bed for sleep only, not for scrolling, working, or eating where possible
  • Your phone and any other electronic device charging in another room, or at least face down and out of arm's reach
  • No news, social media, or work email after a certain cut-off

You are not being asked to live like a monk. You are asked to stop giving your brain a dozen alerting cues right before you want it to switch off.

What does not help

Some common habits are worth naming, because most people with anxiety and sleep issues have tried most of them.

  • Lying in bed for hours trying to force sleep
  • Going to bed earlier and earlier as a "solution"
  • Long weekend lie-ins to make up for the week
  • Heavy meals or alcohol late at night
  • Reading the news or checking email in bed
  • Looking up "how long can you go without sleep" at 4am

None of these reverse the pattern. Most of them deepen it.

Anxiety and insomnia, when each one feeds the other

Insomnia is not one terrible night, or even a rough week around something stressful. The NHS describes it as regularly having problems sleeping: finding it hard to go to sleep, waking several times in the night, lying awake, waking early and not getting back to sleep, and still feeling tired afterwards. The daytime half counts too, feeling tired and irritable and finding it hard to concentrate because of it.

The NHS draws one useful line. Insomnia lasting less than three months is short-term insomnia, and three months or longer is long-term insomnia. You do not need to reach the long-term mark before acting, but the distinction is a helpful check on catastrophising. A fortnight of bad sleep around a stressful patch is miserable, and it is also not yet the entrenched pattern your 3am brain is telling you it is.

Is anxiety causing yours? Quite possibly, because the NHS lists stress, anxiety and depression among the most common causes of insomnia. It is not something to settle by self-diagnosis, and other causes, from caffeine and alcohol to other health conditions, can be in the mix at the same time.

The reason the two get tangled is that the loop runs in both directions. Anxiety keeps the mind busy and the body on alert at exactly the moment you need both to stand down, and the NHS includes not being able to sleep among anxiety's mental symptoms. Then the insomnia does its own damage the next day, because a tired, frayed version of you has less capacity for the worries that started it. By the second or third bad week many people are also anxious about sleep itself, watching the clock and dreading bedtime.

None of that means you are stuck with it. It means neither half can be safely ignored while you work on the other: the habits above for the sleep side, and daytime anxiety self-help rather than leaving everything to be fought out at 2am. For how anxiety around sleep shows up, see sleep anxiety symptoms. If the anxious thoughts are loudest at night, anxiety at night covers that particular ambush.

What the NHS recommends for persistent insomnia

If you have been sleeping badly for weeks or months and nothing is shifting, the NHS points to cognitive behavioural therapy for insomnia (CBT-I) as the evidence-backed approach for long-term sleep problems. It is not counting sheep. It is a structured course (often digital) that reshapes the thoughts and behaviours that keep insomnia going.

You can access support via NHS Talking Therapies (England, self-refer at nhs.uk/talk, no GP referral needed) or by talking to your GP. In Scotland, Wales, and Northern Ireland, the route is typically through your GP. Waits vary widely.

A BACP, UKCP, BABCP, BPS, or NCS-registered therapist can also help privately. BACP (bacp.co.uk) and Counselling Directory (counselling-directory.org.uk) let you filter for therapists with experience in sleep or anxiety.

When to see your GP

Book a GP appointment if:

  • You have been sleeping badly for several weeks with no improvement
  • You are exhausted to the point of it affecting work, studying, or relationships
  • You are feeling low, hopeless, or having thoughts of harming yourself
  • The anxiety feels like it is getting worse rather than better
  • You have tried self-help and nothing is shifting

You do not need to have been sleepless for months before you are "allowed" to go to the GP. If it is affecting your life, that is enough.

For urgent mental health support, NHS 111 has a mental health option available 24/7. Samaritans (116 123) are free to call from any UK phone and answer day or night. Shout (text 85258) is a text-based service if calling feels too much.

If anxiety wakes you in a state of panic with a racing heart and a sense of dread, our guide on how to stop a panic attack has techniques for the moment itself.


Try Wobble for £9.99

On-demand mental health support from qualified UK therapists. Personal video responses, usually within hours.


Quick summary

Sleep and anxiety feed each other, and the fix has two halves. In the moment, get out of bed rather than lying there, slow your breathing, ground yourself in the present, and write the worry down. In the daytime, keep a consistent wake time, sort caffeine and alcohol, get daylight and movement, and give your worries a window earlier in the evening. For persistent insomnia, the NHS points to CBT-I as the evidence-backed approach, available through NHS Talking Therapies or privately. You do not have to sort this out alone.


By Jack Murphy

Founder, Wobble

Jack lived with mental health struggles for over a decade before finally reaching out for support. He founded Wobble to make that first step easier for people who, like he was, are not ready to commit to traditional therapy. Jack is not a clinician; all techniques and guidance in this article come from NHS, NICE, and BACP sources.

Connect on LinkedIn

Clinically reviewed by James Penney, NCPS Accredited Psychotherapeutic Counsellor and Clinical Lead at Wobble.

If you are in crisis or feel unsafe, please call 999 or go to A&E. For urgent mental health support, call NHS 111 and select the mental health option. Samaritans (116 123, free, 24/7) and Shout (text 85258) are always available.

Sources and further reading

This article is for information only and does not replace advice from a qualified medical professional. If sleep problems or anxiety are affecting your daily life, please speak to your GP or contact NHS 111.

Frequently asked questions

  • Are sleeping pills safe for anxiety-related insomnia?

    NHS guidance is that GPs now rarely prescribe sleeping pills for insomnia, partly because of dependence risks. The NHS points to cognitive behavioural therapy for insomnia (CBT-I) as the recommended approach for longer-term sleep problems. A GP is the right person to discuss medication options if they come up.
  • Does melatonin actually work?

    Melatonin is available in the UK on prescription only. The NHS describes it as mainly used to treat short-term sleep problems in people aged 55 and over, with specialist prescription possible for some other situations. It is not available as an over-the-counter supplement in the UK. Speak to a GP if you want to discuss whether it might be appropriate for you.
  • Can a few good nights at the weekend make up for a bad sleep week?

    Not really. Long lie-ins disrupt your body clock and tend to push the next week's sleep later. The NHS recommends keeping a consistent wake time across weekends to support a more stable pattern.
  • Does lack of sleep cause anxiety, or does anxiety cause lack of sleep?

    Both. They reinforce each other in a loop. Poor sleep raises baseline anxiety the next day, which then makes the next night's sleep worse. Tackling either side helps the other.
  • How much sleep do adults actually need?

    NHS guidance is that most adults need between 7 and 9 hours' sleep a night. Some people genuinely need a bit less, but consistently sleeping under 6 hours is associated with worse mental and physical health.

Need support right now?

Share what you are going through and receive a personalised video response from a qualified therapist within hours.

Send your first Wobble