Sleep and depression are tightly linked in both directions. Treating sleep is one of the most reliable ways to treat depression, and treating depression usually improves sleep.
About 75 percent of people in a depressive episode have insomnia. About 15 percent sleep too much (hypersomnia). Persistent insomnia after an episode is one of the strongest predictors of relapse. The relationship runs both ways: poor sleep raises the risk of a future depressive episode roughly twofold (Baglioni, J Affect Disord 2011).
How sleep changes during depression
The classic depressive sleep pattern includes:
- Difficulty falling asleep, often with rumination at bedtime.
- Frequent awakenings during the night.
- Early morning awakening, often two to three hours before the planned wake time, with inability to return to sleep. This is one of the most specific features of melancholic depression.
- Unrefreshing sleep, with morning fatigue regardless of total time in bed.
- Hypersomnia in a minority, particularly in atypical depression, seasonal depression, and bipolar depression.
Sleep architecture also changes. Shortened REM latency (going into REM faster after falling asleep), increased REM density, and reduced slow-wave sleep are documented findings in sleep studies of depressed patients. These features sometimes persist after remission and may be markers of risk for recurrence.
Why insomnia matters for treatment
Insomnia is not just a symptom of depression. It is also an active driver of it. Patients with depression who continue to have insomnia after their mood improves have higher relapse rates. Patients whose insomnia is treated alongside depression have better outcomes than those whose insomnia is left to "resolve on its own."
The 2017 TRIAD trial (Manber et al., Sleep) randomized patients with depression and insomnia to antidepressant plus CBT for insomnia (CBT-I) versus antidepressant plus a control sleep intervention. The CBT-I group had higher remission of depression at 12 weeks. The implication: treat the sleep, not just the mood.
CBT for insomnia (CBT-I)
CBT-I is the first-line treatment for chronic insomnia and has the strongest evidence for sleep in depressed patients. It is structured, time-limited (typically 4 to 8 sessions), and works in person, by telehealth, or through evidence-based digital programs. The core components:
- Sleep restriction. Compress time in bed to closely match actual sleep, then gradually extend it as efficiency improves. Counterintuitive but the most active ingredient.
- Stimulus control. The bed is for sleep and intimacy only. Get out of bed if not asleep within 20 minutes. Return when sleepy.
- Sleep hygiene. Caffeine cutoff, alcohol limits, light exposure in the morning, dim light in the evening, consistent wake time.
- Cognitive work. Address catastrophic thinking about sleep ("if I do not sleep tonight, tomorrow is ruined").
- Relaxation techniques. Optional but useful for people with high physiological arousal at bedtime.
Free and low-cost digital CBT-I programs (CBT-i Coach, Sleepio, Somryst) have evidence and are widely available. The VA app CBT-i Coach is free.
Medication choices when sleep is the dominant problem
If medication is being considered for depression and insomnia is dominant, several patterns help.
- Mirtazapine at 15 to 30 mg at bedtime is sedating, increases appetite, and treats both depression and insomnia. Often a good choice for older adults with weight loss.
- Trazodone at 25 to 100 mg at bedtime is widely used for sleep, often added to an SSRI rather than used as a sole antidepressant.
- Doxepin at low doses (3 to 6 mg) is FDA approved for sleep maintenance. Higher doses are sedating but bring anticholinergic side effects.
- SSRIs can be activating (especially fluoxetine, sertraline) and worsen insomnia in the first weeks. Taking the dose in the morning helps.
- Benzodiazepines and Z-drugs (zolpidem, eszopiclone) are not first-line for chronic insomnia in depression. They work in the short term and lose effectiveness, can cause rebound insomnia, and carry tolerance and dependence risk.
- Newer agents (suvorexant, lemborexant, daridorexant) target the orexin system and have evidence for chronic insomnia with a different side-effect profile.
Hypersomnia
Sleeping too much (more than 9 to 10 hours per day) is more common in atypical depression, seasonal depression, and bipolar depression. Treatment patterns differ from insomnia.
- Activating antidepressants (bupropion, fluoxetine) often help.
- Light therapy in the morning can reduce hypersomnia, particularly in seasonal patterns.
- Bipolar depression with hypersomnia needs evaluation by a psychiatrist before starting an antidepressant alone, which can destabilize bipolar disorder.
- Sleep apnea needs to be ruled out, especially in patients with snoring, witnessed pauses in breathing, or daytime sleepiness despite long sleep times.
Sleep apnea and depression
Untreated obstructive sleep apnea is a common, underdiagnosed contributor to depression that does not respond to standard treatment. The overlap is significant: roughly a third of patients with sleep apnea have depression, and a meaningful share of patients with treatment-resistant depression have undiagnosed sleep apnea.
Worth a sleep evaluation if any of the following are present: loud snoring, witnessed apneas or gasping, daytime sleepiness despite adequate time in bed, morning headaches, treatment-resistant depression, fatigue out of proportion to other symptoms, hypertension that is hard to control, or a body mass index above 30.
A practical starting plan
If sleep is one of the dominant symptoms in a depressive episode, a reasonable starting plan looks like this:
- Set a consistent wake time, seven days a week. The wake time anchors the circadian rhythm.
- Get bright light within 30 minutes of waking. Outdoor light is best.
- Stop caffeine by early afternoon. Avoid alcohol within three hours of bed.
- Compress time in bed to roughly your actual sleep total for two weeks. Extend by 15 minutes at a time as efficiency improves.
- Use a CBT-I program (digital or in person) for at least four weeks before adding sleep medication.
- Talk to a clinician about a sleep evaluation if snoring, witnessed apneas, or persistent unrefreshing sleep are present.
If sleep does not improve with these steps within four to six weeks, or if depression severity makes them impossible to start, talking to a clinician about a combined plan is the next move.
Related
- Sleep changes in depression
- Fatigue and depression
- Depression treatment, explained
- Exercise for depression
- Depression in older adults
- Depression and alcohol
- Depression statistics in 2026
Frequently asked questions
Why does depression cause insomnia?
Will treating my insomnia help my depression?
What is the best sleep medication for depression with insomnia?
I sleep 12 hours a day during depression. Is that abnormal?
How do I know if my insomnia is from depression or from sleep apnea?
Can I take melatonin for depression-related insomnia?
Sources▸
- Baglioni C, et al. Insomnia as a predictor of depression: meta-analysis. J Affect Disord. 2011.
- Manber R, et al. CBT for insomnia in patients with major depressive disorder (TRIAD). Sleep. 2017.
- Riemann D, et al. European Sleep Research Society guideline for the diagnosis and treatment of insomnia. J Sleep Res. 2023.
- Wichniak A, et al. Effects of antidepressants on sleep. Curr Psychiatry Rep. 2017.
- Edinger JD, et al. AASM Clinical Practice Guideline for the behavioral and psychological treatment of chronic insomnia disorder in adults. J Clin Sleep Med. 2021.
Medically reviewed by Shariq Refai, MD, MBA. Last reviewed March 15, 2026.
