Woman asleep with a dog

How to Sleep When Anxiety Keeps You Up

By: Stan Popovich

Anxiety can make it difficult to relax and fall asleep, even when you feel physically tired.

Learning how to calm your mind at night can help improve your sleep quality.

How to Manage Trouble Sleeping

1. Establish a consistent sleep schedule: Go to bed and wake up at the same time each day, including weekends, to regulate your body’s natural sleep-wake cycle.

2. Create a relaxing bedtime routine: This could involve taking a warm bath, reading a book, listening to calming music, or practicing relaxation techniques.

3. Optimize your sleep environment: Make sure your bedroom is dark, quiet, and cool. Consider using earplugs or a white noise machine to manage any noise that may bother you.

4. Get some exercise: Physical activity can reduce your anxiety and improve sleep quality, but avoid intense workouts close to bedtime.

5. Avoid large meals and fluids before bed: A light snack is fine, but heavy meals or too much liquid can disrupt sleep.

6. Manage stress and anxiety: Techniques like deep breathing exercises, meditation, or keeping a journal can help unwind your mind before you sleep.

7. Take a break during the day: Some people may wonder how they will get through the day with little or no sleep. A power nap is a short, intentional nap of 10 to 30 minutes that provides a quick boost of energy, improved alertness, and enhanced cognitive function without leaving you groggy. You can take a power nap during lunch if you feel drained.

8. Simplify your day: After a bad night’s sleep, your energy levels may be compromised, and you may not be at your best. So, take it easy the next day. Change things up and lighten your workload as much as possible. If you had five or six tasks for the day, consider cutting them down to two or three.

9. Don’t panic: Many people catch up on lack of sleep. So, don’t panic and stay optimistic. Everyone has trouble sleeping from time to time. Humans have good resilience to occasional sleep loss, and your body will naturally compensate for it.

How to Sleep When Anxiety Won’t Let You

Falling asleep can feel nearly impossible when anxiety takes over at night. Instead of drifting off, your mind starts racing—replaying the day, imagining worst-case scenarios, or trying to “solve” everything before morning. The more you try to force sleep or quiet your thoughts, the more alert and frustrated you become. This creates a cycle where anxiety fuels wakefulness, and lack of sleep increases anxiety the next night. Breaking that cycle starts with calming your body, changing how you respond to your thoughts, and creating the right conditions for sleep to come naturally.

Calm your nervous system with slow, extended-exhale breathing, progressive muscle relaxation, or grounding exercises. You can also write down your worries in a notebook by your bed and tell yourself, “I’ll look at this tomorrow. Right now, I will rest.” This helps move thoughts out of your head so your mind can settle. Creating a sleep-friendly environment such as dimming lights, keeping the room cool, limiting screens, or using gentle background noise can also signal safety to your body.

Mindfulness is another powerful tool. Notice anxious thoughts without judgment and let them pass, rather than engaging with them. If you’re awake for more than 20–30 minutes, get up and do something calming like reading or stretching, then return to bed when you feel sleepy.

Maintaining consistent sleep and wake times helps train your body, even when anxiety and worry are present. Over time, these habits make it easier to fall asleep. However, many people remain stuck in a cycle of worrying about how tired they’ll feel the next day, which keeps the anxiety going.

Worrying About Being Tired Tomorrow

It’s a common vicious cycle. Worrying about not sleeping makes it even harder to fall asleep. The key is to break this loop because anxiety about tomorrow keeps your nervous system in overdrive. Shift your goal from “sleep perfectly” to simply “resting.” Even if you don’t sleep fully, your body still benefits from lying down and relaxing. Remind yourself, “Even if I don’t sleep much, resting still helps my body recover.” Reducing pressure around sleep often helps your mind settle more naturally.

There is no danger when you don’t get a lot of sleep. You will feel tired and a little uncomfortable, but there is nothing wrong with not having enough sleep. Many people get only a few hours of sleep for a night or two and are still able to function. You may feel a little more anxious which makes it harder to sleep. In these cases, do some light exercise during the day to help get rid of your excess anxieties so you will be able to sleep better the next night.

Everyone requires different amounts of sleep so you can’t compare yourself to others. If you can’t sleep for a few days, you will still function, but you won’t feel as good just like if you have a cold. If you get a few hours of sleep a night, taking a few rests during the day can help you to get by until you get back to your regular sleeping schedule.

Use reality checks to challenge anxious thoughts. Most people have experienced days with little sleep and still managed to function. Preparing a simple “backup plan” for the next day can also ease your mind. For example, schedule short breaks, limit late-morning caffeine, and plan gentle activities. Knowing you have a plan reduces the fear that the day will be ruined.

Knowing that rest is an option can also ease nighttime worry. Many people panic when they think, “If I don’t fall asleep tomorrow will be ruined.” Reminding yourself that you can take a short nap the next day provides a practical “Plan B.” Instead of thinking “I’m doomed if I don’t sleep,” you can think, “If I’m tired tomorrow, I have a way to manage it.” This reduces pressure and can help your body relax so sleep comes more naturally.

How Power Naps Boost Energy and Focus

A power nap is a short period of sleep—usually 10–20 minutes—designed to quickly boost alertness, focus, and energy without entering deeper sleep stages. Many people wake up feeling refreshed and mentally clearer, making naps especially helpful when you haven’t slept well or when energy dips during the day.

If you can’t nap, gentle activities like stretching, walking, mindful breathing, or sitting quietly for a few minutes can serve as micro-rests, restoring energy and calming your nervous system.

Your head may feel “foggy” during the day when you’re tired. In these cases, closing your eyes for 5–10 minutes helps clear a fuzzy head by resting your senses, reducing sensory overload, and allowing the brain to reset. Taking slow deep breaths during the day helps reduce the tension you may feel in your body and head. It is also good to get some fresh air which helps reduce the tension in your head and eyes.

When Your Nervous System Is in Overdrive

Sometimes your body can get stuck in a heightened state of alert triggered by stress, anxiety, or perceived danger. This happens when the nervous system, which is the system responsible for your “fight, flight, or freeze” response, remains activated for too long.

In short bursts, this response is helpful. But when it continues even without a real threat, your body can stay on high alert. You might feel overwhelmed, tense, restless, or unable to think clearly. In these moments, your nervous system is reacting as if something dangerous is happening even when the trigger is stress or anxious thoughts.

When this happens, focus on calming your body. Slow your breathing with longer exhales, press your feet onto the floor, or splash cold water on your face. Gentle movements like walking or stretching can help release built-up tension. You can also reassure yourself with phrases such as, “This is uncomfortable, but it isn’t dangerous.” Remember that these sensations rise and fall. They are a body alarm, not evidence that something is actually wrong.

Lack of sleep can push your brain into a “hyper-alert” state, where your nervous system is on edge and even small noises feel unusually loud or threatening. The goal isn’t to block out sound, but to calm that heightened sensitivity. You can start by reducing how much noise reaches you. A fan, sound machine, or steady background sound can help soften sudden disruptions.

At the same time, focus on lowering your body’s reactivity. When a noise triggers the thought “What was that?”, recognize it as your alert system and gently shift your response. Notice the sound, label it as “just a noise,” and return your attention to your breathing. Slow, steady breathing can help signal that there’s no real danger. 

Most importantly, trying to force yourself not to hear noises often backfires. Allowing the noises to exist without reacting strongly helps retrain your brain to see them as unimportant over time. With OCD, the noise turns into a strong urge to listen to it, even when you don’t want to. The urge feels important, but it is just a mental compulsion.

The key isn’t forcing yourself to stop, but changing how you respond: notice the urge (“This is OCD telling me to listen”), allow it to be there without fighting it, and gently shift your attention back to something neutral, such as your breathing.

Try to let the sound sit in the background rather than treating it like a threat and avoid analyzing it. This approach is part of Exposure and Response Prevention (ERP), where you feel the discomfort but don’t perform the mental compulsion. It may be difficult, but over time your brain learns the noise isn’t important, and the urge to listen gradually weakens.

How CBT Can Help You Sleep Through Noise

From a Cognitive Behavioral Therapy (CBT) perspective, the problem isn’t the noise. It’s the meaning your mind assigns to it. For example: “This noise will keep me awake,” “I need to figure it out,” or “I can’t sleep unless it’s quiet.” CBT works by identifying and gently challenging those thoughts. Ask questions like: Is this 100% true? Have I ever slept with noise before? Am I overestimating how important this is? Then you replace it with something more balanced, like: “This is annoying, but not dangerous. My body can still rest even if I hear sounds.”

CBT also targets the “need for control.” The belief that you must control or monitor the noise is what fuels the cycle. Practice shifting to more flexible thinking: “I don’t need to control this to be okay.” This reduces the urgency and pressure your brain creates. Over time, your emotional reaction to the noise decreases because the thoughts behind it are less intense.

CBT and ERP work best together. CBT helps you change how you think about the noise, and ERP helps you change how you respond to it. If you only challenge thoughts but still monitor the noise, the cycle continues. If you only do ERP but still believe the noise is dangerous, it feels much harder. Combining both is usually the most effective approach.

How This Fits the Managing Fear Framework

This approach reflects a core step within the Managing Fear Framework: respond intentionally in the moment so fear does not control your thinking, decisions, or actions.

You may not eliminate worry completely, but you can learn to manage it with structure, perspective, and confidence.

If fear or anxiety is holding you back, A Layman’s Guide to Managing Fear provides practical strategies from a flexible, multi-approach system to help you feel calmer, more confident, and in control. Even small, consistent steps can build clarity, resilience, and lasting hope.

Stan Popovich’s Managing Fear Framework, featured in his book “A Layman’s Guide to Managing Fear,” is a practical, step-by-step system that helps you respond differently to fear. Even if fear keeps returning—after trying techniques or understanding it—these clear steps can help you:

  • Reduce recurring fear in real-life situations
  • Regain calm and clarity
  • Rebuild lasting confidence

You don’t have to let fear control your day. Whether it’s fear at work, social situations, or sudden panic, this framework gives you practical tools to take charge and break the cycle of fear.