Sleep

Why Sleep and Mental Health Are Connected

Poor sleep and mental health problems often go hand in hand. Learn how sleep affects mood and anxiety, and what helps break the cycle.

A two-way relationship

Sleep and mental health affect each other. A few nights of poor sleep can leave you more irritable, anxious and less able to cope with everyday stress. At the same time, conditions such as anxiety, depression, bipolar disorder and PTSD commonly disrupt sleep. Because the influence runs in both directions, a problem in one area can quietly feed the other — which is why treating sleep is now seen as an important part of mental health care, not just an add-on.

This guide explains what is known about how sleep and mental health interact, how sleep problems show up in specific conditions, what helps and when to seek support.

What happens when we sleep

Sleep is not a passive state. Over a night the brain cycles through lighter sleep, deep slow-wave sleep and REM (dream) sleep. Deep sleep supports physical recovery, while REM sleep appears to be involved in processing emotions and consolidating memories. When sleep is short or broken, the brain’s emotional centers become more reactive and the regions that help us regulate emotion and think flexibly work less well. Most adults need around seven to nine hours, although needs vary.

Sleep and anxiety

Anxiety can make it hard to switch off at night. Lying awake then becomes a source of worry itself — “I’ll never sleep, and tomorrow will be awful” — which makes sleep harder still. Common patterns include racing thoughts at bedtime, waking at 3 a.m. with a sense of dread, and checking the clock repeatedly. Poor sleep also makes the brain more sensitive to potential threats the following day, which can raise baseline anxiety. See why am I anxious for no reason for other hidden triggers.

Sleep and depression

Insomnia is one of the most common symptoms of depression, and early-morning waking is a classic pattern, though some people sleep much more than usual (hypersomnia). Research also suggests that people with persistent insomnia have a higher risk of developing depression later — an association, not proof of cause — and that treating insomnia can improve depression outcomes in some people. If low mood has lasted for weeks, see signs of depression.

Sleep and other conditions

  • Bipolar disorder: Changes in sleep can be an early warning sign of mood episodes in bipolar disorder. A markedly reduced need for sleep can accompany mania, and sleep regularity is a core part of management.
  • PTSD: Nightmares and hypervigilance disrupt sleep in PTSD.
  • ADHD: Sleep difficulties are also common with ADHD, including delayed body clocks and trouble winding down.
  • Substance use: Alcohol may help you fall asleep but fragments sleep later in the night, and stimulants and withdrawal can both disrupt it.
  • Sleep disorders: Conditions such as sleep apnea and restless legs syndrome can worsen mood and anxiety and need their own assessment. See sleep disorders.

Breaking the cycle

  • CBT for insomnia (CBT-I) is recommended as a first-line treatment for chronic insomnia and may also improve mood and anxiety. It typically includes sleep scheduling, stimulus control (using the bed only for sleep), relaxation techniques and tackling unhelpful beliefs about sleep. It is available face to face, online and through guided programs.
  • Consistent sleep and wake times help stabilize your body clock, including on weekends.
  • A wind-down routine — dimmer lights, no work, a warm shower, reading — signals that the day is ending.
  • A comfortable sleep environment: cool, dark, quiet and screen-free.
  • Limiting caffeine in the afternoon and evening, and being careful with alcohol and nicotine.
  • Daylight and activity during the day improve sleep at night, though intense exercise close to bedtime can be stimulating for some.
  • Getting out of bed if you’ve been awake for a long time, and returning when sleepy, so the bed doesn’t become linked with frustration.
  • Treating the underlying condition often improves sleep. If anxiety, depression or trauma symptoms are driving your nights, addressing them directly can help.
  • Medication may be used in some situations, usually short term and under medical supervision. See sleep medications for how they work and what to ask.

Our sleep guide has practical tips, and sleep disorders explains when to seek help.

When to seek help

Consider speaking to a doctor if trouble sleeping happens at least three nights a week for a month or more, if you feel unable to function during the day, if you snore loudly or stop breathing in your sleep, if you have persistent nightmares, or if sleep problems come with low mood, anxiety or thoughts of self-harm. For immediate support, see Get Help Now.

If poor sleep is tied to anxiety or low mood, treating both can help. Some online services, such as Lemonaid Health and Sesame, assess insomnia alongside depression and anxiety, though they do not prescribe controlled sleep medications such as zolpidem. Online therapy, including CBT-informed approaches, is available through services such as BetterHelp. Always check a clinician’s credentials and what their service can and can’t provide.

Key points

  • Sleep and mental health influence each other, so problems can reinforce one another.
  • Insomnia is a common symptom of depression and anxiety, and persistent insomnia can raise the risk of later depression.
  • CBT-I is the recommended first-line treatment for chronic insomnia and can help mood.
  • Regular routines, a good sleep environment and treating underlying conditions all help.

When to seek professional help

Consider talking with a doctor or licensed mental health professional if symptomslast for more than two weeks, keep coming back, or make it harder to manage work, school, relationships or daily tasks. You don’t need to wait until things feel severe — getting support early often makes things easier.

If you’re thinking about harming yourself or are in immediate danger, call your local emergency number. In the US, call or text 988 (Suicide & Crisis Lifeline).Crisis resources in other countries.

Explore care options

References

We rely on government health agencies, professional medical organizations, peer-reviewed research and academic institutions. Read our sourcing standards.

  1. Sleep Deprivation and Deficiency(opens in a new tab)

    National Heart, Lung, and Blood Institute (NHLBI)Government health agency

About this article

Written by

ExploreMentalHealth Editorial Team

Our editors research and write every article using government health agencies, professional medical organizations and peer-reviewed research, following our published editorial standards.

First published
September 19, 2026
Last updated
September 24, 2026
Last medically reviewed
Review pending