If you live with chronic pain, you’ve probably heard plenty of advice about managing the pain itself. What’s talked about far less is what happens to your sleep — and how badly broken sleep can make the pain feel worse the next day. If you’re lying awake at 2am with your back, joints or nerves aching, unable to drop off or stay asleep, you are not imagining the connection. Pain and insomnia feed each other, and treating only one side of that cycle rarely works for long.
As a clinical psychologist specialising in Cognitive Behavioural Therapy for Insomnia (CBT-I), I see this combination often. The good news is that it’s one of the most researched areas in sleep medicine, and there is a clear, evidence-based way through it that doesn’t involve adding more medication.
Why pain and poor sleep trap each other in a cycle
The relationship between chronic pain and insomnia runs in both directions. Research summarised by the Sleep Foundation suggests that around three-quarters of people living with chronic pain also report significant insomnia symptoms, and studies in primary care settings put the overlap as high as 44–88%, depending on the pain condition and how it’s measured.
Here’s the mechanism behind it:
- Pain disrupts sleep. Discomfort makes it harder to fall asleep, harder to get comfortable, and more likely that you’ll wake during the night and struggle to drop back off.
- Poor sleep heightens pain sensitivity. Even a single night of fragmented sleep can lower your pain threshold, meaning the same level of physical discomfort feels more intense the next day.
- Fatigue reduces coping capacity. When you’re exhausted, you have less mental and physical resilience to manage pain flare-ups, which increases stress — and stress itself is a well-known trigger for sleeplessness.
Over weeks and months, this becomes self-sustaining. Many of my clients describe it as feeling trapped between two problems that each make the other worse, with no obvious way to break in.
Why painkillers and sleeping tablets rarely solve the sleep problem
It’s a natural instinct to reach for medication — either pain relief taken late in the day in the hope it will help you sleep, or a short course of sleeping tablets to get some rest. Both can have a place in short-term management, and any changes to pain medication or sleep medication should always be discussed with your GP; this article isn’t a substitute for that conversation, and you should never stop or alter a prescribed medication on your own.
However, medication alone tends not to fix the underlying sleep problem. Sleeping tablets can help in the very short term, but they don’t address the habits, routines and thought patterns that insomnia builds up around itself, and their effect typically fades with continued use. That’s one of the reasons NICE guidance for insomnia now recommends psychological treatment as the first-line approach, with medication reserved for short-term or specific situations. If you’re currently relying on tablets and wondering about alternatives, our article on insomnia treatment without medication explains the options in more detail.
What the research says about CBT-I for pain-related insomnia
This is genuinely one of the better-studied corners of sleep medicine. A recent systematic review and meta-analysis pooling 67 randomised controlled trials and over 5,200 participants found that CBT-I produces moderate-to-large improvements in insomnia severity, sleep efficiency and time taken to fall asleep in people with chronic physical health conditions — including chronic pain, cardiovascular disease and cancer — with effect sizes comparable to those seen in people without a co-existing health condition.
Trials specifically looking at chronic pain populations have found that CBT-I doesn’t just improve sleep: several studies report that it also reduces how much pain interferes with daily functioning, even though the treatment doesn’t target pain directly. Newer digital and internet-delivered CBT-I programmes for people with comorbid pain and insomnia have shown similar benefits, with high treatment satisfaction and low drop-out rates. NICE guidance specifically advises clinicians to screen for conditions like chronic pain, anxiety and restless legs syndrome when assessing insomnia, precisely because untreated comorbidities can undermine treatment if they’re ignored.
In short: you don’t need to wait for your pain to be fully resolved before tackling your sleep, and you don’t need your sleep to be perfect before your pain can improve. Working on both, even separately, tends to help each other.
How CBT-I is adapted when chronic pain is part of the picture
Standard CBT-I is a structured programme built around a handful of core techniques: stimulus control, sleep restriction (or sleep compression), cognitive techniques for quietening a racing mind, and relaxation training. You can read a full breakdown of the approach in our guide to why CBT-I works.
When pain is in the picture, a clinician will typically adapt the pace and detail of this plan rather than abandon it:
- Sleep restriction is paced more gently. This technique temporarily reduces time in bed to rebuild sleep pressure and consolidate sleep, but with chronic pain it needs to be calibrated carefully so it doesn’t increase daytime fatigue to an unmanageable level.
- Getting out of bed during wakeful periods is adjusted for mobility and comfort. The usual advice to leave the bedroom if you’re awake and frustrated is modified for anyone whose pain makes moving around difficult at night.
- Relaxation and pacing strategies are built in alongside the sleep plan. Progressive muscle relaxation, paced breathing and gentle activity pacing across the day are often combined with the core CBT-I techniques, since they address both pain flare-ups and the physiological arousal that keeps insomnia going.
- Unhelpful beliefs about pain and sleep are addressed together. Thoughts such as “I’ll never sleep properly while I’m in pain” or “if I don’t sleep, tomorrow’s pain will be unbearable” are common, understandable, and directly targeted in the cognitive part of treatment.
If you’re currently waking repeatedly through the night because of discomfort, it’s also worth reading our piece on why you wake up in the middle of the night, and if getting off to sleep in the first place is the bigger struggle, how to fall asleep fast covers practical first steps.
What to expect from a course of treatment
A typical course of CBT-I runs over six to eight weekly sessions, whether delivered in person, by video, or through a structured digital programme. Within that, someone managing chronic pain alongside insomnia can expect:
- An initial assessment that looks at both your sleep patterns and how pain interacts with them, often supported by a short sleep diary.
- A personalised sleep schedule, adjusted gradually rather than imposed all at once.
- Practical strategies for the specific moments that derail sleep — a pain flare at 3am, racing thoughts about tomorrow, or the frustration of lying awake.
- Regular review and fine-tuning, since pain levels can fluctuate week to week and the plan needs to flex with them.
Most people notice measurable improvement in sleep quality within three to four weeks, even while pain management continues separately. For a broader overview of the condition and treatment landscape, our complete guide to insomnia is a useful starting point.
When to seek help
If your sleep has been poor for more than a few weeks, if you’re dreading bedtime, or if you’ve started avoiding daytime activities because you’re exhausted, it’s worth getting a proper assessment rather than assuming things will settle on their own. Chronic pain already takes enough from your day without insomnia compounding it. Structured, evidence-based insomnia treatment can address the sleep side of the cycle directly, working alongside whatever pain management your GP or pain specialist already has in place.
Frequently asked questions
Can chronic pain cause insomnia even if my sleep used to be fine?
Yes. Many people develop insomnia after a pain condition begins, even if they had no prior history of sleep problems. Pain disrupts normal sleep patterns, and over time the brain can learn unhelpful associations with bedtime and wakefulness, turning an initial disruption into a persistent insomnia problem that outlasts any single flare-up.
Will treating my insomnia actually reduce my pain?
CBT-I is not a pain treatment, but several studies show that improving sleep can reduce how much pain interferes with daily life and may lower pain sensitivity, since poor sleep is known to heighten pain perception. Most people find that better sleep makes pain more manageable, even if the underlying pain condition is unchanged.
Is it safe to do CBT-I while I’m still taking pain medication?
Yes, CBT-I is a psychological, non-drug treatment that can be used alongside your existing pain management plan. It doesn’t involve any changes to medication. Any questions about adjusting pain relief or sleep medication should always be directed to your GP or specialist rather than changed independently.
How is CBT-I different from the general sleep hygiene advice I’ve already tried?
Sleep hygiene tips, such as avoiding caffeine or keeping a dark bedroom, are helpful general habits but are rarely enough to resolve established insomnia on their own, particularly when chronic pain is involved. CBT-I is a structured, individually tailored treatment that targets the specific habits and thought patterns keeping your insomnia going, with a much stronger evidence base for lasting results.
Breaking the cycle, one side at a time
Living with chronic pain is hard enough without insomnia making every day harder. The evidence is clear that you don’t have to accept broken sleep as a permanent side effect of pain — CBT-I offers a structured, medication-free way to rebuild healthy sleep, with research showing it works even when pain itself remains part of the picture.
If this sounds familiar, a good first step is our free insomnia self-assessment, which takes a few minutes and gives you a clearer picture of what’s going on with your sleep. You’re also welcome to get in touch if you’d like to discuss whether CBT-I is right for your situation.