Skip to content

If you may be in danger, call or text 988. Call 911 for emergencies.

More crisis resources

Topic

Depression and sleep

Shariq Refai, MD, MBA, board-certified psychiatrist and the reviewer of this article.

Reviewed by Shariq Refai, MD, MBA·Updated March 15, 2026·About 8 minutes

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:

  1. Set a consistent wake time, seven days a week. The wake time anchors the circadian rhythm.
  2. Get bright light within 30 minutes of waking. Outdoor light is best.
  3. Stop caffeine by early afternoon. Avoid alcohol within three hours of bed.
  4. Compress time in bed to roughly your actual sleep total for two weeks. Extend by 15 minutes at a time as efficiency improves.
  5. Use a CBT-I program (digital or in person) for at least four weeks before adding sleep medication.
  6. 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

Frequently asked questions

Why does depression cause insomnia?
The biology is complex and includes changes in stress hormones (cortisol), serotonin and norepinephrine signaling, and circadian rhythm regulation. Rumination and anxiety at bedtime add a behavioral layer. The relationship runs in both directions: insomnia raises the risk of a future depressive episode about twofold.
Will treating my insomnia help my depression?
Often yes. Patients whose insomnia is treated alongside depression have better outcomes than those whose insomnia is left to resolve on its own. CBT for insomnia has the strongest evidence in depressed patients.
What is the best sleep medication for depression with insomnia?
There is no universal best. Mirtazapine treats both depression and insomnia at bedtime doses. Trazodone is commonly added to an SSRI for sleep. Low-dose doxepin is FDA approved for sleep maintenance. Benzodiazepines and Z-drugs are not first-line for chronic insomnia in depression because of tolerance and dependence risk.
I sleep 12 hours a day during depression. Is that abnormal?
Hypersomnia is a recognized depressive symptom, more common in atypical depression, seasonal depression, and bipolar depression. Bring it up with a clinician because it changes the treatment plan: activating antidepressants and light therapy often help, and sleep apnea should be ruled out.
How do I know if my insomnia is from depression or from sleep apnea?
A clinician evaluation, often including a home or in-lab sleep study, is the standard answer. Suggestive features for sleep apnea include loud snoring, witnessed pauses in breathing, daytime sleepiness despite long time in bed, morning headaches, and depression that has not responded to standard treatment.
Can I take melatonin for depression-related insomnia?
Melatonin has modest effects for falling asleep and is most useful for circadian rhythm problems (jet lag, shift work, delayed sleep phase) rather than for the sleep maintenance problems typical of depression. Standard doses are 0.3 to 1 mg, much lower than the doses sold over the counter. CBT for insomnia and prescription options have stronger evidence in depression.
Sources

Medically reviewed by Shariq Refai, MD, MBA. Last reviewed March 15, 2026.

Every clinical page on DepressionResource.org is written in plain language, dated, and reviewed by a board-certified psychiatrist against current clinical guidelines. See our editorial standards and medical review process.