Nighttime anxiety is common, and it has a biological explanation: your brain loses the distractions that keep worry at bay during the day, while hormonal shifts can make your stress response more reactive in the evening hours. The good news is that a combination of quick in-the-moment techniques and longer-term habits can significantly reduce how much anxiety disrupts your sleep.
Why Anxiety Gets Worse at Night
During the day, your brain is occupied with tasks, conversations, and decisions. At night, that external input disappears, and your mind defaults to processing unresolved worries. This alone would be enough to make nighttime feel harder, but biology adds another layer.
Your body’s main stress hormone follows a predictable daily rhythm, peaking in the early morning to help you wake up and gradually dropping to its lowest point in the evening. When that rhythm gets disrupted, whether from irregular sleep schedules, shift work, or chronic stress, evening levels of the hormone can stay elevated instead of falling. That elevated stress hormone increases the reactivity of the brain’s fear center, creating a state of hypervigilance and exaggerated stress reactions. The result is a self-reinforcing cycle: stress keeps the hormone high, and the hormone keeps you anxious.
Screen use compounds the problem. Blue light from phones and laptops suppresses melatonin, the hormone that signals your body it’s time to sleep. Research shows that after two hours of blue light exposure, melatonin levels drop to roughly 7.5 pg/mL, compared to 26.0 pg/mL under red light. When melatonin is suppressed, you stay alert longer, giving anxiety more time to build before you finally feel sleepy.
Breathing Techniques That Work Immediately
When anxiety spikes in bed, controlled breathing is the fastest way to shift your nervous system from a stress state to a calmer one. The 4-7-8 technique is one of the most widely recommended methods. Place the tip of your tongue against the ridge of tissue behind your upper front teeth. Exhale completely through your mouth with a whooshing sound. Then inhale through your nose for four counts, hold your breath for seven counts, and exhale forcefully through your mouth for eight counts, making that same whoosh sound. Repeat the cycle three more times.
The long exhale is the key. Exhaling for longer than you inhale activates the branch of your nervous system responsible for rest and recovery, slowing your heart rate and lowering blood pressure within minutes. If counting feels stressful, simply focus on making each exhale noticeably longer than your inhale.
The 5-4-3-2-1 Grounding Method
If your anxiety is closer to panic, with racing thoughts or a sense of detachment, grounding pulls your attention back into your body and surroundings. Start with a few slow breaths, then work through your senses: notice five things you can see (even in a dim room, shapes and shadows count), four things you can physically touch (the texture of your pillow, the weight of your blanket, the coolness of the sheet), three things you can hear, two things you can smell, and one thing you can taste.
This works because anxiety is future-focused. Forcing your brain to catalog sensory input anchors it in the present moment, which interrupts the spiral of “what if” thinking.
Cold Water for Acute Panic
For moments when anxiety crosses into full-body panic, cold water on your face triggers what’s known as the dive reflex, an automatic response that rapidly slows your heart rate. Fill a bowl with cold water (ideally between 45 and 59°F, or 7 to 15°C), take a deep breath, and submerge your face for about 30 seconds, making sure the water covers your forehead and the area around your eyes. That region has the highest density of cold-sensing nerve receptors, which is why splashing water on your cheeks alone is less effective than full-face immersion.
If a bowl of ice water at 2 a.m. isn’t practical, pressing a cold, wet washcloth across your forehead and closed eyes provides a milder version of the same effect.
Scheduled Worry Time
Much of nighttime anxiety comes from worries you’ve been pushing aside all day. They surface the moment you’re still. A technique recommended by the NHS called “scheduled worry time” addresses this directly: set aside 10 to 15 minutes earlier in the evening, well before bed, to write down everything on your mind and briefly brainstorm possible solutions or next steps for each item.
The goal isn’t to solve every problem. It’s to convince your brain that these concerns have been acknowledged and filed. When a worry pops up later in bed, you can remind yourself, “I already wrote that down. I’ll deal with it tomorrow.” Over time, this trains your mind to defer worries rather than spinning on them at midnight. The key is consistency. Doing this daily makes it far more effective than using it only on bad nights.
Retraining Your Brain’s Association With Bed
If you regularly lie awake anxious, your brain starts to associate the bed with wakefulness and stress rather than sleep. Cognitive behavioral therapy for insomnia uses a technique called stimulus control to reverse this. The rules are simple but require discipline:
- Only get into bed when you feel sleepy, not just tired.
- Use the bed only for sleep (and sex). No scrolling, no watching shows, no working.
- If you can’t fall asleep within 15 to 20 minutes, get up and go to another room. Do something quiet and low-stimulation, like reading a physical book in dim light, and return to bed only when sleepiness returns.
- Repeat this cycle as many times as needed throughout the night.
- Wake up at the same time every morning, regardless of how the night went.
- Skip naps during the day.
This feels counterproductive at first, and the first week or two can be rough. But the approach has decades of research behind it. By consistently pairing the bed with sleepiness rather than lying there anxious, you gradually reshape the automatic response your brain has to getting under the covers.
Setting Up Your Bedroom
Small environmental changes make a noticeable difference. Keep your bedroom between 60 and 67°F (15 to 19°C). Your core body temperature needs to drop slightly to initiate sleep, and a cool room supports that process. A room that’s too warm can increase restlessness and make anxiety symptoms feel more physical.
Reduce light exposure in the hour or two before bed. Dimming overhead lights and switching devices to night mode helps, but putting screens away entirely is the most effective approach. If you read on a device, choose one with an e-ink screen rather than a backlit tablet.
Weighted blankets can also help. The gentle, distributed pressure mimics a sensation called deep pressure stimulation, which promotes calm. The standard recommendation is a blanket that weighs about 10% of your body weight, though anywhere from 5% to 12% works for most people. A 150-pound person would start with a 15-pound blanket.
Supplements Worth Considering
L-theanine, an amino acid found naturally in tea, has consistent evidence for improving sleep quality. A systematic review of supplementation trials found that 200 to 450 mg per day, taken in the hours before bed, is both safe and effective for supporting sleep in adults. It promotes relaxation without sedation, meaning it calms the mental chatter without making you feel drugged.
Magnesium is another option, particularly forms that are well-absorbed. In one study, participants taking magnesium glycinate at a dose of 4 to 6 mg per kilogram of body weight saw significant reductions in self-reported anxiety over six months. For a 150-pound person, that works out to roughly 270 to 400 mg per day. Many people are mildly deficient in magnesium without knowing it, and correcting that deficiency alone can improve both anxiety and sleep quality.
Neither supplement is a replacement for the behavioral strategies above, but they can make those strategies work faster by lowering your baseline level of tension heading into the night.
Building a Nightly Wind-Down
Individual techniques help, but combining them into a consistent routine is what produces lasting change. A practical nightly sequence might look like this: screens off 60 to 90 minutes before your target bedtime, 10 to 15 minutes of scheduled worry time with a notebook, a cool shower or simply turning down the thermostat, then a quiet activity like reading or stretching until genuine sleepiness arrives. If anxiety surfaces once you’re in bed, use the 4-7-8 breathing or the grounding technique before resorting to getting up.
The consistency matters more than perfection. Your body’s internal clock responds to predictable cues, and giving it the same signals each night gradually makes the transition from wakefulness to sleep feel less like a battle and more like a natural shift.

