Sleep

Sleeping With Chronic Pain: The CBT-I Approach

Save

Pain and poor sleep pull on each other: a hard night lowers your pain threshold, and pain fragments the next night. For years, insomnia with chronic pain was dismissed as something that would fade once the pain was handled. It usually does not. CBT-I takes the opposite approach — it treats the sleep problem as its own condition, on its own timeline, with a structured behavioral method rather than a stronger sedative.

Last updated: July 2026

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

Why pain and sleep feed each other

Pain and insomnia run in both directions, and that loop is what makes each one harder to treat alone. A night of broken sleep lowers the threshold at which the body registers pain the next day, so the pain feels worse. That worse pain then makes the following night harder, and the anxious anticipation of another bad night keeps the nervous system switched on at bedtime. Over time the sleep problem takes on a life of its own, separate from the pain that started it.

This bidirectional pattern is why chronic pain wrecks your sleep so reliably, and also why treating the pain alone is often not enough. Even when a pain treatment is working, the sleep system can stay stuck in the pattern it learned during the worst stretches. That stuck pattern is the part CBT-I is built to unwind.

Treat the insomnia as its own problem

The old model treated insomnia as 'secondary' to pain and assumed it would clear once the pain was managed. The evidence pushed clinicians away from that. Insomnia that persists alongside a chronic condition is now treated as an independent disorder, and CBT-I is recommended as its first-line treatment. The joint VA and Department of Defense guideline, written for a population where pain and insomnia frequently coexist, makes CBT-I first-line for chronic insomnia 2. The AASM clinical practice guideline for chronic insomnia gives the same strong recommendation for multicomponent CBT-I 1.

Insomnia that persists with a chronic condition is treated as its own disorder, not left to clear up on its own.

What CBT-I looks like when you are in pain

CBT-I for someone with chronic pain uses the same core components as always, chosen and paced for a body that hurts. Stimulus control rebuilds the link between bed and sleep — getting up when sleep will not come, so the bed stops being a place to lie awake in pain 4. A tailored sleep window concentrates sleep instead of scattering it across a long, restless night 5. Cognitive work targets the specific loop of pain-and-sleep worry, and relaxation lowers the arousal that pain keeps high.

The order and emphasis shift for pain. Someone whose pain flares with prolonged stillness needs the get-out-of-bed instruction handled thoughtfully, and someone whose medication affects alertness needs the window set with that in mind. None of the components are dropped; they are fitted to the person.

The hardest part: cutting time in bed when you already hurt

Sleep restriction is the step that feels most wrong to someone in pain, because lying down is often how they cope, so being asked to spend less time in bed sounds cruel. The logic is the opposite of cruel. Long hours in bed in pain, mostly awake, teach the body that bed means hurting and waiting — the exact association CBT-I is trying to break. Concentrating sleep into a shorter, more solid window tends to deepen it.

The safeguard is that a clinician sets and adjusts the window rather than slashing it, and eases it back out as sleep consolidates. It is a temporary tightening, not a permanent cut, and the aim is a fuller night, not a punished one. For people who cannot easily reach a specialist, brief and digital versions build the same graded schedule with guidance.

Does it actually help, and is it worth it?

Across randomized trials, CBT-I produces meaningful improvements in how quickly people fall asleep and how much of the night they stay asleep, and those gains hold after treatment ends 3. That durability matters especially for people already managing a pain condition with several medications, because CBT-I adds no drug and no interaction. Weighing cbt-i vs sleeping pills, one trial in older adults found CBT-I outperformed a common sleep drug and kept working while the drug's benefit faded 6 — a reason not to stack another sedative onto a complex regimen when a behavioral option exists.

What to expect in the first weeks

CBT-I asks for some patience up front, and it helps to know that going in. As the sleep window tightens, the first week or two can bring more daytime tiredness before sleep starts to consolidate — and for someone already managing pain, that dip is worth planning around rather than being surprised by. A daily sleep diary is what makes the plan work, because the schedule is adjusted from the pattern in the data, not from any single rough night. Most people find the effort front-loaded: hardest in the early stretch, then steadily easier as the nights knit back together and the bed stops being a place associated with lying awake in pain.

Where sleep hygiene fits, and where it does not

Basic sleep advice — cutting late caffeine, a dark room, a wind-down — helps around the edges, but it is not the treatment, and leaning on it alone is a common reason people with pain stay stuck. That is the limit of sleep hygiene: it supports CBT-I without replacing it. The active ingredients are the stimulus control, the tailored window, and the cognitive work, which is why guidelines specifically advise against using sleep hygiene as a standalone treatment for chronic insomnia 1. Knowing the difference keeps the effort where it pays off.

Getting started when pain is in the picture

Getting CBT-I when you have chronic pain often runs through more than one clinician, and that is normal. A pain specialist or primary-care doctor may raise it; a psychologist, a behavioral sleep provider, or a brief primary-care program may deliver it. Because trained specialists are scarce, digital and self-guided versions carry the same steps and are a reasonable place to start while waiting for an appointment. The key is not to let 'my pain causes it' become a reason to leave the insomnia untreated — it is treatable on its own, and treating it often makes the pain easier to live with.

Common questions

There is no need to wait. Insomnia with chronic pain is treated as its own disorder, and CBT-I works alongside pain treatment rather than after it. Treating the sleep problem often makes the pain easier to manage, because poor sleep lowers the pain threshold. Most people work on both at the same time.

It feels counterintuitive, but the aim is to concentrate sleep, not to punish. Long awake hours in bed strengthen the link between bed and pain that CBT-I is trying to break. A clinician sets a window and eases it back out as sleep consolidates, so it is a temporary tightening rather than a permanent cut.

CBT-I adds no drug and no interaction, and its results last after the course ends, unlike a pill that works only while taken. That matters when someone is already on several medications, because it avoids stacking another sedative on a complex regimen. Any change to prescribed medication should be discussed with the prescribing clinician.

It is a brief course, usually delivered over a few weeks. The early weeks can feel harder as the sleep window tightens, and then sleep tends to consolidate and daytime tiredness eases. The improvements generally hold after treatment ends, which is part of why it is preferred over ongoing medication.

Yes. Digital programs, apps, self-help workbooks, and brief primary-care versions deliver the same steps without a specialist. Trained behavioral sleep providers are scarce, so those routes are a reasonable place to start, and you can step up to in-person care if the method stalls or the picture is complicated.

Related

Say it back

How would you explain this to someone you love?

Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.

If things feel heavy, a person is available anytime — call or text 988.

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

When the sleep problem needs a closer look

  • New or escalating pain with fever, unexplained weight loss, or new weakness — reasons to be evaluated rather than managed as a sleep issue
  • Snoring with witnessed pauses in breathing and daytime sleepiness, which can point to sleep apnea
  • Insomnia with hopelessness or thoughts of self-harm, which pain and sleeplessness can deepen
  • Rising use of sedatives or opioids to get to sleep, or combining them, which can be dangerous

If insomnia and pain come with thoughts of harming yourself, call or text 988 (the Suicide and Crisis Lifeline) any time, or go to the nearest emergency room.

This article is educational and not medical advice. Insomnia alongside chronic pain should be managed with your clinicians, who can coordinate pain care and adapt CBT-I to your situation. Do not change prescribed medication without your prescriber.

References

  1. 1.Edinger JD, Arnedt JT, Bertisch SM, 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. doi:10.5664/jcsm.8986That multicomponent CBT-I is strongly recommended, that stimulus control and sleep restriction are components, and that sleep hygiene alone is not a treatment for chronic insomnia.
  2. 2.Mysliwiec V, Martin JL, Ulmer CS, et al. (2020). The Management of Chronic Insomnia Disorder and Obstructive Sleep Apnea: Synopsis of the 2019 U.S. Department of Veterans Affairs and U.S. Department of Defense Clinical Practice Guidelines. Annals of Internal Medicine. doi:10.7326/M19-3575That the VA/DoD clinical practice guideline recommends CBT-I as first-line for chronic insomnia disorder.
  3. 3.Trauer JM, Qian MY, Doyle JS, Rajaratnam SMW, Cunnington D (2015). Cognitive Behavioral Therapy for Chronic Insomnia: A Systematic Review and Meta-analysis. Annals of Internal Medicine. doi:10.7326/M14-2841That CBT-I produces clinically meaningful, durable improvements in how fast people fall asleep and how much of the night they stay asleep.
  4. 4.Verreault MD, Granger E, Neveu X, Delage JP, Bastien CH, Vallieres A (2024). The effectiveness of stimulus control in cognitive behavioural therapy for insomnia in adults: A systematic review and network meta-analysis. Journal of Sleep Research. doi:10.1111/jsr.14008That stimulus control is an efficacious component of CBT-I.
  5. 5.Maurer LF, Schneider J, Miller CB, Espie CA, Kyle SD (2021). The clinical effects of sleep restriction therapy for insomnia: A meta-analysis of randomised controlled trials. Sleep Medicine Reviews. linkThat sleep restriction therapy yields medium-to-large improvements in sleep-onset latency, wake after sleep onset, sleep efficiency, and insomnia severity.
  6. 6.Sivertsen B, Omvik S, Pallesen S, et al. (2006). Cognitive Behavioral Therapy vs Zopiclone for Treatment of Chronic Primary Insomnia in Older Adults: A Randomized Controlled Trial. JAMA. doi:10.1001/jama.295.24.2851That in older adults CBT-I outperformed the z-drug zopiclone and kept working at follow-up, while the drug's benefit faded.

6 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — citations link their sources. Editorial policy