Somnera
CBT-I science

Does online CBT-I work? What the trials of digital CBT-I found

Digital CBT-I has been tested in large randomized trials. What it improved, what it did not, and what separates the programs that deliver it.

5 min read

Last reviewed October 7, 2026

A phone outline showing a week of sleep diary bars getting steadily taller

Share

Yes - online CBT-I works, and the evidence for it is strong enough that the European insomnia guideline lists it as first-line treatment alongside in-person delivery. It has been tested in large randomized trials, not just small pilots. The more useful questions are what it changes, what it does not, and what separates a program that actually delivers CBT-I from one that only uses the name.

What the guidelines say

The European Sleep Research Society's 2023 guideline recommends CBT-I as the first-line treatment for chronic insomnia in adults, delivered in person or digitally. That is an explicit endorsement of the format.

In the US, the American Academy of Sleep Medicine's behavioral guideline strongly recommends multicomponent CBT-I. What earns that recommendation is the protocol - sleep restriction, stimulus control, cognitive work and education together - and a digital program either delivers that protocol or it does not.

What the trials found

One of the largest randomized trials of digital CBT-I enrolled 1,711 adults with insomnia. The trial measured the program's effect on insomnia, functional health, psychological wellbeing and sleep-related quality of life. Importantly, the improvement in insomnia accounted for between 45.5% and 84.0% of the effect on the other outcomes - in other words, sleeping better was the route through which the rest improved.

Pooled analyses of digital CBT-I have also found improvements in depression symptoms (standardized mean difference −0.42, 95% CI −0.56 to −0.28) and anxiety symptoms (−0.29, 95% CI −0.40 to −0.19) alongside the improvement in sleep.

What it did not do

Honest evidence includes the null results.

A trial that tested whether an online insomnia program could prevent depressive episodes did not find a significant difference: 9 episodes in the program group against 13 in the control group, p=0.32. Improving depressive symptoms is supported by the evidence; preventing a depressive episode is not, and the two are often conflated.

Online CBT-I is also not a substitute for treatment of sleep apnea, a circadian rhythm disorder, or a significant mental health condition. When those need a clinician first.

What the evidence does and does not support

ClaimSupported?
Online CBT-I improves insomniaYes - recommended as first-line in the European guideline
Better sleep is the route to broader wellbeing gainsYes - insomnia improvement accounted for 45.5% to 84.0% of the effect in one large trial
It improves depression and anxiety symptomsYes, in pooled trials - as a finding about CBT-I, not a mental health treatment
It prevents depressive episodesNot shown - 9 episodes vs 13, p=0.32
It works for untreated sleep apnea or a circadian rhythm disorderNo - those need a different treatment

How long it takes, and what it feels like

Trials generally run CBT-I over four to eight weeks, and online programs follow a similar structure. The first week or two is usually spent keeping a diary to establish a baseline. Then sleep restriction begins, and for most people the next couple of weeks are the hardest: sleep restriction increases daytime sleepiness before it consolidates sleep, which has been measured objectively. That is the point at which people most often stop. How long CBT-I takes to work.

Take the free assessment to see:

  • ✓Your Insomnia Severity Index (ISI) score
  • ✓A personalized 6-week CBT-I plan, built by a sleep physician
  • ✓How your sleep improves, night by night
Start free assessment

If you drive for a living, operate machinery, or have a condition where sleepiness is dangerous, plan sleep restriction with a clinician whatever format you use.

Online vs in person

The gap between self-guided and therapist-led CBT-I appears to be small - and it is far smaller than the access problem that digital delivery solves. Board-certified behavioral sleep specialists are scarce, and in much of the country there is no in-person CBT-I provider at all. Why it is so hard to get.

Therapist-led CBT-I is still the better choice for some people: those with complicated medical or psychiatric pictures, those who have tried a self-guided program and stalled, and those for whom the accountability of a person matters. The full comparison of formats.

What separates the programs

"Digital CBT-I" covers everything from a rigorous multi-week protocol to a meditation app with a sleep section. The trial evidence applies to the first, not the second. A program delivering CBT-I has:

  • a daily sleep diary;
  • a sleep window calculated from that diary, not from a preference, and adjusted week by week;
  • stimulus control instructions;
  • cognitive work on sleep-related worry;
  • a defined multi-week structure.

How CBT-I apps differ from other sleep apps, and how to choose between CBT-I programs, go further.

What makes it work for you

The same thing that makes in-person CBT-I work: doing it. The diary every morning, the rising time every day including weekends, getting up when you cannot sleep, and staying with the sleep window through the harder early weeks. The format delivers the instructions; following them is what changes sleep.

More in what CBT-I is, and the rest of this section.

Somnera is a self-guided education program built on CBT-I, founded and written by Dr. Camilo Ruiz, DO, FACOI, FAASM. It is not a diagnosis and does not replace care from your own clinician. The assessment is free and takes about two minutes.

Citations

  • Riemann D, et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. J Sleep Res. 2023;32(6):e14035. doi:10.1111/jsr.14035
  • Edinger JD, et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2021;17(2):255–262. doi:10.5664/jcsm.8986
  • Espie CA, et al. Effect of digital cognitive behavioral therapy for insomnia on health, psychological well-being, and sleep-related quality of life: a randomized clinical trial. JAMA Psychiatry. 2019;76(1):21–30. doi:10.1001/jamapsychiatry.2018.2745
  • Lee S, et al. Digital cognitive behavioral therapy for insomnia on depression and anxiety: a systematic review and meta-analysis. npj Digit Med. 2023;6:52. doi:10.1038/s41746-023-00800-3
  • Zachariae R, et al. Efficacy of internet-delivered cognitive-behavioral therapy for insomnia: a systematic review and meta-analysis. Sleep Med Rev. 2016;30:1–10. doi:10.1016/j.smrv.2015.10.004
  • Christensen H, et al. Effectiveness of an online insomnia program (SHUTi) for prevention of depressive episodes (the GoodNight Study). Lancet Psychiatry. 2016;3(4):333–341. doi:10.1016/S2215-0366(15)00536-2
  • Schotland H, et al. Increasing access to evidence-based insomnia care in the United States: findings from an American Academy of Sleep Medicine stakeholder summit. J Clin Sleep Med. 2024;20(3):455–459.

Frequently asked questions

Yes, on the evidence available. The European insomnia guideline recommends CBT-I as first-line treatment whether it is delivered in person or digitally, and large randomized trials of digital programs have found improvements in insomnia.

The gap appears to be small, and it is much smaller than the access problem online delivery solves. Therapist-led CBT-I is the better choice for some people, particularly where other conditions complicate the picture.

Pooled trials found improvements in depression and anxiety symptoms alongside sleep. A separate trial that tested whether a digital program could prevent depressive episodes did not find that it did, so symptom improvement and prevention should not be confused.

A daily sleep diary, a sleep window calculated from it and adjusted over the weeks, stimulus control, cognitive work on sleep-related worry, and a structured multi-week course. Programs without those are not delivering CBT-I.