It’s 2 a.m. The house is quiet, the lights are off, and everyone else seems to be asleep. Everyone except you β and the thoughts that only show up once the day is done. The email you forgot to answer. The conversation you keep replaying. The worry about tomorrow that feels ten times bigger in the dark than it did at lunchtime. If that sounds familiar, you’re not alone. Learning how to sleep with anxiety is one of the most common sleep problems there is, and it has very little to do with willpower.
Here’s the part nobody tells you: anxiety and sleep feed each other. Anxiety keeps you awake, and a short night makes the anxiety louder the next day. Small, specific techniques can calm your body enough to let sleep in, and steady habits can quiet the nights over weeks. This guide covers both: what to do tonight, and what changes the pattern.
Written by Md Masud Rana based on published expert sources. This article has not been professionally reviewed. See our sources below.
Last updated: November 2026
Quick Answer: How Do You Sleep When Anxiety Won’t Switch Off?
To sleep with anxiety, calm your body before you try to calm your mind. Slow your breathing with the 4-7-8 technique, relax your muscles one group at a time, and give racing thoughts somewhere to go β a short worry journal before bed works better than arguing with them at midnight. If you’re still awake after about 20 minutes, get up and do something quiet until you feel sleepy. Keep a regular sleep schedule, cut caffeine after midday, and keep your phone out of the bedroom. If anxiety regularly ruins your sleep for weeks, cognitive behavioural therapy for insomnia (CBT-I) is the best-supported long-term treatment.

Contents
- Why Anxiety Gets Louder at Night
- The AnxietyβSleep Cycle: How One Bad Night Feeds the Next
- How to Sleep With Anxiety Tonight: 6 Techniques That Work
- Build a Wind-Down Routine That Tells Your Brain It’s Safe
- Daytime Habits That Make Night Anxiety Quieter
- What Recent Research Shows
- 5 Common Mistakes That Make Night Anxiety Worse
- When to Get Professional Help
- Final Recommendations
- Frequently Asked Questions
- References
Why Anxiety Gets Louder at Night
Anxiety that barely registers during the day can feel overwhelming at bedtime. That’s not your imagination. Several things change at once when the day ends, and together they hand your worries a megaphone.
The distractions disappear
During the day, your attention has somewhere to go. Work, conversations, errands, the noise of ordinary life β all of it competes with your worries for space in your head. At night, that competition ends. As psychologist Susan Albers of the Cleveland Clinic puts it, “All the things that have been put on the back burner come to the forefront of your head. Without competing demands for your attention, these worries often get louder and more pronounced.” The worries you couldn’t solve during the day are still there β and now they’re the only thing in the room. Cleveland Clinic’s guide to calming anxiety at night describes exactly this pattern.
There’s a second layer: when you stop doing things, the brain shifts into replay mode. Thoughts you pushed aside in a meeting return at night with more force β pushing a thought away during the day isn’t dealing with it. It was postponed, not processed.
Your stress system stays switched on
Anxiety activates the body’s stress response: heart rate rises, muscles tense, breathing gets shallow and fast. That response is useful when you need to react quickly β and the opposite of what sleep needs. Healthline’s guide to nighttime anxiety explains that this alert state can linger long after the stressful part of the day is over, leaving you wired when you’re trying to wind down. Cleveland Clinic adds that chronic daytime stress taxes the hormones linked to sleep, so night-time trouble can signal that daytime stress needs attention too.
You notice your body more
Lying still in a quiet, dark room, you become aware of things you never notice during the day: your heartbeat, the tension in your jaw, a tight feeling in your chest. Healthline points out that this heightened awareness can feed anxiety β if you read a racing heartbeat as a warning sign, the worry grows and the loop tightens. The sensations themselves are usually harmless; it’s the interpretation that turns them into a problem.
The fear of not sleeping joins in
Then there’s the cruel twist. Once anxiety has cost you a few nights’ sleep, a new worry appears: the fear of another bad night. You start watching the clock and dreading bedtime itself. Sleep experts call this sleep performance anxiety β one of the most common reasons a short rough patch turns into weeks of poor sleep.
None of these mechanisms means you’re broken. They mean your brain is doing something normal in unhelpful circumstances β and each one has a practical answer, covered below.
The AnxietyβSleep Cycle: How One Bad Night Feeds the Next
Picture a Tuesday. Something stressful happens β a difficult conversation at work, a bill you weren’t expecting, a health worry you can’t resolve today. You carry it through the day, mostly managing. At night, with nothing to distract you, it surfaces. You lie awake. You sleep badly, or barely at all.
Wednesday arrives, and now you’re tired as well as anxious. Tired brains regulate emotion worse: small problems feel bigger, patience runs thin. By Wednesday night, you’re anxious about being anxious β and about being tired again tomorrow.
Harvard Health describes the same loop from the other side: too little sleep affects mood, contributing to irritability and sometimes depression, while sleep usually improves when an anxiety disorder is treated. Harvard Health’s sleep hygiene guidance makes the point plainly β the two problems are tangled together.
The good news is that the cycle runs in both directions. A single better night doesn’t fix everything, but it takes the edge off the next day’s anxiety, which makes the next night a little easier. You’re not looking for a miracle cure tonight β just one small interruption in the loop.
It also helps to know what’s normal. Everyone wakes briefly several times a night β most of the time so briefly that you never notice. As sleep specialists explained to CNN, when you’re under more stress, your mind can latch on to a worry during one of those brief awakenings and turn it into full alertness. CNN’s report on racing thoughts at night notes that waking in the middle of the night with racing thoughts is one of the most frequently reported symptoms of chronic insomnia. A 3 a.m. waking is common, and it doesn’t mean the night is ruined.
How to Sleep With Anxiety Tonight: 6 Techniques That Work
These are for right now β tonight, when your mind is racing and sleep feels far away. None needs equipment, an app, or practice. Try one, not all six at once. The goal is giving your nervous system a clear signal that it’s safe to slow down.
1. The 4-7-8 breathing technique
Slow breathing is the fastest way to tell your body to stand down. When you’re anxious, breathing becomes fast and shallow β the opposite of what sleep needs. The 4-7-8 technique, popularised by physician Dr Andrew Weil and based on the yogic practice of pranayama, works like this: breathe in quietly through your nose for four, hold for seven, then exhale slowly through your mouth for eight. Repeat four times to start.
Here’s the honest part: the evidence for the 4-7-8 pattern specifically is limited. Medical News Today notes that clinical research behind this exact technique is thin, and most of the support is anecdotal β though slow, rhythmic breathing in general is linked to lower heart rate and blood pressure. Cleveland Clinic adds that the counting itself helps, because it focuses your mind on something other than your worries. Treat 4-7-8 as a useful tool, not a proven cure. If the long hold feels uncomfortable, shorten the counts and keep the ratio.
2. Progressive muscle relaxation
Anxiety lives in the body as much as in the mind, and tense muscles are one of its clearest signs. Progressive muscle relaxation (PMR) works through that directly. Starting at your feet, tense one muscle group firmly for about five seconds, then release it completely and notice the difference. Move up: calves, thighs, stomach, hands, arms, shoulders, face.
Most people are surprised by how much tension they’re carrying β the jaw especially, and the shoulders, which creep towards the ears without permission. The release after each squeeze teaches your body what “relaxed” actually feels like. Do one slow pass through the whole body.
3. The 3-3-3 grounding rule
When thoughts are spiralling, grounding pulls your attention back to the room you’re actually in. The 3-3-3 rule is simple: name three things you can see, three things you can hear, and move three parts of your body β wiggle your toes, roll your shoulders, stretch your fingers. Healthline describes it as a grounding technique that shifts attention away from anxious thoughts and toward your surroundings, and it works just as well at 3 a.m. as it does at bedtime.
The point isn’t the numbers. It’s the shift from an imagined future to the present moment, where nothing is actually going wrong. If three feels too fiddly when you’re half asleep, try the five-senses version instead.
4. Cognitive shuffling
This one sounds strange, and that’s rather the point. Cognitive shuffling, described by clinical psychologist Dr Leah Kaylor, involves picturing random, unemotional words in your head β for each letter of a chosen word, think of as many matching words as you can for five to eight seconds each. Pick the word “piano” and you might think “pear, parachute, pirouetteβ¦ item, intention, igloo⦔ and so on. CNN’s sleep experts explain that it usually works within five to fifteen minutes, because it distracts the brain from stress while mimicking the fragmented, random thought patterns that naturally appear as you drift into sleep.
It feels silly the first time. That’s a feature, not a flaw β the silliness is what stops the worry loop. If word games don’t suit you, try a mental walk-through instead: picture yourself walking slowly through a familiar, neutral place and notice the details as you go.
5. The worry journal (do it earlier, not at midnight)
Writing worries down is one of the most consistently recommended techniques by sleep psychologists β but timing matters. Done at midnight, in bed, it can keep your brain switched on. Done an hour or two before bed, it works far better. Spend ten to fifteen minutes writing down everything on your mind. Then, for each one, write the next small step β or write “can’t be solved tonight” and let it sit on the page instead of in your head.
Writing externalises the worry. Once it’s on paper, your brain doesn’t have to keep rehearsing it to make sure it isn’t forgotten. Cleveland Clinic suggests keeping a journal by the bed for the same reason. If a thought wakes you at night, scribble it on a notepad and deal with it in the morning β don’t open your phone.
6. The 20-minute rule: get up
If you’ve been lying awake for about twenty minutes, get out of bed. This is the single most counterintuitive advice in sleep science, and one of the most important. Staying in bed while wide awake teaches your brain to associate the bed with worry instead of sleep. Getting up breaks that link.
Do something quiet in dim light: read a few pages, listen to calm music, fold laundry, do a puzzle. Avoid screens and work emails. Go back to bed only when you feel sleepy. Harvard Health gives the same advice.
Build a Wind-Down Routine That Tells Your Brain It’s Safe
Techniques for tonight are useful. A routine is what makes them unnecessary most nights. The idea is simple: give your brain the same sequence of calming signals every evening, so it learns that this sequence means sleep is coming. As Cleveland Clinic’s Dr Albers says, “You can’t expect to go from 100 mph and then suddenly stop” β she recommends a thirty-minute transition between the day and bed.
The 30-minute buffer zone
Protect the last half hour before bed like an appointment. No work, no difficult conversations, no news, no doomscrolling. Fill it with things that lower your arousal: a warm bath, light stretching, reading a paper book, listening to music. After a week or two of the same routine, your body starts winding down automatically when it begins.
Prepare for tomorrow during the buffer zone, not in bed: lay out clothes, pack lunch, check the next day’s calendar. That way, the “I forgot to⦔ thoughts have nowhere to hide when the lights go out. Our guide to building a bedtime routine for adults walks through the whole evening step by step.
Give your phone a bedtime
This one is hard, and it’s the one with the biggest payoff. Screens do two unhelpful things at once: the light signals daytime to your brain, and the content β news, social media, work messages β feeds it the stimulation that keeps anxiety going. Cleveland Clinic calls phone use in bed “a No. 1 no-no for helping you fall back to sleep.”
Charge your phone outside the bedroom if you can. If you need it as an alarm, put it across the room on silent, face down. If anxiety wakes you at night, don’t check it.
Caffeine: the afternoon cut-off
Caffeine can take up to eight hours to wear off, according to Harvard Health, and people who experience panic attacks are often extra-sensitive to it. That 4 p.m. coffee is still doing its work at midnight. Keep caffeine to the morning, and switch to herbal tea or warm water in the afternoon. Cut back gradually β a sudden stop brings headaches and irritability.
Make the bedroom a sleep-only zone
Your brain is quick to form associations, and you want the bedroom linked to sleep β not to work, worry, or scrolling. Keep it cool, dark, and quiet β sleep specialists generally suggest around 18β19Β°C (65β67Β°F). A mug of chamomile tea before bed can help too; Cleveland Clinic notes it has been clinically shown to reduce anxiety and promote sleep. If street noise is a problem, a fan or a white-noise machine is a cheap fix; if light leaks in, blackout curtains or a sleep mask do the job. And if you share the bed with a partner who snores, our guide to how to stop snoring covers the practical fixes.
Daytime Habits That Make Night Anxiety Quieter
It sounds backwards, but some of the best fixes happen while the sun is up. Night anxiety is often the bill coming due for a day that never gave your stress system a chance to discharge.
Move your body β earlier, not later
Regular exercise is one of the most reliable ways to lower anxiety and improve sleep β far better supported than most sleep supplements. A walk, a swim, a bike ride: anything that gets your heart rate up for twenty or thirty minutes. Aim for the morning or afternoon rather than the hour before bed, when vigorous exercise can leave you too wired to sleep. Gentle evening movement is different: light stretching or slow yoga can help you wind down.
Get daylight in the morning
Daylight helps set your body clock. Harvard Health suggests spending about thirty minutes outdoors in daylight each day. A morning walk does double duty: daylight plus movement plus a break from screens. If winter mornings are dark, getting outside at lunchtime still helps.
Keep a steady schedule β including weekends
Going to bed and waking up at roughly the same time every day, even on weekends, is the single most recommended habit in sleep medicine. It trains your body to feel sleepy at the same hour each night. If your schedule has drifted, shift it back gradually. Our guide to fixing your sleep schedule covers the step-by-step approach.
Watch the naps
A short daytime nap can help if you’re exhausted β but keep it under an hour and never after mid-afternoon, or it will steal sleep from the coming night. If you’re already struggling to sleep, skipping the nap for a while is often the better trade. Our guide to how long a nap should be explains the timing.
What Recent Research Shows
Two studies published in 2025 give a clear picture of what works best when anxiety and insomnia show up together.
First, a study in the International Journal of Clinical and Health Psychology (2025) followed 118 people with chronic insomnia plus mild anxiety or low mood through an eight-week course of CBT-I. Both treatment groups improved significantly β sleep quality, anxiety, and depression scores all got better. The people who started out with the worst sleep and the highest anxiety improved the most, and the researchers concluded that personalising treatment to the person’s insomnia pattern matters. Read the study on PubMed.
Second, a 2025 randomised trial in Psychological Medicine tested a hybrid digital CBT-I programme β a web-based course plus four video therapy sessions β delivered through workplaces. The 159 participants had at least mild insomnia plus anxiety or depression symptoms. After eight weeks, the intervention group showed significant improvements in insomnia, depression, and anxiety, with large effect sizes. Read the trial record at the University of Warwick.
Practically, CBT-I is the recommended first-line treatment for insomnia, and it helps the anxiety side too β not by sedating you, but by retraining the thoughts and habits that keep you awake. If self-help isn’t enough after a few weeks, asking your doctor about CBT-I is the most useful next step. In the UK, it’s available through NHS talking therapies; elsewhere, your GP or doctor can refer you.
5 Common Mistakes That Make Night Anxiety Worse
1. Trying to force sleep
Lying there repeating “I must fall asleep” is the fastest way to stay awake. Sleep arrives when you stop trying to force it. If it isn’t coming, use the 20-minute rule: get up, do something calm, come back when you’re drowsy.
2. Checking the clock
Every glance adds a calculation: “only five hours leftβ¦ now four and a half.” That maths feeds the anxiety. Turn the clock away. You don’t need to know the time at 3 a.m. β knowing it only makes things worse.
3. Reaching for your phone
A quick scroll to distract yourself is tempting, but the blue light signals daytime to your brain, and the content is stimulating by design. If you wake at night, stay away from the screen entirely.
4. Using alcohol or sleep aids as a nightly fix
A drink might make you drowsy, but alcohol fragments your sleep later in the night and makes anxiety worse the next day. Over-the-counter sleep aids can help short-term, but they don’t fix the underlying pattern, and some interact with medications. Talk to a doctor before using any sleep aid regularly.
5. Treating every bad night as a disaster
One poor night is not a crisis. The danger is in the story you tell yourself about it β “I’ll never sleep properly again” β because that story is what keeps the next night bad too. Note it, move on, and keep the routine going.
When to Get Professional Help
Occasional anxiety at night is common and usually manageable with the techniques above. But some patterns are a sign to talk to a doctor or therapist.
See a healthcare professional if: anxiety or racing thoughts wake you three or more nights a week for three months or longer; sleep problems affect your work, mood, memory, or relationships; you dread going to bed; or you regularly have panic attacks at night. Seek urgent care for chest pain, severe breathlessness, or thoughts of harming yourself.
What a doctor can actually do: rule out medical causes (thyroid problems, sleep apnoea, medication side effects can all masquerade as anxiety-driven insomnia), refer you for CBT-I or therapy for anxiety, and discuss medication options where appropriate. Only a qualified professional who has assessed you can determine what’s driving your sleep problems β an article can’t diagnose you.
Many people wait far too long before asking for help, assuming poor sleep is just part of a busy life. It isn’t. If anxiety is regularly costing you sleep, that’s a legitimate health issue, and effective treatments exist.
Final Recommendations
- Start tonight with one technique, not six. Try 4-7-8 breathing or the worry journal, and give it a few nights before judging it.
- Protect a 30-minute buffer zone before bed. Same time, same calm activities, no screens, no work.
- Use the 20-minute rule. If you’re awake and worrying, get up. The bed is for sleep, not for rehearsing tomorrow’s problems.
- Keep a steady sleep and wake time, even on weekends. Your body clock is the foundation everything else rests on.
- Cut caffeine after midday and skip alcohol in the evening. Both are quiet saboteurs of anxious sleep.
- Move during the day and get morning daylight. Both lower anxiety and strengthen sleep drive.
- Write worries down earlier in the evening β not at midnight, in bed, on your phone.
- Keep your phone out of the bedroom. Charge it elsewhere; use a simple alarm clock.
- Don’t catastrophise one bad night. A rough night happens. The routine matters more than any single night.
- If it persists for weeks, ask your doctor about CBT-I. It’s the best-supported long-term treatment for insomnia with anxiety, and it’s worth pursuing properly.
Frequently Asked Questions
Anxiety often feels worse at night because the day's distractions disappear, leaving worries with nothing to compete against. Your body may also still be alert from daytime stress, and lying quietly makes you more aware of sensations like a racing heartbeat. The fear of another bad night can then add a second layer of anxiety.
Start with your body, not your thoughts. Slow breathing β in for four, hold for seven, out for eight β lowers your heart rate and gives your mind something to focus on besides the worry. Progressive muscle relaxation works the same way. If thoughts keep looping, try cognitive shuffling: picturing random, unemotional words often breaks the cycle within five to fifteen minutes.
The 3-3-3 rule is a grounding technique: name three things you can see, three things you can hear, and move three parts of your body, such as wiggling your toes. It pulls your attention away from anxious thoughts and back to the room you're in. It works at bedtime and if anxiety wakes you during the night.
Yes β if you've been awake for about twenty minutes, get up and do something quiet in dim light until you feel sleepy. Reading, calm music, or folding laundry all work. Avoid screens and work. Staying in bed while wide awake trains your brain to link the bed with worry instead of sleep.
Yes. Anxiety activates your body's stress response, which keeps you alert when you're trying to wind down β racing thoughts, muscle tension, and a faster heartbeat all make it harder to fall asleep or stay asleep. Poor sleep then makes anxiety worse the next day, creating a cycle. The good news: the cycle works both ways.
Brief awakenings are normal β everyone has them. The problem starts when your mind latches on to a worry during one and turns it into full alertness. Don't check the clock, don't reach for your phone, and try grounding or slow breathing. If you're still awake after twenty minutes, get up and do something calm. If it happens three or more nights a week for months, talk to your doctor.
See a doctor if anxiety regularly disrupts your sleep for weeks, affects your work, mood, memory, or relationships, or if you dread bedtime or have panic attacks at night. Seek urgent care for chest pain, severe breathlessness, or thoughts of harming yourself. A doctor can check for medical causes and refer you for CBT-I β the best-supported treatment for insomnia with anxiety.
This content is for educational purposes only and does not replace professional medical advice. Always consult a qualified healthcare professional before making decisions about your health or sleep.
Conclusion
Anxious nights are miserable, but they’re understandable. Your brain isn’t malfunctioning β it’s doing what brains do when the distractions stop and the stress system stays switched on. The techniques here meet that reality where it is: slow breathing calms the body, grounding gives racing thoughts somewhere else to go, and a steady routine teaches your brain that bedtime is safe.
You don’t need to do all of it at once. Pick one thing for tonight β the 4-7-8 breathing, or the worry journal before bed β and one habit for this week, like the 30-minute buffer zone or the afternoon caffeine cut-off. Small changes, repeated, break the cycle: one better night makes the next day easier, and an easier day makes the next night quieter.
And if the nights stay hard for weeks despite your best efforts, that’s not a failure. It’s information β time to talk to a doctor about CBT-I or other professional support. Good sleep is worth pursuing properly, and you don’t have to figure it out alone.
For more on falling asleep itself, read our guide to how to fall asleep faster β and if you regularly wake up unrefreshed, our guide on why you wake up tired every morning explains the other half of the picture.
References
- Harvard Health Publishing β Tips for beating anxiety to get a better night’s sleep β Harvard Medical School β https://www.health.harvard.edu/mind-and-mood/tips-for-beating-anxiety-to-get-a-better-nights-sleep
- Cleveland Clinic β How to Calm Your Anxiety at Night β Cleveland Clinic β https://health.clevelandclinic.org/how-to-calm-your-anxiety-at-night
- Healthline β Nighttime Anxiety: Causes, Symptoms, and Treatments β Healthline β https://www.healthline.com/health/anxiety/anxiety-at-night
- Medical News Today β 4-7-8 breathing: How it works, benefits, techniques, and uses β Medical News Today β https://www.medicalnewstoday.com/articles/324417
- CNN β If worries keep you from falling back asleep, experts know what to try β CNN, 2025 β https://www.cnn.com/2025/11/20/health/how-to-stop-mind-racing-sleep-wellness?cid=external-feeds_iluminar_meta
- Lyu D, et al. β Exploring the associations between data-driven insomnia disorder combined with mild anxiety or/and depressive symptoms and the efficacy of Cognitive-Behavioral Therapy for insomnia β International Journal of Clinical and Health Psychology, 2025 β https://pubmed.ncbi.nlm.nih.gov/40248362/
- Moukhtarian T, et al. β Digital CBT for insomnia and emotion regulation in the workplace: a randomised waitlist controlled trial β Psychological Medicine, 2025 β https://wrap.warwick.ac.uk/id/eprint/189520/

