Sleep and Chronic Pain: Why Pain Gets Worse at Night and How to Fix It
By Tristan Siokos ยท Founder, Recalibrate ยท February 12, 2026
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 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
- The Interplay of Circadian Rhythm and Pain Perception
How circadian rhythm, sleep pressure, cortisol, inflammation and nervous system arousal shape pain sensitivity across the day and night.
- Cortisol Is Called the Stress Hormone. It Is Really a Fuel Hormone - and It Makes Fuel by Taking Your Muscle Apart.
Cortisol does not give you energy. It dismantles part of your body to make some - pulling amino acids from muscle and fat from fat stores so your liver can build new glucose. That single fact explains the 3pm slump, the 3am wake-up after drinking, why under-eating raises it, and why the goal is the shape of the curve, not a lower number.
- Nature Has Been Making Painkillers for Millions of Years. Here Is the Actual Chemistry Inside Them.
Eugenol in cloves is a real local anaesthetic. Salicin in willow bark is what aspirin was built from. Every item on this list contains a compound we can name, measure and study - which is exactly why they can help you and why they can interact with your medication. Here is what each one is actually good for.