Sleep Tips

    Best Bedtime Routine for Insomnia: A Step-by-Step Guide

    By Sleep Calculator

    11 min read
    Last updated: January 2026

    Reviewed for medical accuracy by sleep health researchers. (What does this mean?)

    A consistent bedtime routine signals your brain that sleep is coming, reducing the time it takes to fall asleep and improving sleep quality. This step-by-step guide shows you how to build an effective pre-sleep routine that addresses the root causes of insomnia.

    Why Bedtime Routines Work

    The science:

    • Conditioned response: Consistent cues train your brain to expect sleep
    • Transition time: Allows gradual shift from alertness to sleepiness
    • Stress reduction: Relaxing activities lower cortisol
    • Light management: Dim lighting promotes melatonin release
    • Temperature drop: Cooling signals sleep onset

    People with insomnia often go from high activity straight to bed, expecting to fall asleep instantly. A wind-down routine bridges this gap.

    The Ideal Bedtime Routine (60-90 Minutes)

    Phase 1: Transition (60-90 Minutes Before Bed)

    Set a "Wind-Down Alarm"

    Set an alarm 60-90 minutes before your target bedtime. This signals the start of your routine and prevents the common mistake of losing track of time.

    Dim the Lights

    Bright light suppresses melatonin. Starting 60+ minutes before bed:

    • Switch to dim, warm lighting
    • Use lamps instead of overhead lights
    • Consider smart bulbs that automatically dim
    • Aim for 10-20 lux (candlelight level)

    Stop Screens (or Use Filters)

    Blue light from screens suppresses melatonin by up to 50%:

    • Best: No screens 60-90 minutes before bed
    • Acceptable: Night mode + blue light glasses + dim brightness
    • Avoid: Stimulating content (news, social media, work emails)

    Finish Eating

    Large meals close to bedtime disrupt sleep:

    • Finish eating 2-3 hours before bed
    • If hungry, have a small snack (complex carbs + protein)
    • Avoid heavy, spicy, or acidic foods

    Phase 2: Relaxation (30-60 Minutes Before Bed)

    Warm Bath or Shower

    One of the most effective sleep aids:

    • Take a warm (not hot) bath or shower
    • Duration: 10-20 minutes
    • Timing: 60-90 minutes before bed

    Why it works: Warm water brings blood to the surface. When you get out, your core temperature drops rapidly—this cooling signals your brain that it's time to sleep. Studies show this can reduce time to fall asleep by 36%.

    Relaxing Activities

    Choose calming activities that don't stimulate your mind:

    • Reading: Physical book, not e-reader (or use warm light setting)
    • Gentle stretching: Yoga, foam rolling
    • Journaling: Write down thoughts, gratitude, or tomorrow's to-do list
    • Meditation: Guided sleep meditation, body scan
    • Listening: Calm music, audiobook, podcast (not stimulating content)
    • Crafts: Knitting, coloring, puzzles

    Avoid Stimulating Activities

    • Work or work emails
    • Intense exercise
    • Difficult conversations
    • News or social media
    • Video games
    • Planning or problem-solving

    Phase 3: Preparation (15-30 Minutes Before Bed)

    Prepare Your Sleep Environment

    • Temperature: Set thermostat to 65-68°F (18-20°C)
    • Darkness: Close blackout curtains, cover LED lights
    • Quiet: Turn on white noise if needed
    • Comfort: Arrange pillows, adjust bedding

    Personal Hygiene Routine

    Keep it consistent—same order every night:

    • Brush teeth
    • Wash face
    • Skincare routine
    • Use the bathroom

    Change into Sleep Clothes

    Wearing specific clothes for sleep creates another conditioned cue. Choose comfortable, breathable fabrics.

    Phase 4: In Bed (0-15 Minutes)

    Relaxation Technique

    Once in bed, use a relaxation technique:

    • 4-7-8 breathing: Inhale 4, hold 7, exhale 8
    • Progressive muscle relaxation: Tense and release muscle groups
    • Body scan: Focus attention slowly through your body
    • Visualization: Imagine a peaceful scene

    The 20-Minute Rule

    If you're not asleep within 20 minutes:

    1. Get out of bed
    2. Go to another room
    3. Do something boring in dim light
    4. Return to bed only when sleepy

    This prevents associating bed with wakefulness.

    Sample Bedtime Routine

    Target bedtime: 10:30 PM

    • 9:00 PM: Wind-down alarm. Dim lights, stop screens
    • 9:15 PM: Warm shower
    • 9:35 PM: Change into pajamas
    • 9:40 PM: Read in dim light
    • 10:10 PM: Brush teeth, skincare, bathroom
    • 10:20 PM: Get into bed
    • 10:25 PM: 4-7-8 breathing or body scan
    • 10:30 PM: Lights out

    Customizing Your Routine

    For Anxiety-Related Insomnia

    Add:

    • "Worry dump" journaling (write down concerns)
    • Tomorrow's to-do list (parks worries)
    • Longer meditation or breathing practice
    • Gratitude journaling

    For Racing Thoughts

    Add:

    • Cognitive shuffle (random word visualization)
    • Audiobook or podcast (boring content)
    • White noise or sleep sounds

    For Physical Tension

    Add:

    • Longer stretching routine
    • Progressive muscle relaxation
    • Warm bath with Epsom salts
    • Magnesium supplement

    Common Mistakes

    • Inconsistency: Routine must be the same every night
    • Too short: Need at least 30 minutes to wind down
    • Screens in bed: Phone should be out of bedroom
    • Stimulating content: Even "relaxing" TV can be activating
    • Trying too hard: Routine should feel natural, not forced
    • Weekend exceptions: Maintain routine 7 days a week

    Building the Habit

    Tips for consistency:

    • Start with just 2-3 elements, add more gradually
    • Set phone reminders for each phase
    • Prepare everything in advance (book by bed, pajamas out)
    • Track your routine for accountability
    • Give it 2-3 weeks to become automatic
    • Don't skip weekends—consistency is key

    The Bottom Line

    A consistent bedtime routine is one of the most effective tools for insomnia. It works by creating conditioned cues that signal sleep, allowing gradual transition from alertness, and optimizing your environment. The key elements: dim lights 60+ minutes before bed, warm bath/shower, relaxing activities, and a consistent sequence every night. Start simple and build gradually. Within 2-3 weeks, your brain will associate the routine with sleep, making it easier to fall asleep and stay asleep. Learn more about complete insomnia treatment.

    Medical Disclaimer: This article is for informational purposes only. If you have chronic insomnia, consult a healthcare provider.

    Not sure how your sleep really stacks up?

    Take our 30-question Sleep Quality Assessment and get a personalized Sleep Score across 6 dimensions.

    ✦ Take the Sleep Quality Assessment

    Ready to Optimize Your Sleep?

    Use our free Sleep Calculator to find your perfect bedtime based on 90-minute sleep cycles.

    Calculate optimal bedtime
    Based on sleep cycles
    Wake up refreshed
    Try the Sleep Calculator

    Frequently Asked Questions