Sleep Diary and Insomnia Log (CBT-I)

Each morning enter when you went to bed, how long it took to fall asleep, time awake, when you woke and got up, and see efficiency and trends.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Set your wake time

    Open Settings and choose a fixed wake-up time.

  2. 2
    Fill in each morning

    Enter bedtime, minutes to fall asleep and time awake.

  3. 3
    Add wake and rise times

    Record the final wake-up and when you got up.

  4. 4
    Check efficiency

    Read time asleep and efficiency for the night.

  5. 5
    Review the week

    See averages, charts and the suggested window.

  6. 6
    Share or print

    Print the diary for your clinician.

About this tool

Cognitive behavioural therapy for insomnia (CBT-I) is the first-line treatment for long-term insomnia recommended by sleep medicine bodies, and it starts with a sleep diary. Filled in each morning, the diary records when you went to bed, how long you took to fall asleep, how often and how long you were awake in the night, when you finally woke and when you got out of bed, plus naps, caffeine and alcohol. From these, the tool calculates time in bed, total sleep time and sleep efficiency: the share of time in bed actually spent asleep. Efficiency below about 85% suggests a lot of wakeful time in bed. Sleep restriction, a core CBT-I technique, sets a sleep window close to the time you really sleep and widens it as efficiency improves. This diary shows weekly averages, charts, a calendar, weekday patterns and a suggested window based on your last week.

Who this is for

People with insomnia or poor sleep, those starting CBT-I with a clinician or an app, and anyone curious about their sleep habits.

The key numbers

| Measure | How it is calculated | |---|---| | Time in bed | from getting into bed to getting out of bed | | Total sleep time | time in bed minus time to fall asleep, time awake at night and time in bed after the final wake-up | | Sleep efficiency | total sleep time ÷ time in bed × 100 | An efficiency of 85% or more is a common target in CBT-I.

How the window suggestion works

The tool averages the last seven nights. If efficiency is 90% or more, it suggests adding 15 minutes to the window; if it is between 85% and 90%, it keeps the window about equal to your average sleep; below 85%, it keeps the window close to your actual sleep time. The window never goes below the minimum you set (5.5 hours by default). Bedtime is then counted back from your chosen fixed wake-up time.

Making the diary accurate

Estimate times rather than watching the clock at night, as clock-watching worsens insomnia. Fill it in within an hour of getting up. Keep the same wake-up time every day, including weekends.

Other CBT-I habits

Go to bed only when sleepy, get up if you cannot sleep for about 20 minutes, use the bed only for sleep and sex, limit naps, and reduce caffeine after early afternoon and alcohol in the evening.

Worked example

In bed at 23:15, 30 minutes to fall asleep, 25 minutes awake, final wake at 06:40 and up at 07:05: time in bed 7h 50m, sleep 6h 30m, efficiency 83%.

Limits

This diary supports self-help and treatment with a clinician; it does not diagnose sleep disorders. Loud snoring, gasping or severe daytime sleepiness need medical assessment. Entries stay in your browser.

Worked example

Bed 23:15, up 07:05, 30 min to sleep, 25 min awake: efficiency 83%.

Quick facts

Frequently asked questions

What is sleep efficiency?

The percentage of time in bed that you actually spend asleep.

What efficiency is good?

85% or more is a common target in CBT-I.

What is a sleep window?

A fixed time in bed set close to your actual sleep time, widened as sleep improves.

Should I look at the clock at night?

No, estimate times in the morning to avoid clock-watching.

Is sleep restriction safe for everyone?

People with bipolar disorder, epilepsy, or jobs needing alertness should only do it with a clinician.

Is my data private?

Yes, it stays in this browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages