It is 2 a.m. and your mind will not stop. You replay a conversation, run through tomorrow's to do list, and check the clock again. The next day you feel foggy, short tempered and more anxious than usual. Then that night, the worry about not sleeping keeps you awake. If this loop sounds familiar, you have felt how closely sleep and mental health are tied together. This post explains how sleep affects mental health, how anxiety and depression can disrupt sleep, and practical ways to calm racing thoughts at night.
This post is general information, not medical advice, a diagnosis or a treatment plan.
How does sleep affect mental health?
Sleep is not just rest for your body. It is also when your brain does important work. The U.S. National Heart, Lung, and Blood Institute (NHLBI) explains that sleep helps your brain get ready for the next day, including forming new pathways that help you learn and remember (see Sources).
When you do not get enough good sleep, your mind feels it. NHLBI notes that sleep deficiency can make it harder to make decisions, solve problems, control your emotions and behaviour, and cope with change. It has also been linked to depression, suicide and risk taking behaviour.
You may notice this in small ways after a poor night:
Small problems feel bigger.
You snap at people more easily.
It is harder to focus or remember things.
Worries feel louder and harder to shake.
You have less patience and less energy for things you enjoy.
Does better sleep lead to better mental health?
Researchers have long known that sleep problems and mental health problems often show up together. A key question is whether improving sleep can actually improve mental health.
A 2021 meta analysis looked at this directly (Scott and colleagues, see Sources). It pulled together 65 randomized controlled trials, with 72 interventions and more than 8,600 participants. In each trial, the intervention improved sleep quality. The researchers then looked at what happened to mental health.
They found that improving sleep led to:
A medium sized improvement in overall mental health.
Medium sized drops in depression, anxiety and rumination, which means getting stuck in repeated worried thoughts.
Small to medium drops in stress.
They also found a dose response pattern. The more sleep improved, the more mental health improved. The authors concluded that sleep appears to play a causal role in mental health difficulties.
In plain words: sleep is not only a symptom. Better sleep can be part of feeling better.
Anxiety and sleep
Anxiety and sleep often feed each other. When you are anxious, your body is on alert. Your heart may race and your muscles stay tense. It is hard to drift off when your system thinks it needs to stay ready.
Common patterns include:
Lying awake with racing thoughts at night.
Waking up in the early hours with a jolt of worry.
Dreading bedtime because you expect a bad night.
Checking the clock and doing math about how many hours are left.
Then, after a short night, you may feel more anxious the next day. And the loop continues.
Depression and sleep
Depression and sleep are closely tied too. Some people with depression sleep much less than usual. Others sleep much more and still wake up tired. Both can happen at different times.
Low mood can make it hard to keep a routine. You may stay in bed late, nap during the day or stay up scrolling because you do not want tomorrow to start. Over time, this can throw off your sleep even more, and poor sleep can make low mood harder to lift.
Ways to calm racing thoughts at night
These everyday habits can help many people. They are not a cure, but small changes can add up.
Set a wind down time. About an hour before bed, start slowing down. Dim the lights. Put work away. Do something calm, like reading or stretching.
Park your worries earlier. In the late afternoon or early evening, take ten minutes to write down what is on your mind and one next step for each worry. When the thoughts show up at night, remind yourself they are on paper and can wait until tomorrow.
Try slow breathing. Breathe in gently through your nose, then breathe out a little longer than you breathed in. Repeat for a few minutes. A longer breath out can help your body settle.
Keep a steady wake time. Getting up around the same time each day, even on weekends, can help your body find a rhythm.
Get some daylight. Time outside in the morning can help your body tell day from night.
Limit screens before bed. Phones and laptops can keep your mind busy. Try leaving your phone outside the bedroom or across the room.
Notice what you drink. Pay attention to how coffee, tea, energy drinks and alcohol in the evening seem to affect your nights, and adjust if you see a pattern.
Be kind to yourself. Everyone has bad nights. Trying too hard to sleep can make it harder. Rest still counts, even if you are not fully asleep.
Track sleep and mood together
It can be hard to see patterns when you are tired. A simple log can help. Each morning, jot down roughly when you went to bed, how rested you feel and your mood from the day before on a scale of one to ten. Add a word or two about anything big that happened.
After a couple of weeks, look back. You may notice that hard days at work lead to worse nights, or that a late night of scrolling leads to a low mood the next day. These links can show you where small changes may help most. A log can also be useful to bring to a counselling session, so you have real examples to talk about.
Stress, the hidden thief of sleep
Stress does not always feel like worry. Sometimes it shows up as a busy mind, a tight jaw or a feeling of being wired but tired. A heavy workload, money pressure, caring for family or a conflict at home can all follow you into bed. Easing stress in the daytime, by setting limits, asking for help or taking real breaks, can make nights a little easier too.
When to talk with a counsellor
If worry, low mood or stress keeps you up night after night, it may help to look at what is driving it. Counselling can help you understand the thoughts and feelings that show up at night, build calmer ways of coping and ease the anxiety or low mood that spills into your sleep.
You might consider reaching out if:
Racing thoughts keep you awake most nights.
You feel low, hopeless or numb most days.
Stress from work or home follows you into bed.
You feel worn out and short tempered much of the time.
You dread bedtime.
Our counsellors work with anxiety, depression and stress. You can read more on our anxiety counselling, depression counselling and stress and burnout pages.
Feeling better during the day and resting better at night often go hand in hand. You do not have to sort it out alone.
Cost, billing and your first step
Sessions with our therapists range from $130 to $200, depending on the clinician.
We accept Health Spending Accounts (HSAs).
We can direct bill many insurers. Coverage depends on your plan, so check with your insurer before you start.
Book a free 15-minute consultation with our admin team. We can help you find a counsellor, in person or online.
If you're in crisis: if you or someone you love is in immediate danger, call 911. If you're thinking about suicide, call or text 9-8-8 any time, day or night.
Last reviewed: October 2026
Sources
Scott, A. J., and colleagues. "Improving sleep quality leads to better mental health: A meta-analysis of randomised controlled trials." Sleep Medicine Reviews. 2021. https://pmc.ncbi.nlm.nih.gov/articles/PMC8651630/
National Heart, Lung, and Blood Institute. "Sleep Deprivation and Deficiency: How Sleep Affects Your Health." https://www.nhlbi.nih.gov/health/sleep-deprivation/health-effects
