
Anxiety and Sleep: Why Anxiety Causes Insomnia and How to Sleep Better
Anxiety and sleep problems are closely connected. Many people with anxiety feel exhausted during the day but wide awake at night. The body feels tired, but the mind keeps racing. This can lead to difficulty falling asleep, waking during the night, panic feelings before bed, early morning waking, and poor concentration the next day.
Anxiety can make sleep harder because it keeps the nervous system alert. Poor sleep can then make anxiety worse because the brain has less time to recover. Over time, this can become a cycle: anxiety stops sleep, and poor sleep increases anxiety.
This guide explains anxiety and sleep problems in a realistic UK-focused way, including symptoms, causes, night anxiety, panic attacks, insomnia, sleep deprivation, treatment options, sleep hygiene, and when to seek medical advice.
What Are Anxiety and Sleep Problems?
Anxiety and sleep problems happen when worry, fear, stress, panic, or nervous system overactivity affects sleep quality. A person may feel physically tired but mentally unable to switch off.
Common anxiety-related sleep problems include:
Difficulty falling asleep
Racing thoughts at night
Waking several times
Waking with panic symptoms
Feeling tired but wired
Worrying about not sleeping
Early morning waking
Restless sleep
Nightmares
Daytime exhaustion
Anxiety and sleep problems are not just about poor bedtime habits. They can be linked with stress, depression, panic attacks, trauma, caffeine, alcohol, pain, sleep apnoea, or long-term mental health pressure.
Anxiety and Sleep Problems at a Glance
| Topic | What Happens | Why It Matters |
|---|---|---|
| Anxiety | Keeps the brain alert | Falling asleep becomes harder |
| Poor sleep | Reduces emotional recovery | Anxiety may feel stronger next day |
| Night anxiety | Worry becomes louder at bedtime | Sleep becomes linked with fear |
| Panic attacks | Can wake someone suddenly | Sleep may feel unsafe |
| Insomnia | Repeated difficulty sleeping | Daily function and mood can suffer |
| Sleep deprivation | Affects focus, memory, and mood | Work, driving, and relationships can be affected |
| Best support | Treat anxiety and sleep together | One-sided treatment may not be enough |
How Anxiety Affects Sleep
Anxiety affects sleep by keeping the body in a state of alertness. The brain may act as if there is danger, even when the person is safe in bed.
This may cause:
Fast heartbeat
Muscle tension
Shallow breathing
Restlessness
Overthinking
Worry loops
Checking the clock
Fear of tomorrow
Fear of not sleeping
Sensitivity to sounds or body sensations
When anxiety is high, the brain may struggle to move into a relaxed sleep state. This is why someone can feel exhausted but still unable to sleep.
Symptoms of Anxiety and Sleep Problems
Anxiety and sleep problems can affect the body, mind, mood, and daily routine.
Common symptoms include:
Difficulty falling asleep
Waking repeatedly
Waking too early
Racing thoughts
Panic feelings at night
Chest tightness
Muscle tension
Sweating
Restlessness
Nightmares
Brain fog
Poor concentration
Irritability
Low mood
Daytime tiredness
Feeling detached or unreal
Fear of going to bed
If symptoms continue for weeks or months, the problem should be reviewed rather than ignored.
Anxiety Sleep Symptoms vs Insomnia Symptoms
| Symptom Type | Anxiety Sleep Problems | General Insomnia |
|---|---|---|
| Main trigger | Worry, fear, stress, panic | Many possible causes |
| Bedtime feeling | Tired but alert | Unable to sleep or stay asleep |
| Thoughts | Racing, worrying, “what if” thinking | May or may not involve worry |
| Body symptoms | Tension, fast heartbeat, restlessness | Tiredness, frustration, wakefulness |
| Night waking | May wake with anxiety or panic | May wake without clear anxiety |
| Morning effect | Tired, wired, anxious | Tired, low energy, poor focus |
| Best approach | Anxiety support plus sleep routine | Cause-based insomnia support |
Why Anxiety Gets Worse at Night
Anxiety often feels worse at night because there are fewer distractions. During the day, work, family, phone use, and daily tasks may keep the mind busy. At night, the brain has more space to focus on worries.
Night anxiety may be triggered by:
Quiet surroundings
Fear of not sleeping
Stress about tomorrow
Unfinished tasks
Health worries
Relationship stress
Financial worries
Trauma memories
Panic symptoms
Caffeine or alcohol
Poor sleep routine
For a deeper guide, read: Why Does My Anxiety Increase at Night?
Racing Thoughts at Night
Racing thoughts at night are one of the most common anxiety and sleep problems. The mind may jump from one worry to another, even when the person wants to sleep.
Racing thoughts may include:
“What if I cannot sleep?”
“What if tomorrow goes badly?”
“What if I made a mistake?”
“What if something is wrong with my health?”
“Why do I always feel like this?”
“How will I cope tomorrow?”
The more someone tries to force sleep, the more alert the brain may become. A better approach is to reduce pressure and create a calming routine.
Anxiety and Panic Attacks at Night
Panic attacks can happen at night or during sleep. They may wake someone suddenly and feel frightening.
Night panic symptoms may include:
Racing heart
Chest tightness
Sweating
Shaking
Shortness of breath
Dizziness
Feeling unreal
Fear of dying
Fear of losing control
Needing to sit up or walk around
If panic attacks are affecting sleep, read: What Is Panic Attacks?
New or severe chest pain, fainting, severe breathlessness, or unusual symptoms should be medically reviewed.
What Causes Anxiety and Sleep Problems?
Anxiety and sleep problems can have more than one cause. Sometimes the trigger is obvious. Other times, the sleep problem builds slowly over time.
Common causes include:
Stress
Generalised anxiety
Panic disorder
Depression
PTSD or CPTSD
Health anxiety
Work pressure
Relationship problems
Financial worries
Caffeine
Alcohol
Nicotine
Poor sleep routine
Late-night screen use
Chronic pain
Sleep apnoea
Some medicines
Grief or trauma
The cause matters because sleeping tablets alone may not fix anxiety-related insomnia.
Stress, Cortisol and Sleep
Stress can keep the body alert. When stress is high, the nervous system may stay active at night. This can make it hard to relax, even when the body needs sleep.
Stress-related sleep problems may include:
Tight muscles
Jaw clenching
Headaches
Restless sleep
Overthinking
Waking during the night
Feeling tired but alert
Worrying before bed
A regular wind-down routine can help signal safety to the body.
Anxiety, Depression and Sleep
Anxiety and depression can both affect sleep, but they may do it in different ways.
| Area | Anxiety and Sleep | Depression and Sleep |
|---|---|---|
| Common sleep issue | Difficulty falling asleep | Early waking, insomnia, or oversleeping |
| Night-time thoughts | “What if something goes wrong?” | “Nothing will improve.” |
| Body feeling | Tense, restless, alert | Heavy, tired, low energy |
| Morning feeling | Wired and tired | Exhausted and low |
| Common overlap | Poor concentration and fatigue | Poor concentration and fatigue |
| Support needed | Anxiety treatment and sleep routine | Depression support and routine |
If low mood is part of the sleep problem, read: What Is Depression?
Anxiety, Trauma and Sleep Problems
Trauma can make the body feel unsafe at night. People with PTSD, CPTSD, or dissociation may struggle with nightmares, hypervigilance, panic, flashbacks, or fear of sleeping.
Trauma-related sleep symptoms may include:
Waking suddenly
Nightmares
Fear of darkness
Feeling unsafe in bed
Being easily startled
Restless sleep
Flashbacks at night
Dissociation
Avoiding sleep
For trauma support, read: CPTSD: Symptoms, Causes, Treatment and Recovery Guide UK and Dissociation: Symptoms, Causes, Treatment and Mental Health Support Guide UK
Sleep Deprivation and Anxiety
Poor sleep can make anxiety worse the next day. When the brain is tired, it can become more sensitive to stress, fear, and negative thoughts.
Sleep deprivation may cause:
More worry
Irritability
Brain fog
Poor memory
Poor concentration
Low patience
Emotional sensitivity
Low motivation
More panic symptoms
Feeling detached or unreal
Daytime tiredness
This is why anxiety and sleep problems should be treated together.
Anxiety and Sleep Problems Symptom Groups
| Symptom Group | Examples | Possible Meaning |
|---|---|---|
| Mental symptoms | Racing thoughts, worry loops, fear of not sleeping | Anxiety is keeping the brain alert |
| Physical symptoms | Fast heartbeat, sweating, chest tightness, tension | Nervous system activation |
| Sleep symptoms | Insomnia, waking, early waking, nightmares | Sleep cycle disruption |
| Daytime symptoms | Brain fog, tiredness, irritability | Poor sleep recovery |
| Panic symptoms | Sudden fear, dizziness, breathlessness | Panic attacks or night panic |
| Mood symptoms | Low mood, hopelessness, loss of interest | Depression may also be present |
| Trauma symptoms | Flashbacks, hypervigilance, fear of sleep | PTSD or CPTSD may need support |
Sleep Hygiene for Anxiety
Sleep hygiene means building habits that help the body and brain prepare for sleep.
Helpful sleep hygiene steps include:
Wake up at the same time most days
Get morning daylight
Reduce caffeine after lunch
Avoid alcohol close to bedtime
Keep the bedroom dark and cool
Reduce screen use before bed
Create a calm wind-down routine
Avoid long daytime naps
Keep the bed mainly for sleep
Avoid checking the clock repeatedly
Write down worries before bed
Use gentle breathing exercises
Sleep hygiene can help, but it may not be enough if anxiety, trauma, depression, or panic attacks are severe.
What To Do When Anxiety Keeps You Awake
If anxiety keeps you awake, try to reduce pressure rather than force sleep.
A simple routine:
Dim the lights
Put your phone away
Write down worries or tomorrow’s tasks
Relax your shoulders and jaw
Breathe out slowly
Remind yourself that resting still helps
Avoid checking the clock
Use calm reading or audio if needed
Get up briefly if awake for a long time
Return to bed when sleepy
If this happens most nights, professional support may be needed.
Treatment Options for Anxiety and Sleep Problems
Treatment depends on the cause and severity.
| Treatment Option | Helps With | Important Note |
|---|---|---|
| Sleep hygiene | Mild sleep routine problems | Works best with consistency |
| CBT-I | Long-term insomnia | Strong non-medicine option |
| CBT | Anxiety, worry, panic thoughts | Can reduce night-time overthinking |
| Talking therapy | Stress, emotional pressure, trauma | Helpful when anxiety has deeper causes |
| Trauma therapy | PTSD, CPTSD, nightmares, hypervigilance | Should be paced safely |
| Medication review | Medicine-related insomnia | Pharmacist or GP can help |
| Sleep apnoea assessment | Snoring, gasping, daytime sleepiness | Important before sedating medicines |
| Short-term sleep medication | Severe short-term insomnia | Needs careful medical suitability |
Supplements for Anxiety and Sleep
Some people use supplements such as magnesium, melatonin, L-theanine, valerian, or herbal sleep products. These may help some people, but they are not suitable for everyone.
Important points:
Natural does not always mean safe
Supplements can interact with medicines
Melatonin is not suitable for everyone
Herbal products can still cause drowsiness
Pregnancy, breastfeeding, liver problems, and other medicines need caution
A pharmacist can help check suitability
Avoid making supplements sound like guaranteed treatments. They should be discussed as optional support, not a cure.
Medication and Anxiety-Related Sleep Problems
Medication may be considered in some cases, but it should not be the only answer. If anxiety is causing sleep problems, the anxiety itself needs support.
Some medicines can cause drowsiness or help short-term sleep, but they may also carry risks such as:
Next-day tiredness
Dizziness
Confusion
Memory problems
Tolerance
Dependence
Withdrawal symptoms
Alcohol interactions
Breathing risk in vulnerable people
For broader safety information, read: Sleeping Pills and Their Side Effects in the UK and Sleeping Pills UK: Best Insomnia Treatment and Sleep Medication Guide
Use this page as a mental-health support guide, not a product-selling page.
When Sleeping Pills May Not Be the Right Answer
Sleeping pills may not be suitable if the real problem is untreated anxiety, depression, trauma, alcohol use, sleep apnoea, or long-term insomnia.
Get medical advice if you have:
Loud snoring
Waking up gasping
Severe daytime sleepiness
Long-term insomnia
Alcohol use to sleep
Dependence on sleep medication
Severe depression
Thoughts of self-harm
Panic attacks at night
Confusion or memory problems
Breathing problems
Pregnancy or breastfeeding
Opioid or sedative medicine use
If sleep apnoea symptoms are present, read: Sleep Apnea and Sleep Paralysis
Long-Term Plan for Anxiety and Better Sleep
A long-term plan should treat both anxiety and sleep.
A realistic plan may include:
Regular wake-up time
Morning daylight
Daily movement
Reduced caffeine
Less alcohol
Less screen use before bed
Worry journaling
Breathing exercises
CBT or talking therapy
CBT-I for insomnia
Panic support where needed
Depression support where needed
Trauma support where needed
Medical review if symptoms continue
Small, repeatable changes are better than trying to fix everything in one night.
When Should You Seek Medical Advice?
Speak with a GP, pharmacist, therapist, or NHS 111 if:
Anxiety and sleep problems last for weeks
Insomnia affects daily life
You feel tired all the time
Panic attacks happen at night
You feel low or hopeless
You feel unsafe
You wake up gasping or choking
You snore loudly and feel tired in the day
You use alcohol to sleep
You feel dependent on sleeping pills
You cannot function at work or study
You are unsure whether medicine is safe
Seek urgent help now if you have thoughts of self-harm, feel unable to stay safe, are severely confused, have overdose symptoms, or may harm yourself or someone else.
Frequently Asked Questions
Can anxiety cause sleep problems?
Yes. Anxiety can cause racing thoughts, muscle tension, panic feelings, restlessness, and fear of not sleeping, which can make it hard to fall asleep or stay asleep.
Why does anxiety get worse at night?
Anxiety can feel worse at night because there are fewer distractions, the body is tired, and the mind has more space to focus on worries.
Can poor sleep make anxiety worse?
Yes. Poor sleep can make the nervous system more sensitive and may increase worry, irritability, panic symptoms, and emotional stress the next day.
What are common anxiety sleep symptoms?
Common symptoms include racing thoughts, difficulty falling asleep, night waking, chest tightness, restlessness, panic feelings, brain fog, irritability, and daytime tiredness.
How can I sleep when anxiety keeps me awake?
Try a calm wind-down routine, reduce screens, write down worries, breathe out slowly, avoid checking the clock, and return to bed when sleepy.
Are panic attacks at night linked with anxiety?
Yes. Panic attacks can happen at night and may cause racing heart, sweating, chest tightness, dizziness, breathlessness, fear, and sudden waking.
Can depression also affect sleep?
Yes. Depression can cause insomnia, early waking, oversleeping, low energy, poor motivation, and tiredness after sleep.
Are sleeping pills the best treatment for anxiety and sleep problems?
Not always. Sleeping pills may help short-term insomnia in selected cases, but anxiety, depression, panic, trauma, alcohol use, or sleep apnoea should also be reviewed.
What is the best long-term treatment for anxiety insomnia?
CBT-I, CBT, talking therapy, sleep routine changes, anxiety treatment, reduced caffeine and alcohol, and medical review may all help depending on the cause.
When should anxiety and sleep problems need urgent help?
Urgent help is needed if there are thoughts of self-harm, feeling unable to stay safe, overdose symptoms, severe confusion, or risk of harm to yourself or someone else.
Conclusion
Anxiety and sleep problems are deeply connected. Anxiety can keep the brain and body alert at night, causing racing thoughts, insomnia, night waking, panic symptoms, and daytime exhaustion. Poor sleep can then make anxiety stronger the next day.
The safest approach is to treat both anxiety and sleep together. This may include sleep hygiene, CBT-I, anxiety treatment, talking therapy, panic support, trauma support, reduced caffeine and alcohol, and medical review when symptoms continue. Sleep medication may help short-term insomnia in selected cases, but it should not replace proper support for anxiety and mental health.




