Sleep Efficiency and CBT-I Techniques
Calculate your sleep efficiency and learn stimulus control, sleep restriction and thought techniques from CBT-I, the first-line insomnia treatment.
Welcome back!
Step 1 of 13Learn
More time in bed, worse sleep
Rosa, 52, has struggled with sleep since a stressful year at work. To give herself every chance, she now goes to bed at 10:30 p.m. and stays there until 8:00 a.m., sometimes dozing, often lying awake. She's in bed for nine and a half hours and sleeps about six. The longer she spends in bed, the worse it seems to get.
Rosa's strategy is one of the most natural responses to poor sleep, and it often backfires. Spreading six hours of sleep over nine and a half hours makes sleep shallow and broken. Lying awake night after night also trains her brain to associate the bed with alertness, frustration and worry. Sleep researchers call this conditioned arousal: some people with insomnia feel sleepy on the couch, then wide awake the moment they lie down in bed.
The treatment designed for exactly this pattern is cognitive behavioral therapy for insomnia (CBT-I). It's recommended as the first-line treatment for chronic insomnia by major medical organizations, ahead of sleeping pills, because its benefits tend to last after treatment ends. Most people who complete it improve substantially. CBT-I is usually delivered over about six to eight sessions by a trained clinician, or through structured digital programs. This lesson teaches its core ideas so you understand how it works.
Step 2 of 13Learn
Sleep efficiency
The key measurement in CBT-I is sleep efficiency: the share of time in bed that you actually spend asleep.
sleep efficiency (%) = total sleep time ÷ time in bed × 100
To estimate total sleep time, start with time in bed and subtract the time it took to fall asleep (sleep latency) and the time spent awake after first falling asleep (wake after sleep onset, or WASO), including any time awake in bed before getting up.
Example: in bed from 11:00 p.m. to 7:00 a.m. is 8 hours, or 480 minutes. It takes 20 minutes to fall asleep and you're awake 25 minutes during the night. Total sleep time = 480 − 20 − 25 = 435 minutes. Sleep efficiency = 435 ÷ 480 × 100 ≈ 91%.
Good sleepers usually have a sleep efficiency of 85% or higher. People with insomnia often fall well below that, sometimes under 70%.
You don't need precise numbers. Clock-watching during the night makes insomnia worse, so estimate in the morning and record it in a sleep diary. Averages over a week or two are what matter, because single nights vary a lot. A tracker can help estimate timing, though wearables often misjudge quiet wakefulness as sleep.
Step 3 of 13Try the calculator
Sleep efficiency calculator
Estimate your averages from the past week. Time in bed runs from lights out to getting up.
- Total sleep time
- 435 min
- Total sleep time in hours
- 7.25 h
- Sleep efficiency
- 90.6 %
Step 4 of 13Practice · Work it out
Rosa is in bed from 10:30 p.m. to 8:00 a.m. (570 minutes). It takes her about 75 minutes to fall asleep, and she's awake about 135 minutes during the night and early morning. What is her sleep efficiency, to the nearest percent?
Step 5 of 13Chart
Where Rosa's 570 minutes in bed go
| Item | Minutes |
|---|---|
| Asleep | 360 min |
| Falling asleep | 75 min |
| Awake during the night | 135 min |
Step 6 of 13Learn
Stimulus control: retrain the bed
Stimulus control aims to rebuild the link between bed and falling asleep quickly. The standard instructions are:
- Go to bed only when you feel sleepy, meaning heavy eyelids and nodding off, not just tired or bored.
- Use the bed only for sleep and sex. No phone scrolling, work, TV or worrying in bed.
- If you can't fall asleep in about 20 minutes, get up. Don't check the clock; just estimate. Go to another room, keep the lights dim and do something calm and boring, like reading something light or folding laundry. Return to bed only when you feel sleepy again. Repeat as often as needed, including for awakenings in the middle of the night.
- Get up at the same time every morning, no matter how much you slept.
- Avoid daytime naps, at least in the early weeks, so sleep pressure builds for the night.
The first nights can be hard. You may get up several times and feel tired the next day. That tiredness is part of how it works: it builds sleep pressure, so within days to weeks most people fall asleep faster and wake less. The bed gradually becomes a cue for sleep instead of for struggle.
Stimulus control is safe for most people, but if you are very sleepy during the day, avoid driving or operating machinery and discuss the plan with a clinician.
Step 7 of 13Practice · Select all that apply
Which actions follow stimulus control instructions? Select all that apply.
Select all that apply.
Step 8 of 13Learn
Sleep restriction: less time in bed, deeper sleep
Sleep restriction therapy sounds harsh but follows directly from sleep pressure. Instead of spreading six hours of sleep across nine and a half hours in bed, you temporarily limit time in bed to about how long you're actually sleeping. Sleep pressure builds, sleep becomes deeper and more continuous, and efficiency climbs. Then time in bed is gradually expanded.
A typical protocol:
- Keep a sleep diary for one to two weeks and calculate average total sleep time.
- Set a time-in-bed window equal to that average, but usually not less than about 5 to 5.5 hours.
- Fix the wake time and count back to set the earliest bedtime. If Rosa sleeps six hours and gets up at 6:30 a.m., she goes to bed no earlier than 12:30 a.m.
- Adjust weekly. If average sleep efficiency is 85–90% or higher, add 15 to 30 minutes. If it's below about 80–85%, reduce slightly or hold steady.
The first one to two weeks often bring more daytime sleepiness. That's expected but important: people on sleep restriction should avoid drowsy driving and dangerous tasks. It isn't suitable for everyone. People with bipolar disorder, seizure disorders, untreated sleep apnea, or jobs where sleepiness is dangerous should only do it with a clinician's supervision.
Many CBT-I programs use a gentler version called sleep compression, which shrinks time in bed gradually instead of all at once.
Step 9 of 13Practice · Work it out
After a week of sleep restriction, Rosa's time-in-bed window is 360 minutes and her sleep efficiency averages 92%. Her program adds 15 minutes whenever efficiency is at least 90%. What should her new time-in-bed window be, in minutes?
Step 10 of 13Diagram
Adjusting the sleep window each week
Tap a shape with to see more.
- Last week's sleep efficiency
- About 85–90% or more
- Add 15–30 minutes
Usually by going to bed a little earlier; the wake time stays fixed.
- Below about 80–85%
- Hold steady or trim slightly
Usually not below about 5 to 5.5 hours in bed.
Step 11 of 13Learn
Working with thoughts about sleep
The "cognitive" part of CBT-I targets the thoughts that keep people awake. People with insomnia often hold beliefs that raise the stakes of every night:
- "If I don't get eight hours, tomorrow will be a disaster."
- "I've lost my ability to sleep."
- "I have to try harder to fall asleep."
These thoughts create arousal at exactly the wrong moment. Sleep is something that happens when the conditions are right; it's not a task you can force. Trying hard to sleep is a bit like trying hard to relax: the effort itself keeps you alert.
Useful techniques include:
- Checking the evidence. Most people with insomnia function better after a poor night than they predict. Recording how the day actually went helps recalibrate.
- Decatastrophizing. "One bad night means a tired day, not a ruined life."
- Paradoxical intention. Lying in bed and gently trying to stay awake, without screens, removes the performance pressure, and for some people sleep comes sooner.
- Relaxation training. Slow breathing, progressive muscle relaxation or body scans, practiced during the day first.
- Removing the clock. Turning the clock away stops you from calculating how many hours are left.
Combined with stimulus control and sleep restriction, these techniques make CBT-I one of the most effective treatments in sleep medicine.
Step 12 of 13Practice · What would you do?
What would you do?
It's 2:10 a.m. Rosa woke up 25 minutes ago and can't fall back asleep. She's thinking, "If I don't get back to sleep now, I'll be useless at my 9 a.m. presentation." What should she do, according to CBT-I?
Step 13 of 13Practice · Choose one
Why does sleep restriction therapy improve sleep for many people with insomnia?
Lesson complete!