Insomnia With Trauma, OCD, or Strong Anxiety: Keeping Sleep on Track
- Ryan Burns

- Oct 30
- 7 min read

🧠 Key takeaway: Insomnia can improve—even with trauma, OCD, or big anxiety in the mix—when we keep the core CBT‑I steps and add a few smart tweaks.
If nights have started to feel like a second job, you’re in the right place. Many people tell us they’re exhausted, wired, and worried that their history with trauma, OCD, or anxiety means sleep is off‑limits. It isn’t.
Cognitive Behavioral Therapy for Insomnia (CBT‑I) is a well‑tested approach that helps your brain relearn that bed = sleep, and it still works when other conditions are present (1, 2, 3). We’ll show you how to use the essentials—like a steady wake time and getting out of bed when you’re stuck awake—while making common‑sense adjustments for nightmares, checking, or panic.
As you read, you’ll see links to our team and services at ScienceWorks Behavioral Healthcare. We offer Specialized Therapy, condition‑specific care for OCD and Trauma, and Psychological Assessments when questions remain.
Why sleep work stalls with co‑occurring conditions
🚨 Key takeaway: Your nervous system is doing its best to keep you safe. We’ll help it stand down at night.
Hyperarousal and threat detection. After trauma—or with chronic anxiety—the brain’s “night watch” can stay on duty. In bed, the body scans for danger instead of drifting. That’s not a failure; it’s protective wiring that needs retraining (4, 5).
Safety behaviors vs. sleep behaviors. Rituals like repeated door checks, “just to be sure” reassurance, or mental reviewing can feel calming in the moment but keep the brain alert in bed—the opposite of stimulus control, which teaches bed = sleep (6).
Nightmares and worry spirals. When frightening dreams or racing thoughts show up, the bed can start to feel like the problem. Without a plan, we add more coping steps, spend more minutes awake, and sleep gets choppier.
ScienceWorks pairs CBT‑I with ERP for OCD and trauma‑focused tools so your plan matches your nervous system. Curious what that could look like? Reach out to Ryan Robertson, TLPC‑MHSP, NCC for insomnia‑focused care.
The 2‑Minute Quick Guide
✅ Key takeaway: Two minutes of honest answers point you to the right starting line.
A. Threat vs. fatigue. When you wake at night, do you feel unsafe—or mostly restless and alert?
B. Rituals and rules. Do you have must‑do steps (mental or physical) that help briefly but keep growing?
C. Daytime fallout. Are you avoiding places or situations because of triggers or checking?
Triage result:
✅ Start with standard CBT‑I when insomnia is the main issue and safety behaviors are light.
🔁 Blend CBT‑I with extras (like brief ERP or Imagery Rehearsal Therapy) for mild–moderate trauma, OCD, or anxiety.
🛑 Stabilize first for big safety concerns (suicidality, severe dissociation, mania risk, uncontrolled substance use, medical red flags). Sleep work can wait until you’re safer.
Not sure where you land? Book a free consultation and we’ll map it with you.
Core CBT‑I moves that still matter
🌅 Key takeaway: Keep the wake‑time anchor, morning light, and the “out‑of‑bed when awake” rule—these power most of the change.
CBT‑I, in plain English. Cognitive Behavioral Therapy for Insomnia is a short, structured program (often 4–8 sessions) that helps your brain relearn that bed = sleep. It adjusts sleep timing, trims habits that keep you alert, and adds simple thinking tools for those 2 a.m. worry loops. It works on its own or alongside care for trauma, OCD, or anxiety.
The core moves:
Pick a fixed wake time (even on weekends). This is your anchor.
Get morning light. Open curtains or step outside soon after waking.
Right‑size your time in bed. Go to bed when sleepiness shows up—not just because the clock says so. Build a consistent “sleep window.”
Out of bed when stuck awake. If you’re awake about 20–30 minutes, get up and do something quiet, dim, and neutral; return when sleepy.
Simple wind‑down. 10–20 minutes of a calming, low‑light routine before lights‑out.
Bedroom = sleep and intimacy. Save work, scrolling, and problem‑solving for elsewhere.
How we know it’s working: You spend at least ~85% of your time in bed asleep (that’s sleep efficiency), you fall asleep faster, and you wake less in the night. We track a brief sleep diary and a weekly Insomnia Severity Index (a 7‑item checklist) to watch progress.
Smart adaptations by condition
A) Trauma/PTSD and nightmares
🛌 Key takeaway: Keep the bed for sleep; add Imagery Rehearsal Therapy (IRT) when nightmares are frequent or intense.
Start simple. Stick with stimulus control and a steady wake time. Try not to turn the bed into a “safe zone” full of extra steps.
Add IRT when needed. If trauma nightmares are common, IRT offers a structured way to change the story of a dream while you’re awake so the brain can rehearse a safer version (8, 9, 10).
Go gently on timing. Use smaller adjustments to your sleep window and add brief grounding before bed or after a midnight wake‑up (cool water on hands, slower breathing), so coping doesn’t become a new ritual.
B) OCD: checking, mental rituals, contamination
🔓 Key takeaway: Pair ERP with a steady sleep window. Certainty won’t tuck you in; practice tolerating “good enough.”
ERP outside sleep time. Do exposures earlier in the day when possible, then keep a short, predictable lights‑out routine. Use a “decide‑once” rule (e.g., “Doors are locked after one check.”).
Reassurance at lights‑out. Try a one‑line script: “I’m practicing uncertainty so my brain relearns bedtime is safe.” Keep it short so it doesn’t become a new mental ritual.
Micro‑ERP for night checks. Create tiny steps for devices, doors, or health worries; track wins and keep the sleep window steady.
C) High anxiety, panic, or worry
🫁 Key takeaway: Move heavy work earlier; keep in‑bed prompts brief and kind.
Scheduled worry time. 15–20 minutes in early evening to write, plan, and park concerns on a card. Bring the card, not the rumination, to bed.
Interoceptive exposures (for panic) outside the sleep window; pair with response‑prevention so calming routines don’t snowball.
Just‑in‑time prompts. One sentence only: “Awake time is recovery time—getting up now helps tonight.”
The step‑by‑step path
🧭 Key takeaway: Four structured weeks build momentum; adjust pace to your nervous system.
Week 1 – Assess & Prepare. 7‑day sleep log; fix wake time; morning light; remove obvious safety behaviors; set a simple night plan. Consider a baseline ISI and brief symptom scales.
Week 2 – Calibrate Time in Bed. Initiate modest sleep restriction or expansion; begin mini‑ERP or IRT if indicated.
Week 3 – Strengthen Habits. Tighten stimulus control; progress ERP/IRT steps; troubleshoot flare‑ups (see below).
Week 4 – Consolidate & Prevent Relapse. Maintain gains; rehearse relapse prevention; taper tracking to maintenance.
If you want support through this arc, explore our CBT‑I track with Ryan Robertson or request a free consult.
Troubleshooting
🛠️ Key takeaway: When things flare, slow down, simplify, and protect your wake‑time anchor.
“Sleep restriction spiked flashbacks.” Shrink the weekly adjustments, add grounding or start IRT, then ease back into restriction.
“ERP made me too activated to sleep.” Do the hardest exposures earlier. Keep a calm pre‑sleep runway. The wake‑time anchor stays.
“Compulsions crept into the night plan.” Trim the routine to 2–3 steps, add micro‑exposures, and rehearse one cue card.
“I’m doom‑thinking in bed.” Get up after ~20–30 minutes. Do something neutral and low‑light. Return only when sleepy.
FAQ
Will CBT‑I make my trauma or OCD worse?
Not when paced and paired with supports. Research shows CBT‑I is effective with co‑occurring conditions; we adjust the dose to fit you (2, 3, 4).
Do I have to talk in detail about trauma to fix sleep?
Not necessarily. Tools like Imagery Rehearsal Therapy and simple behavioral changes focus on how you sleep now. Trauma processing can happen separately if that’s safer (8, 9, 10).
Is melatonin helpful here?
Sometimes. Small doses at the right time can help certain body clocks, but CBT‑I is still first‑line. Medication choices are best made with your clinician (1, 11).
What if I’m also starting CPAP?
Keep your wake time steady. Practice CPAP comfort outside the sleep window. Use stimulus control so awake‑in‑bed time stays short.
Next steps
Try the 2‑Minute Quick Sort and note your track.
Start the Week‑1 plan (fixed wake time, morning light, out‑of‑bed when awake).
If you’d like help: schedule with Ryan Robertson or request a free consult. If diagnosis is unclear, consider Psychological Assessments.
References and Citations
(1) Morin, C. M., & Benca, R. (2012). Chronic insomnia. The Lancet, 379(9821), 1129–1141. https://doi.org/10.1016/S0140-6736(11)60750-2
(2) Wu, J. Q., Appleman, E. R., Salazar, R. D., & Ong, J. C. (2015). Cognitive behavioral therapy for insomnia comorbid with psychiatric and medical conditions: A meta‑analysis. JAMA Internal Medicine, 175(9), 1461–1472. https://doi.org/10.1001/jamainternmed.2015.3006
(3) Hertenstein, E., et al. (2022). Cognitive behavioral therapy for insomnia in patients with mental disorders and comorbid insomnia: A systematic review and meta‑analysis. Sleep Medicine Reviews, 62, 101595. https://doi.org/10.1016/j.smrv.2022.101595
(4) Lancel, M., van Dijke, A., & van Heugten‑van der Kloet, D. (2021). Disturbed sleep in PTSD: Thinking beyond nightmares. Frontiers in Psychiatry, 12, 767760. https://doi.org/10.3389/fpsyt.2021.767760
(5) Brownlow, J. A., Hall Brown, T. S., & Mellman, T. A. (2020). Treatment of sleep comorbidities in PTSD. Current Sleep Medicine Reports, 6(3), 157–169. https://doi.org/10.1007/s40675-020-00181-2
(6) Bootzin, R. R., & Perlis, M. L. (2011). Stimulus control therapy. In M. L. Perlis, C. L. Kuhn, & M. T. Bastien (Eds.), Behavioral Treatments for Sleep Disorders (pp. 21–30). Elsevier. https://doi.org/10.1016/B978-0-12-381522-4.00002-X
(7) Bastien, C. H., Vallières, A., & Morin, C. M. (2001). Validation of the Insomnia Severity Index as an outcome measure for insomnia research. Sleep Medicine, 2(4), 297–307. https://doi.org/10.1016/S1389-9457(00)00065-4
(8) Krakow, B., et al. (2001). Imagery rehearsal therapy for chronic nightmares in sexual assault survivors. JAMA, 286(5), 537–545. https://doi.org/10.1001/jama.286.5.537
(9) Cook, J. M., Harb, G. C., Gehrman, P. R., Cary, M. S., Gamble, G. M., Forbes, D., & Ross, R. J. (2010). Imagery rehearsal for posttraumatic nightmares: A randomized controlled trial. Journal of Traumatic Stress, 23(5), 553–563. https://doi.org/10.1002/jts.20569
(10) Harb, G. C., Cook, J. M., Gehrman, P. R., Gamble, G. M., & Ross, R. J. (2019). A randomized controlled trial of imagery rehearsal combined with CBT‑I versus CBT‑I alone in veterans with PTSD. Journal of Clinical Sleep Medicine, 15(12), 1767–1778. https://doi.org/10.5664/jcsm.7770
(11) Sateia, M. J., Buysse, D. J., Krystal, A. D., Neubauer, D. N., & Heald, J. L. (2017). Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults. Journal of Clinical Sleep Medicine, 13(2), 307–349. https://doi.org/10.5664/jcsm.6470
Disclaimer
This article is for educational purposes only and is not medical advice. It does not replace evaluation or treatment by a qualified professional. If you have safety concerns (e.g., suicidality, mania, severe substance use, medical red flags), seek immediate help and consult your clinician before starting CBT‑I.



