How to stop anxious thoughts at night: why worries feel truer at 3am, why fighting them in bed backfires, and the steps that help you sleep.
The most reliable way to stop anxious thoughts at night is to stop trying to settle them in bed. If you've been lying there wound up for what feels like 20 minutes, get up. Do something dull in low light, and go back only when you feel sleepy.
You know the version. It's 2:40, you've checked the time twice, and you're rewriting tomorrow's talk with your manager for the fourth time. Every answer you come up with sounds urgent and hopeless at once.
Two things are working against you there. The night version of a worry isn't the thought you'd have at 3pm. And your bed keeps learning from every hour you spend arguing in it. If anxiety is spiking during the day as well, calming anxiety fast covers the in-the-moment tools.
Why Is Anxiety Worse at Night?
Possibly because your brain is at its worst for this job after midnight, though that idea is still being tested. A 2022 review by sleep researchers at the University of Arizona, Penn and Harvard set out what they call the Mind after Midnight hypothesis.
Their reading of earlier studies is that negative mood peaks during the biological night, just as positive mood hits its low. Being awake then also weakens your hold on negative feelings. Attention narrows onto neutral or negative things, and they get more emotional weight than they deserve.
The authors say every part of the idea still needs testing, and that means collecting data during the biological night. It's a framework, not a proven mechanism.
It's still useful at 2:40. Whatever you conclude in the dark was concluded by a brain low on positive mood and fixed on threat. Treat it as a draft, not a verdict.
Why Fighting the Thoughts in Bed Backfires
Lying there trying to think your way out teaches your body that bed is where worrying happens. Stimulus control, one of the main parts of insomnia treatment, exists to break that link. Mayo Clinic says it helps train your mind and body to sleep better and not fight sleep.
The clock is the other half of the fight. A 2023 study used questionnaires from 4,886 patients at a US sleep clinic, collected over the decade to 2013. Checking the time while trying to fall asleep, and the frustration that came with it, seemed to make insomnia worse. Worse insomnia, in turn, went with more use of sleep aids.
The authors still call for long-term research, so the study can't prove the clock caused anything. Mayo Clinic's advice points the same way, though: hide every clock in the bedroom, including your watch and phone. Putting the phone face down across the room is the cheapest change in this article.
What to Do When You Wake Up Anxious at 3am
These steps come from stimulus control and the other behavioral parts of insomnia treatment. They target the bed and the clock rather than the content of the worry, so they work the same for racing thoughts at night.
- Move the worrying earlier. A short, set slot in the early evening beats meeting every worry at midnight. Journaling for anxiety without feeding it shows how to set one up.
- Turn the clock away and put your phone out of reach before you lie down.
- If you're awake and wound up for what feels like about 20 minutes, get up. Don't check the time to confirm it.
- Out of bed, keep it dim and boring. Fold laundry or reread a book you already know. Skip email and anything you'd want to finish.
- Go back to bed only when you feel sleepy, and repeat as often as you need to.
- If a worry insists on an answer, write one line with the worry and "10am" beside it. Then close the notebook.
- Get up at the same time every morning, weekends included, even after a bad night.
Mayo Clinic describes the same pattern: leave the bedroom if you can't sleep within 20 minutes, and return only when you're sleepy. It adds a regular bedtime and wake time, no napping, and using the bed only for sleep and sex. If you can't get by without a nap, it suggests keeping it to 30 minutes and never after 3 p.m.
If trying hard is the whole problem, there's a stranger option. In paradoxical intention, you get into bed and try to stay awake instead of expecting to fall asleep. Mayo Clinic says this reduces your extreme focus on sleep and anxiety over not sleeping.
Getting up will feel like giving in for the first few nights. The aim is for bed to become the place you fall asleep again, and one good night won't do that on its own.
Do Breathing and Relaxation Help You Sleep?
Less than you'd hope, at least as part of insomnia treatment. A 2024 analysis in JAMA Psychiatry pooled 241 trials with 31,452 people. It set out to find which parts of cognitive behavioral therapy (CBT) for insomnia do the heavy lifting.
Cognitive restructuring came out as critical. That means changing the beliefs about sleep that keep you awake. So did sleep restriction, stimulus control and what the authors call third-wave components. Sleep hygiene education wasn't essential, relaxation procedures were potentially counterproductive, and programs led in person by a therapist did best.
The authors warn that hidden interactions between the parts could undermine those conclusions. Still, the pooled trials don't point to a calm-down routine as the treatment. If slow breathing settles you, keep it. If you lie there grading your own breathing, it has become one more performance, and getting up will do more.
Sleep restriction is the part to save for a clinician. Mayo Clinic describes it as cutting your time in bed and stopping daytime naps, so you get less sleep at first.
Will Treating Insomnia Help the Anxiety Too?
Often a little. A 2023 review pooled 22 randomized trials of digital CBT for insomnia, with 10,486 people. It found small to moderate drops in anxiety symptoms after treatment. Depression symptoms fell too.
Most people in those trials had milder symptoms, below the level of a diagnosed disorder. The result may not carry over to an anxiety disorder. Many of the trials were small, which can inflate an effect.
So if your anxiety mostly shows up at bedtime, treating the sleep is a reasonable first move. If it runs your days as well, treat the anxiety directly too. Why knowing why you're anxious doesn't stop it covers that daytime side.
Waking at 3am in Perimenopause
Night sweats add a second trigger, because each waking gives the worry an opening. A 2026 pilot trial in the journal Menopause tested CBT for menopausal insomnia in 43 women, average age about 54. All had insomnia and at least one hot flash a night.
The authors note that night-time hot flashes go along with waking, and that ruminating thoughts can then stop women getting back to sleep. Four sessions over eight weeks cut insomnia severity more than a single session of menopause and sleep education, both at the end and a month later. None of the women were on hormone therapy. By three months that difference was no longer clear, though night-time sleep symptoms stayed better.
Anxiety scores didn't change significantly in either group. The groups were small and uneven, and the comparison session didn't match the time spent with a therapist. Ask your doctor about treating the hot flashes themselves as well. If night worry is new for you in your 40s, perimenopause anxiety in someone who was never anxious goes through the hormone side.
Is Cortisol Why You Wake Up Anxious?
Probably not in the way it's usually told. Cleveland Clinic says most people have lower cortisol levels in the evening, with a peak in the morning just before they wake up.
A 2024 study followed 95 undergraduates in Australia, most of them women, for about two weeks with saliva tests and 15 nights of sleep recordings. On nights when bedtime cortisol was higher than that person's usual, they slept a little less and less efficiently. The effects were small, and the authors say the results shouldn't be read as causal.
The study measured sleep, not what anyone was thinking about. Real cortisol disorders come with physical signs, such as weight gain in the face and belly, muscle weakness and high blood pressure. Those are a question for a doctor in daylight.
When Should You See a Doctor About Anxiety at Night?
See a doctor if poor sleep is making daily life hard, or if it's been going on for months. Mayo Clinic calls insomnia chronic when it lasts three months or more, and says to see your doctor if it makes daily activities hard. Mayo Clinic's insomnia treatment guidance also says CBT is usually recommended as the first treatment.
For the worry itself, NIMH describes generalized anxiety disorder as finding it difficult to control worry on most days for at least 6 months. Trouble falling or staying asleep is one of the symptoms, and women are more likely than men to have it. NIMH's cue to get help is when anxiety starts causing problems in everyday life.
Go carefully with sleep aids. Mayo Clinic says over-the-counter sleep medicines contain antihistamines and aren't for regular use. Prescription sleeping pills can be habit-forming, and doctors generally don't recommend relying on them for more than a few weeks.
If you wake gasping or choking, or someone says you snore loudly, mention it to your doctor, since those can be signs of sleep apnea. If you wake with chest pain or trouble breathing, get urgent help.
No one can give you a set number of nights before the bed and clock changes start to work. Give them a few steady weeks. If nothing has shifted, ask your doctor about CBT for insomnia with a therapist, since therapist-led programs did best in the 2024 analysis.
Night is also when the risk is highest for some people. Studies cited in the 2022 review looked at US data and accounted for how many people are awake at each hour. On that basis, the risk of suicide was three times higher between midnight and 6 a.m. than at any other time of day. If dark thoughts come at night, don't wait for morning.
In the US and Canada, call or text 988, any time. That's the 988 Suicide & Crisis Lifeline in the US and the 9-8-8: Suicide Crisis Helpline in Canada. If your life is at risk or you can't keep yourself safe, call 911 or go to the nearest ER.
In the UK, call Samaritans free on 116 123, any time, or 999 in an emergency. Anywhere else, call your local emergency number.
Frequently Asked Questions
Why Is My Anxiety Worse at Night?
Mayo Clinic says worries about work, health, money or family can keep your mind active at night. A 2022 hypothesis adds that negative mood peaks and positive mood dips during the biological night, though that still needs testing. Treat night-time conclusions as drafts and look at them again in daylight.
Should I Get Out of Bed If I Can't Stop Thinking?
Yes. Stimulus control, part of CBT for insomnia, has you leave the bedroom if you can't sleep within about 20 minutes. You come back when you're sleepy. Estimate the time rather than checking the clock.
Why Do I Wake Up at 3am With Anxiety?
Stress, anxiety disorders and, around menopause, night sweats can all break up sleep. Once you're awake, the hour itself may make worries feel bigger than they are. If it happens most nights for three months or more, or it's wearing down your days, see a doctor.