Anxiety and sleep are wired together in the brain, and each one can drag the other down. The most reliable way to fall asleep when anxious is to stop trying to force sleep and instead lower your body’s arousal level: slow your breathing, relax your muscles, and give your mind a neutral target to rest on. This works because anxiety keeps your nervous system in a state of alert, and sleep cannot begin until that alert state quiets down.
Why Does Anxiety Keep You Awake?
Anxiety and wakefulness use some of the same brain and body systems. When you feel threatened, your body releases stress hormones like adrenaline and cortisol. Your heart rate rises, your breathing speeds up, and your muscles tense. This is the fight-or-flight response, and it is designed to keep you awake and ready to act.
The problem is that your brain does not always tell the difference between a real threat and a worry about tomorrow’s meeting. A racing mind at 11 p.m. can trigger the same physical alertness as a genuine danger. Your body reads that alertness as a signal that it is not safe to sleep.
There is also a feedback loop. Poor sleep makes anxiety worse the next day, and worse anxiety makes the following night’s sleep harder. Over time, the bed itself can become a trigger. You start to associate lying down with frustration and worry instead of rest.
This is why simply “trying harder” to sleep usually backfires. Effort and arousal go together. The more you strain to sleep, the more alert you become.
What Is the First Thing To Do When You Cannot Sleep?
If you have been lying awake for what feels like a long time and your mind is spinning, get out of bed. Move to another room with dim light and do something calm and quiet, like reading or listening to soft audio. Return to bed only when you feel sleepy again.
This advice comes from a well-established approach called stimulus control, which is part of cognitive behavioral therapy for insomnia (CBT-I). The goal is to rebuild the mental link between your bed and sleep. Staying in bed while anxious does the opposite. It teaches your brain that bed equals struggle.
Keep the lights low and avoid screens if you can. Bright light tells your brain it is daytime and can delay the release of melatonin, the hormone that helps signal sleep. Avoid checking the clock too. Watching minutes pass tends to increase anxiety rather than reduce it.
If you are not asleep after a reasonable stretch, repeat the process. Get up again if needed. This can feel counterproductive at first, but it is one of the better-supported strategies for chronic sleep problems.
How Do You Calm Your Body Enough To Sleep?
Your nervous system responds to physical signals. Slowing your breathing and relaxing your muscles sends your body a message that the threat has passed. This is not just a mental trick. It works through the vagus nerve, which connects your brain to your heart, lungs, and gut and helps shift you out of alert mode.
Try this slow breathing pattern. Breathe in through your nose for a count of four. Hold gently for a count of four. Breathe out slowly through your mouth for a count of six. The longer exhale is the key part. Repeat for a few minutes.
Progressive muscle relaxation is another well-known technique. Starting at your feet and moving upward, tense each muscle group for a few seconds, then release. Notice the difference between tension and relaxation. This method has been studied for decades as a way to reduce physical arousal.
A body scan works on the same principle. Slowly move your attention through your body from head to toe, noticing sensations without trying to change them. The point is not to relax perfectly. The point is to give your mind a slow, boring, physical task instead of a worry loop.
None of these methods work instantly or every time. They are skills, and like any skill they tend to improve with practice. Practicing them during the day, when you are calm, can make them easier to use at night.
How Do You Quiet a Racing Mind at Bedtime?
An anxious mind at night often gets stuck on open loops: unfinished tasks, worries, and things you are afraid to forget. Writing them down can help close those loops, at least temporarily.
Try a “brain dump” before bed. Spend a few minutes writing down everything on your mind, including worries and to-do items for tomorrow. Some research suggests that writing about worries can reduce the time it takes to fall asleep, though results vary and this is not a guaranteed fix.
Another approach is to give your mind a neutral, absorbing target. Counting breaths, repeating a calm word, or listening to a guided relaxation can crowd out the spiral. The goal is not to block thoughts. It is to give your attention somewhere gentle to land.
If a specific worry keeps returning, you can schedule time to deal with it earlier in the day. Set aside a short window in the afternoon to think through the problem and write down next steps. When it shows up at night, remind yourself it has a time and place already.
What Habits Make It Harder To Fall Asleep?
Some common habits quietly work against sleep, especially when anxiety is already high. Caffeine is a big one. It can stay in your system for many hours, so an afternoon coffee can still be affecting you at bedtime. For most adults, limiting caffeine to the morning is a reasonable step.
Alcohol is another. It may make you feel drowsy at first, but it disrupts sleep later in the night and can increase awakenings. Many people find that a drink before bed leads to a restless second half of the night.
Screen use close to bedtime matters too. Bright light and stimulating content can both delay sleep. So can intense conversations, stressful emails, or scrolling through news right before bed.
Irregular sleep schedules also make things harder. Going to bed and waking at very different times each day confuses your body clock. A steady routine, even on weekends, tends to support better sleep over time.
- Limit caffeine to the morning hours.
- Avoid alcohol as a sleep aid.
- Dim lights and reduce screens in the hour before bed.
- Keep wake-up times fairly consistent.
- Save stressful tasks and conversations for earlier in the day.
When Should You Get Professional Help?
Occasional anxious nights are common and usually not a sign of a serious problem. But if sleep problems and anxiety persist for weeks, interfere with your daily life, or come with low mood, it is worth talking to a doctor or mental health professional.
Persistent insomnia and anxiety disorders are both treatable. CBT-I is considered a first-line treatment for chronic insomnia and has strong evidence behind it. Therapy for anxiety, including cognitive behavioral therapy, can also improve sleep as anxiety symptoms ease.
Some people may benefit from medication, but this is a decision for a clinician who knows your history. Do not start or stop any medication on your own.
Seek help sooner if you have thoughts of harming yourself or others, or if you feel unable to function. These are signs to reach out for support right away.
Can You Train Yourself To Fall Asleep Faster Over Time?
Yes, in many cases sleep can improve with consistent practice. The techniques above are not one-time fixes. They are habits that tend to work better the more regularly you use them.
Progress is often gradual. You may not notice a change in the first few nights. Over several weeks, many people find that their body starts to settle more easily and their mind becomes less reactive at bedtime.
It helps to focus on the process rather than the outcome. You cannot force sleep, but you can create the conditions that make it more likely. Lowering arousal, keeping a steady routine, and rebuilding a calm association with your bed are the core pieces.
If you have tried these steps for a while and nothing changes, that is not a personal failure. It may simply mean you need more targeted support. A clinician trained in sleep or anxiety can help you find what works for your situation.
Frequently Asked Questions
How do I fall asleep when my mind won’t stop racing?
Get out of bed if you are wide awake and anxious, and do something calm in dim light until you feel sleepy again. Writing down your worries before bed can also help close the mental loops that keep you alert.
What is the fastest way to calm down at night?
Slow breathing with a longer exhale than inhale is one of the quickest ways to signal safety to your nervous system. Try breathing in for a count of four and out for a count of six for a few minutes.
Should I stay in bed if I can’t sleep?
No, it is usually better to get up after a while and return only when you feel sleepy. Staying in bed while anxious can strengthen the link between your bed and frustration, which makes future nights harder.
When should I see a doctor about anxiety and sleep?
Talk to a professional if sleep problems and anxiety last for weeks, affect your daily life, or come with low mood. Cognitive behavioral therapy for insomnia is a well-supported first-line treatment for ongoing sleep problems.

