You lie down tired and within minutes your brain is replaying the day and rehearsing tomorrow. Cognitive behavioral therapy for insomnia (CBT-I) treats this directly: it reshapes the thoughts and habits around sleep so the bedroom becomes a cue for rest, not for problem-solving.

Offload the day before bed

Based on cognitive behavioral therapy frameworks, a brief evening journal externalizes the looping thoughts. Once they're on the page, the bedroom can return to being a place to sleep. According to 2026 psychological research, CBT-I is as effective as medication for chronic insomnia and lasts longer after treatment ends.

  • Set the same wind-down time and close screens.
  • Write the single thought looping in your head.
  • Note one thing that went okay today.
  • State tomorrow's first small step so the brain can stop planning.

Two minutes is enough. The point is the association, not the length β€” bed starts to mean sleep again because the mental offloading already happened on the page.

This piece covers sleep hygiene broadly β€” the wind-down routine, the bedroom-as-cue association, the habits that support rest in general. If the specific problem you're facing is lying awake with your mind actively looping on the same few thoughts, our guide on how to stop overthinking at night goes deeper on that exact mechanism and what to do in the moment it's happening. How to stop overthinking at night β†’

If what you're dealing with is a diagnosable pattern of chronic insomnia rather than occasional bad nights, it's worth seeing how a few dedicated CBT-I apps implement this same wind-down technique as a structured, guided program. CBT-I apps for insomnia, compared β†’

Start with a one-week sleep picture

Before changing everything at once, record a simple week of sleep. Note when you went to bed, roughly how long it took to fall asleep, awakenings you remember, final wake time, naps, caffeine, and how rested you felt. The goal is not perfect measurement. It is to see whether the main obstacle is an inconsistent schedule, too much awake time in bed, late stimulation, worry, or something that needs medical attention.

  • Keep wake time reasonably consistent, including after a difficult night.
  • Use the bed for sleep rather than work, scrolling, or problem-solving when possible.
  • Move planning and worry onto paper before the wind-down period.
  • Track caffeine, alcohol, naps, pain, and medication changes that may affect the pattern.

Use a nighttime thought record

A common sleep thought is, β€œIf I do not fall asleep now, tomorrow will be ruined.” Write the thought, rate how strongly you believe it, and look for a more accurate statement: β€œTomorrow may be harder, but I have functioned after imperfect sleep before. Resting quietly is still useful, and I do not need to force sleep.” The aim is not to guarantee a good night. It is to reduce the alarm that keeps the brain on duty.

If you remain alert and frustrated, leave the bed for a quiet, low-light activity and return when sleepiness increases. This helps rebuild the association between bed and sleep. Avoid repeatedly checking the clock; each calculation can restart the threat loop. Keep the environment boring, safe, and dim rather than turning the wakeful period into extra daytime.

What not to turn into a rigid rule

Sleep advice can become another source of performance anxiety. A late evening, a nap during illness, or a difficult night does not erase progress. Use patterns across weeks rather than judging one night. Be cautious with aggressive sleep restriction plans unless they are guided by a qualified clinician, especially if you have bipolar disorder, seizures, significant daytime sleepiness, or work that makes drowsiness dangerous.

When to discuss sleep with a professional

Talk with a healthcare professional when sleep difficulty persists, affects daytime safety or functioning, or comes with loud snoring, gasping, unusual movements, severe mood changes, or an irresistible urge to sleep. Cognitive behavioral therapy for insomnia is a structured treatment, not only a collection of tips, and a trained provider can tailor it to your health history and sleep pattern.

Review progress without chasing a perfect score

At the end of each week, compare broad patterns rather than individual nights. Look at consistency of wake time, estimated time awake in bed, daytime sleepiness, and how much worry surrounded sleep. Note whether mornings, afternoons, and evenings feel different too. One useful change is enough for the next week. Keeping every possible sleep rule at once can make bedtime feel like a test and obscure which change actually helped.

Choose a daytime safety plan while sleep is poor. Avoid driving or hazardous work when dangerously drowsy, and do not use alcohol or unprescribed substances as a sleep treatment. If prescribed medication may be affecting sleep, discuss it with the prescriber rather than changing it on your own. The journal is most valuable when it gives a clinician a clearer pattern to evaluate, not when it encourages self-diagnosis.