top of page

The Pain-Sleep Cycle: Treating Chronic Pain and Insomnia Together

Aug 15
12 min read

Last reviewed: 08/15/2026

Reviewed by: Dr. Kiesa Kelly


Pain-sleep cycle diagram: pain fragments the night, extra hours in bed, short sleep raises pain sensitivity

The arithmetic of a bad night with chronic pain is brutally simple. You cannot get comfortable, so you shift. Shifting wakes you enough to notice the pain, which makes it harder to settle, so you stay in bed longer in the morning to make up what you lost. The next night your body is less tired at bedtime, and the whole thing runs again — this time with less sleep in the account and a nervous system that reports pain more loudly on short sleep.


Most people in this pattern are being treated for one half of it. The pain has a specialist, a plan, and a medication list. The sleep has a suggestion about screens before bed.


That is a mistake worth correcting, and the reason is not the one most people expect.


In this article, you'll learn:

  • Which direction the pain-sleep relationship actually runs, and how strongly

  • What the evidence does and does not show about treating insomnia to reduce pain

  • How CBT-I is adapted when pain is what wakes you — positioning, and the time-in-bed math

  • How pain-focused therapy adapts around bad nights

  • How we sequence the two in Nashville, and what a first appointment sorts out


The cycle: pain fragments sleep, short sleep lowers pain threshold

The first direction needs no argument. Pain interrupts sleep — at onset, and repeatedly through the night — and people with persistent pain report chronic insomnia at rates far above the general population.


The second direction is where the useful clinical information lives. Short or fragmented sleep does not simply leave you tired and more irritable about pain you already had. It appears to change how much pain you feel. Experimental work in healthy volunteers has shown that partial-night sleep restriction increases pain sensitivity, and a 2025 study found that increase occurred without any measurable change in inflammatory blood markers — which argues the effect is running through pain-processing pathways rather than through inflammation [1]. Preclinical work points at the same conclusion from the other end, implicating dopamine signaling in the anterior cingulate cortex and nucleus accumbens in the heightened pain sensitivity that follows sleep restriction [2]. That second study was conducted in rats, so it explains a mechanism rather than establishing a human treatment target.


When researchers put both directions in the same model, the arrows come out uneven. A major review of the prospective and experimental literature concluded that disturbed sleep is a stronger and more reliable predictor of later pain than pain is of later sleep disturbance [3]. A 2026 daily-diary and actigraphy study of adults with rheumatoid arthritis found the same asymmetry at the day-to-day level: nights with better sleep quality, higher sleep efficiency and longer duration were followed by less pain and less morning joint stiffness, and the reverse path — less night pain predicting better sleep — was present but narrower [4].


Misconception one: the sleep problem is downstream, so fixing the pain fixes the sleep. That would be true if pain were the only thing keeping you awake. By the time most people seek help, it is not. On top of the pain sits a second, learned insomnia — an unstable schedule, hours of extra time in bed, and a bed that has become associated with lying awake. Those layers persist even on the nights the pain is quiet, and they respond to their own treatment — which is exactly what a clinician who works in the psychology of chronic illness and pain is looking for when they ask how your nights are actually structured.


🔄 Key takeaway: Pain and sleep feed each other, but not equally. Sleep is the more reliable predictor of tomorrow's pain — which makes it a lever, not just a casualty.

CBT-I outcomes for chronic pain and insomnia: large effect on sleep, small effect on pain, with sources

The surprising evidence: treat the insomnia, pain improves

Here is where we have to be careful, because this section is usually oversold.


The reliable finding is that CBT-I works on sleep in people with chronic pain, and works well. A meta-analysis of randomized trials in comorbid insomnia and chronic non-cancer pain found a large effect on sleep, holding at follow-up up to twelve months [5]. A 2024 review restricted to chronic musculoskeletal pain found a large effect on insomnia and estimated that the benefit peaked at around 450 minutes of total treatment time — roughly seven to eight sessions [6].


The pain finding is more modest, and the honest version has three parts.


First, pain does improve, but the effect is small: a standardized mean difference of about 0.20 in that same meta-analysis, translating to a 58% probability of less pain after treatment — better than a coin flip, not a transformation [5]. Second, that effect is not universal: the 2024 musculoskeletal review found no significant effect on pain intensity at all [6]. Third — and this is the part that genuinely surprises people — in a head-to-head network meta-analysis of sixteen trials in people with both conditions, CBT for insomnia significantly outperformed control conditions on sleep, pain, disability and depression, while CBT for pain did not separate from control on any outcome [7]. The authors' own conclusion was that CBT-I may be the most effective option for this population, with the caveat that the included trials were small and at high risk of bias [7].


So the accurate claim is narrower than the headline and more useful than it. Treating the insomnia is a strong lever on sleep, a modest and inconsistent lever on pain intensity — and in direct comparison, still the better-performing of the two treatments on pain. There is also a timing signal: in a trial of 327 older adults with osteoarthritis pain and insomnia, participants whose sleep improved in the first two months went on to show sustained improvements in pain, depression and fatigue across twelve months [8]. Those long-term effect sizes were small, which is worth holding onto [9].


Misconception two: if the pain is "real," psychological treatment is beside the point. The pain is real, and the mechanism above is a physiological one — sleep loss changing pain processing. Treating sleep is not a way of implying the pain is in your head. It is a way of removing an amplifier.


📉 Key takeaway: Expect CBT-I to reliably fix your sleep and to take the edge off your pain. Any clinician promising more than that is ahead of the evidence.

Four ways CBT-I adapts when chronic pain wakes you: sleep window, leaving the bed, daytime rest, positioning

How CBT-I adapts for pain (positioning, time-in-bed math)

Standard CBT-I — the first-line treatment for chronic insomnia in adults, whether or not another condition is present [11] — asks you to spend less time in bed, get out of bed when you cannot sleep, and hold a fixed wake time. Handed unmodified to someone with chronic pain, that plan can be unworkable. The core mechanics — stimulus control, sleep scheduling, and why getting out of bed helps when it feels like the opposite — are laid out in our guide to resetting a stuck sleep cycle. What follows is only what changes when pain is in the room.


The time-in-bed math starts from measured sleep, not intended sleep. If your diary shows eight and a half hours in bed and five and a half hours of actual sleep, the window is built near the five and a half — with pain awakenings counted as part of the picture from day one, not as failures to be fixed first. Two adaptations matter here. We usually set a slightly more generous initial window than we would for a pain-free patient, because the daytime cost of restriction lands harder on someone already managing pain fatigue. And we move the window in smaller increments, changing the wake time before touching the bedtime, since a fixed wake time is what actually anchors the rhythm.


Getting out of bed becomes getting out of the bed, not out of the room. The instruction that makes stimulus control work is leaving the bed when you have been awake a while. If standing up during a flare is genuinely not available, the workable version is a chair beside the bed, or a recliner — somewhere that is not the mattress. What matters is that the bed stops being the place you lie awake in pain.


Daytime rest gets a defined shape rather than being banned. If you need to lie down during the day, we separate resting from sleeping: rest happens on a couch or recliner, for a set period, not in the bed and not open-ended. Preserving the bed-equals-sleep association matters more than eliminating rest.


Positioning work is done before the schedule tightens, not during. Sorting out pillow support, mattress firmness and the positions that let you settle is unglamorous and worth doing first, because a sleep window imposed on top of an unresolved positioning problem produces a miserable fortnight and a false conclusion that CBT-I did not work.


🛏️ Key takeaway: Same treatment, different dosing. The pain-adapted version is more generous at the start, moves more slowly, and protects the bed-sleep association rather than the rule about standing up.

How pain-CBT adapts for bad nights

The traffic runs both ways. Pain-focused therapy — pacing, activity scheduling, and work on pain catastrophizing — also needs adjusting when sleep is unreliable.


The main adjustment is to pacing. Activity pacing normally works off a stable daily quota. When sleep is erratic, that quota has to flex: a plan built for your average night will overshoot after a four-hour one, produce a flare, and get abandoned by week three as unrealistic. The workable version sets a baseline you can hit on a poor night and treats good nights as headroom rather than as the standard.


The second adjustment concerns catastrophic thinking at 3 a.m. Cognitive work on pain beliefs is usually rehearsed in daylight, where the reasoning holds. At three in the morning, after two hours awake and hurting, "this is never going to get better" is far more convincing. That thought is worth planning for specifically — a short, pre-written response you can actually reach for — rather than assuming the daytime version will be available at night.


Our statewide overview of what CBT for chronic pain actually targets covers the pain side in full, including what it does not claim to do.


Misconception three: this is about learning to live with it. Both treatments are aimed at function — sleeping through, moving more, doing more of what you had stopped doing. The UK's NICE guideline on chronic pain reflects that emphasis, recommending psychological therapy among the interventions with evidence for chronic primary pain while advising against starting most analgesic medicines for it [10].


🧮 Key takeaway: Set your activity baseline at what a bad night allows. A plan that only works when you sleep well is a plan that will be abandoned.

Sequencing both in Nashville

In practice we rarely run these as two separate courses. The usual shape is CBT-I as the spine, with pain-specific work layered in.


A common sequence: weeks one and two are assessment and diary collection, including which awakenings are pain-driven and which are not — a distinction that is difficult to make from memory and easy to make from two weeks of data. Weeks three through eight are CBT for chronic pain in Nashville running alongside the sleep scheduling, with pacing built around the emerging sleep pattern rather than assumed in advance. Around week six we look at what the pain is doing now that sleep has consolidated, which is when the local CBT-I work usually starts paying its dividend on the daytime side.


Two local notes. Coordination with your existing Nashville pain team is worth setting up at the start rather than at the end — a rheumatologist or pain physician managing your medications should know a sleep intervention is underway, particularly because the sleep-restriction phase temporarily increases daytime sleepiness. And telehealth suits this work unusually well. The sessions are a diary review and a schedule adjustment; on a flare day, not having to get into a car and cross town to attend is a clinical advantage rather than a compromise.


If you are tracking pain on a standardized measure, bring it. Understanding the gap between pain interference and pain intensity matters here, because sleep treatment often moves interference — how much pain is stopping you doing things — noticeably more than it moves intensity.


🤝 Key takeaway: Tell your pain physician before you start. The sleep-restriction phase is temporarily tiring by design, and that is much easier to interpret correctly when everyone knows it is happening.

Assessment first

Before any of this becomes a plan, an assessment has to sort out what is actually fragmenting your nights. Pain is often not the only thing. Sleep apnea is common in chronic pain populations and will not respond to CBT-I. Some pain medications disrupt sleep architecture. Depression, which travels with both conditions, changes the picture again.


Questions worth asking whoever you consult:

1. Scope — will you assess the insomnia in its own right, or treat it as a symptom of the pain?

2. Methodology — do you adapt the sleep window for pain-related awakenings, and how?

3. Screening — how will you rule out sleep apnea or a medication effect before starting behavioral treatment?

4. Coordination — will you communicate with my existing pain physician, and what does that look like in practice?

5. Output — will I finish with a written plan I can maintain on my own, including how to handle a flare?


Our clinical team includes clinicians who work specifically at the intersection of physical health conditions and mental health, and the first conversation is largely about establishing which part of the cycle to move on first.


Sleep not coming easily?

CBT-I is the first-line, evidence-based treatment for chronic insomnia — a clinician can help you rebuild sleep without relying on medication alone.



Frequently Asked Questions


Will treating my insomnia actually reduce my chronic pain?

It reliably improves your sleep, and it modestly and less consistently improves pain. Meta-analyses of CBT-I in people with chronic pain find a large effect on sleep and a small one on pain intensity, and one 2024 review restricted to musculoskeletal pain found no significant pain-intensity effect at all. The honest promise is better sleep, better mood, and better function — with some pain reduction likely but not guaranteed.


How does a sleep window work if pain is what wakes me up?

The window is built around the sleep you are actually getting, not the sleep you are aiming for, so pain-related awakenings are counted in from the start rather than treated as failures. We usually set a slightly more generous window than we would for someone without pain, move it in smaller steps, and change the wake time before the bedtime. A rigid protocol borrowed from a pain-free patient is the version that tends to fail.


My doctor wants to treat the pain first. Is that the wrong order?

Not wrong, but worth discussing rather than assuming. In a head-to-head network meta-analysis of people with both conditions, CBT for insomnia outperformed the control on sleep, pain, disability and depression, while CBT for pain did not separate from the control on any outcome. That is one analysis of small trials and it does not override a medical workup — but it is a reason to ask why sleep is being left for later.


Can CBT-I help if my pain has a clear medical cause?

Yes. CBT-I treats the learned patterns layered on top of the pain — the extra hours in bed, the shifting schedule, the conditioned wakefulness — and those layers are present whether or not the underlying condition is well understood. It does not treat the underlying condition, and it does not replace medical care. Trials showing benefit have been run in people with diagnosed arthritis and other established pain conditions.


What if I need to lie down during the day because of pain?

Say so early, because standard sleep advice about staying out of bed will not fit your body. We usually separate resting from sleeping: rest in a recliner or on a couch rather than in the bed, keep the bed reserved for night sleep, and set a defined rest period rather than an open-ended one. Preserving the bed-equals-sleep association matters more than eliminating daytime rest.


About the Author

Dr. Kiesa Kelly is a licensed clinical psychologist and the founder of ScienceWorks Behavioral Healthcare. Her background includes more than 20 years of experience in psychological assessment and evidence-based treatment, with clinical training at the University of Chicago, Vanderbilt University, and the University of Wisconsin, and NIH-funded research training earlier in her career.


Her clinical interests include the places where physical health conditions and mental health maintain each other — the pain-sleep cycle among them — and the assessment questions that decide which one to treat first. She practices in Nashville and by telehealth across Tennessee, and reviews clinical content on this site for accuracy before publication.


References

1. Matre D, Haugen F, Moe AG, et al. Experimental partial-night sleep restriction increases pain sensitivity, but does not alter inflammatory plasma biomarkers. Scandinavian Journal of Pain. 2025;25(1). https://doi.org/10.1515/sjpain-2024-0081

2. Sardi NF, Pescador AC, Azevedo EM, et al. Sleep and Pain: A Role for the Anterior Cingulate Cortex, Nucleus Accumbens, and Dopamine in the Increased Pain Sensitivity Following Sleep Restriction. The Journal of Pain. 2024;25(2):331-349. https://doi.org/10.1016/j.jpain.2023.08.014

3. Finan PH, Goodin BR, Smith MT. The association of sleep and pain: an update and a path forward. The Journal of Pain. 2013;14(12):1539-1552. https://doi.org/10.1016/j.jpain.2013.08.007

4. Mu CX, Stone KL, Jiang F, Prather AA, Katz P. Bidirectional associations between daily sleep and pain severity in adults with rheumatoid arthritis: A daily diary and actigraphy study. The Journal of Pain. 2026;45:106324. https://doi.org/10.1016/j.jpain.2026.106324

5. Selvanathan J, Pham C, Nagappa M, et al. Cognitive behavioral therapy for insomnia in patients with chronic pain — A systematic review and meta-analysis of randomized controlled trials. Sleep Medicine Reviews. 2021;60:101460. https://doi.org/10.1016/j.smrv.2021.101460

6. Salazar-Méndez J, Viscay-Sanhueza N, Pinto-Vera C, et al. Cognitive behavioral therapy for insomnia in people with chronic musculoskeletal pain. A systematic review and dose-response meta-analysis. Sleep Medicine. 2024;122:20-26. https://doi.org/10.1016/j.sleep.2024.07.031

7. Enomoto K, Adachi T, Fujino H, et al. Comparison of the effectiveness of cognitive behavioral therapy for insomnia, cognitive behavioral therapy for pain, and hybrid cognitive behavioral therapy for insomnia and pain in individuals with comorbid insomnia and chronic pain: A systematic review and network meta-analysis. Sleep Medicine Reviews. 2022;66:101693. https://doi.org/10.1016/j.smrv.2022.101693

8. McCurry SM, Zhu W, Von Korff M, et al. Effect of Telephone Cognitive Behavioral Therapy for Insomnia in Older Adults With Osteoarthritis Pain: A Randomized Clinical Trial. JAMA Internal Medicine. 2021;181(4):530-538. https://doi.org/10.1001/jamainternmed.2020.9049

9. Vitiello MV, Zhu W, Von Korff M, et al. Long-term improvements in sleep, pain, depression, and fatigue in older adults with comorbid osteoarthritis pain and insomnia. Sleep. 2022;45(2):zsab231. https://doi.org/10.1093/sleep/zsab231

10. National Institute for Health and Care Excellence. Chronic pain (primary and secondary) in over 16s: assessment of all chronic pain and management of chronic primary pain. NICE guideline NG193. 2021. https://www.nice.org.uk/guidance/ng193

11. Edinger JD, Arnedt JT, Bertisch SM, et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2021;17(2):255-262. https://doi.org/10.5664/jcsm.8986


Disclaimer

This article is for informational purposes only and is not a substitute for individualized medical or psychological assessment, diagnosis, or treatment. Reading it does not create a clinician-patient relationship. It is not guidance about pain medication; decisions about any prescription belong with the clinician who wrote it, and new or changing pain should be evaluated medically. If you are in crisis or concerned about your immediate safety, contact 988 (Suicide & Crisis Lifeline) or your local emergency services.

bottom of page