Anxiety When Trying to Fall Asleep: Why It Spikes and What Helps
Anxiety

Anxiety When Trying to Fall Asleep: Why It Spikes and What Helps

Dr. Sarah Mitchell October 15, 2026 Updated October 15, 2026 15 min read

Medical Disclaimer

This article is for educational purposes only and does not constitute medical advice. If you are experiencing mental health issues, please consult a qualified healthcare professional.

The day is finally over. Dishes done, phone on the charger, lights off. You pull the covers up, close your eyes and wait for the heaviness to come. Instead, your heart picks up. Your chest feels tight. A thought about tomorrow's meeting arrives, then one about a text you never answered, then a strange flutter in your stomach that makes you wonder if something is wrong. Ten minutes ago you were yawning on the sofa. Now you're lying in the dark feeling more awake than you have all day.

If you get anxiety when trying to fall asleep, the short answer is that lying down in a quiet, dark room removes the noise and tasks that kept your nervous system busy all day, so its leftover alarm finally gets your full attention. With nothing else to focus on, your brain turns toward worries and body sensations, reads them as possible threats and keeps you alert. Over time, the bed itself can become a cue for that alert state. The good news is that this loop is learned, which means it can be unlearned with a few specific changes.

Below, we'll look at what bedtime anxiety feels like, why it spikes the moment your head hits the pillow, what's going on in your nervous system, and a step-by-step plan for the hour before bed and the minutes in bed, including what to do when sleep just won't come.

What Bedtime Anxiety Feels Like

Anxiety at night in bed doesn't always look like worry. For some people it's mostly mental. For others it's almost entirely physical. Common versions include:

  • A racing mind. Thoughts loop through tomorrow's to-do list, a conversation from years ago, or "what if" scenarios that feel urgent in the dark.
  • A pounding or fast heartbeat that you can suddenly hear or feel against the pillow.
  • A tight chest and shallow breathing, or a sense that you can't quite get a full breath.
  • Restlessness. Legs that won't settle, flipping the pillow, kicking the duvet off and pulling it back on.
  • A jolt just as you drift off, followed by a surge of adrenaline that leaves you wide awake.
  • Dread about sleep itself. Checking the clock, calculating how many hours you'll get if you fall asleep right now, and feeling worse with every recalculation.

That last one matters. For many people, general worry turns into worry about not sleeping after a few bad nights, which is a slightly different loop.

It also helps to separate this from waking in the night. Struggling to drop off at the start of the night is a different pattern from jolting awake in the small hours, which we cover in why you wake up at 3am with anxiety. This post is about the first part: getting to sleep in the first place.

Anxiety When Trying to Fall Asleep: 7 Reasons It Spikes at Bedtime

Most people find that two or three of these apply to them at once.

1. The Distractions Stop

All day, your attention is pulled outward by work, people, screens and errands, so background anxiety gets drowned out. In a dark, quiet room, that input drops close to zero, and whatever has been humming underneath gets the stage to itself. Your anxiety didn't appear at 11 p.m. This is just the first time all day you've had nothing to cover it with.

2. Bed Is the First Time You've Had to Think

If your days are packed, bedtime may be the only unscheduled moment you get. The brain uses it to process unfinished business: the email you meant to send, the comment a coworker made, the bill due Friday. The Sleep Foundation notes that people who worry a lot often ruminate about their concerns in bed, and that anxiety keeps the brain in a state called hyperarousal, which simply means too switched on to sleep.

3. You Notice Your Body More

In stillness, you notice sensations you'd ignore during the day: your heartbeat, a twinge, the way your breath catches. An anxious nervous system treats unfamiliar sensations as possible danger. You notice your pulse, the noticing makes you nervous, your pulse speeds up, and now there's something real to notice.

4. Hypnic Jerks Set Off a Startle

That sudden jolt or falling feeling just as you drift off has a name: a hypnic jerk, or sleep start. It's an involuntary muscle twitch at the edge of sleep, and the Sleep Foundation reports that up to 70% of people experience them at some point. They're generally harmless, but stress, caffeine and sleep loss can make them more likely. For an anxious person, though, a jerk can feel like an alarm going off. The body floods with adrenaline, and you're back to square one.

5. Your Bed Has Become a Cue for Worry

Brains learn by association. If you've spent many nights lying awake and tense in bed, your brain starts to link the bed with being alert and on guard. Eventually just getting into bed, or even brushing your teeth, can bring on the tense feeling before a single worried thought arrives. Sleep specialists call this conditioned arousal. It explains why some people nod off easily on the sofa and feel wide awake the moment they lie down in the bedroom.

6. Trying Hard to Sleep Backfires

Sleep gets harder the more effort you put in. Forcing it means monitoring yourself: Am I asleep yet? Why not? That monitoring is a form of vigilance, the opposite of what your body needs.

7. The Day's Stress Never Got Discharged

Stress hormones like adrenaline and cortisol are designed to fuel action. If you spent the day stressed but sitting still, that energy has nowhere to go. Add a late coffee, a tense TV show or scrolling right up to lights-out, and your system arrives at bedtime revved rather than winding down. Some people also push bedtime later and later to claim back a little personal time, which leaves them both overtired and wired. If that sounds familiar, our guide to revenge bedtime procrastination looks at why it happens and how to break the loop.

What's Happening in Your Nervous System

Your nervous system has two broad modes. The sympathetic side works like an accelerator: it raises your heart rate, sharpens attention and prepares you to act. The parasympathetic side works like a brake: it slows your heart, supports digestion and allows rest. Falling asleep needs the brake to be on. Not perfectly, just enough.

When you're anxious, the accelerator is still pressed and your mind is essentially on night watch. That makes evolutionary sense. Sleep is when we're most vulnerable, so a nervous system that believes something is wrong will resist letting you go under.

This is why logic often fails at bedtime. You can know perfectly well that tomorrow's meeting will be fine, but the part of the brain that decides whether it's safe to sleep responds to body signals: breath, muscle tension, heart rate, light. So the most effective tools here work from the body up rather than from the thoughts down.

Before Bed: A 60-Minute Wind-Down

A lot of the work happens before you get into bed. The aim is to arrive already a little slower, so you aren't asking your body to go from full speed to zero in the time it takes to switch off a lamp.

60 Minutes Before: Close the Day on Paper

Take five minutes, ideally away from the bedroom, to write down everything still on your mind. Two columns work well: "Things I need to do" and "Things I'm worried about." Next to each task, write the first small step and when you'll do it. Next to each worry, write one line answering: "Can I do anything about this tonight?" Almost always, the answer is no. Then close the notebook. The American Academy of Sleep Medicine suggests making your to-do list early in the evening and putting it away, because carrying a mental list to bed can make your mind race and rehearse the next day.

45 Minutes Before: Dim Everything

Swap overhead lights for lamps. If you use your phone, turn the brightness down and stop anything that stirs you up: news, comment-section arguments, work email. Gentle and a bit boring is the goal.

30 Minutes Before: Give Your Body Something to Release

If you feel wired, try a few minutes of easy stretches, a warm shower, or simply shaking out your hands and shoulders. Gentle movement gives leftover stress energy somewhere to go. Then do something quiet that doesn't involve a screen: a paper book, folding laundry, a warm caffeine-free drink.

10 Minutes Before: Lower the Stakes

Remind yourself of the real goal. It isn't "fall asleep within ten minutes." It's "let my body rest for a while." Rest still helps, and taking the pressure off is one of the most reliable ways to let sleep arrive on its own.

In Bed: A Step-by-Step Downshift

Once the lights are out, work through this sequence. You don't need every step every night. Over a week or two, you'll find the two or three that suit you best.

Step 1: Lengthen Your Exhale

Breathe in gently through your nose for a count of four. Breathe out slowly for a count of six to eight, as if you're cooling a spoonful of soup. Repeat for two to five minutes. Long exhales lean on the parasympathetic brake. In a small randomized study from Stanford, five minutes a day of exhale-focused breathing improved mood and slowed breathing rate more than the same time spent in mindfulness meditation. A variation called the physiological sigh, two short inhales followed by one long exhale, is explained in our 30-second physiological sigh guide.

Step 2: Do a Slow Body Scan

Starting at your toes, move your attention slowly up through your body. At each area, notice what's there and invite it to soften a little: feet, calves, knees, thighs, hips, belly, chest, hands, arms, shoulders, jaw, eyes, forehead. You aren't trying to fix anything. If you notice your heart beating, just label it, "heartbeat," and move on. Over time, this shifts your relationship with body sensations from "is this a threat?" to "this is just a body, resting."

Step 3: Give Your Mind Something Boring to Hold

Anxious thoughts are sticky because they feel important. A neutral task can crowd them out. One option is cognitive shuffling: pick a random word, like "garden," and for each letter, picture as many unrelated objects as you can that start with it. G: goat, guitar, glove, grape. The randomness mimics the drifting, nonsensical thoughts of early sleep. Our guide to cognitive shuffling for racing thoughts walks through it in detail.

Step 4: Turn the Clock Away

Checking the time feeds the sleep math that keeps anxiety going. Turn the clock to the wall and leave your phone out of reach.

Step 5: Use the 20-Minute Rule

If you've been lying awake for what feels like about 20 minutes and you're getting more anxious rather than less, get up. Go to another dimly lit room and do something calm and dull: read a paper book, listen to quiet music, fold some towels. Go back to bed only when you feel sleepy. The AASM recommends this same approach, moving to a dim, distraction-free spot until you're drowsy and then returning to bed. Don't time it precisely. A rough guess is fine.

This can feel backwards, but each anxious half hour in bed strengthens the link between your bed and being alert. Getting up breaks it, and over a couple of weeks the bed starts to mean "sleep" again.

Step 6: If a Jolt Wakes You, Name It

If a hypnic jerk or a sudden surge pulls you back, say to yourself: "That was a sleep start. It means I was falling asleep." Then return to a few long exhales. Treating the jolt as a sign of progress rather than danger takes much of the fear out of it.

What to Tell Yourself When the Thoughts Get Loud

Arguing with anxious thoughts at midnight rarely works. Instead, try short, kind sentences that lower the stakes:

  • "This is my body on night watch. It isn't an emergency."
  • "I've written that down. It's handled until tomorrow."
  • "I don't have to sleep right now. I just have to rest."
  • "Thoughts at night are louder, not truer."
  • "I've got through tired days before. I can do it again."

If one worry keeps returning, give it an appointment, "I'll think about you at 10 a.m.," and keep it. Your brain learns the worry won't be lost overnight. For more, see our calm plan for falling asleep when you're overthinking.

Habits That Quietly Make Bedtime Anxiety Worse

  • Late caffeine. It can linger in the body for hours. Try a midday cut-off for two weeks and see what changes.
  • Working or scrolling in bed. The more your bed is used for alert activities, the less it signals sleep.
  • Late naps and going to bed early "to make up for it." Both mean more time lying awake and worrying. Wait until you're genuinely sleepy.

When to Get Support

This article offers general information and is not a substitute for personal medical or mental health advice. For many people, anxiety at night before bed reflects a stressful season that will ease. It's worth talking to a GP, doctor or therapist if:

  • You've struggled to fall asleep on most nights for several weeks and it's affecting your mood, work or relationships.
  • Anxiety is showing up during the day as well as at night, or whenever life goes quiet. That pattern is explored in why calm moments can make you anxious.
  • You feel low, flat or tearful as the evening arrives. Evening sadness is its own pattern, which we look at in why you might feel sad at night.
  • You have episodes of chest pain, breathlessness or a racing heart that have never been checked by a doctor.
  • You snore heavily, stop breathing or gasp during sleep, or have an urge to move your legs that keeps you awake. These can point to sleep conditions a doctor can assess.
  • You've come to rely on alcohol, cannabis or over-the-counter sleep aids to get to sleep.
  • Low mood, hopelessness or dark thoughts tend to arrive with the night.

A structured talking therapy called cognitive behavioral therapy for insomnia (CBT-I) is designed for long-running sleep problems, and a doctor can help you find it. Treating the anxiety itself can also make nights easier.

If you are having thoughts of suicide or self-harm, please reach out now. In the US, call or text 988 (Suicide & Crisis Lifeline). In the UK and Ireland, call Samaritans on 116 123. In Canada, call or text 988. In Australia, call Lifeline on 13 11 14. If you're in immediate danger, call your local emergency number.

Frequently Asked Questions

Why do I feel anxious when I try to sleep but fine during the day?

During the day, work, people and screens keep your attention pointed outward, so background stress goes unnoticed. When you lie down in a quiet, dark room, that input disappears and your attention turns inward, toward worries and body sensations. An anxious nervous system reads those as possible threats and stays alert. It doesn't mean the anxiety is new. It means bedtime is the first moment it has your full attention.

Can anxiety stop you from falling asleep at all?

It can make falling asleep much harder, and on some nights it may feel like sleep will never come. Stress hormones keep the brain in a switched-on state that resists sleep. Most people still get some sleep, even if it's later and lighter than they want. If you're struggling on most nights for several weeks, talk to a doctor, as CBT for insomnia and anxiety treatment can both help.

Why do I jolt awake with anxiety just as I'm falling asleep?

That jolt is usually a hypnic jerk, a harmless muscle twitch that happens at the edge of sleep and is very common. Stress, caffeine and tiredness can make it more likely. The problem is that an anxious body treats the jolt as an alarm and releases adrenaline. Try telling yourself, "That was a sleep start, I was nearly asleep," then go back to slow, long exhales.

Should I get out of bed if I can't fall asleep?

Yes, if you've been awake for what feels like about 20 minutes and you're getting more frustrated or anxious. Go to another dimly lit room and do something calm, like reading a paper book, until you feel sleepy, then return to bed. It feels backwards, but it stops your brain linking the bed with lying awake. Avoid bright screens and clock-watching while you're up.

How can I calm anxiety at night before bed quickly?

Start with your breath: inhale for four, exhale slowly for six to eight, for two to five minutes. Then do a quick body scan from toes to forehead, softening each area. If your mind keeps grabbing at worries, picture random objects for each letter of a neutral word. Write any persistent worry on paper first so your brain knows it's been captured for tomorrow.

Your Body Can Relearn That Bed Is Safe

If you've been dealing with anxiety when trying to fall asleep, it isn't because you're bad at sleeping. It's because a busy, stretched nervous system finally gets quiet enough to notice its own alarm, and then the bed starts to feel like part of the problem. That's a learned loop, and learned loops can change.

You don't need to overhaul your whole evening. Tonight, try just one thing: before you get into bed, spend five minutes writing down what's on your mind, then close the notebook and leave it outside the bedroom. When you lie down, give yourself ten slow breaths with long exhales. That's enough for a first night.

Found this helpful?

About the Author

Dr. Sarah Mitchell

Ph.D., Licensed Clinical Psychologist

Dr. Sarah Mitchell is a licensed clinical psychologist with over 10 years of experience in cognitive behavioral therapy, anxiety disorders, and mindfulness-based interventions. She writes to make evidence-based mental health guidance accessible to everyone.

Comments (0)

Leave a Comment

Comments are reviewed before publication. See our privacy policy.

Enjoyed this article?

Subscribe to get more evidence-based mental health insights weekly.

You Might Also Like