A beginner's field guide
When You Can't Sleep
Sleepless nights usually come with a mind or body still on alert, and lying in bed fighting for sleep teaches the bedroom to mean frustration. The page gives a five-step night practice that ends with getting up when it turns into a struggle, shows why a run of short nights matters more than one lost night, and explains Spielman’s three P’s, hyperarousal and loneliness. CBT-I is the best-supported treatment; meditation for sleep is not tested in this page’s sources.
Start with your question
When you can’t sleep, some part of you is usually still on guard. The mind keeps working on tomorrow, or the body stays braced, and sleep has no way in. Meditation gives you a way to work with that state in the dark: you notice what is keeping you up and let it settle without fighting it. Dropping the fight matters as much as any technique, because the struggle to fall asleep is one of the things that keeps bad nights coming back.
Even if you’re young, you’ve been there: an exam the next day, a very important meeting, or maybe a job interview. Then come the heavy weights: divorce, unpaid bills, someone dear to your heart who is sick. Life has them all lined up, and you toss and turn and can’t seem to fall asleep.
Over the years I’ve had these nights too, although I normally sleep like a baby. Fortunately I’ve meditated for a large part of my life, and a long, thorough practice has given me an arsenal of techniques. With them I can calm my mind and put it to sleep in almost any situation.
Yet many people I’ve spoken to struggle to sleep when things get dicey. Most of them talk about streams of thoughts, anxiousness, unease and a tense body. All of these are symptoms of your state. They can be altered, and the mind can be trained to let them go, or to move somewhere else. Rejecting the worried, restless you won’t help. What helps is to understand who you are and why this is happening, and to find your way back to the you that does you good and lets you sleep at night.
A practice for the night itself
The practice starts with those four: the thoughts, the anxiousness, the unease and the tense body. It goes body first, because the body is right there under the covers while thoughts keep slipping off. Before you begin, put down the goal of falling asleep. The aim is to rest, and to let sleep come when it comes.
- Notice what is up tonight. Lie still and check which of the four is loudest. Often it’s two or three at once. Name it once, quietly, the way you’d remark on the weather: thinking, worry, tight.
- Undo the bracing. Go through the places that hold on at night. Let the teeth part and the tongue rest low in the mouth. Smooth the skin between the eyebrows. Let the shoulders slide down, away from the ears, and the hands fall open on the sheet. A minute later one of these will have tightened again. Go back to it without annoyance.
- Find the breath low in the body. Feel the belly lift the covers a little and sink back. Count the out-breaths from one to ten, then begin again. When you lose count, and you will, go back to one.
- Let thoughts pass without a reply. A thought about tomorrow arrives with a pull to sort it out now. Give it one word, planning or worry, and return to the count. It may come back many times. Each return is the practice, and none of them is a failure.
- Get up if it turns into a fight. If you catch yourself clenching against the night, or angry with yourself for being awake, leave the bed. Sit somewhere dim, do something quiet that isn’t a screen, and go back when sleep feels close.
The last step can feel like giving up on the night, yet of the five, it is the one the research supports most firmly.
The aim is to rest, and to let sleep come when it comes.
Why lying there trying makes it worse
Harvard Medical School’s sleep education pages describe a pattern in some people with insomnia. They spend long stretches in bed working at getting to sleep. Over time the bed and the bedroom start to stand for wakefulness and frustration. Going to bed then sets off the state that blocks sleep, so the effort itself deepens the problem. E-readers, phones, naps and coffee near bedtime all make it worse.
The warning against trying too hard is one of the better researched pieces of sleep advice, according to the research summarized on Wikipedia. Noise, alcohol before bed and demanding mental work late in the evening sit in that group too. Deliberate effort to fall asleep breeds frustration, and the frustration keeps you awake. So the standard advice is to leave the bed for a little while and do something else. For people who sleep badly, less time in bed also tends to bring deeper, less broken sleep.
The Sleep Foundation adds another turn. Once you can’t sleep, the sleeplessness becomes one more thing to be stressed about. Some people are more prone to this than others, a trait researchers call sleep reactivity.
That’s why the practice in bed stays light. Once counting breaths turns into a test you’re failing, it has joined the loop, and it’s better to get up. Leaving gives the bed a chance to mean sleep again.
Waking in the small hours and lying there until morning has causes of its own, and a separate question in this series takes it on.
What one lost night costs
Much of the pressure on a sleepless night comes from the morning: the exam, the meeting, the interview. The research is calmer about a single lost night than a worried mind is. Patrick and colleagues (2017) kept 64 participants, all university students, awake for one night and compared them with a night of normal sleep. Their reaction time slowed and their blood pressure rose more after exercise, but tests of working memory and executive function showed no significant change. That was one small study of young, healthy people. An older review by Alhola and Polo‐Kantola (2007) found that a whole night without sleep does impair attention and working memory, and reaches decision-making too.
So a lost night has a cost. Neither finding looks like the disaster a mind rehearses in the dark, and that rehearsal is part of what keeps you awake.
The cost to watch builds more quietly. The same review notes that in everyday life, losing part of your sleep night after night is far more common than losing a whole night. It wears mainly on attention, above all on staying vigilant. Recovery has been little studied, but it looks harder after a run of short nights than after one night with none. Research gathered on Wikipedia’s sleep deprivation page adds that people in that state go on rating themselves as less impaired than they are, even once their lapses match those of someone who skipped a night entirely. That is a reason to take a run of short nights seriously, and to worry less about a single one.
How a few bad nights become insomnia
Insomnia means trouble falling asleep, staying asleep or both, along with a cost in the day such as sleepiness or poor concentration. The Sleep Foundation points out that it happens even to people with plenty of time for sleep and a bedroom that suits it. By its count, up to two-thirds of people have spells of symptoms now and then. Sleep Education puts short-term insomnia, lasting up to three months, at 15 to 20 percent of people at any given time. Chronic insomnia, at least three nights a week for at least three months, affects about 10 percent.
10 percent
Between a spell and a chronic problem sits one question: what keeps the nights coming after the trigger has gone? The Harvard pages answer with a model that Arthur Spielman proposed in the 1980s. Predisposing factors are the ground you start on, such as age, genetics and some lifestyle and medical issues. They raise the risk, but on their own they can’t cause insomnia. Precipitating factors set off the first nights: a stressful event, a recent trauma, an illness or a medical treatment. That’s the exam, the divorce and the sick loved one from the opening note. Perpetuating factors keep it going once the trigger has passed, and the main one is the loop of trying and frustration.
The model is useful at night because of where it puts your leverage. You can’t do much about your age, and the trigger is often life itself. The perpetuating part is made of habits and thoughts, and that’s where you have some say. Cognitive behavioral therapy for insomnia (CBT-I) is built on that same part.
A body and mind on guard
Underneath the habits there’s often a body on alert. The Harvard pages describe one common theory, which calls insomnia a state of hyperarousal, with body and mind both switched on. Studies of people with insomnia have found quicker heart rates, higher levels of the stress hormone cortisol, or more fast brain activity as sleep approaches. Not everyone with insomnia shows these signs.
Fernández‐Mendoza (2025) helps explain why. The review treats insomnia as a set of distinct types rather than one disorder. The clearest marks of a body on alert turn up in one group: people whose sleep measures short when it is recorded objectively. They show a stress-hormone system out of balance, a more active sympathetic nervous system and more inflammation. That group carries the higher risks for heart and brain health, and may respond less well to CBT-I.
Feeling alone can keep the guard up as well. Hawkley and Cacioppo (2010) reviewed the research on loneliness. They describe how a sense of social isolation heightens the feeling of being vulnerable and the vigilance for threat. That watchfulness runs mostly below awareness, changes how the body works and lowers sleep quality. What counts is the sense of being isolated, which is a different thing from being alone.
The day sets up the night
Habits won’t fix every case, and the research on them is mixed. A 2021 meta-analysis from the American Academy of Sleep Medicine found no case for sleep hygiene as the only treatment for chronic insomnia. For some favorite tips, like a more comfortable mattress or drinking less in the evening, the evidence is thin. What habits can do is shrink what the loop has to work with. The ones below lean toward the better-supported end.
- Keep the last hour quiet. Planning and hard mental work late in the evening delay sleep, and the Harvard pages add phones and e-readers to the list. A book or light stretching is a gentler way down.
- Caffeine in the morning, alcohol early or not at all. Caffeine stays in your system for hours. Alcohol brings drowsiness first and then breaks sleep up as the body processes it.
- A cool, dark room, with the noise turned down where you can manage it.
- The same wake time every day, weekends included. Getting up at a regular hour tends to improve sleep.
- Short, early naps if any. Brief midday naps disturb night sleep the least.
What the evidence supports, and where it runs out
The best-supported treatment in these sources is CBT-I. Sleep Education recommends it for chronic insomnia in adults. It works on the thoughts and behaviors that get in the way of sleep. Its parts can include stress reduction and relaxation, some teaching about sleep habits, and a managed sleep schedule. It can be done in person, by video or through online programs. One sleep science guide calls it first-line and says many people improve within a few weeks.
Sleeping pills have a place, usually a short one. For brief spells of insomnia, the Sleep Foundation describes using a prescription sleep aid for a while when the distress is high. Sleep Education warns that tolerance can build, and that the pills can bring on sleepwalking or even sleep driving. It adds a higher risk of falls and effects on memory. When insomnia travels with another problem, like sleep apnea or depression, treating that one often improves sleep. Fernández‐Mendoza (2025) notes a gap as well: trials have not shown that treating insomnia, with CBT-I or with pills, improves heart or brain outcomes.
Meditation is where the sources run out. None of the research gathered for this page tests meditation or mindfulness for sleep, so it can’t say how well they work, or for whom. The nearest they come is that relaxation and stress reduction sit inside CBT-I itself. Beyond that there is a line of reasoning. If a mind and body on alert keep many people up, and the fight to sleep feeds the problem, then a practice that trains them to settle, and drops the fight, is aimed at the right place. The trials that would test it aren’t among these sources, and the hyperarousal it leans on doesn’t show up in everyone with insomnia.
When to see a doctor
If you’ve been sleeping badly at least three nights a week for over a month, have it looked at. Sleep Education offers a quick check. Is falling asleep taking you more than 30 minutes, or do you wake and struggle to get back, or wake too early? Do you feel it in the day? And does it happen even though you give yourself time for at least 7 hours in a dark, quiet, safe room? A doctor will usually start from your habits and history, and may ask you to keep a sleep diary for a week or two. A sleep study is needed only if apnea or another sleep disorder is suspected. Untreated long-term insomnia is linked with a lower quality of life, and with a higher risk of substance abuse, chronic pain, heart disease and diabetes.
Sleep and mood are closely tied. By the Sleep Foundation’s estimate, a mental health disorder is present in 40% of people with insomnia. In teenagers, short sleep can be both a cause and a result of mental health problems (Uccella et al., 2023). If worry or low mood is what keeps you awake, talk to a doctor or a mental health professional.
Key concepts
- The bed and frustration loop
- Long stretches in bed trying to sleep make the bedroom stand for wakefulness and frustration, so the effort to sleep deepens the insomnia. Getting up for a while breaks it.
- The three P's of insomnia
- Arthur Spielman's 1980s model: predisposing factors raise the risk, precipitating factors set off the first nights, perpetuating factors keep it going.
- One lost night versus many short ones
- One night without sleep slowed reaction time in students without a significant change in working memory (Patrick et al., 2017), while partial sleep loss night after night wears on attention and looks harder to recover from (Alhola and Polo‐Kantola, 2007).
- Hyperarousal
- A common theory of insomnia: body and mind stay switched on. The clearest signs show in people whose measured sleep is short (Fernández‐Mendoza, 2025), and not everyone with insomnia shows them.
- CBT-I
- Cognitive behavioral therapy for insomnia, the recommended treatment for chronic insomnia in adults, works on thoughts and behaviors and can include relaxation, stress reduction and a managed sleep schedule.
Research & sources
5 peer-reviewed-
Effects of sleep deprivation on cognitive and physical performance in university students
Yusuf Patrick, Alice E. Lee, Oishik Raha, K. Divakaran Pillai, Shubham Gupta, Sonika Sethi, Felicite Mukeshimana, Lothaire Gerard · 2017 · Sleep and Biological Rhythms
doi:10.1007/s41105-017-0099-5 → -
Sleep deprivation: Impact on cognitive performance
Paula Alhola, Päivi Polo‐Kantola · 2007 · Neuropsychiatric Disease and Treatment
doi:10.2147/ndt.a930 → -
Insomnia Phenotypes, Cardiovascular Risk and Their Link to Brain Health
Julio Fernández‐Mendoza · 2025 · Circulation Research
doi:10.1161/circresaha.125.325686 → -
Loneliness Matters: A Theoretical and Empirical Review of Consequences and Mechanisms
Louise C. Hawkley, John T. Cacioppo · 2010 · Annals of Behavioral Medicine
doi:10.1007/s12160-010-9210-8 → -
Sleep Deprivation and Insomnia in Adolescence: Implications for Mental Health
Sarà Uccella, Ramona Cordani, Federico Salfi, Maurizio Gorgoni, Serena Scarpelli, Angelo Gemignani, Pierre A. Geoffroy, Luigi De Gennaro · 2023 · Brain Sciences
doi:10.3390/brainsci13040569 →
Related guides
Who came to mind? Send it to them.