Your Personal Sleep Plan
Keep a sleep diary, recognize the red flags that call for a doctor, plan a bedtime from your wake time and test changes one at a time for two weeks.
Welcome back!
Step 1 of 13Learn
Treat it like an experiment
By now you know more about sleep than most people ever learn. The challenge is turning that knowledge into nights that actually improve. Trying fifteen tips at once rarely works: you can't tell what helped, and an overloaded routine is hard to keep.
A better approach is to treat your sleep like an experiment:
- Measure your current sleep for one to two weeks with a simple diary.
- Look for the biggest lever. Is it too little time in bed, an irregular schedule, late caffeine, alcohol, a warm noisy room, a late phone habit, or signs of a disorder?
- Change one or two things at a time.
- Keep the change for at least two weeks, because sleep varies a lot night to night, and some changes, like a new wake time or reduced caffeine, take time to show their effect.
- Compare your diary averages before and after.
Expect some noise. A single bad night after a change doesn't mean it failed, and a single great night doesn't mean it worked. Look at the trend.
Also keep perspective. Everyone has bad nights, and the anxiety of chasing perfect sleep can itself cause insomnia. The goal is sleep that's good enough, most of the time, for you to feel and function well.
Step 2 of 13Learn
The sleep diary
A sleep diary is a short daily record filled in each morning, plus a few notes in the evening. It takes about two minutes. Estimate times rather than checking the clock at night. Record:
Each morning:
- What time you went to bed and what time you turned off the lights
- About how long it took to fall asleep
- How many times you woke and roughly how long you were awake in total
- Your final wake time and the time you got out of bed
- How rested you feel, on a scale from 1 to 5
Each evening:
- Caffeine (what and when) and alcohol (how much and when)
- Naps (when and how long)
- Exercise
- Medications
- Anything unusual: stress, illness, travel, a late meal
From the diary you can calculate time in bed, total sleep time and sleep efficiency, and see patterns, such as worse nights after evening drinks or long weekend lie-ins followed by a hard Sunday night.
A diary is also the most useful thing to bring to a doctor's appointment about sleep. It turns "I sleep badly" into data a clinician can act on. Wearable trackers can supplement it, but your own estimate of how long you lay awake and how you felt is important information that a device can't record.
Step 3 of 13Practice · Chart
One week of a sleep diary
Tap the night with the biggest gap between time in bed and time asleep.
Tap the bar that answers the question, then press Check.
Step 4 of 13Practice · Put in order
Put these steps for improving your sleep in a sensible order.
Drag the items, or use the arrow buttons, to put them in order.
- Compare diary averages before and after
- Keep the changes for at least two weeks
- Identify the biggest likely lever from the diary
- Choose one or two specific changes
- Keep a sleep diary for one to two weeks
Step 5 of 13Learn
Red flags: when to see a doctor
Good habits solve many sleep problems, but some signs call for a medical assessment. See a doctor if:
- You or someone else notices loud snoring with pauses, gasping or choking during sleep.
- You feel sleepy while driving or fall asleep unintentionally during the day.
- Insomnia lasts more than about three months or is seriously affecting your work, relationships or mood.
- You act out dreams, such as punching, kicking or shouting during sleep.
- You have an irresistible urge to move your legs in the evening that disrupts sleep.
- You experience sudden muscle weakness with laughter or strong emotion, or sudden sleep attacks.
- Poor sleep comes with low mood, hopelessness or anxiety. Insomnia and depression often travel together.
- You wake often to urinate, have heartburn at night or have pain that keeps you awake.
- You rely on sleeping pills, alcohol or cannabis to sleep most nights.
A primary care doctor is usually the first stop and can refer you to a sleep specialist or sleep center. Some causes of poor sleep are other medical conditions, such as an overactive thyroid, chronic pain, menopause symptoms, heart or lung disease, or side effects of medications, so a general check-up matters too.
If you ever have thoughts of harming yourself, seek help immediately. In the US you can call or text 988; elsewhere, contact local emergency services or a crisis line.
Step 6 of 13Practice · Select all that apply
Which situations are good reasons to see a doctor about sleep? Select all that apply.
Select all that apply.
Step 7 of 13Learn
Planning your bedtime and special situations
To set a target bedtime, work backward from your wake time:
target bedtime = wake time − sleep need − typical time to fall asleep
If you get up at 6:30 a.m., need about 7.5 hours and usually take 15 minutes to fall asleep, aim to be in bed with lights off by about 10:45 p.m. Treat it as a target window, and go to bed when sleepy around then.
Some situations need extra thought:
- New parents. Sleep comes in fragments. Share night duties where possible, nap when the baby naps if you can, and protect at least one longer block of sleep with a partner's help. This phase is temporary.
- Menopause. Hot flashes and night sweats can wake people repeatedly. A cool room, layered bedding and talking to a doctor about treatment options help; CBT-I also works well for menopausal insomnia.
- Chronic pain. Pain and poor sleep feed each other. Coordinating pain management with sleep habits often improves both.
- Anxiety and depression. Insomnia is both a symptom and a risk factor. Treating sleep with CBT-I can improve mood, and treating mood can improve sleep.
- Teenagers. Their clocks really do run late. Morning light, limits on late-night devices and consistent wake times help more than lectures about laziness.
Step 8 of 13Try the calculator
Bedtime planner
Enter your wake time on a 24-hour clock (6:30 a.m. = 6.5). The result is the clock time to turn off the lights, also in 24-hour decimal form (22.75 = 10:45 p.m.).
- Lights-out time (24-hour decimal)
- 22.75
- Time in bed
- 7.75 h
Step 9 of 13Practice · Work it out
Ana needs to wake at 6:00 a.m. She needs about 8 hours of sleep and usually takes 30 minutes to fall asleep. At what time should she turn off the lights? Give the answer in 24-hour decimal form (for example, 22.5 for 10:30 p.m.).
Step 10 of 13Diagram
Work backward from your wake time
Tap a shape with to see more.
- Wake at 6:30 a.m.
- Minus 7.5 h of sleep need
- Asleep by 11:00 p.m.
- Minus 15 min to fall asleep
- Lights out at 10:45 p.m.
Start the wind-down about an hour earlier.
Step 11 of 13Practice · Spot the mistake
Jess wrote this two-week sleep plan. Tap the three items that go against what you learned.
Step 12 of 13Note
Step 13 of 13Practice · Choose one
After two weeks of a new routine, Sam's diary shows his average sleep went from 6.1 to 6.8 hours, though last Tuesday was a terrible night. What should he conclude?
Lesson complete!