Page 94 of the book, in Dhyana
Meditation for Sleep: Scripts, Timers and Troubleshooting
How to use meditation to fall asleep and get back to sleep: three short scripts for different kinds of sleeplessness, how to set up timers and audio, and fixes for the most common problems.
Meditation helps sleep by quieting the racing thoughts and physical tension that keep you awake. The trick is matching the method to the problem: counting breaths for a busy mind, a body scan for a tense body, and a "letting go" script for worry. Keep it short, set your audio so it switches off by itself, and stop trying to force sleep; that effort is often what keeps you awake.
Choose your script
| If you're awake because… | Try |
|---|---|
| Your mind is racing | Script 1: counting breaths |
| Your body feels tense or restless | Script 2: sinking body scan |
| You're worried about tomorrow | Script 3: setting it down |
Script 1: Counting breaths (5 minutes)
Let your body be still. Breathe naturally. On your next breath out, silently count "one." Next breath out, "two." Continue to ten, then start again at one. If you lose count, that's fine; just start again at one. There's nothing to achieve. Just counting, and breathing, and letting the bed hold you.
Script 2: Sinking body scan (10 minutes)
Notice the weight of your head on the pillow. Let it sink. Notice your shoulders, heavy against the mattress. Let them sink a little more. Your arms, your hands, heavy and warm. Your back, sinking. Your hips, your legs, your feet, each one heavier on the next breath out. If your mind wanders, return to the part of your body you last remember, and keep sinking.
Script 3: Setting it down (5 minutes)
Picture a small box beside your bed. Bring to mind one thing on your mind tonight. Picture placing it in the box, and closing the lid. It will be there in the morning if you need it. Now another. Place it in the box. When the box is closed, bring your attention to your breath, slow and easy, and rest.
For a longer practice, try our 10-minute guided sleep meditation or 20-minute yoga nidra script.
Timers and audio setup
- Download recordings so nothing buffers or autoplays.
- Use a sleep timer so audio stops after 20 to 30 minutes.
- Turn on Do Not Disturb and put the phone face down.
- Keep volume low, just loud enough to hear.
- Try a pillow speaker or sleep headband if earbuds are uncomfortable.
Troubleshooting
| Problem | Fix |
|---|---|
| "I get more awake focusing on myself" | Focus on sounds in the room or soft music instead of your body |
| The voice annoys me | Try a different voice, your own recording, or music; see music vs a guided voice |
| The recording ending wakes me up | Choose recordings that fade out, or use a timer with a fade |
| I keep checking if it's working | Aim to rest, not to sleep; rest itself is valuable |
| I wake at 3 a.m. | Use Script 1 from memory, without your phone |
| Nothing works after weeks | Talk to your doctor about CBT for insomnia |
What the research says
In a 2015 trial in JAMA Internal Medicine, older adults with sleep problems who learned mindfulness meditation improved their sleep quality more than those taught standard sleep-hygiene tips. For chronic insomnia, the American Academy of Sleep Medicine recommends CBT for insomnia as the first-line treatment; meditation works well alongside it.
Common questions
How long should I meditate before sleep?
Five to twenty minutes. If you're still awake and frustrated after about 20 minutes, get up briefly and return when sleepy.
Should I meditate in bed or before getting into bed?
Either. If you often fall asleep during daytime meditation, bedtime meditation in bed works well.
Is it bad to fall asleep with audio playing?
Not if the volume is low and a timer turns it off.
Related guides
Sources
- Black DS et al. Mindfulness meditation and improvement in sleep quality among older adults with sleep disturbances. JAMA Internal Medicine, 2015 — mindfulness improved sleep quality
- American Academy of Sleep Medicine: Behavioral and psychological treatments for chronic insomnia disorder in adults, 2021 — CBT-I as first-line treatment