In short
- Sleep tends to come when your body is winding down and your mind feels safe. Trying harder usually works against it.
- A steady wake-up time, a short wind-down, a bed kept for sleep and a place to put your worries can all help.
- For long-lasting insomnia, guidelines recommend a structured program called CBT-I, and general sleep hygiene on its own is not enough.
It is 11:40 p.m. You have been in bed for forty minutes. You are tired in a way that feels deep, and your mind is awake.
You think about tomorrow. You check the time. You do the math: if you fall asleep now, you will get six hours. Then five and a half. The math makes it worse.
You turn over, then back. You tell yourself to relax, which does not work.
If you are lying there anxious and wired, unable to sleep, you are not doing it wrong. Sleep does not respond well to effort. But it does respond to routine, to a calm body and to a mind that has somewhere to put its thoughts. This guide takes you through an evening, hour by hour, and then through the night, so you have something to do at each point where the spiral usually starts.
Can't sleep because you're anxious? What your mind is doing
During the day, work, people and noise keep your attention busy. At bedtime, everything goes quiet, and your mind sees the open space. Unfinished tasks, worries and memories line up. Many people notice that thoughts which feel small at noon feel enormous at midnight.
Psychologist Allison Harvey proposed a well-known model of how this turns into insomnia. In it, worry about sleep and about tomorrow raises physiological arousal and distress. That anxious state pulls attention toward sleep-related threats, such as the clock, how you feel and how many hours are left, and noticing those threats feeds more worry. Some of the things people do to cope, like trying to control their thoughts or forcing sleep, can keep the cycle going. It is a model, not a proven map of every night, but it matches what many people describe.
You cannot make yourself fall asleep. You can make it easier for sleep to find you.
Why trying harder backfires
Looking at the clock, calculating hours and telling yourself to hurry add pressure. By Harvey's model, that kind of monitoring and effort is part of the problem. That is why "just go to sleep" rarely works.
The goal is not to force sleep. It is to create conditions where sleep is likely: a body that is calm, a room that feels restful and a mind that is not holding a list.
What the guidelines say
Two major guidelines look at what works for chronic insomnia in adults. Both point the same way.
- The American College of Physicians (2016) recommends cognitive behavioral therapy for insomnia (CBT-I) as the initial treatment for adults with chronic insomnia disorder, and rated that recommendation as strong.
- The American Academy of Sleep Medicine (2021) also strongly recommends multicomponent CBT-I. It gives conditional suggestions for stimulus control and sleep restriction as single treatments, and for relaxation therapy. It recommends against using sleep hygiene on its own, because the benefits were judged minimal.
CBT-I combines cognitive work on thoughts about sleep, behavioral methods and education. Stimulus control means keeping the bed for sleep and getting up when you are awake and frustrated, so your brain relearns that bed means sleep. Sleep restriction means temporarily limiting the time spent in bed to match the sleep you are actually getting. The AASM notes it can cause daytime sleepiness and concentration problems early on, may not suit some people and is delivered with monitoring in a program. So it is a structured part of treatment, not a trick to improvise on a bad night.
Two takeaways. First, the familiar tips about caffeine, light and routine matter, but they are one piece of a larger picture. Second, the behavioral part, such as keeping the bed for sleep, is a real part of what works. The routine below borrows the gentle, low-risk parts.
Your evening, hour by hour
You do not need a perfect routine. You need a few anchors at the right moments. Here is an evening laid out in order.
Daytime: the quiet groundwork
Some of tonight's sleep is set long before the wind-down. The National Heart, Lung, and Blood Institute (NHLBI) suggests spending time outside and staying physically active during the day when you can, and avoiding intense exercise close to bedtime. Neither is a cure for a racing mind, but a day with daylight, some movement and a steady wake-up time gives your evening something to build on.
If your days are spent mostly indoors, in front of a screen, a ten-minute walk at lunch is a small and realistic place to start.
Mid-afternoon: watch the caffeine clock
Caffeine can stay in your system for hours. The NHLBI notes its effects can last up to 8 hours. In a small study of 12 healthy sleepers, a large dose (400 mg) taken even six hours before bed cut measured sleep time by more than an hour, and participants did not notice the loss. That was a high dose in a small group, so treat it as a reason to experiment, not a rule. If you go to bed at 11, try moving your last coffee to early afternoon and see what changes.
Dinner: lighter, earlier, and go easy on the nightcap
Heavy or large meals within a few hours of bed and alcoholic drinks before bed are both on the NHLBI's list of things to avoid, as is nicotine. If a glass of wine is how you switch off, notice what your sleep is like afterward rather than assuming.
About 9 p.m.: empty your head onto paper
Write down what is on your mind: tasks, worries, tomorrow's list. Put a line next to each one: "tomorrow," "later" or "let it be."
There is some research behind this. In a sleep-lab study of 57 healthy young adults, those who spent five minutes writing a detailed to-do list for the next few days fell asleep faster than those who wrote about what they had already done, about 15 minutes on average compared with about 25. The more specific the list, the faster they fell asleep. The study was small, used young adults without insomnia and had no do-nothing comparison group, so it suggests rather than proves. But the idea fits what people describe: a worry written down is easier to put down.
9:45 p.m.: a short, repeatable wind-down
Choose 20 to 30 minutes of calm: dim lights, a warm shower, a few pages of a book, gentle stretching, something caffeine-free. The NHLBI suggests using the hour before bed for quiet time and avoiding bright light and screens close to bed. Do the steps in the same order each night so your body learns the signal.
Not every evening gives you half an hour. Keep three versions ready.
The 30-minute version. Lights low, a warm shower, gentle stretching, a few pages of a book, then bed.
The 15-minute version. Phone to the kitchen, wash your face, write one line about tomorrow's first task and read two pages.
The 5-minute version. Phone away, lights down, three slow exhales, and one sentence: "It's written down."
A short routine done every night beats a long one done twice a month.
The bedroom itself
The NHLBI describes a sleep-friendly bedroom as quiet, cool and dark, with a dim night light fine if you need one. In a city apartment that is rarely perfect: sirens, a neighbor's television, a streetlight through thin curtains. You do not need silence. You need fewer surprises.
- Light: a sleep mask or heavier curtains can do more than any app.
- Sound: earplugs, a fan or steady background sound can soften the unpredictable noises that jolt you awake.
- Temperature: a slightly cool room, with a layer you can add or remove.
- The clock: turn it away from you, so you cannot do the math.
In bed: a bed that means sleep
Use the bed for sleeping and resting, not for working or scrolling. Charge the phone across the room, and use a simple alarm. If you are awake for a long while and feel tense, get up. Sit in dim light, read something quiet and return when you feel sleepy. That is the stimulus-control idea in everyday form.
A slow breath, as one tool among others
Breathe in gently and breathe out slowly, a little longer than you breathe in, for a few minutes. A meta-analysis of 12 randomized trials found that breathwork, mostly slow-paced, was linked with a small-to-medium reduction in self-reported stress. Most studies were at moderate risk of bias, and the review was about stress in general, not sleep. So a slow breath is a reasonable way to settle your body, not a guaranteed route to sleep.
Next morning: keep the wake-up time steady
A regular time to get up, even after a rough night, helps your body find its rhythm. The NHLBI advises keeping the same schedule on weeknights and weekends as far as you can. Do not stay in bed for hours to "catch up." And one bad night does not undo you: rough nights are common, and the next day is only a day.
Tuesday, 8:45 p.m., a small apartment
Picture this. The dishes are done and the radiator is knocking. You take a notebook and write what is on your mind: the proposal, the email, the dentist. Next to each, you write "tomorrow."
At 9:45 you dim the lamp, take a warm shower and put your phone in the kitchen. You read three pages of a novel in bed with the light on low.
At 11:15 you notice you are not sleepy, but you are calm. You breathe out slowly a few times. A thought about the proposal arrives, and you say, "That's for tomorrow." You do not check the clock.
You do not fall asleep instantly. But you lie there rested instead of tense, and sleep comes more easily than it did last week.
A two-week trial, not a perfect routine
Because there is no verified timeline for how fast habits change sleep, treat the next two weeks as an experiment you are running on yourself, not a test you can fail.
- Pick three anchors only. For example: a steady wake-up time, the 9 p.m. brain dump and the phone across the room. More than three at once usually collapses by Thursday.
- Write two lines each morning. When you went to bed, roughly how long you were awake, and how the day felt. Do not tally the minutes. The point is to notice patterns, such as nights after a late coffee or a heavy dinner.
- Expect noise. Some nights will be bad no matter what you do. Look at the pattern across the week, not the worst night.
- Change one thing at a time. If you add a new habit and sleep changes, you will know why.
- Keep the wake-up time fixed even on the worst mornings. It is the anchor the others hang on.
If you are tempted to track your sleep with an app or a wearable, notice how it makes you feel. For some people the numbers are reassuring. For others, checking a score becomes one more thing to worry about, which is the opposite of what you want at bedtime.
When you wake in the dark
Waking in the night is common, and the next hour often decides whether it passes or becomes a spiral. If the same thoughts come back every night, the tools for loops of thinking live in a different part of this blog; here is what to do with your body and your bed.
- Do not check the time. The math starts the moment you see it.
- Stay still and breathe out slowly. A longer exhale than inhale, five or six times.
- Name the thought. "That's the 3 a.m. mind." Things look larger at night.
- Write one line if you must. Keep a pen and a small notebook by the bed. Do not turn the light on fully.
- Get up if you are tense and awake for a long while. Sit in dim light with something quiet, and go back when you are sleepy.
The aim is not to fall asleep faster. It is to stop turning a wake-up into a crisis.
A scene at 3:40 a.m.
Picture this. It is 3:40 a.m., the street is quiet except for a garbage truck two blocks away, and you are wide awake. Your heart is a little fast, and the thought has arrived, perfectly formed: "If I don't sleep now, tomorrow is ruined."
You do not look at the phone. You lie still and breathe out slowly. You say quietly, "That's the 3 a.m. mind." The meeting is still tomorrow, but it no longer feels like a cliff.
You take the small notebook from the nightstand and, without turning on the lamp, write one line: "Ask Sam for the figures." You put the pen down. Ten minutes pass, then fifteen. You do not know whether you are asleep or nearly, and for once you do not check.
Sentences for the hard moments
When you start doing the math: "I'm not going to count hours. I'm going to rest."
When a worry appears: "That's for tomorrow. It's written down."
When you cannot sleep: "I'll get up for a bit and come back when I'm sleepy."
When you feel pressure to sleep: "Resting counts too."
What else it can be
Sleep trouble is often tangled up with long-lasting stress, worry and exhaustion, which can look a lot like burnout. Other sleep conditions and health issues can also be involved, which is one reason a routine alone does not always solve it.
When sleep trouble lasts for months and starts to affect your days, it is described as chronic insomnia disorder. This is the situation the guidelines above address, and it is why CBT-I exists: a structured program that works on the thoughts, habits and conditioning that keep poor sleep going. It is a longer, more structured version of the gentle steps in this guide.
You do not have to win against your thoughts to sleep. You only have to give your body a calm evening, your mind a place to put things and your bed a clear job.
Try this today
Tonight, write a short list of what is on your mind, with "tomorrow" next to each line. Put your phone across the room and read a few pages of something gentle.
Then turn off the lamp and tell yourself the one sentence that matters: it's written down.
FAQ
Why does my mind race at bedtime?
At night there are fewer distractions, so unfinished thoughts come forward. Worry also raises alertness, and watching the clock can feed it. Writing things down earlier and a calm wind-down often help.
What is CBT-I?
Cognitive behavioral therapy for insomnia is a structured program that combines cognitive work on thoughts about sleep, behavioral methods such as stimulus control and sleep restriction, and sleep education. The American College of Physicians recommends it as the initial treatment for chronic insomnia in adults, and the American Academy of Sleep Medicine strongly recommends it as well.
Is sleep hygiene enough?
For many people it is a good place to start, but the American Academy of Sleep Medicine recommends against using it as a stand-alone treatment for chronic insomnia. It works better as one part of a larger program that includes the behavioral steps.
Should I stay in bed if I cannot sleep?
If you are awake for a long while and feel tense, it can help to get up and do something calm in dim light until you feel sleepy. This is the idea behind stimulus control. Avoid checking the time, breathe out slowly and name the thought if you wake in the middle of the night.
How long does it take for a new bedtime routine to work?
There is no verified timeline. A steady wake-up time and a repeated wind-down are the parts to keep consistent, and some people notice changes sooner than others. Judge it over weeks, not one night.
Was this page helpful?
Thank you for your feedback.
Sources
- Qaseem, A., et al. (2016). Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Annals of Internal Medicine, 165(2), 125-133. doi.org/10.7326/M15-2175
- Edinger, J. D., et al. (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 17(2), 255-262. PMC7853203
- Harvey, A. G. (2002). A cognitive model of insomnia. Behaviour Research and Therapy, 40(8), 869-893. PubMed 12186352
- Scullin, M. K., et al. (2018). The effects of bedtime writing on difficulty falling asleep: a polysomnographic study comparing to-do lists and completed activity lists. Journal of Experimental Psychology: General, 147(1), 139-146. doi.org/10.1037/xge0000374
- Drake, C., et al. (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 9(11), 1195-1200. PMC3805807
- National Heart, Lung, and Blood Institute. Healthy sleep habits. nhlbi.nih.gov
- Fincham, G. W., et al. (2023). Effect of breathwork on stress and mental health: a meta-analysis of randomised-controlled trials. Scientific Reports, 13, 432. PMC9828383




