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.
| Date | Got into bed | Tried to sleep | Minutes to fall asleep | Times woke | Total minutes awake in the night | Final wake-up | Got out of bed | Sleep quality (1–5) | Notes |
|---|---|---|---|---|---|---|---|---|---|
| Mon | 10:30 pm | 11:00 pm | 50 | 3 | 60 | 6:00 am | 6:30 am | 2 | Coffee 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
- Got into bed: the time you got in, even if you read or looked at your phone.
- Tried to sleep: when you turned the light off and meant to sleep. This can be later than the first column, and the gap is worth seeing.
- Minutes to fall asleep: your best guess. Do not watch the clock to get it: clock-watching feeds the worry.
- Times woke and total minutes awake: count each waking, then add up how long you were awake across them. An hour awake in three pieces is "3" and "60".
- Final wake-up and out of bed: the last time you woke, and when you actually left the bed. Many people lie in bed for an hour after the final waking, and that hour counts as time in bed.
- Sleep quality: 1 is very poor, 5 is very good. It is a feeling, and it is useful next to the numbers.
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.
| Number | How to work it out | Monday |
|---|---|---|
| Time in bed | Got into bed to got out of bed | 480 minutes |
| Total sleep time | First sleep to final wake-up, minus minutes awake in the night | 310 minutes (5 h 10 min) |
| Sleep efficiency | Total sleep time ÷ time in bed × 100 | 65% |
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?
| Format | Good for | Watch out for |
|---|---|---|
| Paper by the bed | Zero screen light; easy to keep next to the pillow | You do the sums by hand; keep it where you will see it, and never with a lit clock |
| Spreadsheet | Does the averages for you; easy to share with a clinician | Tempting to fill it in at night on a laptop; do it in the morning |
| Diary inside a CBT-I app | Feeds the program's own window and reminders; the VA's CBT-i Coach has one | Check where your data is stored; see our CBT for insomnia apps guide |
| Wearable tracker | Total sleep time and your wake time on a regular day | Weak at spotting time awake; use it beside a diary, not instead (tracker accuracy in insomnia) |
Mistakes that spoil a sleep diary
- Filling it in at night. The numbers are guesses made while anxious. Do it in the morning.
- Checking the clock all night to be accurate. It raises the worry that keeps you awake. A rough guess is better.
- Changing your habits only on diary days. Keep your normal routine for the first week, so the baseline is honest.
- Skipping bad nights. The nights you want to skip are the ones that show your pattern.
- Judging yourself by each row. One night means little. Look at the weekly average.
- Counting the wrong end. Time in bed ends when you get out of bed, not when you wake.
What the diary can show you
- Long time to fall asleep, normal middle of the night: often an early bedtime, a late caffeine habit or a busy mind at lights out. See can't fall asleep: what to do.
- Waking at the same hour most nights: look at alcohol, a late meal, the room and your wake-up time. See waking at 3 a.m..
- Great sleep on some nights, bad on others, with a pattern: days with naps, late-day caffeine or a very late bedtime often stand out.
- Loud snoring, gasping or choking noted by a partner: not an insomnia pattern. See a doctor about sleep apnea.
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.