Loading...
Skip to Content

Why Your Brain Won’t Shut Up at Night (And How to Fix It)

You know that feeling. You finally get into bed. The lights are off. The room is quiet. Your pillow feels just right. And then your brain decides it’s time to throw a party. Suddenly you are thinking about that thing you said in fifth grade. You are worrying about tomorrow’s test. You are replaying a conversation from three hours ago. Your body is tired, but your mind is wide awake. This is one of the most frustrating parts of anxiety, and it is also one of the most common reasons people struggle to get good sleep.

Here is the real kicker. When you do not sleep well, your anxiety gets worse. It is a nasty circle. You are anxious, so you cannot fall asleep. Then you are tired, so you cannot handle stress the next day. Then you are more anxious again. It feels impossible to break out of. But there is a way to stop this loop, and it starts with understanding why your brain acts this way at night.

During the day, your brain is busy. It is dealing with school, work, people, decisions, and a million little things. It shoves all your worries into a mental closet and slams the door. But at night, when everything is quiet, there is nothing left to distract it. So it opens that closet door and dumps everything out. Your brain thinks it is helping. It thinks, “Hey, we finally have time to figure this out.“ The problem is, it picks the worst possible time to do this work. You are lying down. You are safe. But your brain does not know the difference between a real problem and a thought. It treats every worry like a fire that needs to be put out right now.

So what do you do? First, you have to give your brain a different job. One of the best tricks I have ever learned is called the brain dump. Before you get into bed, grab a notebook and a pen. Write down everything that is bouncing around in your head. Every worry. Every thing you need to do tomorrow. Every stupid memory that keeps popping up. Do not try to solve any of it. Just put it on paper. You are telling your brain, “I see these problems. I have written them down. They are safe here. We can deal with them tomorrow.“ This sounds simple, but it works because your brain trusts paper. Once it sees the thoughts outside of your head, it lets go a little.

Second, you need to build a hard stop between your day and your bed. This is called a wind-down routine. For the last hour before you sleep, no screens. No phone. No TikTok. No YouTube. The blue light from your phone tricks your brain into thinking it is still daytime. It blocks a chemical called melatonin that helps you feel sleepy. Instead, do something boring. Read a physical book. Listen to calm music. Fold laundry. Pet your dog. The goal is to lower your brain’s energy level slowly, not hit the off switch and expect it to stop.

Third, if you find yourself in bed with a racing brain, do not just lie there and fight it. That makes it worse. Get up. Go sit in the dark for a few minutes. Do not turn on a light. Do not grab your phone. Just sit. Or try this weird but effective trick. Count your breaths backward from one hundred. One breath in, one breath out, ninety-nine. Another breath, ninety-eight. If your mind wanders, just restart at one hundred. This is not meditation. This is just giving your brain a boring, simple job so it stops doing its own stressful job.

Getting good regular sleep is not about being perfect. It is about building habits that tell your brain, “This is a safe time. This is rest time. You can stop now.“ You will still have anxious nights. That is normal. But when you know how to handle them, those nights stop controlling you.

Related Articles

Learn more about Taking Care of Your Body.

Your Blood Sugar and Anxiety: Why Eating on Time Matters

You might not realize it, but the food you eat and when you eat it can totally mess with your anxiety levels.
Learn More

Why Your Blood Sugar is a Big Deal for Anxiety

You know that feeling when you skipped lunch, and suddenly you are shaking, your heart is pounding, and you want to snap at the next person who talks to you?
Learn More

Why Going to Bed at the Same Time Each Night Helps Your Anxiety

You probably already know that getting enough sleep is important.
Learn More

Quick Tips

What can I do during the day to sleep better at night?

What you do all day directly affects your night! Try to get some natural sunlight in the morning, as this helps reset your internal clock. Get moving with some exercise, even a brisk walk, but try to finish it a few hours before bed. Also, watch your caffeine intake. Avoid coffee, soda, or tea in the late afternoon and evening. These small daily habits build up, making your body ready and eager for a good night’s sleep when the time comes.

What should I do if I’m lying in bed and my mind won’t stop worrying?

Don’t just lie there getting frustrated! If you’re still awake after about 20 minutes, get out of bed. Go to another room and do something calm and boring in dim light, like reading a simple book or listening to soft music. Avoid looking at your phone. Once you start feeling sleepy, head back to bed. This breaks the cycle of anxiety about not sleeping and helps you associate your bed only with sleepiness.

Why is a regular sleep schedule so important for calming my anxiety?

Your body loves a predictable routine. When you go to bed and wake up at roughly the same time every day, even on weekends, you train your body’s internal clock. This makes it much easier to fall asleep and wake up feeling refreshed. When you are well-rested, your mind is stronger. It’s better at handling daily stresses and worries without letting them spiral into major anxiety. Think of it as giving your brain the steady foundation it needs to stay calm.

How can I make my bedroom better for sleeping?

Turn your bedroom into a sleep cave. It should be cool, dark, and quiet. Use blackout curtains or an eye mask to block out light, and maybe a fan or a white noise machine to cover up distracting sounds. Your bed should be for sleep only—try to avoid working, eating, or watching movies in it. This trains your brain to know that when you get into bed, it’s time to shut down and rest, not to worry or be active.

Is looking at my phone right before bed really that bad?

Yes, it really is one of the worst things for sleep. The bright blue light from your phone, tablet, or computer tricks your brain into thinking it’s still daytime. This stops your brain from releasing a chemical that makes you feel sleepy. Instead of scrolling, try a different routine for the last hour before bed. You could read a physical book, listen to calming music, or write down your thoughts in a journal to get them out of your head.