Counting sheep is one of the oldest folk remedies for insomnia, and it barely works. When sleep researchers at Oxford University tested it against other bedtime mental strategies, people told to count sheep fell asleep no faster than those given no instructions at all. The technique is too simple and too boring to occupy your mind in a useful way. What actually helps is a different kind of mental engagement, and the science behind what works offers several surprisingly practical alternatives.
Why Counting Sheep Falls Short
The Oxford experiment split about 50 people with insomnia into groups and assigned them different mental tasks at bedtime. One group counted sheep. Another group visualized a calming scene, like a waterfall or a beach. The sheep-counters showed no improvement in how quickly they fell asleep compared to a control group that received no special instructions at all.1BMJ. Counting sheep will not help you sleep The people imagining peaceful scenes, on the other hand, fell asleep meaningfully faster.
The likely reason is that counting sheep is too monotonous to hold your attention. When you’re lying awake, your mind tends to loop through worries, regrets, tomorrow’s schedule, and unfinished arguments. An effective mental task needs to occupy enough of your working memory that those intrusive thoughts can’t elbow their way back in. Counting is rhythmic and automatic; after a few dozen sheep, your brain has plenty of spare capacity to wander right back to whatever was keeping you up. A rich sensory scene, by contrast, asks you to generate visual detail, sounds, textures, and spatial relationships, all of which keeps more of your mental workspace busy.
Visualize a Relaxing Scene Instead
The strategy that outperformed sheep-counting in the Oxford study is sometimes called imagery distraction. You pick a scene you find genuinely pleasant and absorbing, then mentally explore it in as much detail as you can. A forest path, a calm lake, a favorite room. The key is that it needs to be engaging enough to crowd out the worry loop but pleasant enough not to activate stress.
Follow-up research confirmed that imagery distraction works specifically because it fills what researchers call “cognitive space.” When participants used a vivid, absorbing mental image, they were less likely to re-engage with the pre-sleep thoughts, worries, and concerns that typically delay sleep onset.2PubMed. The management of unwanted pre-sleep thoughts in insomnia: distraction with imagery versus general distraction Interestingly, when people were simply told to “distract yourself” without being given the imagery framework, the benefit shrank. The structure of the task matters. Imagining a detailed scene provides that structure; vaguely trying to think about something pleasant does not.
A related technique that has gained popularity in recent years is the cognitive shuffle. Instead of holding a single coherent scene, you generate a rapid sequence of random, unrelated images: a red hat, a sailboat, a dog on roller skates, a piece of toast. The randomness is the point. Because the images have no logical thread, your brain can’t use them as a springboard into problem-solving or worry. Clinical reviews have grouped imagery distraction, the cognitive shuffle, and a few other cognitive techniques together as showing genuine promise for reducing the kind of anxious mental chatter that keeps people awake.3Current Sexual Health Reports. Beyond Hot Flashes: The Cognitive Dimension of Sleep Disruption in Menopause and Sexual Function
Write a To-Do List Before Bed
If your main problem at night is a brain that won’t stop planning, there’s a deceptively simple intervention with good evidence: write down tomorrow’s to-do list before you get into bed. A study using polysomnography, which tracks brain activity during sleep, found that participants who spent five minutes writing a specific to-do list for the next day fell asleep significantly faster than those who wrote about tasks they had already completed that day.4PubMed Central. The Effects of Bedtime Writing on Difficulty Falling Asleep: A Polysomnographic Study Comparing To-Do Lists and Completed Activity Lists
The more specific the list, the faster people fell asleep. Participants who wrote vague entries like “deal with work stuff” didn’t benefit as much as those who broke tasks into concrete steps. The researchers proposed that offloading unfinished business onto paper reduces the cognitive load your brain is carrying. Instead of cycling through “don’t forget to email Sarah, and also the dentist appointment, and the report deadline,” your mind can let go of those threads because they’re safely recorded somewhere external. Think of it as emptying your mental inbox before trying to sleep.
Try Staying Awake on Purpose
This one sounds counterintuitive, but paradoxical intention has been studied for decades and keeps showing up in clinical guidelines. The idea is that when you lie in bed actively trying to stay awake with your eyes open, you remove the performance pressure that comes with desperately wanting to fall asleep. That pressure itself is often what keeps you up.
A systematic review and meta-analysis found that paradoxical intention was largely superior to passive comparison conditions at reducing what researchers call sleep performance anxiety, the anxious fixation on whether you’re going to fall asleep tonight.5PubMed. Paradoxical intention for insomnia: A systematic review and meta-analysis That anxiety creates a vicious cycle: the more you worry about not sleeping, the more aroused your nervous system becomes, and the harder it is to sleep. By flipping the goal (“try to keep your eyes open”), you short-circuit the cycle.6PubMed Central. Paradoxical intention as a treatment for insomnia disorder: study protocol for a mixed-methods pilot trial
The practical version is straightforward. Lie in bed in the dark and gently challenge yourself to stay awake. Don’t pick up your phone or turn on a light. Just keep your eyes open and resist sleep without any effortful activity. Most people find that the pressure to sleep evaporates fairly quickly, and drowsiness follows naturally. This technique works best for people whose insomnia is driven by anxiety about sleep itself rather than by pain, noise, or another external factor.
Slow, Paced Breathing
Breathing techniques get recommended so often for sleep that it’s easy to dismiss them as vague wellness advice. But the physiology here is concrete and well-documented. Slowing your breathing rate down to roughly six breaths per minute activates the vagus nerve, which shifts your nervous system away from its alert, fight-or-flight state toward the calmer mode that precedes sleep. A review of the research found that breathing at this slow rate increases cardiac oscillations and improves what’s called heart rate variability, a reliable marker that your body is in a relaxed state.7PubMed. Heart rate variability and slow-paced breathing: when coherence meets resonance
In people with insomnia specifically, practicing slow paced breathing for about 20 minutes before bed reduced how long it took to fall asleep, decreased the number of times they woke up during the night, and improved overall sleep efficiency.8PubMed. Efficacy of paced breathing for insomnia: enhances vagal activity and improves sleep quality The researchers noted that people with insomnia tended to have lower baseline vagal activity, meaning their nervous systems were running hotter than normal even when they weren’t stressed. The slow breathing helped correct that imbalance.
You don’t need a specific branded method like 4-7-8 breathing to get the benefit, though those frameworks can help you maintain the rhythm. The essential ingredient is extending your exhale relative to your inhale and keeping the overall pace slow. If you’re breathing six times a minute, each breath cycle lasts about ten seconds. A common pattern is inhaling for four seconds and exhaling for six. Twenty minutes is what the research used, but even a few minutes of deliberate slow breathing can begin shifting your nervous system in the right direction.
Progressive Muscle Relaxation
Progressive muscle relaxation works on a different channel than the cognitive techniques above. Instead of occupying your mind, it targets the physical tension that accumulates during the day and often goes unnoticed until you’re lying still in a dark room. The method involves systematically tensing and then releasing muscle groups, usually starting from your feet and working upward. By experiencing the contrast between tension and relaxation, your body learns to recognize what a relaxed state actually feels like.9PubMed Central. Effects of progressive muscle relaxation training on negative emotions and sleep quality in COVID-19 patients: A clinical observational study
A study of healthcare workers under high stress found that progressive muscle relaxation significantly improved both sleep quality scores and anxiety levels, with measurable drops in both after a period of regular practice.10PubMed Central. Progressive muscle relaxation alleviates anxiety and improves sleep quality among healthcare practitioners in a mobile cabin hospital: a pre-post comparative study in China The technique is especially useful for people who carry their stress physically, meaning those who clench their jaw, hunch their shoulders, or grip their hands without realizing it. If you tend to notice body tension when you finally lie down, this approach addresses the problem more directly than any mental exercise would.
A basic session takes about 15 minutes. You tense each muscle group for five to ten seconds, then release and pay attention to the sensation of relaxation for 15 to 20 seconds before moving to the next group. Feet, calves, thighs, glutes, abdomen, chest, hands, arms, shoulders, neck, face. Many people find guided audio recordings helpful when starting out, because remembering the sequence can itself become a minor source of mental effort that defeats the purpose.
Mindfulness Meditation
Mindfulness meditation overlaps with some of the techniques already described but adds a distinct element: rather than distracting yourself from anxious thoughts or physically relaxing your muscles, you practice observing thoughts without engaging with them. The goal isn’t to empty your mind but to change your relationship with the mental chatter so it stops triggering the arousal response that blocks sleep.
A meta-analysis of randomized controlled trials found that mindfulness meditation significantly improved sleep quality and reduced total wake time compared to control conditions. Subgroup analyses revealed benefits for sleep onset latency and sleep efficiency as well.11Journal of Psychosomatic Research. Mindfulness meditation for insomnia: A meta-analysis of randomized controlled trials The effect sizes were moderate, not dramatic, which is consistent with the idea that mindfulness works best as part of a broader sleep strategy rather than as a standalone cure.
The practical barrier with mindfulness is that it requires more practice to become useful than the other techniques on this list. Imagery distraction or paced breathing can work the first night you try them. Mindfulness tends to get more effective over weeks of regular practice, as you build the mental skill of noticing thoughts without chasing them. If you’re someone who has tried breathing exercises and found that your mind immediately wanders back to worrying, mindfulness training may be specifically what you need, but expect a learning curve.
Sound, Temperature, and the Bedroom
No mental technique works well if your sleep environment is actively working against you. Two factors deserve particular attention: sound and temperature.
Research on auditory stimulation for sleep has examined several categories of sound: colored noises like white noise and pink noise, natural sounds such as rain and flowing water, and music, particularly slow classical pieces or other genres the listener personally finds calming.12PubMed Central. External Auditory Stimulation as a Non-Pharmacological Sleep Aid White noise works primarily by masking disruptive background sounds, which is why it helps most in noisy environments. Pink noise, which emphasizes lower frequencies and sounds more like steady rainfall, has shown some promise for deepening sleep. The evidence base for any single type of sound is still thin, but the general principle is solid: a consistent, low-level auditory backdrop can reduce the likelihood that sudden noises will jolt you awake.
Temperature plays a more fundamental role than most people realize. Your body needs to drop its core temperature by roughly one degree to initiate sleep. This is part of the reason why melatonin promotes drowsiness: research has shown that melatonin’s sleep-inducing effect is at least partly mediated through its ability to lower core body temperature.13PubMed. The hypothermic effect of melatonin on core body temperature: is more better? In studies where melatonin was given during the day, the resulting drop in core temperature was directly associated with faster sleep onset, reducing the time it took to fall asleep by roughly a quarter to forty percent.14PubMed. Day-time melatonin administration: effects on core temperature and sleep onset latency
You can work with this biology by keeping your bedroom cool, generally around 65 to 68 degrees Fahrenheit. Taking a warm bath or shower an hour or so before bed also helps, paradoxically, because it brings blood to the surface of your skin, which speeds heat loss from your core once you get out. Heavy blankets in a hot room work against this temperature drop and can make it harder to fall asleep regardless of what mental techniques you’re using.
When These Techniques Aren’t Enough
Everything described above is a single-ingredient intervention, one technique you can try tonight. For occasional sleeplessness, that’s often all you need. But chronic insomnia, the kind where you struggle to fall or stay asleep at least three nights a week for three months or more, typically benefits from a more structured approach.
The most effective nonpharmacological treatment for chronic insomnia is cognitive behavioral therapy for insomnia, or CBT-i. It produces results equivalent to sleep medication, with no side effects, fewer relapses, and a tendency for sleep to keep improving after treatment ends.15PubMed Central. Cognitive-Behavioral Therapy for Insomnia: An Effective and Underutilized Treatment for Insomnia CBT-i bundles several components together: sleep consolidation (limiting time in bed to match actual sleep time), stimulus control (retraining your brain to associate the bed with sleep rather than wakefulness), cognitive restructuring (addressing beliefs about sleep that fuel anxiety), sleep hygiene, and relaxation techniques. Many of the individual techniques in this article are components of CBT-i. The program’s power comes from combining them in a personalized, structured way over several weeks.
Stimulus control on its own has strong evidence as an insomnia intervention. A systematic review found it effective at improving insomnia compared to control conditions, with the core instruction being simple: if you’ve been in bed for roughly 20 minutes and aren’t asleep, get up and go to another room until you feel drowsy, then return.16Journal of Sleep Research. The effectiveness of stimulus control in cognitive behavioural therapy for insomnia in adults: A systematic review and network meta-analysis This prevents your brain from learning to associate being in bed with being awake and frustrated.
CBT-i is available through trained therapists and increasingly through digital programs. If you’ve been applying individual techniques for weeks without improvement, seeking out CBT-i is a reasonable next step and the one most sleep specialists would recommend before medication.
Sleep Strategies and ADHD
People with ADHD face a distinct set of sleep challenges that are worth addressing separately, because the standard advice doesn’t always translate. Difficulty falling asleep is extremely common in adults with ADHD, driven partly by the same difficulty with mental quieting that affects daytime focus. Racing thoughts at bedtime are the norm rather than the exception.
Research on sleep interventions specifically for adults with ADHD is surprisingly thin. A systematic review found only a handful of studies testing targeted approaches, including bright light therapy, behavioral treatments, weighted blankets, and medication. Only the largest bright light study, which also involved melatonin, and a weighted blanket study included proper control comparisons.17PubMed Central. Managing Sleep in Adults with ADHD: From Science to Pragmatic Approaches
The practical takeaway is that people with ADHD may need to lean more heavily on the structured, externalized techniques on this list, like to-do list writing and progressive muscle relaxation, rather than techniques that require sustained internal focus, like mindfulness meditation or imagery distraction. A cognitive shuffle, with its rapid, novelty-driven shifts between random images, may actually suit the ADHD brain better than holding a single peaceful scene. Weighted blankets, which provide steady sensory input that some people find grounding, are another option that has at least preliminary support. And because ADHD commonly involves a delayed circadian rhythm, working with a clinician to adjust sleep timing through light exposure and possibly melatonin can address the biological dimension that no bedtime technique alone can fix.