
You’re exhausted. You’ve been looking forward to bed all day. You finally switch off the light, pull up the covers and close your eyes.
And then your brain decides now would be the perfect time to think about absolutely everything and sleep anxiety has kicked in.
Did I reply to that email? What if that headache means something? Why did I say that weird thing three days ago? What am I going to do about that bill? What if I don’t sleep tonight? If I don’t sleep, I’ll feel awful tomorrow…
Sound familiar?
Anxiety and sleep have a frustrating relationship. Anxiety can make it difficult to fall asleep, stay asleep or feel properly rested, while poor sleep can make it harder to manage emotions and cope with stress the following day. In other words, each one has the potential to make the other worse. The National Institute of Mental Health even lists sleep problems among the symptoms that can occur with generalized anxiety disorder.
The good news is that you don’t necessarily have to achieve a perfectly calm mind before you can start sleeping better.
View more Sleep Ideas and Tips >
Understanding what is actually happening can be the first step toward breaking the anxiety-sleep cycle.
Why Does Anxiety Make It So Hard to Sleep?
Anxiety is essentially your body’s alarm system becoming overactive.
Normally, that alarm system is incredibly useful. If you’re faced with danger, your body needs to react quickly.
The problem is that your nervous system doesn’t always distinguish neatly between an immediate physical threat and something you’re worrying about.
You could be lying completely safely in bed while your brain is thinking about tomorrow’s meeting, money, family problems or something embarrassing that happened earlier in the day.
Your body may still behave as though there’s a problem requiring your attention.
You might notice:
A racing or pounding heart
Tight muscles
Restlessness
Butterflies or tension in your stomach
Faster breathing
Feeling unusually hot or cold
An inability to get comfortable
A mind that simply won’t stop thinking
Feeling restless, “on edge,” tense and unable to sleep are all recognised symptoms that can accompany anxiety disorders.
And none of those sensations exactly scream, time for a lovely eight hours of sleep.
Why Anxiety Often Feels Worse at Night
I’ve always found it interesting that worries that seem manageable at 2 p.m. can suddenly feel enormous at 2 a.m.
There are some very practical reasons for this.
During the day, your attention is constantly being pulled elsewhere. You’re working, talking to people, cooking, driving, watching television or checking your phone.
At bedtime, those distractions disappear.
Suddenly there’s silence.
And your brain finally has room to bring out everything it hasn’t dealt with yet.
That’s why people who consider themselves relatively calm during the day can still experience racing thoughts when they get into bed.
The problem becomes particularly frustrating when you begin worrying about sleep itself.
You check the clock.
11:47 p.m.
Then midnight.
Then 12:35.
Then you start doing the maths.
“If I fall asleep right now, I can still get six hours and 25 minutes…”
Congratulations: bedtime has now turned into an exam.
And it’s very difficult to fall asleep when you’re mentally testing yourself to see whether you can fall asleep.
NHLBI sleep guidance specifically notes that anxiety about not being able to sleep can itself make falling asleep more difficult.

The Anxiety-Sleep Cycle
This is where things can become circular.
Imagine you have a stressful week and sleep badly for a couple of nights.
Because you’re tired, concentrating becomes harder. You’re more irritable. Small problems feel more difficult than usual.
Then you worry that something is wrong.
That anxiety interferes with the next night’s sleep.
Now you’re even more tired.
More tired means you’re less emotionally resilient.
And so the cycle continues.
Sleep deficiency can affect concentration, decision-making, memory, emotional regulation and our ability to cope with change, according to the National Heart, Lung, and Blood Institute.
So when you’re anxious after a terrible night’s sleep, it doesn’t necessarily mean your problems have suddenly become worse.
You may simply be trying to handle them with a tired brain.
Recognising that can be surprisingly reassuring.
What Does Anxiety-Related Sleep Trouble Look Like?
It’s not always simply “I can’t fall asleep.”
Anxiety can interfere with sleep in several ways.
You might fall asleep easily but wake repeatedly throughout the night.
You might wake at 4 a.m. and immediately start thinking.
You might sleep for what appears to be a reasonable number of hours but wake feeling tense and exhausted.
Or you might become sleepy on the sofa, only to feel strangely alert the moment you actually go to bed.
Some people even experience nighttime panic attacks. NIMH notes that panic attacks can occur during sleep as well as during waking hours.
Whatever pattern you’re experiencing, there are several things you can do that may help.
1. Get the Worries Out of Your Head Before Bed
If your brain likes scheduling its daily worry meeting for 11 p.m., try moving the meeting.
Take 10 or 15 minutes earlier in the evening and write down whatever is bothering you.
It doesn’t need to be beautifully organised.
Just get it out.
For example:
Worry: I haven’t finished that work project.
What can I do? Spend 30 minutes on it tomorrow morning.
Worry: I need to arrange an appointment.
What can I do? Call at 9 a.m.
Worry: I’m anxious about something I can’t control.
What can I do? Nothing tonight.
That final category is important.
Not every problem needs solving before bedtime.
Writing things down gives your brain somewhere to “store” them rather than repeatedly reminding you about them while you’re trying to sleep.
If another worry appears after you’ve gone to bed, you can remind yourself:
“I’ve already dealt with today’s worries. I can look at this tomorrow.”
You’re not pretending the problem doesn’t exist.
You’re simply postponing problem-solving until a more useful time.
2. Give Your Nervous System a Proper Wind-Down Period
Most of us expect our bodies to make a ridiculous transition.
We’re answering emails, scrolling social media, watching dramatic television or tidying the kitchen at 10:29 p.m.
Then at 10:30:
“Right. Sleep.”
Sometimes the brain needs a gentler transition.
Create a short routine that tells your body the active part of the day is over.
It might include:
Dimming the lights
Having a warm shower
Reading
Listening to calm music
Gentle stretching
Doing a relaxation exercise
Making tomorrow’s to-do list
Putting your phone away
You don’t need an elaborate two-hour wellness ritual.
Even 20–30 minutes can create a useful separation between “daytime mode” and “sleep mode.”
Both the CDC and NHLBI recommend keeping the bedroom quiet, relaxing and cool, maintaining consistent sleep and wake times, and limiting electronic devices around bedtime as part of healthy sleep habits.
3. Stop Trying So Hard to Fall Asleep
This sounds completely backwards, but one of the biggest sleep traps is trying desperately to sleep.
Sleep isn’t usually something you can force.
Think about sneezing.
You can create the right conditions, but shouting “SNEEZE!” at yourself doesn’t make it happen.
Sleep is similar.
When you lie in bed thinking:
“Come on. Go to sleep. Why aren’t I sleeping? I NEED to sleep!”
you’ve turned sleep into a performance.
Now your brain is monitoring whether you’re succeeding.
That’s hardly relaxing.
Try changing your goal.
Instead of saying:
“I have to sleep.”
Try:
“I’m going to rest. Sleep can happen when it happens.”
That subtle change can take some pressure off.
If you’re lying awake becoming increasingly frustrated, it may also be better to get out of bed temporarily and do something quiet until sleepiness returns rather than spending hours teaching your brain that bed is somewhere you lie awake and worry.
For persistent insomnia, cognitive behavioral therapy for insomnia, usually called CBT-I, is an established treatment approach. Research has also found CBT-I can improve insomnia even when people have accompanying symptoms of anxiety, depression or stress.
4. Watch the Things That Quietly Make Anxiety and Sleep Worse
Sometimes we’re unintentionally adding fuel to the problem.
Caffeine
If you’re exhausted after sleeping badly, reaching for extra coffee seems perfectly logical.
Unfortunately, that can create another cycle:
Poor sleep → more caffeine → harder to sleep → more caffeine.
If you’re sensitive to caffeine, experiment with keeping it to the morning rather than drinking it throughout the afternoon.
The CDC recommends avoiding caffeine in the afternoon or evening as one habit that can support better sleep.
Alcohol
Alcohol can make you feel sleepy initially, which is why some people use it as a DIY sleep aid.
But feeling sedated isn’t necessarily the same as getting restorative, uninterrupted sleep.
The CDC recommends avoiding alcohol close to bedtime as part of healthy sleep practices.
Doomscrolling
This one deserves its own category.
You’re lying in bed worried.
You pick up your phone “just for five minutes.”
Forty-five minutes later you’ve read breaking news, someone’s argument on social media, three articles about diseases you definitely don’t have and a story about something terrible happening somewhere in the world.
Your nervous system is now considerably less interested in sleeping.
Give yourself permission to stop consuming information before bed.
The world will continue without you until morning.
5. Calm Your Body Instead of Arguing With Your Thoughts
When you’re anxious at night, the natural response is often to try to reason your way out of every thought.
“What if this happens?”
“Well, it probably won’t because…”
Then your anxious brain responds:
“Yes, but what if…”
And suddenly you’re conducting a debate at 1:30 a.m.
Instead, sometimes it’s easier to work with the body.
Try slow, comfortable breathing.
You don’t need complicated ratios or enormous breaths.
Simply breathe gently and allow your exhale to become slightly slower and longer.
You could also try progressively relaxing your muscles.
Start with your feet.
Let them soften.
Then your calves.
Thighs.
Stomach.
Shoulders.
Jaw.
Face.
You’re giving your brain physical signals that there is nothing you need to run from right now.
Meditation, relaxation and calming bedtime rituals are among the approaches NHLBI suggests as part of healthy sleep habits.
And remember: the aim isn’t necessarily to eliminate every anxious thought.
Thoughts can still be there.
You’re simply practising not reacting to every single one.
What About Waking Up Anxious at 3 A.M.?
This can be particularly unpleasant.
You wake up, notice it’s dark and almost immediately your mind kicks into gear.
First: try not to start clock-watching.
Knowing that it’s exactly 3:17 rather than roughly the middle of the night rarely helps.
Then avoid making major life decisions.
The middle of the night is not the time to decide whether you should change careers, end a relationship, move house or completely reorganise your finances.
Tell yourself:
“This feels urgent because I’m awake and anxious. I can think about it tomorrow.”
Focus instead on resting your body.
Relax your jaw.
Drop your shoulders.
Slow your breathing.
And if you’re becoming increasingly frustrated lying there, get up briefly and do something calm in low light until you’re sleepy again.
Don’t Judge Tomorrow Before It Arrives
One of the worst things about sleep anxiety is worrying about the consequences of not sleeping.
“I’ll be useless tomorrow.”
“I’ll never cope.”
“The whole day is ruined.”
But you’ve probably had poor nights before and still managed to function.
Perhaps you weren’t at your absolute best, but you got through them.
Reminding yourself of that can reduce the pressure around sleep.
Yes, good sleep matters enormously. Chronic sleep deficiency is associated with a wide range of physical and mental health problems.
But one imperfect night doesn’t mean catastrophe.
Sometimes accepting that tomorrow might simply be a slightly tired day is exactly what allows your brain to stop fighting so hard for sleep tonight.
When Should You Get Help?
Occasional anxious nights are incredibly common.
But if sleep problems are happening regularly, lasting for weeks or months, significantly affecting your daytime functioning or making anxiety difficult to manage, it’s worth talking to a healthcare professional.
You should also seek advice if you regularly experience symptoms such as loud snoring, gasping or choking during sleep, severe daytime sleepiness or other symptoms that suggest something beyond anxiety may be affecting your sleep.
There are effective treatments for both anxiety disorders and insomnia. Anxiety treatment can include psychotherapy, medication or a combination of approaches, while CBT-I is commonly used specifically for persistent insomnia.
Getting help doesn’t mean you’ve somehow failed at relaxation techniques.
Sometimes there is simply more going on than a bedtime routine can solve.
The Bottom Line
Anxiety and sleep can create one of those maddening feedback loops.
You’re anxious, so you can’t sleep.
You can’t sleep, so you feel more anxious.
Then you start worrying about being anxious and worrying about not sleeping.
Before long, simply going to bed can feel stressful.
But you don’t need to fix everything overnight.
Start small.
Write down your worries before bed.
Create a short wind-down routine.
Stop treating sleep like something you have to achieve.
Pay attention to caffeine, alcohol and late-night scrolling.
And when anxiety appears, try calming your body rather than spending two hours negotiating with your brain.
Perhaps most importantly, remember that your goal doesn’t need to be a perfectly empty mind.
Nobody has one.
The goal is to teach your brain that nighttime isn’t problem-solving time.
Those worries can still be dealt with.
Just preferably tomorrow morning, after you’ve had some sleep.
Resources
- National Institute of Mental Health (NIMH). Anxiety Disorders.
https://www.nimh.nih.gov/health/topics/anxiety-disorders - National Institute of Mental Health (NIMH). Generalized Anxiety Disorder: What You Need to Know.
https://www.nimh.nih.gov/health/publications/generalized-anxiety-disorder-gad - National Heart, Lung, and Blood Institute (NHLBI). Sleep Deprivation and Deficiency.
https://www.nhlbi.nih.gov/health/sleep-deprivation - National Heart, Lung, and Blood Institute (NHLBI). Insomnia Treatment.
https://www.nhlbi.nih.gov/health/insomnia/treatment - Centers for Disease Control and Prevention (CDC). About Sleep.
https://www.cdc.gov/sleep/about/index.html



















