Skip to content
MyFreud

Sleep and Mental Health: Why Rest Is Foundational

A 2026 guide to sleep and mental health: what disrupts sleep, how insomnia is treated, why CBT-I comes before medication, and how rest shapes your mood.

8 min read

Pop-art illustration of a woman lying asleep in bed.

Key takeaways

  • Adults need seven or more hours on a regular basis, per the 2015 consensus from the American Academy of Sleep Medicine and the Sleep Research Society. Most healthy sleepers run four to five cycles of roughly 90 minutes a night.
  • Insomnia disorder is difficulty sleeping at least three nights a week for three months or more, with daytime impairment. Morin and Jarrin put it at about 10 per cent of adults, and 40 per cent still met criteria five years later, so it rarely resolves on its own.
  • Sleep and mental health feed each other in both directions, which is why treating one side alone so often fails.
  • CBT-I is first-line, carrying the strongest recommendation from both the 2021 AASM guideline and the 2023 European Insomnia Guideline, and that holds whether or not another condition is present.
  • Melatonin has only modest evidence for primary insomnia. A regular wake time held on weekends is the single most powerful habit for circadian stability.

Sleep sits at the centre of emotional and psychological health, yet it is often treated as optional. Chronic insomnia (difficulty falling or staying asleep that causes daytime distress and impairment) affects roughly 10% of adults and is one of the strongest modifiable risk factors for depression and anxiety. The evidence is now clear: improving sleep is not simply a lifestyle upgrade; it is a meaningful route to better mental health. This guide covers what healthy sleep looks like, when disrupted sleep becomes a clinical condition, how sleep and mood feed each other, and what the evidence says about treatment from cognitive behavioural therapy to medication.

What healthy sleep looks like and what disrupts it

The American Academy of Sleep Medicine and the Sleep Research Society issued a joint consensus statement in 2015 (Watson and colleagues) recommending that adults sleep seven or more hours per night on a regular basis to support optimal health. [watson-2015-duration] Most healthy sleepers cycle through four to five sleep cycles of roughly 90 minutes each, alternating between non-REM stages (light and deep sleep) and REM sleep. Deep slow-wave sleep dominates the first half of the night and is critical for physical restoration and memory consolidation; REM sleep, more prominent in the second half, supports emotional processing.

Several factors fragment this architecture. Irregular schedules that shift sleep timing week to week suppress melatonin signalling and reduce sleep efficiency. Alcohol, often used as a sleep aid, suppresses REM sleep in the first half of the night and causes rebound wakefulness later. Screen light in the blue-light spectrum delays melatonin onset, and stimulants including caffeine block the adenosine build-up that drives sleep pressure. Psychological factors, particularly worry, hyperarousal, and chronic stress, are among the most potent disruptors, and they overlap directly with anxiety and depression. Morin and Jarrin (2022) estimated that around 20% of adults experience occasional insomnia symptoms, underscoring how common sleep disruption is even before it reaches a clinical threshold.

Insomnia: when poor sleep becomes a condition

Persistent difficulty initiating or maintaining sleep, or early-morning waking, becomes insomnia disorder when it occurs at least three nights per week for three or more months and causes meaningful daytime impairment: fatigue, concentration difficulties, mood disturbance, or reduced functioning. Morin and Jarrin (2022) estimated that approximately 10% of the adult population meets full diagnostic criteria for insomnia disorder, with a 40% persistence rate over five years, meaning it is rarely self-resolving without intervention. [morin-2022-epidemiology]

Several subtypes matter clinically. Sleep-onset insomnia, where the main difficulty is falling asleep, is often linked to cognitive hyperarousal and anxiety. Sleep-maintenance insomnia, involving frequent or prolonged waking during the night, is more associated with low mood and physiological arousal. Both can coexist, and both respond to the same first-line treatment, cognitive behavioural therapy for insomnia (CBT-I).

The 2023 European Insomnia Guideline by Riemann and colleagues also emphasises careful differential assessment, because several medical conditions, including sleep apnoea, restless legs syndrome, pain conditions, and thyroid disorders, can masquerade as or worsen insomnia. [riemann-2023-european] Identifying these comorbidities shapes treatment decisions.

How sleep and mental health feed each other

The relationship between sleep and mental health is bidirectional. Poor sleep raises the risk of developing mood and anxiety disorders; mood and anxiety disorders in turn disrupt sleep, completing a cycle that can be difficult to break without addressing both sides simultaneously.

Hertenstein and colleagues (2019) conducted a systematic review and meta-analysis of longitudinal studies and found that insomnia at baseline was associated with approximately 2.8 times the odds of developing depression (based on 10 studies) and roughly 3.2 times the odds of developing an anxiety disorder (based on 6 studies). [hertenstein-2019-predictor] These are substantial effect sizes, comparable in magnitude to many established risk factors for mental illness.

The mechanisms are multiple. Sleep deprivation amplifies emotional reactivity: the amygdala, the brain’s threat-detection centre, becomes hyperresponsive while the prefrontal cortex’s regulatory influence weakens. This leaves people more vulnerable to negative interpretations of everyday events. Disrupted slow-wave sleep impairs the overnight memory consolidation that normally helps process emotionally charged experiences.

Nguyen, Zainal, and Newman (2022) examined 3,294 community-dwelling adults across three time-points spanning 18 years and found that poor sleep quality functioned as a significant pathway linking generalised anxiety disorder and major depression in both directions. [nguyen-2022-bidirectional] Sleep quality explained approximately 41% of the prospective pathway from anxiety to depression severity, and approximately 11% of the reverse pathway. This study illustrates why treating sleep is not merely symptomatic: improving rest can interrupt the anxiety-depression cycle at a mechanistic level.

For people already living with depression or anxiety, disrupted sleep is one of the most consistent presenting complaints and also one of the most responsive to targeted treatment. Working on sleep alongside psychological therapy or medication, rather than treating it as a secondary concern, tends to produce better outcomes on both fronts.

Evidence-based treatments, from CBT-I to medication

Cognitive behavioural therapy for insomnia (CBT-I)

Both the American Academy of Sleep Medicine’s 2021 clinical practice guideline (Edinger and colleagues) and the 2023 European Insomnia Guideline (Riemann and colleagues) give CBT-I their strongest recommendation as first-line treatment for chronic insomnia in adults of any age. [edinger-2021-aasm] This recommendation holds regardless of whether insomnia is comorbid with another condition.

CBT-I is a structured programme, typically four to eight sessions, delivered by a trained therapist or increasingly via digital platforms. It combines several components: stimulus control (re-associating the bed with sleepiness rather than wakefulness), sleep restriction (temporarily reducing time in bed to consolidate and deepen sleep), cognitive restructuring (challenging unhelpful beliefs about sleep), and relaxation techniques. The sleep-restriction component is often the most counterintuitive: lying in bed for less time temporarily increases sleep pressure, but it produces reliable and durable improvements.

Trauer and colleagues (2015) conducted a systematic review and meta-analysis of 20 randomised controlled trials involving 1,162 participants. [trauer-2015-cbti] CBT-I produced clinically meaningful improvements across all key sleep outcomes: sleep onset latency improved by approximately 19 minutes, time awake after initial sleep onset improved by approximately 26 minutes, and sleep efficiency improved by approximately 10 percentage points. Crucially, gains were sustained at follow-up assessments, unlike the effects of most sleeping medications.

Melatonin

Melatonin is a hormone produced by the pineal gland that rises in the evening and helps to signal the onset of sleep. Supplemental melatonin is widely available and used for sleep problems, but evidence for primary insomnia is modest. Maruani and colleagues (2023) conducted a systematic review and meta-analysis of 22 studies involving nearly 5,000 participants and found that prolonged-release melatonin reduced subjective sleep onset latency by approximately 6 minutes and improved objective sleep efficiency by approximately 2 percentage points compared with placebo, small but statistically significant effects. [maruani-2023-melatonin] The 2017 AASM pharmacological guideline (Sateia and colleagues) explicitly recommends against melatonin for chronic insomnia disorder, while European guidance is more permissive, particularly for older adults. [sateia-2017-pharma]

Melatonin has a favourable safety profile and is appropriate for short-term use, circadian rhythm adjustments (such as jet lag and shift work), and in older adults whose endogenous melatonin production declines. Its role in primary chronic insomnia remains limited compared with CBT-I.

Prescription sleep medication

Several classes of medication are licensed for short-term insomnia. The 2017 AASM pharmacological guideline by Sateia and colleagues reviewed individual drugs. Z-drugs (zolpidem, eszopiclone, zaleplon) have the strongest evidence base for short-term efficacy. Doxepin at low doses is supported for sleep-maintenance insomnia. Suvorexant, an orexin receptor antagonist, was included in the 2017 guideline for sleep maintenance, and newer agents in the same class continue to be developed.

All sleep medications carry risks that limit long-term use. Z-drugs and benzodiazepines carry risks of tolerance, dependence, rebound insomnia on discontinuation, and, in older adults, fall risk and cognitive effects. For this reason, the AASM and European guidelines position pharmacotherapy as second-line, for use when CBT-I is unavailable, insufficient on its own, or needed as a temporary bridge. If medication has been used long-term, a gradual taper combined with CBT-I is the recommended approach.

Which part of the night is the problem?

Tick anything true of at least three nights a week. This is a reflection prompt rather than a test, and it produces no diagnosis.

0 of 6 ticked

Practical steps and when to seek help

Before sleep becomes a clinical problem, consistent sleep hygiene habits can protect its quality. The foundations are straightforward: keep a regular wake time even on weekends (the most powerful single habit for circadian stability), limit caffeine after mid-afternoon, keep the bedroom cool, dark, and quiet, and establish a winding-down routine in the hour before bed. A short body-scan or breathing practice can anchor that wind-down; our guide to what mindfulness actually is covers how to practise in minutes rather than hours. If a racing mind is what keeps you up, moving the worry onto paper earlier in the evening often stops it arriving at lights-out; our overview of journaling for mental health covers how to do that without it becoming homework. Physical activity improves sleep quality significantly, though vigorous exercise close to bedtime is best avoided.

If sleep problems persist for more than three to four weeks despite good habits, cause meaningful daytime impairment, or coincide with or worsen existing anxiety or depression, professional assessment is worth pursuing. A doctor or primary care provider can rule out treatable physical causes and refer to CBT-I therapy or a sleep specialist. Digital CBT-I programmes (apps and web-based platforms) now provide access to the same evidence-based treatment without long waiting times.

For those experiencing significant low mood or anxiety alongside sleep difficulties, addressing both simultaneously, whether through talking therapy, medication, or a combination, tends to be more effective than treating either condition in isolation. See the topics page for a full overview of mental health topics, or read about depression overview and anxiety hub for more on the conditions most closely linked with sleep disruption.

Recent research we have covered

Frequently asked questions

How much sleep do adults actually need?

The 2015 joint consensus statement from the American Academy of Sleep Medicine and the Sleep Research Society recommends that adults sleep seven or more hours per night on a regular basis for optimal health. Most adults function best between seven and nine hours, though there is genuine individual variation. Consistently sleeping fewer than seven hours is associated with impaired mood regulation, reduced immune function, and increased risk of chronic health conditions.

What is CBT-I and why is it first-line for insomnia?

Cognitive behavioural therapy for insomnia (CBT-I) is a structured short-term treatment that targets the thoughts and behaviours maintaining chronic insomnia. It typically involves four to eight sessions and combines stimulus control, sleep restriction, cognitive restructuring, and relaxation. It is recommended as first-line treatment by both the American Academy of Sleep Medicine and the European Sleep Research Society because randomised trials show durable benefits that outlast the treatment period, unlike most sleep medications. The 2015 meta-analysis by Trauer and colleagues found improvements in sleep onset latency of around 19 minutes and in sleep efficiency of around 10 percentage points.

Does melatonin work for insomnia?

For primary chronic insomnia, melatonin has modest evidence. The 2023 meta-analysis by Maruani and colleagues found prolonged-release melatonin reduced sleep onset by around six minutes compared with placebo, a small effect. Where melatonin is more clearly useful is for circadian-phase problems such as jet lag, delayed sleep phase, and in older adults with naturally reduced melatonin production. It has a good safety profile and is appropriate for short-term or situational use.

How are sleep and depression connected?

The connection is bidirectional. Insomnia is both a symptom and a risk factor for depression. Hertenstein and colleagues (2019) found that insomnia was associated with approximately 2.8 times the odds of later developing depression in longitudinal studies. The mechanisms include sleep deprivation amplifying amygdala reactivity, disrupting emotional memory consolidation, and elevating stress-hormone levels. Conversely, low mood increases arousal and rumination, making it harder to sleep. Treating sleep problems can meaningfully reduce depressive symptoms, and treating depression typically improves sleep, which is why addressing both together tends to produce the best outcomes.

When does poor sleep become a clinical problem?

Poor sleep crosses the threshold to insomnia disorder when difficulty falling or staying asleep occurs at least three nights per week for at least three months and causes meaningful daytime impairment such as fatigue, concentration problems, or mood disturbance. If sleep difficulties have been present for three or more weeks, consistently affect daily functioning, or overlap with symptoms of anxiety or depression, it is worth consulting a healthcare provider rather than waiting for the problem to resolve on its own.

Are sleeping pills safe for long-term use?

Most prescription sleep medications are not designed for long-term use. Z-drugs and benzodiazepines carry risks of tolerance (needing higher doses for the same effect), physical dependence, and rebound insomnia when stopped. In older adults, they are linked to increased fall risk and cognitive side effects. Newer medications such as the orexin receptor antagonists have a somewhat different profile, but long-term data are still accumulating. Both the AASM and European guidelines recommend pharmacotherapy as a shorter-term option, with CBT-I preferred for lasting improvement. If you have been using sleep medication for an extended period, a supervised taper alongside CBT-I is the recommended path.

References

  1. 1.Morin CM, Jarrin DC ( 2022). Epidemiology of Insomnia: Prevalence, Course, Risk Factors, and Public Health Burden. Sleep Medicine Clinics. pubmed.ncbi.nlm.nih.gov . doi:10.1016/j.jsmc.2022.03.003
  2. 2.Watson NF, Badr MS, Belenky G et al.; Consensus Conference Panel ( 2015). Recommended Amount of Sleep for a Healthy Adult: A Joint Consensus Statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep. pubmed.ncbi.nlm.nih.gov . doi:10.5665/sleep.4716
  3. 3.Riemann D, Espie CA, Altena E et al. ( 2023). The European Insomnia Guideline: An update on the diagnosis and treatment of insomnia 2023. Journal of Sleep Research. pubmed.ncbi.nlm.nih.gov . doi:10.1111/jsr.14035
  4. 4.Edinger JD, Arnedt JT, Bertisch SM et al. ( 2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. pmc.ncbi.nlm.nih.gov . doi:10.5664/jcsm.8986
  5. 5.Trauer JM, Qian MY, Doyle JS, Rajaratnam SMW, Cunnington D ( 2015). Cognitive Behavioral Therapy for Chronic Insomnia: A Systematic Review and Meta-analysis. Annals of Internal Medicine. pubmed.ncbi.nlm.nih.gov . doi:10.7326/M14-2841
  6. 6.Hertenstein E, Feige B, Gmeiner T et al. ( 2019). Insomnia as a predictor of mental disorders: A systematic review and meta-analysis. Sleep Medicine Reviews. pubmed.ncbi.nlm.nih.gov . doi:10.1016/j.smrv.2018.10.006
  7. 7.Nguyen VV, Zainal NH, Newman MG ( 2022). Why Sleep is Key: Poor Sleep Quality is a Mechanism for the Bidirectional Relationship between Major Depressive Disorder and Generalized Anxiety Disorder Across 18 Years. Journal of Anxiety Disorders. pmc.ncbi.nlm.nih.gov . doi:10.1016/j.janxdis.2022.102601
  8. 8.Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL ( 2017). Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline. Journal of Clinical Sleep Medicine. pmc.ncbi.nlm.nih.gov . doi:10.5664/jcsm.6470
  9. 9.Maruani J, Reynaud E, Frija-Masson J et al. ( 2023). Efficacy of melatonin and ramelteon for the acute and long-term management of insomnia disorder in adults: A systematic review and meta-analysis. Journal of Sleep Research. onlinelibrary.wiley.com . doi:10.1111/jsr.13939

Explore the sleep cluster

Latest research and news