August 10, 2020

How to Beat Insomnia When You Have Chronic Pain

Therapy helps pain sufferers get their sleep

woman in pain with insomnia in bed

Ah, elusive sleep. Insomnia. Many of us have been there. For people with chronic pain — whether from back pain, fibromyalgia or the pain of cancer treatment — sleep issues are especially common, and pain is one of the most common causes of insomnia. Up to 2/3 of patients with chronic pain conditions also experience sleep disorders.


Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

“Pain worsens sleep patterns and sleep disturbances worsen pain. It’s a vicious cycle,” says pain specialist Robert Bolash, MD. These problems can range from difficulty falling asleep to difficulty staying asleep. And without good sleep, this can lead to heightened pain and worsening sleep.

Treating insomnia can help your chronic pain subside. But before treating insomnia, it’s important to rule out other issues that could be causing your sleep struggles, says sleep specialist Michelle Drerup, PsyD.

“Sometimes, after receiving a new diagnosis, it’s common for people to struggle with other disorders that can affect sleep, like depression or post-traumatic stress disorder,” she says.

If you struggle with insomnia, it can also be caused by a sleep-related medical condition, like sleep apnea. When your sleep quality is poor, your pain levels are exacerbated. “At times, we see patients with pain diagnoses who really have a medical condition such as sleep apnea. When their sleep apnea is treated, their pain diminishes as well,” Dr. Bolash explains.

Those are the simple cases. But more often, treating pain and insomnia requires a team approach with help from different medical specialists. “We know that certain pain medications can improve sleep, and we prescribe these for those who have both a sleep disorder and a specific pain disorder,” says Dr. Bolash. “However, we must use caution with opioid pain medications, which can disrupt sleep and prevent patients from entering deep sleep after as little as one dose,” Dr. Bolash says. Opioids can also cause sleep-related breathing disturbances.


He adds that once easily reversible causes — from drinking too much caffeine to using opioids — are stopped, behavioral therapy is often the next treatment of choice.

First: Understanding the insomnia

To understand how chronic pain might make it difficult to fall asleep, it is helpful to think about your bedtime routine. Most people will eliminate distractions in order to relax and fall asleep, including things such as turning off lights, making it quiet and getting comfortable.

“But this quiet environment can actually cause problems if you have chronic pain,” says Dr. Drerup, “because then the only thing you have to focus on is your pain.” Unfortunately, without other distractions, pain seems to become “louder” and in many cases, the perception of pain — not necessarily the actual pain — increases when attempting to fall asleep.

Second: Understanding the therapy

Cognitive behavioral therapy for insomnia (CBT-I) includes a number of strategies designed to improve your sleep quality and help you change thoughts and behaviors that interfere with sleep. This type of therapy is often preferred over medications because it has no side effects and is a more effective long-term solution.

One of the main goals of CBT-I is to help you control or eliminate negative thoughts and worries that keep you awake. CBT-I helps you to become more aware of thoughts related to sleep. “Once controlled, those thoughts tend to decrease and it is easier for you to fall asleep,” says Dr. Drerup.


Another strategy to help with insomnia is relaxation training, which reduces or eliminates muscle tension and distracts you from racing thoughts. Techniques include specific muscle group relaxation, guided imagery and meditation.

“Regardless of the type of relaxation strategy used, the treatment involves professional guidance and teaching these skills over a number of sessions,” Dr. Drerup says. She conducts both individual and group sessions on CBT for insomnia. “Usually, patients will take part in three to eight sessions to learn these techniques and discover what works for them,” she says.

The good news is that CBT for insomnia has been proven effective with 70 to 80% of patients who seek this treatment, says Dr. Drerup.

Third: Understanding good sleep hygiene

For these strategies to work, you also need to follow good sleep hygiene. Here, Dr. Drerup offers highlights of the standard guidelines:

  • Use the bed and bedroom for sleep and sex only. Avoid sleep-incompatible behaviors in the bed, including reading, watching TV or worrying.
  • Go to bed only when sleepy.
  • If unable to sleep within 15-20 minutes of getting in bed, get up and go into another room. Return to bed only when sleepy again. (Repeat if necessary.)
  • Maintain a regular wake time regardless of the amount of sleep that night.
  • Avoid naps during the day.
  • Watch caffeine and alcohol before bedtime.
  • Exercise, but don’t do it within a couple hours of bedtime.

Related Articles

Parent helping child from falling off bike.
September 21, 2022
Pain and the Brain: What Is the Gate Control Theory?

Not all signals of physical pain actually make it to our brains — and you have some power over it

Person sitting up straight in chair while checking smartphone.
July 14, 2022
How To Improve Your Posture When You Have Ankylosing Spondylitis

Ease pain and stay active by keeping your spine in its proper position

sleeping pills on bedside table with clock and glass of water
March 9, 2022
Can Melatonin Really Help You Sleep Better?

Does this supplement help you get more ZZZ's

Individual sitting at work desk stretches
November 4, 2021
I’m In Pain: Should I Wait to Seek Treatment?

The short answer from a pain specialist

woman sleeping and dreaming of covid virus
September 1, 2021
How the COVID-19 Pandemic Can Impact Your Sleep

Here's how to get some rest in the face of pandemic-caused insomnia

Circular orange pills spilling out of a tipped-over bottle
June 29, 2021
Does Magnesium Help You Sleep?

The scoop on magnesium sleep aids

woman taking vitamin
June 10, 2021
Can Vitamins and Supplements Help You Sleep?

An expert discusses what effects, if any, vitamins have on your ability to sleep

woman listening to music at night
May 27, 2021
How To Calm Your Anxiety at Night

What to do when your worries are keeping you from sleep

Trending Topics

group of hands holding different beverages
November 14, 2023
10 Myths About Drinking Alcohol You Should Stop Repeating

Coffee won’t cure a hangover and you definitely shouldn’t mix your cocktail with an energy drink

Person applies moisturizer as part of their skin care routine after a shower.
November 10, 2023
Korean Skin Care Routines: What You Need To Know

Focus on the philosophy — replenishing and respecting your skin — not necessarily the steps

glass of cherry juice with cherries on table
November 8, 2023
Sleepy Girl Mocktail: What’s in It and Does It Really Make You Sleep Better?

This social media sleep hack with tart cherry juice and magnesium could be worth a try