Sleep and Chronic Pain: Why Pain Gets Worse at Night and How to Fix It

By Tristan Siokos ยท Founder, Recalibrate ยท February 12, 2026

Sleep and Chronic Pain: Why Pain Gets Worse at Night and How to Fix It - Recalibrate blog cover illustration.

Your pain gets worse at night because of HPA Axis dysregulation and cortisol, not poor sleep hygiene. This article explains the neuroscience of the sleep-pain cycle and gives you a 5-step protocol to break it.

Sleep Hygiene is Not Your Problem

No shade to the blackout curtain crowd.

But if you have chronic pain and you cannot sleep, "try a cooler room and avoid screens before bed" is not the answer.

It is not even close to the answer.

The real problem is your HPA Axis.

The Hypothalamic-Pituitary-Adrenal axis is your primary stress response system. It regulates cortisol, your body's most powerful inflammatory modulator. When it is dysregulated from chronic pain, chronic stress, or sustained nervous system activation, cortisol does not drop when it should.

Your body does not shift into the parasympathetic state required for restorative sleep. Pain thresholds drop. Inflammatory markers rise. You lie in bed with a sensitized nervous system and no physiological off switch.

That is not a sleep hygiene problem. That is a neuroendocrine problem. And it requires a different solution.

The HPA Axis: The Real Driver

Cortisol should peak around 8am and decline through the day. This is the normal cortisol curve.

In chronic pain states, the HPA axis stays in high-output mode. Cortisol remains elevated at night. This disrupts melatonin production, delays sleep onset, fragments sleep architecture, and keeps the nervous system in a state of low-grade alert even when you are exhausted.

The result: you are tired but wired. Physically exhausted but neurologically activated. This is the hallmark of HPA dysregulation.

The Science: This is not just poor sleep. Sleep deprivation from HPA dysregulation does three specific things in a chronic pain context:
- Reduces opioid receptor sensitivity (your own natural pain killers work less effectively)
- Increases systemic inflammatory markers
- Impairs the glymphatic system, your brain's overnight waste-clearance network, which removes inflammatory proteins linked to pain sensitization

One night of poor sleep raises pain sensitivity by 15-25% the following day. Do that for months and you have a nervous system that cannot reset.

๐Ÿ’ก Circadian Reset: Get natural morning sunlight within 30 minutes of waking. No sunglasses. Minimum 10 minutes outside. This anchors the cortisol pulse to the correct time and starts the 14-16 hour countdown to appropriate melatonin release at night.

The 4 Systems Sleep Must Navigate in Chronic Pain

Chronic pain disrupts sleep through 4 distinct biological systems. Addressing only one will not fix the problem.

1. The HPA Axis (The Thermostat)
The Science: Keeps cortisol elevated at night, blocks the parasympathetic shift required for sleep onset, and disrupts melatonin production.
๐Ÿ’ก Morning sunlight for 10 minutes. Consistent wake time regardless of sleep quality. These two inputs are more powerful than any sleep supplement.

2. The Autonomic Nervous System (The Switch)
The Science: Sleep requires a shift from sympathetic (fight-or-flight) to parasympathetic (rest-digest-repair). Chronic pain keeps the sympathetic system active. The switch does not flip.
๐Ÿ’ก Vagal Activation: An extended exhale directly engages the vagus nerve and forces parasympathetic activation. Try 4s inhale, 8s exhale for 5-10 minutes before sleep. The exhale activates the vagal brake.

3. The Glymphatic System (The Night Cleaner)
The Science: During deep sleep, your brain activates a waste-clearance network that removes inflammatory proteins including those linked to pain sensitization. Poor sleep means this system does not run. Proteins accumulate. Pain sensitivity increases. More pain disrupts sleep further.
๐Ÿ’ก Side sleeping enhances glymphatic clearance. Left lateral position shows the strongest effect in the available research.

4. The Hippocampus (The Memory Sorter)
The Science: Sleep consolidates pain memories and emotional associations. Sleep deprivation impairs the brain's ability to down-regulate fear memories. This is why poor sleep makes everything feel more threatening, including pain.
๐Ÿ’ก Pre-Sleep Audit: Write down 3 factual, non-threatening statements about your pain before bed. "My scans are clear. This is nervous system sensitivity. I have had better days before." Give the hippocampus accurate material to process overnight.

The Bidirectional Trap

The sleep-pain cycle is bidirectional and self-reinforcing:

Pain disrupts sleep โ†’ poor sleep raises pain sensitivity โ†’ more pain disrupts the next night's sleep โ†’ repeat

Breaking this requires targeting both systems simultaneously, not one at a time.

For the pain system:
- Pain neuroscience education to reduce threat perception
- Pacing to prevent activity spikes that cause flares and disrupt sleep
- Stress regulation throughout the day, not just before bed
- Gentle movement during the day to support autonomic regulation

For the sleep system:
- Consistent wake time is more important than bedtime
- Morning light exposure for HPA regulation
- Vagal activation as part of a wind-down routine
- Stimulus control: bed is for sleep only, not worry, work, or phone scrolling

The key principle: you cannot fix chronic pain sleep problems with sleep interventions alone. The pain system must be addressed in parallel.

CBT-I: The Evidence-Based Protocol

CBT-I (Cognitive Behavioral Therapy for Insomnia) is the American Academy of Sleep Medicine's first-line recommendation for insomnia. It outperforms sleep medication in head-to-head trials. Especially in chronic pain populations.

The core components:

Sleep Restriction
Temporarily limit time in bed to build genuine sleep pressure and improve sleep efficiency. Counterintuitive but consistently effective.

Stimulus Control
Eliminate the association between bed and wakefulness, worry, or pain focus. Use bed only for sleep. Get up if not asleep within 20 minutes. Return only when genuinely sleepy.

Cognitive Restructuring
Challenge unhelpful beliefs about sleep:
- "I will never fall asleep" โ†’ "Sleep pressure builds over time. It will come."
- "Tomorrow will be ruined" โ†’ "I have functioned on poor sleep before. I can manage."

Sleep Hygiene (the part most people start with and should start with last)
Optimize environment and habits after the above is in place.

The critical finding from pain-specific research: improving sleep often improves pain, even when pain is not directly targeted. The sleep system and pain system share enough biological infrastructure that fixing one repairs the other.

Your 5-Step Sleep Recalibration Protocol

Apply these in order. Do not skip to step 5.

1. Set a fixed wake time and hold it regardless of how the night went.
This is the single most effective behavioral intervention for sleep. It rebuilds sleep pressure and recalibrates the circadian clock.

2. Get 10 minutes of morning sunlight within 30 minutes of waking.
This sets the HPA cortisol pulse and initiates the melatonin countdown. Non-negotiable for HPA dysregulation.

3. Build a 20-minute wind-down routine with vagal activation.
4s inhale, 8s exhale for 5-10 minutes. Add a pre-sleep cognitive audit: 3 factual, non-threatening statements about your pain and your body.

4. Implement stimulus control.
Bed for sleep only. If awake for more than 20 minutes, get up, go to another room, do something quiet and non-stimulating, return when genuinely sleepy.

5. Track both sleep and pain together.
The patterns that emerge over 2-4 weeks are more valuable than any single night's data. You are looking for correlations, not perfection.

Sleep is not a lifestyle factor in chronic pain. It is a primary treatment target.

Recalibrate is an education and self-tracking tool, not a diagnostic service or a replacement for medical care.

Related articles

Browse all articles