Anxiety tends to spike at night because the distractions of the day fall away, leaving your mind free to loop through worries. The good news is that several straightforward techniques can interrupt that cycle and help your body shift into sleep mode. Most of them work by targeting the same thing: lowering your physiological arousal and closing the “open loops” your brain is trying to process.
Why Anxiety Gets Worse at Night
Your body’s stress hormones don’t stay level throughout the night. Research on people with chronic insomnia shows that cortisol, the primary stress hormone, drops to its lowest point during deep sleep and climbs highest during periods of wakefulness. When you’re lying awake anxious, your body responds with elevated cortisol, which makes you feel more alert, which keeps you awake longer. It becomes a feedback loop: anxiety prevents sleep, and the lack of sleep raises stress hormones that fuel more anxiety.
During the day, tasks and conversations occupy your working memory. At night, that mental bandwidth opens up, and your brain defaults to scanning for unresolved problems. Sleep researchers describe this as your mind staying in “monitoring mode,” cycling through unfinished business. Understanding this helps explain why the techniques below work: they either calm the body’s stress response directly or give your brain a way to set down whatever it’s carrying.
Write a To-Do List, Not a Gratitude List
If racing thoughts are your main problem, a “brain dump” before bed is one of the most effective tools available. A 2018 study at Baylor University brought 57 adults into a sleep lab and had half of them write a to-do list of tasks they needed to complete in the coming days. The other half wrote about tasks they had already finished. The to-do list group fell asleep significantly faster.
The reason is intuitive: unfinished tasks create open cognitive loops. Your brain keeps circling back to them because it doesn’t want to forget. Writing them down acts as an external reminder, giving your brain permission to stop monitoring. Gratitude journaling improves general mood and well-being, but it doesn’t close those loops. If you’re lying in bed mentally rehearsing tomorrow, spend five minutes writing everything down on paper or in a notes app. Be specific: not “deal with work stuff” but “email Sarah about the project timeline” and “check if the invoice was paid.”
Schedule a Worry Window Earlier in the Evening
The NHS recommends a technique called “worry time,” and it’s surprisingly effective once it becomes a habit. Set aside 10 to 15 minutes earlier in the evening, well before you get into bed, to sit with your worries deliberately. Write them down and sort them into two categories: things you can take action on and things that are hypothetical or outside your control.
For actionable worries, write a concrete plan. What will you do, how, and when? Once you have a plan, the worry loses much of its power. For hypothetical worries (things that might happen, worst-case scenarios), the exercise is simply recognizing that no action is available right now. When those worries pop up later at bedtime, you can remind yourself: “I already dealt with that during worry time.” Over a week or two, your brain starts to trust the system and interrupts the bedtime spiral earlier.
Use Slow, Rhythmic Breathing
Controlled breathing is the fastest way to shift your nervous system from a stressed state to a calm one. You may have heard of the 4-7-8 technique (inhale for 4 counts, hold for 7, exhale for 8), and while it’s popular, recent research suggests it’s not the most effective pattern for activating your body’s relaxation response. A study comparing several breathing methods found that simply breathing at a rate of about 6 breaths per minute, with a longer exhale than inhale (roughly 4 seconds in, 6 seconds out), produced significantly stronger parasympathetic activation than the 4-7-8 pattern.
The key principle is the extended exhale. When you exhale slowly, you stimulate the vagus nerve, which tells your heart to slow down and your muscles to relax. Try this: breathe in through your nose for 4 seconds, then out through your nose or mouth for 6 seconds. Repeat for 3 to 5 minutes. You don’t need to count perfectly. Just make the exhale noticeably longer than the inhale and keep the rhythm steady.
Try Progressive Muscle Relaxation
Progressive muscle relaxation works by systematically tensing and releasing each muscle group, which makes your body physically let go of tension you may not even realize you’re holding. Harvard Health Publishing recommends doing it while lying on your back in bed, with a pillow under your head or knees.
Start with your feet. Curl your toes and arch your feet, hold the tension briefly, then release and let your feet sink into the mattress. Notice the difference between the tension and the relaxation. Move slowly upward through your calves, thighs, buttocks, lower back, abdomen, upper back, shoulders, arms, hands, neck, jaw, and forehead. Breathe softly throughout. The whole process takes about 10 to 15 minutes, and the combination of focused attention and physical release often makes it hard to stay awake by the time you reach your shoulders. If your mind wanders to worries, gently bring your attention back to whatever muscle group you’re on.
Cool Your Bedroom Down
Your core body temperature naturally drops as you fall asleep, and a warm room fights that process. Sleep experts at the Cleveland Clinic recommend keeping your bedroom between 60 and 67°F (15 to 19°C). If that sounds cold, it is cooler than most people keep their homes during the day, and that’s the point. A cool room helps your body temperature fall, which signals your brain that it’s time for sleep.
If you can’t control your thermostat precisely, a fan helps. So does wearing light sleepwear or sleeping with lighter blankets. A warm shower 60 to 90 minutes before bed can also help: it raises your skin temperature temporarily, which causes your blood vessels to dilate and release heat faster, actually cooling your core temperature by the time you climb into bed.
Time Your Exercise Right
Regular exercise is one of the strongest long-term tools for managing anxiety, but timing matters. High-intensity workouts like interval training or heavy lifting less than one hour before bed can raise your heart rate and core temperature enough to delay sleep onset and reduce sleep quality. Harvard Health Publishing recommends avoiding strenuous exercise for at least two hours before bed.
Gentle movement in the evening is fine and can even help. Light stretching, a slow walk, or easy yoga won’t spike your heart rate the way a hard run will. If your schedule only allows evening workouts, keep them moderate and finish at least two hours before your target bedtime.
Limit Screens and Bright Light
Bright light in the evening suppresses your body’s natural production of melatonin, the hormone that signals sleepiness. Phones, tablets, and laptops are particularly disruptive because you hold them close to your face and they emit concentrated light. Dimming screens and overhead lights in the hour before bed helps your melatonin rise on schedule. Night mode on devices reduces blue light specifically, but dimming overall brightness matters more than the color of the light.
This is especially relevant for anxiety because scrolling through news or social media feeds your brain new material to worry about. If you use your phone for a sleep app, breathing timer, or white noise, set it up before you get into bed and then put it face down or out of reach.
Consider Magnesium, but Set Realistic Expectations
Magnesium plays a role in producing serotonin, a brain chemical involved in mood regulation, and many people don’t get enough of it from food alone. The recommended daily intake is 310 to 320 mg for adult women and 400 to 420 mg for adult men, depending on age. Magnesium glycinate is the form most commonly recommended for sleep and relaxation because it’s well absorbed and less likely to cause digestive issues than other forms.
That said, Mayo Clinic Press notes that while magnesium is widely marketed for relaxation and sleep, it hasn’t been proven effective for those purposes in human studies. If you’re significantly deficient, supplementing may help. But magnesium is not a substitute for the behavioral techniques above. Think of it as one small piece of the puzzle rather than a solution on its own. Foods rich in magnesium include pumpkin seeds, almonds, spinach, black beans, and dark chocolate.
Build a Consistent Wind-Down Routine
Individual techniques matter, but the container you put them in matters too. Your brain responds powerfully to routine. When you do the same sequence of calming activities at the same time each night, your nervous system begins to associate that sequence with sleep. Over time, just starting the routine can trigger a drop in alertness.
A practical wind-down might look like this: finish any vigorous activity two hours before bed, dim the lights and put away screens an hour before bed, do your worry-time writing or to-do list at that point, take a warm shower, get into a cool bedroom, and spend 10 minutes with progressive muscle relaxation or slow breathing. You don’t need to adopt every technique at once. Pick two or three that feel manageable, do them consistently for two weeks, and adjust from there. Consistency is what trains your body to expect sleep instead of vigilance.

