Por agora esta página só está em inglês. Será traduzida e revista por um falante nativo antes de ser publicada em português.

Everyday habits · Anxiety

Anxiety and sleep: calming a busy mind at night

Anxiety and poor sleep often feed each other: worry keeps you awake, and tiredness makes worry feel bigger. A steady routine, a wind-down hour, somewhere to park your worries and getting up if you cannot sleep help many people. If sleep problems last for months or affect daily life, talk to a GP.

Sources checked · clinical & translation review pending

How anxiety and sleep affect each other

The NHS lists stress and anxiety among the most common causes of insomnia. Lying awake can then become a worry in itself, and a short night can leave you more on edge the next day. Breaking the cycle usually takes several small changes over a few weeks rather than one quick fix.

A steadier routine

  • Get up at a similar time every day, including days off, even after a poor night.
  • Give yourself about an hour to wind down: reading, a bath, gentle music or a breathing exercise.
  • Put phones, tablets and laptops away for the last hour before bed if you can.
  • Keep your bedroom dark, quiet and cool; earplugs, an eye mask or turning the clock away can help.
  • NHS insomnia advice suggests avoiding daytime naps, which can make it harder to sleep at night.

Giving worries somewhere to go

  • Write down what is on your mind, or tomorrow's to-do list, before you go to bed.
  • Mind suggests setting aside a regular 'worry time' earlier in the day, so worries have a place that is not your pillow.
  • Talk things through with someone you trust during the day.
  • If worries start up in bed, try the slow-breathing exercise and bring your attention back to your breath.

If you cannot get to sleep

Trying hard to sleep tends to backfire. If you are still awake after about 20 minutes, get up, go somewhere comfortable and do something quiet in low light until you feel sleepy, then go back to bed. It can help to remind yourself that one poor night is unpleasant but manageable.

Caffeine, alcohol and activity

  • Caffeine in coffee, tea, cola and energy drinks can keep you awake; the NHS suggests avoiding it in the hours before bed.
  • Alcohol and nicotine late in the evening can disturb sleep.
  • Avoid large meals close to bedtime.
  • Regular activity during the day can help, but very energetic exercise close to bedtime may keep some people awake.

When to talk to a GP

See a GP if changing your habits has not helped, you have had trouble sleeping for months, or tiredness is making daily life hard. Keeping a sleep diary for a couple of weeks can make the conversation easier. NHS advice is that cognitive behavioural therapy for insomnia (CBT-I) is the main treatment, and sleeping pills are only rarely prescribed, for a short time. If anxiety itself is persistent, ask about talking therapies too, and see the anxiety page for urgent help.

Common questions

Why does my anxiety get worse at night?

At night there are fewer distractions, so worries can feel louder, and tiredness makes them harder to put in perspective. Worrying about not sleeping can add to it. A wind-down routine, writing worries down earlier and getting up if you cannot sleep can help break the pattern.

How do I stop overthinking in bed?

Try writing your thoughts or a to-do list down before bed, use a slow-breathing exercise and gently bring your attention back each time your mind drifts. If you are still awake after about 20 minutes, get up and do something calm until you feel sleepy rather than lying there trying harder.

Should I take sleeping pills if anxiety keeps me awake?

The NHS says GPs rarely prescribe sleeping pills, and only for a short time, because they can cause side effects and dependence. Changing sleep habits and CBT for insomnia are usually tried first. Speak to a GP or pharmacist before using any sleep aid, and ask about help for the anxiety itself.

Sources & further reading

Sources checked · clinical & translation review pending. Prepared with AI assistance for MedMilo; independent clinical and medical translation review has not happened yet. General education, not individual care. Corrections: medmilomed@gmail.com. Please do not email health records.

General education to discuss with your care team; it does not replace a plan agreed with them.