Sleep Anxiety: Causes, Symptoms, and How to Get to Sleep

our guide to sleep anxiety

Sleep anxiety is the fear or worry about falling asleep, staying asleep, or not getting enough sleep. It’s more than just the occasional restless night. It’s a pattern where the act of going to bed itself becomes a source of stress, which makes the problem worse.

The cycle works like this: you lie awake worrying about sleep, the worry activates your stress response, the stress response keeps you awake, and the next night your anxiety about sleeping is even higher because you know what happened last time. This bidirectional relationship between sleep and anxiety is well documented in the research, and it’s one of the reasons sleep anxiety can persist for months or years without intervention.

The good news is that it’s treatable. Here’s what the evidence says about what causes it, how to recognise it, and what actually works.

What Causes Sleep Anxiety?

Sleep anxiety typically has both a trigger and a maintenance mechanism. The trigger might be a period of stress, a life change, illness, shift work, or an underlying anxiety disorder. The maintenance mechanism is the cycle itself: once you associate your bed with wakefulness and worry, the association becomes self-reinforcing.

The Stress Response

When you feel anxious, your hypothalamic-pituitary-adrenal (HPA) axis activates, releasing cortisol and adrenaline. These hormones are designed to keep you alert and ready to respond to threats. They’re the opposite of what your body needs to fall asleep.

In a healthy sleep cycle, cortisol drops in the evening and melatonin rises. In someone with sleep anxiety, cortisol remains elevated at bedtime because the anticipation of not sleeping is itself perceived as a threat. Research from UC Berkeley found that sleep deprivation amplifies activity in the amygdala (the brain’s threat detection centre) by up to 60%, which further heightens anxiety the following night.

Sleep Deprivation and Anxiety: The Bidirectional Link

Research published in Sleep Medicine Reviews confirms that the relationship between anxiety and sleep problems runs in both directions. Anxiety disorders significantly increase the risk of insomnia, and chronic sleep deprivation increases the risk of developing anxiety disorders. A study in The Lancet Psychiatry found that improving sleep quality led to significant reductions in anxiety and paranoia, even when the anxiety was not directly treated.

This means that addressing sleep can improve anxiety, and addressing anxiety can improve sleep. Any effective treatment plan should target both sides of the cycle. It’s also worth noting that the gut plays a role in this feedback loop: around 90% of the body’s serotonin is produced in the gut, and disruptions to the gut microbiome are increasingly linked to both anxiety and poor sleep. For more on this connection, see our article on the gut-brain axis and how it affects mood and mental health.

Symptoms of Sleep Anxiety

Sleep anxiety can present differently from person to person, but the core pattern is consistent: escalating distress as bedtime approaches. Common symptoms include:

  • A sense of dread or nervousness as bedtime approaches
  • Racing thoughts or an inability to “switch off” when lying in bed
  • Physical tension: clenched jaw, tight shoulders, restless legs
  • Rapid heart rate or shallow breathing when trying to fall asleep
  • Repeatedly checking the time and calculating how much sleep you’ll get
  • Difficulty falling asleep (taking more than 30 minutes regularly)
  • Waking during the night and being unable to get back to sleep
  • Fatigue, irritability, and difficulty concentrating during the day

Anxiety Attacks During Sleep

Nocturnal panic attacks affect a significant proportion of people with anxiety disorders. You wake suddenly with intense fear, a racing heart, sweating, shortness of breath, and sometimes a sense of detachment from reality. Unlike nightmares, nocturnal panic attacks don’t occur during dream sleep (REM). They typically happen during the transition between light sleep stages.

The experience is frightening, and the fear of having another attack often becomes a new source of sleep anxiety, compounding the original problem. If you experience nocturnal panic attacks regularly, it’s worth discussing with your GP, as they may indicate an underlying anxiety disorder that benefits from targeted treatment.

How to Get to Sleep with Anxiety

There’s no single fix, but several approaches have strong evidence behind them. The most effective strategy usually combines two or more of the following.

Cognitive Behavioural Therapy for Insomnia (CBT-I)

CBT-I is considered the first-line treatment for chronic insomnia by the NHS, NICE, and the American Academy of Sleep Medicine. It’s more effective than sleeping pills in the long term and has no side effects.

CBT-I works by breaking the learned associations between your bed and wakefulness. Key techniques include sleep restriction (limiting time in bed to match actual sleep time, then gradually extending it), stimulus control (only using the bed for sleep), and cognitive restructuring (challenging the catastrophic thoughts about not sleeping).

Your GP can refer you for CBT-I, or you can access it through digital programmes. The NHS recommends Sleepstation as an evidence-based digital CBT-I provider.

Sleep Hygiene

Sleep hygiene alone rarely resolves sleep anxiety, but poor sleep hygiene can undermine everything else. The basics:

  • Keep a consistent wake time, even on weekends (this is more important than bedtime)
  • Avoid caffeine after midday. Caffeine has a half-life of 5 to 6 hours, meaning half of your afternoon coffee is still in your system at bedtime
  • Stop screens 60 minutes before bed. Blue light suppresses melatonin, and the content itself (news, social media) activates the stress response
  • Keep the bedroom cool (16 to 18°C is optimal), dark, and quiet
  • Don’t go to bed until you’re genuinely sleepy. Lying in bed awake reinforces the anxiety association
  • If you can’t sleep after 20 minutes, get up and do something low-stimulation in another room, then return when you feel sleepy

Breathing and Relaxation Techniques

Diaphragmatic breathing directly counteracts the stress response by activating the parasympathetic nervous system. A simple and well-researched technique is 4-7-8 breathing: inhale for 4 seconds, hold for 7, exhale slowly for 8. The extended exhale is the key, as it stimulates the vagus nerve and reduces heart rate.

Progressive muscle relaxation (tensing and releasing muscle groups from feet to head) is another evidence-backed technique that helps reduce the physical tension that accompanies sleep anxiety.

Which Magnesium Is Best for Sleep and Anxiety?

Magnesium is one of the most researched natural options for both sleep and anxiety, and the form you choose makes a significant difference to how well it works.

Magnesium supports sleep and anxiety through several mechanisms. It regulates GABA (gamma-aminobutyric acid) receptor activity, the same calming neurotransmitter system targeted by prescription sleep and anxiety medications. It suppresses cortisol, helping to lower the stress response in the evening. And it helps regulate melatonin production, supporting the body’s natural sleep-wake cycle.

A randomised controlled trial published in the Journal of Research in Medical Sciences found that magnesium supplementation significantly improved sleep onset time, sleep duration, and early morning waking in adults with insomnia. A systematic review in Nutrients found evidence that magnesium supplementation may improve mild-to-moderate anxiety.

But not all magnesium is the same. The form determines both how much you absorb and whether it has any calming effect beyond the magnesium itself.

Form Absorption Calming Effect GI Tolerance Best For
Glycinate High Strong (glycine supports GABA) Excellent Sleep, anxiety, daily use
Threonate High (crosses blood-brain barrier) Moderate Good Cognitive support
Citrate Moderate-High Minimal Fair (laxative at higher doses) General supplementation
Oxide Very low (~4%) None Poor Not recommended

Magnesium glycinate is the clear winner for sleep and anxiety. It’s chelated (bonded) to the amino acid glycine, which itself acts as an inhibitory neurotransmitter and independently supports GABA receptor activity. So you get the calming effects of magnesium plus the calming effects of glycine in one compound.

Buffered vs Unbuffered: Why It Matters

Most products labelled “magnesium glycinate” are actually buffered, meaning the glycinate is blended with cheaper magnesium oxide to inflate the elemental magnesium number on the label. A buffered capsule might show 100 to 120mg elemental magnesium, but a significant portion comes from the poorly absorbed oxide component.

Pure, unbuffered magnesium glycinate has a lower elemental figure per capsule (around 55mg) but delivers more usable magnesium to your system, and more glycine along with it.

Our Magnesium Glycinate is pure unbuffered glycinate: 500mg per capsule, 55mg elemental, no artificial fillers. Most people find 1 to 3 capsules in the evening effective for sleep support. For a detailed dosage and timing guide, see our post on magnesium glycinate for sleep. For more on the sleep evidence specifically, see our post on why magnesium may be better than melatonin for sleep.

Best Vitamins and Supplements for Sleep and Anxiety

Magnesium glycinate is the strongest evidence-backed option, but it’s not the only nutrient that matters. Here’s a summary of what the research supports:

Supplement How It Helps Strength of Evidence Notes
Magnesium glycinate Regulates GABA, lowers cortisol, supports melatonin Strong (multiple RCTs) Best form for sleep and anxiety specifically
Vitamin D3 Deficiency linked to poor sleep quality and mood disorders Moderate (observational + some RCTs) Most relevant Oct–March in the UK when UVB is insufficient
NAC Supports glutathione, reduces oxidative stress, may modulate glutamate Emerging (anxiety-specific trials ongoing) Relevant for stress-driven sleep anxiety
Valerian May increase GABA levels Mixed (some trials positive, others inconclusive) Considered safe short-term; effects are modest
Melatonin Supports sleep-wake cycle timing Moderate (best for jet lag and delayed sleep phase) Available OTC in the UK since 2021; less effective for anxiety-driven insomnia

Our Vitamin D3 + K2 includes zinc, which also plays a role in neurotransmitter regulation and sleep quality. Our NAC+ provides 600mg of N-acetyl cysteine per capsule for glutathione and stress-response support.

When to See Your GP

If sleep anxiety persists for more than four weeks, significantly affects your daily functioning, or is accompanied by symptoms of a broader anxiety disorder (persistent worry, avoidance behaviour, panic attacks during the day), speak to your GP. They can assess whether an underlying condition is contributing, refer you for CBT-I, or discuss other treatment options.

If you’re currently taking medication for anxiety or depression and experiencing sleep problems, don’t adjust your medication without medical advice. Some medications can affect sleep architecture, and your GP can help find the right balance.

FAQ

Q: What is sleep anxiety?
A: Sleep anxiety is the fear or worry about falling asleep or staying asleep. It creates a self-reinforcing cycle where the anticipation of poor sleep triggers a stress response that prevents sleep, which increases anxiety the next night. It can occur on its own or alongside generalised anxiety disorder, depression, or other mental health conditions.

Q: What are the symptoms of sleep anxiety?
A: Common symptoms include dread as bedtime approaches, racing thoughts in bed, physical tension (jaw clenching, tight shoulders), rapid heart rate, difficulty falling asleep, frequent waking, and daytime fatigue and irritability. Some people also experience nocturnal panic attacks.

Q: Can anxiety attacks happen during sleep?
A: Yes. Nocturnal panic attacks occur during light sleep stages (not during dreams) and cause sudden waking with intense fear, racing heart, sweating, and shortness of breath. They typically last a few minutes but the fear of recurrence often worsens sleep anxiety.

Q: Which magnesium is best for sleep and anxiety?
A: Magnesium glycinate is the best form for sleep and anxiety. It has high absorption, is gentle on the stomach, and the glycine component independently supports GABA receptor activity and has calming properties. Avoid magnesium oxide, which has very poor absorption (~4%) and no calming effects. Look for pure unbuffered glycinate rather than products that blend glycinate with cheaper forms.

Q: How do you get to sleep when you have anxiety?
A: The most effective approaches include CBT-I (cognitive behavioural therapy for insomnia), consistent sleep hygiene, breathing techniques like 4-7-8 breathing, and magnesium glycinate supplementation. Avoid lying in bed awake for more than 20 minutes. The most important long-term fix is breaking the association between your bed and wakefulness.

Q: Does sleep deprivation cause anxiety?
A: Yes. Research shows the relationship is bidirectional: anxiety disrupts sleep, and sleep deprivation increases anxiety. Brain imaging studies show that sleep deprivation amplifies amygdala reactivity by up to 60%, making you more sensitive to perceived threats. Improving sleep quality has been shown to reduce anxiety even when the anxiety itself is not directly treated.

Q: What are natural remedies for sleep anxiety?
A: Evidence-backed natural approaches include magnesium glycinate supplementation, CBT-I, diaphragmatic breathing, progressive muscle relaxation, maintaining consistent wake times, and avoiding caffeine after midday. Valerian and melatonin have some supporting evidence but are less effective specifically for anxiety-driven insomnia than magnesium and behavioural approaches.

References

  • Goldstein AN, Walker MP. (2014). The role of sleep in emotional brain function. Annual Review of Clinical Psychology, 10, 679-708.
  • Freeman D, et al. (2017). The effects of improving sleep on mental health (OASIS): a randomised controlled trial with mediation analysis. The Lancet Psychiatry, 4(10), 749-758.
  • Alvaro PK, Roberts RM, Harris JK. (2013). A Systematic Review Assessing Bidirectionality between Sleep Disturbances, Anxiety, and Depression. Sleep, 36(7), 1059-1068.
  • Abbasi B, et al. (2012). The effect of magnesium supplementation on primary insomnia in elderly. Journal of Research in Medical Sciences, 17(12), 1161-1169.
  • Boyle NB, Lawton C, Dye L. (2017). The Effects of Magnesium Supplementation on Subjective Anxiety and Stress: A Systematic Review. Nutrients, 9(5), 429.
  • Riemann D, et al. (2017). European guideline for the diagnosis and treatment of insomnia. Journal of Sleep Research, 26(6), 675-700.
  • NHS. Insomnia.
  • NICE. (2021). Chronic insomnia disorder: management (NG215).

This article is for informational purposes only and does not constitute medical advice. If you are experiencing persistent sleep problems or anxiety, consult your GP. If you need immediate mental health support, contact the Samaritans on 116 123 (free, 24/7) or your local crisis team.

More posts like this

NAC N-acetyl Cysteine Benefits (Photo: tim-mossholder-x6SW4ShgZWs-unsplash)

NAC Supplement: Benefits, Dosage, Side Effects and How It Works

Read more
restless legs syndrome

Our Guide To Restless Legs Syndrome

Read more
vitamin gummies benefits cons should you take epsilon life

Should You Take Gummy Vitamins? An Honest Look at the Evidence

Read more