
Sleep and Depression: How They Feed Each Other
Sleep problems and depression feed each other. Learn the typical patterns, why CBT-I helps mood, how antidepressants affect sleep and when to get help.
Stress, mood & sleepInsomnia & sleep problems
You were fine all day. Then the light went off, and every unresolved thing you own turned up at once. That is not a coincidence: night removes most of what normally keeps worry in check, and there are specific ways to give some of it back.
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
Worry gets louder at night because nothing competes with it, tiredness weakens your ability to put it in proportion, and after enough bad nights the bed itself becomes a cue for alertness. What helps is lowering arousal rather than trying harder: scheduled worry time, writing thoughts down, getting up after about 20 minutes awake, slow breathing and no clock-watching. Persistent anxiety that affects your days is treatable.
Key takeaways
By day, worry has competition: work, conversations and errands push an anxious thought aside before it can settle. In bed, in the dark, nothing competes. The thought that was background noise at 2 pm is the only thing in the room at 2 am.
Tiredness makes this worse: the part of the mind that puts worries in proportion (“this can wait until morning”) works less well when you are exhausted, so night pairs the loudest worry with your weakest ability to answer it. None of this is a character flaw.
Several forces decide whether you fall asleep. The sleep drive is pressure that builds the longer you have been awake. The arousal system is the alerting network that keeps you watchful when something seems to need attention. Your body clock sets the window in which sleep is possible, which is why going to bed unusually early to get ahead of a bad night rarely works. Sleep comes when the drive is high, the clock is ready and arousal is low.
Anxiety turns arousal up. Racing thoughts, a faster heartbeat and tense muscles are signs your brain has decided there is something to guard against, and it will not let you sleep while it thinks so, which is why you can be bone-tired and wide awake.
After enough nights of lying awake and worrying, the bed itself starts to trigger alertness before a single worry has arrived. Sleep clinicians call this conditioned arousal. It is why many people drop off on the sofa but lie wide awake in bed, and it is what cognitive behavioural therapy for insomnia (CBT-I) is designed to undo.
Everyone has anxious nights (before an exam, after bad news) and they pass when the situation does. An anxiety disorder is different in three ways. The worry persists: for generalised anxiety disorder, most days for six months or more. It spreads beyond one situation to many. And it interferes with daily life: work, relationships, health. Sleep trouble is a recognised symptom, alongside restlessness, irritability and poor concentration.
Anxiety disorders respond well to talking therapy (most often cognitive behavioural therapy) and to medication, often combined. Treating the anxiety often helps sleep, but insomnia frequently persists on its own and responds to CBT-I in its own right, so the two are usually treated together.
Some people wake suddenly with a pounding heart, sweating, shortness of breath and a sense of dread. Panic attacks can happen at any time, including during sleep, and they can feel like a heart attack; the same symptoms can also come from other conditions, including heart problems. Get urgent medical help if it is the first time, if there is chest pain or pressure, if symptoms are not easing after 20 to 30 minutes, or if you have heart or lung disease. Panic disorder is diagnosed only once other causes are ruled out.
Once that is done, a panic attack is frightening but it passes. Repeated attacks with dread of the next one define panic disorder, which is treatable with CBT and, where needed, medication. If you wake gasping or choking, or someone has noticed pauses in your breathing, tell your doctor: sleep apnea can wake you in a similar way.
None of these forces sleep; they lower arousal and teach your brain that bed is where sleep happens (see also our tips for managing stress before bedtime).
Set aside 15–20 minutes in the late afternoon or early evening, not in bed, to go through what is on your mind and plan tomorrow. Worry that has already had its turn is easier to postpone at midnight.
If a thought arrives in bed anyway, put it on a paper notepad, not your phone. Writing it down tells your brain the item is stored and needs no rehearsing.
This is stimulus control, a core method of CBT-I. If you have been awake for what feels like 20 minutes (don’t check the clock), get up, do something quiet in dim light in another room until you feel sleepy, then go back. Repeat as needed, and get up at the same time every morning whatever the night was like. It feels counter-intuitive and some people take longer than others to learn it, but it works.
Slow breathing turns arousal down directly. Let the out-breath run longer than the in-breath, roughly four counts in and six out, for a few minutes. You are not trying to make yourself sleep, only calmer.
Turn the clock to the wall and keep the phone out of reach. Every glance at the time restarts the arithmetic; every glance at the phone gives your brain something new to guard.
Talk with a doctor if anxious nights have gone on for more than a few weeks, if you dread bedtime, if worry is spilling into your days, or if you are having panic attacks. Anxiety and the insomnia that grows around it are both treatable, usually together (our insomnia guide covers CBT-I in detail). If your thoughts at night turn towards harming yourself, please do not wait until morning: call or text 988 in the US and Canada, Samaritans on 116 123 in the UK, or your local crisis line.
Worry is loudest at night because nothing competes with it and tiredness blunts your reply. Anxiety keeps the arousal system on, and after enough bad nights the bed itself starts switching it on. The way out is lowering arousal rather than trying harder (worry time earlier, a notepad, slow breathing, getting up when awake) and, if the anxiety persists, treating it alongside the insomnia. A first or unusual night-time panic episode needs a medical check first.
At night there is nothing to distract you from a worry, and tiredness weakens your ability to put it in proportion. If you have spent many nights fretting in bed, the bed itself can also start to trigger alertness, so worry seems to arrive the moment you lie down.
Yes. If you have been awake for what feels like about 20 minutes, get up, do something quiet in dim light, and return when you feel sleepy. This is stimulus control, a core part of CBT-I, and it stops the bed becoming a cue for wakefulness.
Yes. Panic attacks can happen at any time, including during sleep, and the physical symptoms can feel like a heart attack. Because other conditions cause the same symptoms, get urgent medical help if it is the first time, if there is chest pain or pressure, if symptoms are not easing after 20 to 30 minutes, or if you have heart or lung disease; panic disorder is diagnosed only once other causes are ruled out. Repeated attacks with dread of the next one are treatable with CBT and, where needed, medication.
Occasional anxious nights pass with the situation. An anxiety disorder persists — for generalised anxiety disorder, most days for six months or more — spreads across situations, and interferes with daily life. Talk with a doctor if that describes you.
Related reading
Two-minute check
Wondering about snoring or daytime sleepiness? STOP-Bang is scored in your browser.
Take the self-check
Sleep problems and depression feed each other. Learn the typical patterns, why CBT-I helps mood, how antidepressants affect sleep and when to get help.

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.