by Strong Mornings See our plans

Sleep diary template for insomnia: free, printable, with a worked example

A sleep diary template is a one-page table you fill in each morning: when you got into bed, how long you took to fall asleep, how often and how long you woke, when you got up, and how rested you felt. The version most CBT-I programs use is the Consensus Sleep Diary, and the template below follows it. Two weeks of entries give you the numbers that set a sleep window, so the diary is the first step of treatment, not a side task.

This guide is not medical advice. If you would like the window worked out for you from your own answers, our free 2-minute sleep quiz does the first pass. Below: the template itself, how to fill each column, a worked example with the sums, how to turn two weeks of rows into a sleep window, paper versus app, the mistakes that spoil a diary, and when a diary points to something a doctor should look at.

The sleep diary template (copy it or print this page)

Draw this table in a notebook, paste it into a spreadsheet, or print this page. Make 14 rows, one per night. Fill in the left half in the morning, within a few minutes of getting up, from memory and without checking the clock at night.

DateGot into bedTried to sleepMinutes to fall asleepTimes wokeTotal minutes awake in the nightFinal wake-upGot out of bedSleep quality (1–5)Notes
Mon10:30 pm11:00 pm503606:00 am6:30 am2Coffee at 3 pm; phone in bed
Tue
Wed

Add an optional second block for the day: caffeine and alcohol (what and when), any nap (start and length), medicines or sleep aids, and exercise. You do not need a perfect record. A rounded guess to the nearest 15 minutes is fine, because the pattern matters more than any single night.

How to fill in each column

A worked example with the sums

Take the Monday row above. Time in bed is 10:30 pm to 6:30 am, which is 8 hours or 480 minutes. Sleep did not start until 50 minutes after lights out, at 11:50 pm, and the last waking was at 6:00 am, so the span from first sleep to final waking is 6 hours 10 minutes. Take away the 60 minutes awake in the night and total sleep time is 5 hours 10 minutes, or 310 minutes.

NumberHow to work it outMonday
Time in bedGot into bed to got out of bed480 minutes
Total sleep timeFirst sleep to final wake-up, minus minutes awake in the night310 minutes (5 h 10 min)
Sleep efficiencyTotal sleep time ÷ time in bed × 10065%

Sleep efficiency is the figure CBT-I clinicians watch. Many programs treat roughly 85% or more as a sign the bed is mostly used for sleep. A night at 65% says Monday's bed time was far longer than Monday's sleep, which is the usual shape of insomnia and the reason a sleep window helps.

Turn two weeks into a sleep window

After 7 to 14 nights, average your total sleep time. Say it comes to 5 hours 10 minutes. A common starting rule in CBT-I is to set the sleep window at your average sleep time plus about 30 minutes, and not below 5 hours, so here it is about 5 hours 40 minutes. Pick the wake time you can keep every day of the week, say 6:30 am, and count back: bed at 12:50 am. The window sits in the middle of your usual sleeping hours, and you stay up until then.

Keep the diary going during the window. Each week, look at the average sleep efficiency. When it reaches about 85 to 90%, many programs add 15 minutes to the window; when it is below 80%, hold or trim it; never go under the 5-hour floor on your own. The method has more detail in our guides on sleep restriction for insomnia and how restriction and stimulus control work together. A short window can leave you sleepy, so do not drive when drowsy, and ask a clinician first if you have bipolar disorder, a seizure disorder or a job where sleepiness is dangerous.

Paper, spreadsheet or app?

FormatGood forWatch out for
Paper by the bedZero screen light; easy to keep next to the pillowYou do the sums by hand; keep it where you will see it, and never with a lit clock
SpreadsheetDoes the averages for you; easy to share with a clinicianTempting to fill it in at night on a laptop; do it in the morning
Diary inside a CBT-I appFeeds the program's own window and reminders; the VA's CBT-i Coach has oneCheck where your data is stored; see our CBT for insomnia apps guide
Wearable trackerTotal sleep time and your wake time on a regular dayWeak at spotting time awake; use it beside a diary, not instead (tracker accuracy in insomnia)

Mistakes that spoil a sleep diary

  1. Filling it in at night. The numbers are guesses made while anxious. Do it in the morning.
  2. Checking the clock all night to be accurate. It raises the worry that keeps you awake. A rough guess is better.
  3. Changing your habits only on diary days. Keep your normal routine for the first week, so the baseline is honest.
  4. Skipping bad nights. The nights you want to skip are the ones that show your pattern.
  5. Judging yourself by each row. One night means little. Look at the weekly average.
  6. Counting the wrong end. Time in bed ends when you get out of bed, not when you wake.

What the diary can show you

When to take your diary to a doctor

Take it to a doctor or a CBT-I clinician if sleep trouble has lasted over three months on three or more nights a week, if you feel low or anxious most days, if daytime sleepiness affects driving or work, or if you rely on a sleep aid every night. A filled-in diary saves a long first appointment, because it gives them the history in one page. For clinician-led CBT-I, see how to find a CBT-I therapist.

Frequently asked questions

How long should I keep a sleep diary?

Two weeks before you change anything, and then for as long as you follow a sleep window. Many programs ask for the diary every day of the program.

Is there a free sleep diary template?

Yes. The one above is free to copy, and it follows the Consensus Sleep Diary, which was written by sleep experts so that clinics could share a standard form. Some clinics and the VA's CBT-i Coach app offer their own.

Do I need a sleep diary if I already have a tracker?

Yes. A tracker misses much of the time you lay awake, and a diary captures how you felt, which is what CBT-I treats.

What is a good sleep efficiency?

Many programs treat about 85% or higher as good. Below about 80% usually means too much time in bed for the sleep you get.

Can I do the sums with a calculator?

Yes: sleep efficiency is total sleep time divided by time in bed, times 100. For a ready-made version, see our sleep schedule calculator guide.

Start with the free part

Print the template tonight and start your first row tomorrow morning. If you would rather have your first window worked out from your answers, the free sleep quiz takes about two minutes. More guides are on all sleep guides, and the CBT for insomnia techniques guide shows where the diary fits in the whole method.

Sources: Carney CE et al., The Consensus Sleep Diary: standardizing prospective sleep self-monitoring, Sleep, 2012. Spielman AJ, Saskin P, Thorpy MJ, Treatment of chronic insomnia by restriction of time in bed, Sleep, 1987. Edinger JD et al., Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline, Journal of Clinical Sleep Medicine, 2021. The 5-hour floor and 85% efficiency line are common program rules, not laws: your clinician may set others.