How to Sleep If You Can’t Sleep: What Actually Works

If you’re lying in bed unable to sleep, the single most effective thing you can do right now is stop trying. Effort is the enemy of sleep. The harder you push, the more your brain stays alert, creating a frustrating cycle that can keep you awake for hours. What follows are immediate techniques you can use tonight, plus longer-term fixes that make tomorrow night easier.

Get Out of Bed After 20 Minutes

This feels counterintuitive, but it’s one of the most well-supported strategies in sleep medicine. If you’ve been lying awake for roughly 15 to 20 minutes, get up and go to another room. Read something light, listen to calm music, or do any quiet, low-stimulation activity. Return to bed only when you feel genuinely sleepy again. Repeat as many times as needed throughout the night.

The logic is straightforward: staying in bed while frustrated trains your brain to associate your bed with wakefulness and anxiety. Over time, this makes the problem worse. By reserving your bed strictly for sleep, you rebuild the mental link between lying down and drifting off. Stanford’s Sleep Health and Insomnia Program emphasizes one important detail: don’t fall asleep on the couch. That just transfers the sleep association to a different piece of furniture instead of your bed.

Relax Your Body Systematically

The military sleep method is a structured relaxation sequence designed to get soldiers to fall asleep in high-stress environments. While the often-cited claim that it works in two minutes hasn’t been tested in formal studies, the individual components, progressive muscle relaxation, deep breathing, and visualization, all have solid evidence behind them.

Here’s how to do it: lie on your back, close your eyes, and focus on relaxing one body part at a time. Start at your forehead and work down through your jaw, shoulders, arms, chest, legs, and toes. For each area, notice the tension and consciously let it go. Once your body feels loose, take slow, deep breaths and picture a calming scene. Maybe you’re lying in a canoe drifting on still water, or sitting on a quiet mountaintop. The goal is to give your mind something peaceful to hold onto instead of tomorrow’s to-do list.

Try the 4-7-8 Breathing Pattern

This technique works by activating your body’s built-in calming system. Inhale through your nose for four counts, hold for seven counts, then exhale slowly through your mouth for eight counts. The extended exhale is the key. It triggers your parasympathetic nervous system, the branch responsible for slowing your heart rate and lowering blood pressure, both of which signal to your body that it’s safe to sleep.

You don’t need to do this for long. Three or four cycles is enough to feel a shift. If counting feels stressful, just focus on making your exhale noticeably longer than your inhale. The specific numbers matter less than the ratio.

Distract Your Brain With Cognitive Shuffling

If racing thoughts are the problem, try cognitive shuffling. Pick a simple five-letter word, like “train.” For each letter, think of a word that starts with that letter and visualize it. T: turtle, picture a turtle. R: rainbow, picture a rainbow. A: acorn, picture an acorn. Keep going. If you finish the word and you’re still awake, pick another word and start again.

This works because it occupies your brain with a task that requires just enough attention to block anxious thoughts but not enough to keep you alert. The random, unrelated images mimic the kind of loose, disconnected thinking your brain naturally does as it transitions into sleep. Most people don’t make it through more than a couple of words.

What Might Be Keeping You Awake

Your body needs two things to fall asleep easily: enough built-up sleep pressure and the right physical conditions. Sleep pressure comes from a chemical called adenosine that accumulates in your brain the longer you’re awake. The more active and alert you’ve been during the day, the more adenosine builds up, and the sleepier you feel by bedtime. Two common things undermine this process: napping and caffeine.

Long naps drain your adenosine reserves, so by bedtime you simply don’t have enough sleep pressure to fall asleep quickly. Caffeine, meanwhile, blocks adenosine receptors in your brain, essentially masking your sleepiness. Its half-life is four to six hours, meaning if you drink coffee at 4 p.m., half the caffeine is still active in your system at 10 p.m. A good cutoff for most people is early to mid-afternoon.

Temperature also plays a significant role. Your core body temperature needs to drop slightly for sleep to begin. The National Sleep Foundation recommends keeping your bedroom between 60 and 67°F (about 15 to 19°C). If your room is too warm, your body physically can’t make the temperature shift it needs.

A Warm Shower Can Help You Cool Down

This sounds paradoxical, but warming up your skin actually helps your core body temperature drop faster. A meta-analysis of existing research found that a warm shower or bath (around 104 to 109°F, or 40 to 42.5°C) taken one to two hours before bed significantly shortened the time it took people to fall asleep. The warm water increases blood flow to your hands and feet, which radiates heat away from your core. Even ten minutes is enough to trigger the effect.

Screens and Light Exposure

If you’re reading this on your phone in bed, the screen itself could be part of the problem. Blue light from phones, tablets, and laptops suppresses melatonin, the hormone that tells your brain it’s time to sleep. In one Harvard experiment, blue light suppressed melatonin for roughly twice as long as green light and shifted the body’s internal clock by three hours. Even very dim light, about the brightness of a nightlight, has a measurable effect on melatonin production.

If you can, put the phone down and switch to a paper book or an audio-based activity. If you need to use a screen, enable night mode and dim it as far as it will go. This won’t eliminate the effect, but it reduces it.

Build Sleep Pressure During the Day

Tonight’s fixes are important, but if you regularly struggle to fall asleep, the most powerful lever is what you do during the day. High-intensity exercise increases adenosine levels in the brain, creating stronger sleep pressure by evening. Keeping a consistent wake time, even on weekends, helps synchronize your internal clock so that sleepiness arrives predictably. And keeping naps short (under 20 to 30 minutes) or skipping them entirely preserves the adenosine buildup you need at night.

When Sleeplessness Becomes a Pattern

Everyone has an occasional bad night. That’s normal and not a sign of a sleep disorder. Clinical insomnia is defined by a specific threshold: difficulty falling or staying asleep at least three nights per week for at least one month, with noticeable effects on how you function during the day. If that describes your situation, the most effective treatment isn’t medication. It’s cognitive behavioral therapy for insomnia (CBT-I), a structured program that combines the stimulus control and relaxation techniques described above with strategies to reshape how you think about sleep. It’s typically delivered over four to eight sessions, and its effects last longer than sleeping pills.