Sleep Hygiene Path Planner
Plan online sleep hygiene paths from ISI, PSQI, ESS, DBAS, sleep debt, safety, and CBT-I window cues for safer structured diary-backed follow-up review.Sleep Path Readout
| Step | Lane | Source | Action | Reason | Timing | Copy |
|---|---|---|---|---|---|---|
| {{ row.priority }} | {{ row.lane }} | {{ row.source }} |
{{ row.action }} | {{ row.reason }} | {{ row.timing }} |
| Signal | Value | Band | Path implication | Source | Copy |
|---|---|---|---|---|---|
| {{ row.signal }} | {{ row.value }} | {{ row.band }} | {{ row.implication }} | {{ row.source }} |
| Step | Anchor | Timing | Action | Guardrail | Source | Copy |
|---|---|---|---|---|---|---|
| {{ row.priority }} | {{ row.anchor }} | {{ row.timing }} | {{ row.action }} | {{ row.guardrail }} | {{ row.source }} |
| Candidate | Window | Bedtime | Projected SE | Review lane | Use | Copy |
|---|---|---|---|---|---|---|
| {{ row.candidate }} | {{ row.windowLabel }} | {{ row.bedtime }} | {{ row.projectedLabel }} | {{ row.reviewLane }} | {{ row.use }} |
Introduction
Sleep hygiene planning is useful only when the first step matches the sleep problem in front of you. Short sleep opportunity, insomnia symptoms, poor sleep quality, daytime sleepiness, unstable timing, and rigid sleep beliefs can all make nights feel broken, but they call for different follow-up questions.
A sleep path puts those signals in order. A person sleeping 5.8 hours against an 8-hour target may need more protected sleep opportunity before any restriction plan makes sense. A person with high insomnia severity and low diary sleep efficiency may need a CBT-I-style diary review. A person with sleepy driving, untreated apnea concerns, seizures, bipolar disorder, parasomnia risk, or hazardous work needs safety review before schedule changes.
Sleep hygiene anchors still matter. A stable wake time, morning light, a quiet and cool bedroom, caffeine timing, alcohol and meal timing, and nap boundaries can reduce friction around sleep. For chronic insomnia, however, hygiene by itself is often too narrow. Structured care may need sleep diaries, stimulus control, sleep restriction decisions, cognitive work, and medical review for sleep apnea, narcolepsy, circadian disorders, pain, mood symptoms, medication effects, or other causes.
This description is informational and does not provide diagnosis, treatment, or clearance for sleep restriction. Bring severe sleepiness, drowsy driving, suspected breathing pauses, complex medical risks, or major mood changes to a qualified clinician.
Technical Details:
The planner combines questionnaire totals, diary-derived schedule numbers, and caution flags into route priorities. The source scales are not merged into a single clinical score. Each signal keeps its own range, then contributes a route weight used for ranking steps, habit anchors, chart values, and sleep-window review cues.
Two schedule quantities do most of the numeric work. Weekly sleep debt compares the entered sleep need with recent average sleep. Projected sleep efficiency compares recent average sleep with each candidate time-in-bed window. These calculations help separate a short sleep opportunity problem from an insomnia-window question.
The route rules are deterministic. Values outside the input ranges are bounded before scoring, clock times must parse as a valid 24-hour value, and candidate windows are built around the current time in bed using the selected minute step. The accepted input ranges are ISI 0 to 28, PSQI 0 to 21, ESS 0 to 24, DBAS-16 mean 0 to 10, sleep need 4 to 12 hours, average sleep 0 to 14 hours, sleep efficiency 0% to 100%, current time in bed 4 to 12 hours, a 10, 15, 20, or 30 minute window step, and a 4 to 8 hour minimum window.
| Signal | Band or rule | Route meaning |
|---|---|---|
| ISI total | 0 to 7 low, 8 to 14 subthreshold, 15 to 21 moderate, 22 to 28 severe | ISI 15 or higher can move CBT-I diary review ahead when sleep efficiency is below 85%. |
| PSQI total | 0 to 5 better range, 6 to 10 elevated, 11 to 15 high, 16 to 21 broad burden | PSQI above 5 raises quality-component review. |
| ESS total | 0 to 5 lower normal, 6 to 10 higher normal, 11 to 12 mild, 13 to 15 moderate, 16 to 24 severe | ESS 16 or higher can force safety-first routing; lower elevated scores still raise daytime-sleepiness priority. |
| DBAS-16 mean | below 3.0 lower, 3.0 to 3.79 building, 3.8 to 4.99 reference crossed, 5.0 to 10 high | Means at 3.8 or higher bring belief review into the route. |
| Weekly sleep debt | 0 to 0.99 covered, 1.0 to 3.99 mild, 4.0 to 7.99 moderate, 8.0 or higher high | Debt of 4 hours per week or more can move sleep opportunity ahead when ISI is below 15. |
| Sleep efficiency | below 80 tighten review, 80 to 84.9 audit, 85 to 89.9 hold, 90 or higher expansion review | Efficiency controls diary language and the window recommendation, with safety cautions able to hold the current window. |
The primary lane is chosen in a fixed order: safety first when safety score reaches 86, CBT-I diary route when ISI is at least 15 and efficiency is below 85%, sleep opportunity route when weekly debt is at least 4 hours and ISI is below 15, quality component route when PSQI is above 5, belief review route when DBAS-16 mean is at least 3.8, and hygiene maintenance when none of those conditions apply.
| Projected sleep efficiency | Review lane | How to read it |
|---|---|---|
| < 80% | Tighten review | The candidate window is probably wider than the recent average sleep can support. |
| 80% to 84.9% | Audit before changing | Diary details should be checked before changing time in bed. |
| 85% to 89.9% | Hold window | The candidate sits near the common CBT-I hold zone. |
| 90% to 105% | Expansion review | The candidate may be ready for a longer window if daytime safety is stable. |
| > 105% | Tight baseline window | The window is tighter than the recent sleep average suggests and needs extra care. |
Everyday Use & Decision Guide:
Use real questionnaire totals when you have them. ISI, PSQI, ESS, and DBAS-16 values from separate assessments are stronger than guesses. If a score is missing, enter zero only when you want that signal to stay quiet, then note that the resulting path is incomplete.
Start with Main concern, then fill the score fields and the diary fields. Sleep need and Average sleep decide whether the plan should first make room for more sleep. Diary sleep efficiency, Fixed wake time, and Current time in bed decide how the candidate window rows are framed. Safety caution should reflect the strongest current risk, because sleepy driving, apnea flags, and complex clinical concerns can change whether a window move is appropriate.
Read the result as a planning order, not a treatment order. Sleep Path Steps gives ranked next steps with a lane, source, action, reason, and timing. Screening Signals explains which input pushed the route. Habit Anchor Plan turns sleep hygiene into concrete anchors such as wake timing, light timing, substance timing, nap boundaries, and bed-sleep cues. CBT-I Window Ladder shows candidate windows, bedtimes counted back from the fixed wake time, projected SE, and review language.
- Open
Advancedonly when the default 15 minute window step, 5 hour minimum window, or moderate habit friction does not match the review. - Use
Window Efficiency Curveto see how projected SE changes as the time-in-bed window gets shorter or longer. - Use
Sleep Path Mapto compare insomnia burden, quality burden, daytime sleepiness, belief rigidity, sleep debt, and efficiency risk on a 0 to 100 scale. - Check
JSONwhen you need the same inputs, summary, path rows, anchors, windows, and chart rows in a structured form. - Stop before acting on a tighter window when
Safety check first,Hold for safety review, severe ESS, sleepy driving, apnea flags, or complex clinical risk appears.
Step-by-Step Guide:
Work through the planner once with current diary data, then rerun it only after the sleep history changes enough to matter.
- Set
Main concernto the issue you want the first pass to respect. The summary should keep a lane label visible inSleep Path Readout. - Enter
ISI total,PSQI total,ESS total, andDBAS-16 mean. The badges under the readout should update to the matching ISI, PSQI, ESS, and SE bands. - Enter
Sleep needandAverage sleep. The weekly debt badge should showDebt coveredor a debt value in hours per week. - Enter
Diary sleep efficiency,Fixed wake time, andCurrent time in bed. If candidate bedtimes show--:--, correct the wake time to a valid 24-hour clock value such as07:00. - Choose
Safety cautionbefore reading any window recommendation. Strong cautions can make the recommended row hold the current window until safety context is reviewed. - Open
Sleep Path Stepsfirst, then compareScreening SignalsandHabit Anchor Planso the leading action matches the score that caused it. - Use
CBT-I Window Ladder,Window Efficiency Curve, andSleep Path Maponly after the inputs look right. Copy or download CSV, DOCX, chart images, chart CSV, or JSON when the visible route matches the sleep history you meant to review.
Interpreting Results:
Safety check first deserves the most caution. It means ESS severity or a selected caution has made daytime alertness more important than schedule tuning. A safer interpretation is to review driving, work risk, breathing symptoms, neurological risk, mood risk, medication effects, and shift timing before changing time in bed.
CBT-I diary route means insomnia severity and diary efficiency are both active. The useful follow-up is a seven-night diary, fixed wake anchor, and careful window comparison. The result does not mean that sleep restriction is safe for every person with the same ISI and SE values.
Sleep opportunity route points to a time problem before an insomnia-only plan. If average sleep is far below entered sleep need, compare work schedule, caregiving, late activity, naps, caffeine, alcohol, light exposure, and wake consistency before assuming the answer is a tighter window.
Quality component route means the PSQI signal is carrying enough weight to review sleep-quality components. Belief review route means DBAS-16-style endorsement is high enough that worry, rules about exact sleep amounts, or catastrophic predictions may be keeping effort high.
Use the radar chart for priority shape, not diagnosis. A high Sleep debt score, severe Daytime sleepiness score, or elevated Efficiency risk should send you back to the table rows that name the input value and the practical implication.
Worked Examples:
-
Moderate insomnia with inefficient sleep
With
ISI total16,PSQI total9,ESS total8,DBAS-16 mean4.2,Sleep need8.0 hours,Average sleep6.4 hours, andDiary sleep efficiency83%, the readout can showCBT-I diary route. Weekly sleep debt is 11.2 hours, soSleep debtmay still be the strongest driver on the map even while the primary lane favors diary-backed CBT-I review.In
CBT-I Window Ladder, useRecommended start,Projected SE, andReview laneas comparison cues. They do not prove the recommended bedtime is safe without diary context. -
Large debt with lower insomnia severity
With
ISI total7,PSQI total6,ESS total7,Sleep need8.0 hours, andAverage sleep5.8 hours, weekly debt is 15.4 hours. If safety caution isNo major safety caution, the primary lane can becomeSleep opportunity route.That result asks for schedule-space review before a tighter time-in-bed plan. Check
Habit Anchor Planfor wake timing, light timing, substance timing, and nap boundaries that may be reducing sleep opportunity. -
Severe daytime sleepiness or explicit caution
With
ESS total17, or withSafety cautionset to sleepy driving, apnea flags, or complex clinical risk, the primary lane can becomeSafety check first. TheScreening Signalsrow for daytime sleepiness or safety caution should explain why restriction or expansion needs to wait.The window table may label the recommended row
Hold for safety reviewor keep the current window. Treat that as a stop sign for self-directed schedule changes, especially when driving, machinery, breathing pauses, seizures, parasomnias, or unstable mood are part of the history.
FAQ:
Does the planner administer the ISI, PSQI, ESS, or DBAS-16?
No. It accepts totals or means from those assessments. It does not ask the original questionnaire items or compute item-level scoring.
Why can sleep hygiene appear below CBT-I, safety, or diary steps?
The route ranking gives more weight to elevated insomnia severity, daytime sleepiness, sleep debt, poor sleep efficiency, and strong sleep beliefs when those signals are present. Hygiene anchors remain visible, but they are not treated as the whole answer for chronic or risky patterns.
Why does the window table sometimes hold the current schedule?
A high safety score can keep the recommended window at the current time in bed. The same can happen when daytime alertness or clinical caution makes a tighter window inappropriate for self-directed use.
What should I fix if bedtimes show --:--?
Check Fixed wake time. The field needs a valid clock value such as 06:30 or 07:00 before the planner can count candidate bedtimes backward from wake time.
Does the result diagnose insomnia or sleep apnea?
No. The route is a planning aid built from entered screening scores, diary values, and caution flags. Diagnosis requires clinical history and, when appropriate, sleep testing or other medical evaluation.
Does the page send my sleep data for calculation?
The planner logic runs in the page after it loads. It does not use a separate upload or server calculation path.
Glossary:
- ISI
- Insomnia Severity Index, a seven-item insomnia severity questionnaire scored from 0 to 28.
- PSQI
- Pittsburgh Sleep Quality Index, a sleep-quality questionnaire with a 0 to 21 global score.
- ESS
- Epworth Sleepiness Scale, an eight-item daytime sleepiness questionnaire scored from 0 to 24.
- DBAS-16
- Dysfunctional Beliefs and Attitudes about Sleep, a 16-item measure of sleep-related beliefs and expectations.
- Sleep efficiency
- Total sleep time divided by time in bed, expressed as a percentage.
- CBT-I
- Cognitive behavioral therapy for insomnia, a structured treatment approach that can include stimulus control, sleep restriction, cognitive work, relaxation, and sleep education.
References:
- New guideline supports behavioral, psychological treatments for insomnia, American Academy of Sleep Medicine, December 16, 2020.
- About Sleep, Centers for Disease Control and Prevention, May 15, 2024.
- Drowsy Driving: Avoid Falling Asleep Behind the Wheel, National Highway Traffic Safety Administration.
- Insomnia Severity Index (ISI), University of Pennsylvania CBT-I resources, 2012.
- Pittsburgh Sleep Quality Index (PSQI), University of Pennsylvania CBT-I resources, 2012.
- About the ESS, Epworth Sleepiness Scale official website.
- Examining maladaptive beliefs about sleep across insomnia patient groups, PubMed.