A CBT-I app is a self-guided version of cognitive behavioral therapy for insomnia: a structured program you work through over several weeks, not a gadget that scores your nights. The good ones deliver the same method a sleep clinician would use in the office, adapted so you can follow it at home. The weak ones borrow the name and deliver sleep tips.
This page covers what a real CBT-I app does, what the weeks actually look like, who it suits, who should speak to a doctor before starting, and how to tell the difference between a program and a tracker. If you are already comparing specific options, the questions to ask when choosing one are on their own page.
What a CBT-I app is
CBT-I is a short, structured therapy that works on the habits and thoughts that keep insomnia going once it has started. What CBT-I is, in full. It was developed to be delivered by a trained clinician over a handful of sessions, and for a long time that was the only way to get it.
The trouble is access. There are far too few trained CBT-I clinicians for the number of people with chronic insomnia, and many people live nowhere near one. Digital CBT-I — sometimes called dCBT-I — exists to close that gap. An app takes the same sequence of steps, puts the teaching into short lessons, and uses your own diary entries to make the decisions a clinician would otherwise make with you.
So when people search for an "app for insomnia," it helps to know that two very different things answer to that description. One kind helps you relax or measures your sleep. The other kind asks you to change how you sleep, on a schedule, for several weeks. Only the second is CBT-I.
What a real CBT-I app delivers
CBT-I is a package, and the research is on the package. An app that delivers only one piece of it is not giving you the method that was studied. These are the parts to look for.
A daily sleep diary
Every decision in CBT-I comes from a sleep diary: a short entry each morning recording when you went to bed, roughly how long it took to fall asleep, how long you were awake in the night, and when you got up. It takes a minute or two. It matters because memory of a bad night is unreliable, and the diary is what everything else is built on.
Sleep restriction and a personal sleep window
This is the core, and the part most often left out. Using your diary, the program narrows the time you spend in bed to roughly match the sleep you are actually getting, then widens it as your sleep becomes more solid. The result is a sleep window: a set bedtime and a set wake time that belong to you, not a generic recommendation. How sleep restriction works, and how the window is calculated.
Stimulus control
If you have been lying awake for a while, you get up, do something quiet elsewhere, and come back when you feel sleepy. The bed goes back to being a place for sleep, not for worrying, scrolling or watching the clock. It is simple to describe and hard to do at 2 a.m., which is why a program reminds you of it repeatedly. Why getting out of bed helps.
Cognitive work
Insomnia comes with a set of thoughts that make it worse: that a bad night will ruin tomorrow, that you have lost the ability to sleep, that you must sleep now. A CBT-I app works through those thoughts with you, not to argue you into calm, but to lower the pressure that keeps you alert in bed.
Sleep hygiene, as a minor part
Caffeine timing, a dark room, a wind-down routine. These are reasonable background habits and a decent program mentions them. But the guidelines recommend against sleep hygiene as a standalone therapy. If it is most of what an app offers, it is not offering CBT-I.
Relapse prevention
Insomnia can return during stress, illness or travel. The last part of a good program teaches you what to do when a run of bad nights starts — usually going back to the diary and tightening the window for a while — so a rough week does not turn back into a rough year.
What six weeks of digital CBT-I typically look like
Programs differ in detail, but the order is usually similar, because each step depends on the one before it. The full week-by-week walkthrough goes further; here is the outline.
- Week 1 — Measure. You learn how insomnia keeps itself going, start the diary, and choose one steady wake time for every day, weekends included. Nothing else changes yet.
- Week 2 — Set the window. The diary is used to set your first sleep window. Stimulus control starts. This is usually the hardest week.
- Week 3 — Adjust. Your sleep usually starts to consolidate. If the diary shows you are sleeping most of the time you spend in bed, the window widens a little.
- Week 4 — The thinking. With the behavioral pieces in place, the focus moves to the worries and beliefs that keep you alert at night.
- Week 5 — Keep adjusting. The window continues to move with your diary, toward the amount of sleep you actually need.
- Week 6 — Hold it. You put together a plan for bad patches, so you know exactly what to do if insomnia returns.
Six weeks is a structure, not a deadline. People who take longer do fine as long as the wake time stays steady and the diary keeps going.
What the first two weeks feel like
Honestly: often worse before better. That is the part apps tend to underplay, and it is the part that decides whether you finish.



