longevitywatch

Does pain make me sleep worse, and what can you do about it?

Yes · Moderate evidence

Pain and sleep reinforce each other, and this is well researched. Cognitive behavioural therapy for insomnia is the treatment with the strongest support if pain is disrupting your sleep.

Pain and sleep are closely linked, and that relationship runs in both directions. Chronic pain disrupts sleep, but poor sleep also makes pain worse. The same applies to migraine: sleep problems can trigger or worsen an attack, while migraine in turn disrupts sleep. Researchers suspect that shared brain mechanisms play a role.

This link becomes clearly visible around the time of surgery. Six in ten surgical patients already have sleep problems before an operation. People who have severe insomnia symptoms before surgery have almost 2.7 times the risk of moderate to severe pain on the first day afterwards. Sleeping poorly before an operation is also associated with a greater risk of long-lasting pain afterwards, and with higher use of painkillers during recovery.

For people who have chronic pain and sleep poorly as a result, cognitive behavioural therapy for insomnia is the treatment with the strongest support. This is a structured therapy in which you learn to change your sleep behaviour and your thoughts about sleep. Many studies in people with chronic conditions, including chronic pain, show large improvements in how quickly you fall asleep and how efficiently you sleep. Side effects are rare, and only 13% of participants dropped out early. This is currently the recommended first step for insomnia.

Exercise and movement therapy can ease pain complaints and improve overall functioning, but the studies that showed this were small and followed people for only three to six months. Early indications also come from research in fibromyalgia: a low dose of a muscle relaxant, taken in the evening, improved both pain and sleep quality and fatigue compared with a dummy treatment. This concerns a specific medicine study; this treatment is not yet routinely available.

The evidence
7 studies · 5 meta-analyses · 1 randomised trial

This answer draws on multiple combined studies, including studies in large groups of surgical patients, a summary of studies on cognitive behavioural therapy for insomnia in people with chronic conditions, and smaller studies on exercise and fibromyalgia. For the two-way relationship between pain and sleep, all available studies measure an association but cannot prove what is the cause and what is the effect. The researchers rated the evidence for the link between pre-operative sleep problems and long-lasting post-operative pain as low quality, due to risk of bias and variation between studies. The evidence for cognitive behavioural therapy is the strongest; that for exercise therapy and fibromyalgia medication is more limited or concerns more specific groups.

Last checked: November 2026 · how this was judged
Related answers

What can I do to sleep better?

Cognitive behavioural therapy for insomnia is the most proven approach and works better than sleeping medication. Cutting back on caffeine in the afternoon is the next simplest step with the strongest evidence.

Strong evidence

Do I sleep worse if I am often alone or feel lonely?

Yes, loneliness is clearly associated with poorer sleep: you have more difficulty falling asleep, wake up more often during the night, and feel more tired during the day. Working on social connection is therefore also a concrete step toward better nights.

Why do you sleep worse as you get older?

Ageing is accompanied by measurable changes in sleep: less deep sleep, more frequent waking, longer time needed to fall asleep, and an earlier internal day-night rhythm. Some of these changes are linked to additional health conditions or medications, so not everything is inevitable.

Moderate evidence

Do you sleep worse when you are stressed?

Stress worsens your sleep, and poor sleep raises your stress levels: that cycle is well documented. Anyone who notices that stress and sleep deprivation are accumulating would be wise to intervene early, for example through stress management or sleep hygiene, before the cycle becomes entrenched.

Yes · Moderate evidence

What are the best ways to fall asleep more easily?

Cognitive behavioural therapy for insomnia works best and lasts longest; sleeping pills are a short-term solution and are even dangerous in older adults. A digital version of the therapy is a good, accessible first step.

Strong evidence

Does getting more sleep improve my memory?

Sufficient sleep demonstrably benefits your memory: your brain processes and stores new information while you sleep. Too little sleep impairs that processing after just one night.

Yes · Strong evidence
Related research
19 Nov
Pink noise enlarges brain fluid waves during sleep in people
18 Nov
Vasodilation and vibration improve brain fluid drainage in people
17 Nov
Fixed daily routines linked to less pain and depression in older adults
Don't see your question?
Ask it and we'll look it up for you.
Ask a question →
Newsletter

Stay in the loop

Every Thursday, the most important longevity research in your inbox, focused on what you follow.