
Anxiety at Night: Why Worry Peaks at Bedtime
Why worry feels loudest in bed, how an anxious night differs from an anxiety disorder, and CBT-informed tools that calm the mind so sleep can come.
Stress, mood & sleepInsomnia & sleep problems
Poor sleep and low mood tend to arrive together, and each makes the other harder to shift. Here is what the evidence says about the loop between sleep and depression, and how to start loosening it.
Written by the Complete Sleep editorial team
Pending medical review
Published Updated 6 min read


Medical reviewer
Sleep Physician · Board-certified in Sleep Medicine
Pending medical review
In short
Poor sleep and depression drive each other. Insomnia roughly doubles the chance of developing depression later, and depression brings early-morning waking, unrefreshing sleep or oversleeping. Treating the sleep problem, especially with cognitive behavioral therapy for insomnia, measurably improves mood. Antidepressants can help or disturb sleep, and randomized trials show CPAP gives a modest mood benefit in sleep apnea. See a doctor if either has lasted over two weeks.
Key takeaways
Lying awake at 3am with a heavy, flat feeling, or sleeping ten hours and still waking exhausted, you may wonder which came first: the sleep problem or the low mood. Often the honest answer is both, and understanding the loop is the first step to loosening it.
Insomnia used to be treated as a side effect of depression that would clear up once the mood lifted. The research now points the other way too: a meta-analysis of 21 long-term studies found that people with insomnia, but no depression at the start, were about twice as likely to develop depression later than good sleepers.
Disturbed sleep, far too little or far too much, is also one of the symptoms doctors ask about when they assess depression, alongside fatigue and trouble concentrating.
Common patterns:
Cognitive behavioral therapy for insomnia (CBT-I) is a structured, short-term program that retrains the timing of sleep and the habits around it. It is the recommended first treatment for chronic insomnia (see our guide to insomnia and what actually helps), and it improves depression too. A meta-analysis of 49 randomized trials found that non-drug sleep treatments such as CBT-I produced a moderate reduction in depressive symptoms overall, and a large one in people who already had a mental health condition. The more sleep quality improved, the more mood improved.
CBT-I does not replace treatment for depression; the two are worked on side by side, and steadier nights make the days easier.
Three low-cost habits support both sleep and mood, and none requires feeling motivated first.
If evening worry keeps you awake, see our tips for managing stress before bedtime.
Antidepressants are not all alike when it comes to sleep, and one drug can affect two people differently. Difficulty sleeping is a recognized side effect; so is the opposite, feeling drowsy or very sleepy by day. Some people feel agitated, shaky or anxious in the early weeks, which makes settling at night harder. Weight gain is another side effect worth watching, since extra weight can worsen sleep apnea.
The dose, the time of day you take it and how long you have been on it all matter. If a new medication has upset your sleep, tell your prescriber rather than stopping on your own; a change of timing or drug may be enough.
Two changes should not wait for the next review. Speak to your doctor straight away about thoughts of harming yourself, or new or worsening agitation, in the first weeks of a new antidepressant or after a dose increase; this is uncommon, but people aged 24 or under are most at risk. Contact your prescriber promptly, too, if your need for sleep drops sharply while your mood, energy or thoughts run unusually high. That swing, called mania or hypomania, is one of the serious effects patients are asked to report, and it can mean the diagnosis needs rethinking.
Obstructive sleep apnea, in which the airway narrows repeatedly during sleep, produces symptoms that look like depression: heavy fatigue, poor memory and concentration, irritability and a night that never feels restorative. Depression is common in people with apnea, and most who have it do not yet know.
Treating the apnea can help, though expect a real effect rather than a dramatic one. A meta-analysis of randomized trials found CPAP improved depressive symptoms compared with a sham device: a small average improvement in people who were not depressed to begin with, and a much larger one in the two trials of people who did have significant depressive symptoms at the start. Oral appliances that hold the jaw forward helped a little too. Neither has been tested against standard depression treatment, so treating apnea sits alongside it, not instead of it.
Not every case of depression is hidden apnea. But if you snore, wake unrefreshed, feel sleepy by day or have been told you stop breathing at night, ask about it. Our STOP-Bang self-check takes a minute, and this guide to sleep apnea explains what testing involves.
Talk with a doctor if low mood, loss of interest or sleep problems have lasted more than two weeks, are affecting your work or relationships, or are getting worse. Be specific about your sleep: when you fall asleep, when you wake, whether you snore, how the mornings feel. That helps them choose the next step, be it treatment for depression, CBT-I, a sleep study or a medication review.
Help usually looks less dramatic than people fear: CBT-I with a therapist or app, talking therapy, an antidepressant, a home sleep test, or a rethink of a prescription that is disrupting your nights.
If you are having thoughts of harming yourself, do not wait for an appointment. Call your local emergency number, or a crisis line such as 988 in the United States and Canada or 116 123 (Samaritans) in the UK and Ireland.
Poor sleep and depression feed each other: insomnia roughly doubles the risk of later depression, and depression disrupts sleep in return. Treating the sleep problem, particularly with CBT-I, measurably improves mood. Antidepressants can help or hinder sleep, and agitation, thoughts of self-harm or an unusual high after starting one should go straight to your prescriber. Fatigue with low mood is a reason to check for sleep apnea, where treatment brings a modest but real mood benefit. If either has lasted more than a couple of weeks, talk with your doctor.
It can raise the risk. A meta-analysis of 21 long-term studies found that people with insomnia who were not depressed at the start were about twice as likely to develop depression later than people who slept well. Insomnia is a risk factor as well as a symptom.
Early-morning and middle-of-the-night waking are among the most common sleep patterns in depression. It is worth mentioning to your doctor, because the sleep problem can be treated directly with CBT-I rather than left to clear up on its own.
Yes. A meta-analysis of 49 randomized trials found that non-drug sleep treatments such as CBT-I produced a moderate reduction in depressive symptoms, and a large one in people with an existing mental health condition. It works alongside, not instead of, treatment for depression.
Possibly, if you also snore, wake unrefreshed or feel sleepy in the day. Depressive symptoms are common in untreated sleep apnea, and randomized trials show CPAP improves them: modestly on average, and more clearly in people whose depressive symptoms were significant to begin with. That makes it reasonable to ask your doctor about a sleep test, though apnea treatment is not a substitute for depression treatment.
Related reading
Two-minute check
Wondering about snoring or daytime sleepiness? STOP-Bang is scored in your browser.
Take the self-check
Why worry feels loudest in bed, how an anxious night differs from an anxiety disorder, and CBT-informed tools that calm the mind so sleep can come.

A racing mind at bedtime is common and manageable. Ten practical ways to lower arousal in the evening, what the evidence says about each, and how to tell stress from anxiety that needs care.