How to Improve Sleep When Anxious at Night in the UK: A Plan That Works

a serene young woman sleeping in a cozy bed with white linens

Yes, sleep usually gets better when you are anxious at night, but not by trying harder to sleep. It gets better by giving your worries a place to go earlier in the evening, by winding down for an hour before bed, and by keeping the same wake time every morning, even after a bad night. That sounds too simple, and it is slow, but it is what the NHS advises, and it is what the best treatment for insomnia is built on.

The honest limit matters. There is no trick that guarantees sleep tonight, and no number of nights after which sleep is fixed. A wind down hour and a worry time help many people, but they are not a cure for anxiety. If poor sleep has lasted months, or if anxiety is affecting your daily life most days, the fastest real help is not another sleep tip. It is a GP appointment, or a self-referral to NHS Talking Therapies, and a treatment called CBT for insomnia.

Anxiety at night is common, and it is treatable. In England, about one in five adults had a common mental health condition in the past week in the latest national survey, and generalised anxiety disorder was the most common single condition, at 7.5 percent of adults. You are not alone in lying awake, and you are not weak for it.

Why anxiety keeps you awake

Table 1: Why anxiety keeps you awake, the loop.

Step What happens Why it keeps you awake
1 The day ends and the distractions stop Worries you pushed aside all day finally have space to arrive
2 Your body releases stress hormones Your heart beats faster, your muscles tense, and your mind speeds up
3 You start to worry about not sleeping The worry itself becomes a new reason to stay awake
4 You check the clock Each check adds maths anxiety: how many hours are left, how bad tomorrow will be
5 You stay in bed, wide awake Your brain starts to link the bed with being awake and anxious, not with sleep
6 Morning comes and you sleep in Sleeping in feels kind, but it weakens the body clock and makes the next night worse

This loop is the whole problem in one table. The rest of this article is about breaking it, one step at a time. You do not need to fix all six steps tonight. Start with the two that matter most: give the worries a time earlier in the evening, and get up at the same time every morning.

Anxiety switches on the stress response, and the stress response is physical. When you feel anxious or scared, your body releases stress hormones, such as adrenaline and cortisol. Those hormones speed up your heart and breathing, tense your muscles, and send blood away from your stomach. That is useful if you need to run from danger. When it is triggered by worries at 2am, the same changes feel like a pounding heart, a churning stomach, and a mind that will not slow down. These feelings are uncomfortable, but they are not dangerous, and they pass.

Night makes it worse for a simple reason. During the day, work, chores, conversations and screens keep your attention busy. At night, the distractions fall away, and what is left is your brain and a dark room. That is why the same worry that felt small at lunchtime feels huge at 3am. It is not that the worry has grown. It is that nothing else is competing with it.

A calmer night plan, hour by hour

Table 2: A calmer night plan, hour by hour.

When What to do Why it helps
Morning Get up at the same time, get daylight within an hour Resets the body clock and builds the drive for sleep
Midday Stop caffeine by midday, or at least 6 hours before bed Caffeine is a stimulant and keeps the stress response switched on
Daytime Move your body, at least a walk, and eat regular meals Uses up the extra energy anxiety creates and steadies your mood
Early evening Worry time, 10 to 15 minutes, then close the notebook Worries get a slot, so they do not follow you into bed
1 hour before bed Wind down: warm bath or shower, book, low light, no screens Tells your body the day is ending and sleep is coming
In bed Only go to bed when sleepy, clocks out of view The bed stays linked with sleep, not with clock watching
3am Get up after around 20 minutes awake, quiet room, low light Stops the bed becoming a place for worrying, and lets sleepiness return

This table is the whole article in one place. The rest of it explains each row, and why the order matters. Start with the morning, not the night. Sleep is built during the day.

Why anxiety and sleep feed each other

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. A bad night makes the next day harder: you feel tired and irritable, you find it hard to concentrate, and small problems feel bigger. Then the next night, you go to bed already dreading another bad night, and that dread keeps you awake.

Breaking the loop means working on both sides at once. You cannot think your way out of anxiety at 3am, because the thinking is the problem. You work on the anxiety in the daytime, with worry time, movement and, when needed, talking therapy. And you work on the sleep with a fixed wake time, a wind down hour and a bedroom that is only for sleep. Neither side fixes the other on its own. Together, over weeks, they usually do.

Our anxiety guide, linked below, explains the symptoms, the panic attack plan and the 5-4-3-2-1 grounding technique in full. If anxiety is the main problem, start there as well as here.

The daytime work: what changes the night

The most useful sleep work happens before sunset. Three things matter most.

First, keep the same wake time every day, even after a bad night, and even at weekends. The NHS says to wake up and get out of bed at the same time every day. It also says not to sleep in after a bad night, but to stick to your regular sleeping hours instead. Sleeping in feels kind, but it weakens the body clock, and it steals sleepiness from the next night. A fixed wake time is the anchor of the whole plan. If you change one thing, change this.

Second, get daylight in the morning. Light helps control your body clock. It tells your body when to sleep and when to wake up. Try to get some sunlight in the morning after you wake up, even if it is only a few minutes by a window or a short walk. NHS trust guidance says the body clock needs to be reset daily by getting daylight, regular meal times and social activity.

Third, move your body during the day. The NHS says to exercise regularly during the day. It does not need to be a gym session. A walk counts. Regular movement uses up the extra energy anxiety creates, and it makes it easier to relax and fall asleep. The NHS also says not to exercise at least 4 hours before bed, because late exercise can be too stimulating.

Two more daytime rules help. Do not nap during the day. The NHS says so plainly, because a nap steals sleepiness from the night. Naps longer than 20 minutes will impact your night’s sleep, so if you nap at all, keep it to around 20 minutes and before mid-afternoon. And stop caffeine by midday, or at least 6 hours before bed. The NHS says not to drink tea or coffee at least 6 hours before going to bed. Many people find a midday cut off simpler, and it allows for slow metabolisers and later bedtimes.

Worry time: 10 to 15 minutes, earlier in the evening

Worry time is the single most useful technique in this article, and it is simple. You give your worries a fixed slot earlier in the evening, so they do not follow you into bed.

Step 1, pick a time and a place. Choose 10 to 15 minutes in the early evening, at least two hours before bed, in the same chair each day. Not in bed, and not late at night.

Step 2, write the worries down. Open a notebook and write each worry in one line. Next to it, write the next small step, if there is one, and when you will do it. If there is no step, write “nothing to do tonight” next to it. The point is not to solve everything. The point is to park it on paper.

Step 3, make a tomorrow list. Write three or four things for tomorrow, in order. This is the list your brain keeps rehearsing at 2am. Once it is on paper, it does not need rehearsing.

Step 4, close the notebook. When the 15 minutes are up, close the notebook and put it away. If a worry comes back later, say to yourself, “That is for worry time tomorrow,” and let it go. You are not ignoring it. You are giving it an appointment.

Step 5, repeat it daily. Worry time works by repetition, not by one good session. After a week or two, most people find the worries arrive on time, in the chair, and leave the bed alone. That is the goal.

Our night plan for overthinking, linked below, explains the worry time and the 3am script in full.

The wind down hour

The NHS says to relax at least 1 hour before bed, for example by taking a bath or reading a book. That hour is not a luxury. It is the signal that tells your body the day is ending.

Start the hour by finishing the business of the day. Put the phone on charge in another room, or at least face down and on silent. Close the laptop. Lay out tomorrow’s clothes if that helps. Then do one calm thing, and only one: a warm bath or shower, a book, gentle stretches, or a short breathing practice.

Slow breathing is the simplest one. The NHS breathing exercise for stress uses an even count of 5 in and 5 out, for at least 5 minutes. Sit comfortably, breathe in for 5, breathe out for 5, and keep going. If 5 feels too long, use 4 in and 6 out, with the out breath longer than the in breath. Do not force a deep breath. Gentle and slow is the point.

Our mindfulness guide, linked below, explains the first 5 minute practice and the body scan in full. A short body scan in bed, head to toe, is a good way to end the wind down hour, and you can drift off during it.

What not to do in the wind down hour matters as much as what to do. Do not watch television or use devices, like smartphones, right before going to bed, because the blue light makes you more awake. Do not have upsetting conversations or read the news. Do not eat a big meal late at night. And do not drink alcohol to help you sleep. Alcohol may make you drowsy, but it damages the quality of your sleep, and you wake up more often in the second half of the night.

The bedroom: dark, quiet, cool, clocks out of view

Your bedroom should be a place for sleep, and little else. The NHS says to make sure your bedroom is dark and quiet, using curtains, blinds, an eye mask or ear plugs if needed, and to make sure your mattress, pillows and covers are comfortable.

Keep it cool. NHS trust guidance says to make sure your bedroom is not too warm, and that 18 degrees is ideal. The Sleep Charity recommends an ideal bedroom temperature around 16 to 18 degrees C for adults. If you cannot control the temperature, use lighter bedding and open a window before bed.

Keep it dark. Close the curtains properly, and cover any small lights from chargers or devices. Even a small light can keep the brain alert.

Keep it quiet. If noise from outside is a problem, ear plugs help, or a fan for steady background sound. Do not fall asleep to the television. The light and the changing sound keep the brain half awake.

Keep the clocks out of view. Watching the clock makes anxiety worse at night. Turn the clock around, put it in a drawer, or turn your phone face down. You do not need to know it is 3:18. Knowing only adds maths anxiety: how many hours are left, how bad tomorrow will be.

Keep the bedroom for sleep only. Do not watch television, use a laptop or read in bed, because the brain needs to associate the bedroom with relaxation and sleep. If you work from home, do not work in bed. The bed should be linked with sleep, not with emails. That link, between bed and sleep, is the whole idea behind the next section.

The 3am script: what to do when you wake

You wake at 3am. Your heart is racing, and the worry is already there. Here is the script, step by step.

Step 1, do not check the time. Turn away from the clock. You do not need the number, and the number only makes it worse.

Step 2, breathe slowly. Breathe in for 5, out for 5, for a few minutes. Make the out breath longer than the in breath if that feels better. This slows the heart rate and calms the stress response.

Step 3, ground yourself. Name five things you can see, four things you can feel, three things you can hear, two things you can smell, and one thing you can taste. This is the 5-4-3-2-1 grounding technique. It brings your attention back to the room and off the worry.

Step 4, write it down if it keeps looping. If the same thought keeps coming back, reach for the notebook by the bed, write the worry in one line, and write “worry time tomorrow” next to it. Then put the notebook down. You have parked it. It can wait until daylight, when it will feel smaller.

Step 5, get up after around 20 minutes. If you are still awake after around 20 minutes, get up. Go to another room, keep the lights low, and do something quiet and boring: read a physical book, not your phone, or sit and breathe. Do not turn on bright lights, do not check emails, and do not start working. Go back to bed only when you feel sleepy. Do not force sleep. If you do not fall asleep within 20 to 30 minutes of getting into bed, get up, leave the room, find a calming activity and try again when you start to feel sleepy.

Step 6, do not judge the night. Do not lie there adding up the damage. One poor night does not cause long-term harm, and rest is still restorative. The night is not ruined because you woke up. It is just a night with a wake in the middle of it.

Our night plan for overthinking, linked below, explains the full night plan, the tomorrow list, and the 3am script.

What to do the next day after a bad night

A bad night is not a disaster, but the day after it matters. What you do that day decides whether the next night is better or worse.

Get up at your usual time, even if you are tired. Do not sleep in. The NHS says to stick to your regular sleeping hours instead. Get daylight in the morning, even if it is only a few minutes. Eat regular meals, and drink water. Move your body, even a short walk. Keep caffeine to the morning only, and do not use it to push through the whole day.

Do not nap. The NHS says not to nap during the day, and this is the day it matters most. A nap feels kind at 2pm and steals sleep at 2am.

Do not drive when you feel sleepy. The NHS says so plainly. If you must drive, stop and rest, or ask someone else to drive.

Be kind to yourself about the day. Lower the bar a little. Do the important things, and let the rest wait. Tell yourself the truth: you are tired, not broken, and tonight is a new night. The body clock resets every day, and one bad night does not set the pattern for the week.

CBT for insomnia in plain English: the four parts, the sleep diary, and the sleep window

If changing your sleeping habits has not helped, or if poor sleep has lasted months, the next step is not a stronger tip. It is a treatment, and it has a name: cognitive behavioural therapy for insomnia, or CBTi.

CBTi is recommended by NICE for the treatment of both short-term and long-term insomnia in adults of all ages. For chronic insomnia, more than 3 months, NICE says to offer CBTi as the first-line treatment. That means it is the first treatment to try, before medicine. Unlike medication, the benefits of CBTi persist after the treatment ends. It is a talking therapy developed for people with insomnia and related sleep problems, and it is different from CBT for depression or CBT for anxiety.

Around 80 percent of people who had CBTi through the UCLH service reported an improvement in their condition. CBTi targets the underlying causes of insomnia and gives you skills for managing sleep, where sleeping pills only help while you take them. That is a service result, not a promise to any one person, but it is why NICE recommends it.

A CBTi course is usually a small group meeting over 5 sessions, usually weekly, each up to one and a half hours. Session 1 explains how sleep works and starts a sleep diary. Session 2 covers habits that interfere with sleep and introduces anchoring your day and stimulus control. Session 3 covers rescheduling sleep and relaxation. Session 4 covers anxiety around sleep and winding down before bed.

CBTi has four parts. Stimulus control: go to bed only when sleepy, get out of bed if you are not asleep within 15 to 20 minutes and repeat as necessary, use the bed and bedroom only for sleeping, get up at the same time every day, and no napping. These five rules retrain the link between bed and sleep. Sleep restriction, also called the sleep window: use a sleep diary to record how long you are asleep and how long you are awake in bed, then restrict your time in bed to your asleep time only. The cognitive part: working on worries and beliefs about sleep, such as “if I do not get eight hours, tomorrow is ruined”. And relaxation training, to lower physical and mental tension.

Here is the sleep window, worked through. Say you go to bed at 11pm and get up at 7am, so you spend 8 hours in bed, but your sleep diary shows you only sleep for 6 of those hours. Your sleep window becomes 6 hours, so you go to bed at 1am and still get up at 7am. If you feel tired after 2 weeks, add an extra 30 minutes to your time in bed, and increase every 2 weeks as necessary. Do not go below about 5.5 to 6 hours in bed. When 85 to 90 percent of time in bed is spent asleep, extend the window by 15 to 20 minutes a week.

Sleep restriction makes you more tired at first, and it is not suitable for everyone. It is not suitable, for example, for people who drive for a living, work at heights, or have epilepsy or bipolar disorder. It is done with a therapist, not alone. Do not cut your sleep drastically on your own. A therapist sets the window, checks it weekly, and extends it as your sleep improves. Done properly, it is safe and it works. Done alone, it can make you dangerously tired.

CBTi can be provided face-to-face or digitally. Sleepio is a digital CBTi programme recommended by NICE, designed to be completed over six weeks. Sleepstation is a clinically validated online CBTi course that some GP practices can offer free on the NHS. Availability and cost vary by area, so ask your GP what is available where you live. Your GP can also refer you for face-to-face CBTi, or for an online self-help programme.

If anxiety is the main cause of your poor sleep, your GP may also offer CBT for anxiety, or a referral to NHS Talking Therapies. NHS Talking Therapies is the free NHS service in England for common mental health problems such as anxiety and depression. You can refer yourself directly, without a GP referral, if you are 18 or over, or 16 or over in some areas. You do not need a diagnosis. Services are free and confidential, in person, by video, over the phone or as an online course. NHS standards say 75 percent of people should start treatment within 6 weeks of referral. Arrangements differ in Scotland, Wales and Northern Ireland, where similar programmes run under different names.

What does not help: alcohol, sleeping pills without a GP, supplements, melatonin, herbal teas

Some things feel like they help, and make the problem worse. Here they are, honestly.

Alcohol does not help. It may make you drowsy, but it damages the quality of your sleep. You wake up more often in the second half of the night, and you feel less rested in the morning. The NHS says not to drink alcohol at least 6 hours before going to bed. Keep to no more than 14 units a week, spread over 3 or more days, with several drink free days each week.

Sleeping pills without a GP do not help. GPs now rarely prescribe sleeping pills to treat insomnia. Sleeping pills can have serious side effects and you can become dependent on them. They are only prescribed for a few days, or weeks at the most, if your insomnia is very bad, or other treatments have not worked. Do not borrow someone else’s sleeping pills, and do not buy them online without a clinician checking they are safe for you.

Pharmacy sleeping aids do not cure insomnia. The NHS says you can buy tablets or liquids from a pharmacy that may help you sleep better, and that some contain valerian or lavender, while others contain an antihistamine. They cannot cure insomnia, but they may help you sleep better for 1 to 2 weeks. They should not be taken for any longer. Some can make you drowsy the next day, which can make driving unsafe. Check with your doctor before taking anything for your sleep problems.

Melatonin is not a shop-bought sleep aid in the UK. In the UK, melatonin is a prescription-only medicine. It is licensed for short-term treatment of insomnia in adults aged 55 and over, and separately for short-term jet lag. Circadin is a prolonged-release preparation of melatonin, 2 mg taken once a day 30 to 60 minutes before bedtime, and it can be prescribed for up to 13 weeks. It is not available over the counter, and it is not a general sleep supplement. Do not buy it from an unregulated website. If you think it might help you, ask your GP.

Herbal teas, magnesium, CBD, valerian, lavender and calming gummies are all sold alongside sleep content, but none of them is NHS recommended, and none of them cures insomnia or anxiety. A warm drink can be part of a wind down routine, and that is fine. But the drink is not the treatment. The routine is. Some supplements interact with anxiety or depression medicine. Do not take them without asking your GP or pharmacist.

Forcing sleep does not help. Lying in bed trying harder to sleep is like trying harder to fall off a cliff. Sleep comes when you stop chasing it. That is why the 3am script says to get up after around 20 minutes. You are not giving up. You are giving sleep a chance to come back on its own.

When anxiety at night is about something else

Sometimes poor sleep is not only about anxiety. The NHS lists other causes, and it is worth knowing them, because they need a different fix.

Sleep apnoea: snoring, or interrupted breathing while sleeping. If your partner says you stop breathing in your sleep, or if you wake up gasping, or with a headache, tell your GP. You may be referred to a sleep clinic.

Restless legs syndrome: an uncomfortable urge to move your legs, worse at night, eased by moving. If this sounds familiar, tell your GP. It is treatable.

Long-term pain: pain that keeps you awake needs its own treatment. Tell your GP, rather than adding more sleep tips on top of untreated pain.

Medicines: many medicines can cause insomnia. If your sleep got worse after starting a new medicine, tell your GP or pharmacist. Do not stop a prescribed medicine on your own.

Menopause: hot flushes and night sweats can wreck sleep. If this sounds familiar, tell your GP. There are treatments that help.

Shift work and jet lag: if your body clock is fighting your working hours, the usual rules need adjusting. Tell your GP, and ask about light and timing strategies for shift workers.

If any of these sounds familiar, the sleep plan in this article still helps, but it is not the whole answer. The cause needs treating too.

When to see a GP, and when to call 999

See a GP if changing your sleeping habits has not helped your insomnia, if you have had trouble sleeping for months, or if your insomnia is affecting your daily life in a way that makes it hard for you to cope. That is the NHS advice, and it is the right line. Months of poor sleep is not a habit problem. It is a health problem, and it deserves treatment.

A GP will try to find out what is causing your insomnia so you get the right treatment. They will ask how long it has been going on, what your days look like, and whether anxiety or low mood is part of it. You do not need the perfect words. “I have had trouble sleeping for months and it is affecting my work” is enough to start.

Ask for an urgent GP appointment or call NHS 111 if you need help urgently but it is not an emergency. NHS 111 can tell you the right place to get help.

Call Samaritans on 116 123 if you need someone to talk to at any time, day or night. It is free. You can also text SHOUT to 85258 for free, confidential support, 24 hours a day.

Call 999 or go to A and E now if you or someone you know needs immediate help, or has seriously harmed themselves, for example by taking a drug overdose. A mental health emergency should be taken as seriously as a medical emergency. If you feel you may act on thoughts of harming yourself, call 999 now, or go to A and E. Do not wait for a routine appointment.

If you already take anxiety or depression medicine, do not stop it because you feel better, and do not stop it because your sleep has improved. That decision needs your GP, and stopping suddenly can make things worse.

Frequently asked questions

How can I sleep when I am anxious at night?

Give your worries a slot earlier in the evening, with 10 to 15 minutes of worry time and a tomorrow list. Wind down for an hour before bed, with no screens, low light, and one calm activity. Only go to bed when you are sleepy, keep the clocks out of view, and get up at the same time every morning, even after a bad night. If you wake at 3am, breathe slowly, ground yourself, write the worry down, and get up after around 20 minutes if you are still awake. If poor sleep has lasted months, see your GP about CBT for insomnia.

Why do I wake up at 3am feeling anxious?

Because the distractions of the day have stopped, and the worries you pushed aside finally have space to arrive. Your body is also in a lighter stage of sleep in the second half of the night, so it wakes more easily. At 3am, the same worry feels bigger than it did at lunchtime, because nothing else is competing with it. It is not that the worry has grown. It is that the night has made it louder. Worry time earlier in the evening, and the 3am script in this article, are designed for exactly this moment.

How long does it take for sleep to improve?

There is no set number of nights, and anyone who promises one is selling you something. Most people find the first week of a fixed wake time and a wind down hour is the hardest, and that sleep starts to feel steadier after two to four weeks of doing it most nights. CBT for insomnia usually runs for a few sessions over several weeks, and its benefits persist after the treatment ends, unlike medication. If nothing has changed after a month of trying, see your GP. That is not a failure. It is the point at which treatment helps more than tips.

Should I take melatonin or a sleep supplement?

Do not take melatonin, a sleep supplement, or a pharmacy sleeping aid without asking your GP or pharmacist first. In the UK, melatonin is a prescription-only medicine, licensed for short-term insomnia in adults aged 55 and over, and it is not available over the counter. Pharmacy sleeping aids cannot cure insomnia, and they should not be taken for longer than 1 to 2 weeks. Herbal teas, magnesium, CBD, valerian and lavender are not NHS recommended, and none of them cures insomnia or anxiety. If you take anxiety or depression medicine, some supplements can interact with it.

Is it OK to nap after a bad night?

The NHS says not to nap during the day if you have insomnia, because a nap steals sleepiness from the night. This is hardest on the day after a bad night, when a nap feels like the kindest thing. But it is the day it matters most. Get daylight in the morning, move your body, eat regular meals, and keep caffeine to the morning only. If you are dangerously sleepy, do not drive. Rest sitting up, with your eyes closed, for 20 minutes, rather than falling asleep in bed.

When should I see a GP about my sleep?

See a GP if changing your sleeping habits has not helped, if you have had trouble sleeping for months, or if your insomnia is affecting your daily life in a way that makes it hard for you to cope. See a GP sooner if you snore loudly and stop breathing in your sleep, if you have restless legs, if your sleep got worse after starting a new medicine, or if anxiety or low mood is affecting your daily life most days. Your GP can offer CBT for insomnia, refer you to a sleep clinic, or refer you to NHS Talking Therapies.

Sources and disclaimer

This article is general information, not medical advice. It does not diagnose or treat any condition. Speak to your GP if anxiety, fear, panic, low mood or poor sleep is affecting your life, if you take anxiety, depression or sleep medicine, or if you are thinking of stopping a medicine your GP has prescribed. If you feel you may act on thoughts of harming yourself, call 999 or go to A and E now. Samaritans, call 116 123, any time, day or night. Shout, text SHOUT to 85258.