How to Fall Asleep When You’re Nervous or Anxious

When you’re nervous, your body releases cortisol and adrenaline, two hormones that exist specifically to keep you awake and alert. That’s why lying in bed telling yourself to “just relax” rarely works. Your nervous system is running a wakefulness program, and falling asleep requires deliberately switching it off. The good news: several techniques can do exactly that, and most work within minutes.

Why Nervousness Blocks Sleep

Sleep normally suppresses cortisol production. But when you’re anxious, the relationship flips. Your stress response system stays active, pumping out cortisol in bursts that are tied to arousal. Each worried thought reinforces the cycle: the thought triggers a small hormonal surge, the surge makes you feel more awake, and feeling more awake gives your mind more time to generate the next worried thought.

This is a normal physiological response, not a sign that something is wrong with you. Your brain interprets nervousness as a potential threat, and sleeping during a threat would have been dangerous for most of human evolutionary history. The techniques below work because they manually override this alarm system by activating the opposing branch of your nervous system, the one responsible for rest and digestion.

Slow Your Breathing First

Controlled breathing is the fastest way to shift your nervous system out of alert mode. The most effective approach, based on research into heart rate variability, is breathing at roughly six breaths per minute. That works out to about five seconds in and five seconds out. This pace synchronizes your breathing with your heart rate oscillations, producing a measurable calming effect.

You may have heard of the 4-7-8 technique, where you inhale for 4 seconds, hold for 7, and exhale for 8. It’s widely recommended, but research from Brigham Young University found it produced only small improvements in parasympathetic function compared to simple slow breathing. One study of 21 participants found 4-7-8 breathing actually decreased heart rate variability, which would indicate worsened autonomic functioning. If you find the breath-hold uncomfortable, you’re better off simply slowing your breathing to a steady, even rhythm without holding. Focus on making your exhale slightly longer than your inhale, and repeat for two to three minutes.

Give Your Mind Something Pointless to Do

Racing thoughts persist at night because your brain is trying to solve problems. The trick isn’t to suppress the thoughts (that backfires) but to replace them with something so mundane your brain loses interest and drifts off. A technique called cognitive shuffling, developed by a researcher at Simon Fraser University, does this remarkably well.

Here’s how it works: pick any random word, like “garden.” Then, for each letter, spend 5 to 15 seconds visualizing unrelated objects that start with that letter. For G, you might picture a giraffe, then a guitar, then a glass of water. Move to A: an airplane, an apricot, an armchair. The images should be random, pleasant or neutral, and completely unconnected to each other. Don’t try to build a story or connect them in any way.

This works for two reasons. First, it blocks your brain’s natural tendency to construct narratives about your worries. You can’t simultaneously picture a random apricot and plan for tomorrow’s meeting. Second, the disconnected, drifting quality of the imagery mimics what your brain naturally does as it falls asleep, essentially tricking your mind into the pre-sleep state. Most people don’t make it past the second or third letter.

Release Tension From Your Body

Nervousness stores itself physically. You may not realize your jaw is clenched or your shoulders are hiked up until you deliberately check. Progressive muscle relaxation works through your body systematically, tensing each muscle group for a few seconds and then releasing. The release is the important part: it creates a wave of relaxation that’s deeper than what you’d get from simply trying to relax without tensing first.

Start with your hands and arms. Clench both fists, bend your elbows, and draw your forearms toward your shoulders, tightening your biceps. Hold for about five seconds while taking a deep breath, then exhale slowly as you let everything go. Next, move to your face: squeeze your eyes shut, clench your jaw, and wrinkle your forehead. Hold, breathe, release. Then your shoulders, pulling them up toward your ears and feeling the tension spread into your neck and upper back. Hold, breathe, release.

Continue down through your stomach (pull your belly toward your spine), your thighs and glutes (squeeze them together, lifting your feet slightly), and finally your calves and feet (flex your feet, pulling your toes toward you). By the time you’ve worked through all six groups, your body has received a clear signal that it’s safe to let go. The whole process takes about five minutes.

Set Up Your Room for Sleep

A cool room helps your body temperature drop, which is a prerequisite for sleep onset. Cleveland Clinic recommends keeping your bedroom between 60 and 67°F (15 to 19°C). This range also helps stabilize REM sleep, the phase most disrupted by stress. If you tend to run hot when anxious, this is especially important.

Weighted blankets can also help on nervous nights. The gentle, distributed pressure mimics the sensation of being held, which triggers a hormonal response: your body increases production of oxytocin and serotonin while decreasing cortisol. It’s the same basic chemistry as getting a hug. A blanket weighing roughly 10% of your body weight is the standard recommendation. The effect is subtle but real, and it works passively while you use other techniques like breathing or cognitive shuffling.

The 20-Minute Rule

If you’ve been lying awake for roughly 20 minutes, get out of bed. This is one of the core principles of cognitive behavioral therapy for insomnia, and it’s counterintuitive but effective. Staying in bed while anxious teaches your brain to associate the bed with wakefulness and stress. Leaving breaks that association.

Move to another room if you can. Do something calm: read a physical book, listen to quiet music, or try a meditation. Avoid anything with a screen that demands active engagement, like scrolling social media, checking email, or watching intense TV. Don’t eat. Don’t estimate the time by checking a clock. Just wait until you feel genuinely sleepy, not just tired, and then return to bed. If another 20 minutes pass without sleep, get up again. This may feel frustrating the first few times, but it retrains your brain to treat the bed as a place where sleep happens quickly.

Deal With Worries Before Bed

Much of what keeps you awake isn’t generalized nervousness but specific, unresolved worries circling in your head. A technique recommended by the NHS called “worry time” can intercept these before you ever lie down. Set aside 10 to 15 minutes earlier in the evening, sit down with paper, and write out everything that’s bothering you. For each item, jot down one possible next step, even if the step is small or imperfect.

This works because your brain keeps returning to unsolved problems. Writing them down with even a partial plan signals to your mind that the issue has been acknowledged and doesn’t need to be revisited tonight. When a worry surfaces later in bed, you can remind yourself it’s already on the list and scheduled for tomorrow. Over time, making this a regular habit noticeably reduces nighttime rumination.

When Nervous Nights Become a Pattern

A few rough nights before a big event or during a stressful week is completely normal. Transient insomnia caused by stress typically lasts less than a week and resolves on its own once the stressor passes. It becomes a clinical concern when sleep difficulty persists for more than a month, happens three or more nights per week, and starts affecting your daytime functioning through fatigue, poor concentration, or mood changes. Common thresholds include consistently taking longer than 30 minutes to fall asleep or getting fewer than six hours of sleep despite having enough time in bed.

If that describes your situation, the techniques above can still help, but they work best as part of a structured approach like cognitive behavioral therapy for insomnia, which addresses the conditioned patterns that keep chronic insomnia going. An amino acid called L-theanine, found naturally in tea, may also take the edge off. Doses of 200 milligrams before bed have been shown to increase alpha brain waves, the pattern associated with calm, relaxed wakefulness. The FDA considers it generally safe up to 250 milligrams per serving. It won’t knock you out, but it can lower the mental noise enough to let sleep happen.