Nightward Guide Join the waitlist

How to calculate your sleep window (sleep restriction, step by step)

Keep a sleep diary, find your sleep efficiency, set a window of at least 6 hours and adjust it by 15 minutes a week. With a worked example and safety checks.

By the Nightward team · Updated

A sleep window is a fixed bedtime and wake time that matches how much you actually sleep, not how long you lie in bed. To set one, keep a sleep diary for one to two weeks, work out your average time asleep, and set your time in bed to that amount (but not less than six hours, in the common version). Keep the same wake time every day. After a week, look at your sleep efficiency (time asleep divided by time in bed): if it is high, add 15 minutes; if it is low, the window may shrink by 15 minutes. Talk to a doctor first if you have certain health conditions or drive for work.

Check first: Shrinking your time in bed makes most people sleepier for a week or two. Do not try it without a doctor if you have epilepsy or seizures, bipolar disorder, possible sleep apnoea (loud snoring, gasping, pauses in breathing), are pregnant, or drive or operate machinery for work. The Sleep Foundation says sleep restriction is not recommended for people in transport, construction or healthcare jobs, and advises talking to a doctor before starting whatever your situation.

Why a sleep window works

If you sleep six hours but spend nine in bed, you spend three hours lying awake, often worrying about sleep. Over time the bed becomes a place for being awake. A sleep window does two things: it builds up sleep pressure, so sleep comes faster and is less broken, and it cuts the time you lie awake. Sleep restriction is part of cognitive behavioural therapy for insomnia (CBT-I), which the American Academy of Sleep Medicine strongly recommends for chronic insomnia in adults. The same guideline suggests sleep restriction on its own as a single-component therapy.

Step 1: Keep a sleep diary

For one to two weeks, write down each morning:

Do not change anything yet. You are measuring your normal. A watch or ring can help with times, but your own estimate of being awake matters too. Estimates are fine; you do not need to watch the clock.

Step 2: Work out your sleep efficiency

Sleep efficiency is the share of your time in bed that you spent asleep. The Sleep Foundation describes the calculation as average time asleep divided by average time in bed, times 100.

Example: 6.5 hours asleep ÷ 9 hours in bed × 100 = 72%

Step 3: Set your first window

In the Sleep Foundation's description, if your efficiency is below 85%, you set a fixed bedtime and wake time that match your average time asleep, with a minimum of six hours in bed.

  1. Pick your wake time first. Choose one you can keep every day, weekends included. Say 6:30 am.
  2. Count back your time asleep. If you average 6 h 30 m, your bedtime is midnight.
  3. Go to bed at that time only if you feel sleepy. If you are not sleepy, stay up a little longer, but still get up at the same time.
  4. No naps, especially in the first weeks.

Step 4: Adjust once a week

Keep the window for a full week, then recalculate your sleep efficiency for that week. The Sleep Foundation describes these rules:

Sleep efficiency this weekWhat to do
Above 90%, and you still feel under-restedAdd 15 minutes to your time in bed
85% to 90%Keep the same window
Below 85%, and you don't feel sleepyTake 15 minutes off your time in bed (never below the minimum)

Repeat until you feel rested in the day and are satisfied with your sleep. Move the bedtime, not the wake time, when you add or remove minutes. Some programs use a gentler version called sleep compression, which shrinks time in bed more slowly; the Sleep Foundation notes it is often used with older adults.

A worked example

WeekWindowTime in bedAverage asleepEfficiencyNext step
Diary week10:30 pm - 7:00 am8 h 30 m5 h 50 m69%Set window at the 6 h minimum
Week 112:30 am - 6:30 am6 h5 h 10 m86%Keep
Week 212:30 am - 6:30 am6 h5 h 30 m92%Add 15 min: bed at 12:15 am
Week 312:15 am - 6:30 am6 h 15 m5 h 45 m92%Add 15 min: bed at midnight

This is an illustration of the arithmetic, not a prediction. Real weeks are messier.

Getting through the hard weeks

When to see a doctor

See a GP or doctor if changing your sleep habits has not helped, if you have had trouble sleeping for months, or if insomnia makes daily life hard to cope with. See one as well if you have signs of sleep apnoea, such as breathing that stops and starts, gasping or choking at night, or constant tiredness in the day. Do not change sleep medication without your doctor.

How Nightward helps

Nightward is being built to do this arithmetic for you. Your diary fills itself from Apple Health or Health Connect, and after a baseline week it sets your window and adjusts it every week by fixed, visible rules, with a report you can take to your doctor. A safety check at the start switches to a steady-schedule mode, with no shortening of time in bed, for people it may not suit. It is a wellness app, not a treatment, and cannot promise results. Join the waitlist below if you want to try it.

Sources

  1. Sleep Foundation: Sleep restriction therapy
  2. Sleep Foundation: Cognitive behavioral therapy for insomnia (CBT-I)
  3. Sleep Review: New AASM guideline on behavioral and psychological treatments for insomnia
  4. NHS: Insomnia
  5. NHS: Obstructive sleep apnoea

Nightward: Six weeks to sleep better, using the watch you already wear.

A self-guided program built on CBT-I techniques. Your sleep diary fills itself from Apple Health or Health Connect, your sleep window is adjusted every week, and you get tools for the mind that will not switch off, plus a report for your doctor.

One launch email. No spam, unsubscribe any time. Privacy: how we use your email.