How to Get to Sleep When You Can’t: What Works

When you’re lying in bed unable to sleep, the worst thing you can do is keep trying harder. The effort itself creates a frustration loop that pushes sleep further away. What actually works is redirecting your body and mind with specific techniques, most of which take effect within minutes. Here’s what to do tonight, and what to change if this keeps happening.

Get Out of Bed After 15 to 20 Minutes

This is counterintuitive but well-supported: if you haven’t fallen asleep within 15 to 20 minutes, get up and go to another room. Sit somewhere comfortable and do something quiet and low-stimulation, like reading a physical book or listening to calm music. Go back to bed only when you feel genuinely sleepy again.

The reason this works is associative. When you lie in bed staring at the ceiling, tossing and turning, your brain starts linking the bed with wakefulness, anxiety, and frustration. Over time, just getting into bed triggers alertness instead of drowsiness. By leaving when sleep isn’t happening, you protect that mental connection between your bed and actually sleeping. Stanford’s insomnia program calls this “stimulus control,” and consistent use of it retrains your brain to fall asleep quickly once you lie down.

Use the 4-7-8 Breathing Technique

This is one of the fastest ways to shift your nervous system from alert mode into rest mode. The extended exhale activates your body’s built-in relaxation response.

Here’s the sequence: Exhale completely through your mouth, making a whoosh sound. Close your mouth and inhale quietly through your nose for a count of 4. Hold your breath for a count of 7. Exhale slowly through your mouth for a count of 8, again making the whoosh sound. That’s one cycle. Do four cycles total, then stop. If you’re new to it, limit yourself to four breaths per session for the first month before extending to eight.

The counts don’t need to match actual seconds. What matters is the ratio: the exhale is twice as long as the inhale. This slows your heart rate and signals your body that it’s safe to let go.

Try Progressive Muscle Relaxation

If your body feels tense or restless, progressive muscle relaxation works by deliberately tightening and then releasing each muscle group in order. The release phase creates a wave of physical relaxation that’s hard to achieve by just “trying to relax.”

Start with your fists. Clench them tightly while breathing in and hold for five seconds. Then release all at once and pay attention to how the relaxation feels. Move to your biceps, then the backs of your arms, your forehead (wrinkle it into a frown), eyes (squeeze them shut), jaw, tongue pressed to the roof of your mouth, lips pressed together, neck, shoulders shrugged up to your ears, stomach, lower back, buttocks, thighs, calves, and finally your shins and feet. Each muscle group gets the same five-second squeeze followed by a full release.

The whole sequence takes about 10 to 15 minutes. Most people notice they’re significantly more relaxed by the time they reach their legs, and many fall asleep before finishing.

The Military Sleep Method

Developed for soldiers who needed to fall asleep in noisy, uncomfortable conditions, this technique reportedly helps most people fall asleep within two minutes after a few weeks of practice.

Lie on your back with your eyes closed. Starting at your forehead, consciously think about relaxing each part of your face. Let your jaw drop, your tongue go limp, your eyes settle deep into their sockets. Move down to your shoulders, letting them drop as low as they’ll go. Relax your arms one at a time, from your upper arms to your fingertips. Let your chest soften with a slow exhale. Relax your legs from your thighs down to your feet. Once your entire body feels heavy, spend 10 seconds clearing your mind by picturing one of two images: lying in a canoe on a calm lake with nothing but blue sky above you, or lying in a black velvet hammock in a pitch-dark room. If thoughts intrude, silently repeat “don’t think” for 10 seconds.

Scramble Your Thoughts With Cognitive Shuffling

Racing thoughts are one of the most common reasons people can’t fall asleep. Your brain keeps looping through worries, to-do lists, or replaying conversations. Cognitive shuffling breaks that loop by giving your mind something to do that’s just engaging enough to prevent rumination but too random and boring to keep you awake.

Pick a neutral word with no emotional weight, like “garden.” For each letter, visualize something that starts with that letter. G: a green frog. A: an airplane. R: a red umbrella. D: a doorknob. E: an escalator. N: a napkin. The images should be random, unrelated, and mundane. If a word triggers any stress or planning, skip it and move on. You can also simply cycle through unrelated objects: apple, ladder, cloud, spoon, bicycle, pillow. The randomness is the point. It mimics the disjointed, drifting quality of pre-sleep thinking, and your brain often follows the cue right into actual sleep.

Cool Your Bedroom Down

Your body temperature needs to drop slightly to initiate sleep, and a warm room fights that process. The ideal bedroom temperature for adults is 60 to 67°F (15 to 19°C), which feels cooler than most people keep their homes. If you don’t have precise temperature control, a fan, lighter blankets, or sleeping with one foot outside the covers all help your body shed heat.

A warm shower or bath 60 to 90 minutes before bed also helps, paradoxically. The warmth dilates blood vessels near your skin’s surface, and when you step out, your core temperature drops rapidly. That drop is a strong biological trigger for sleepiness.

What to Do About Screens and Light

Bright light, especially the blue-heavy light from phones and laptops, suppresses the hormone that tells your brain it’s nighttime. If you’re lying in bed scrolling because you can’t sleep, the screen is actively working against you. Put the phone face-down or in another room. If you need something to do while waiting for sleepiness to return, choose a physical book, a podcast, or an audiobook with the screen off and brightness at minimum.

Dimming the lights in your home for the hour before bed makes a noticeable difference over time. Your brain interprets low light as a signal to start winding down, and overhead lighting in most homes is bright enough to delay that process by 30 minutes or more.

Supplements That May Help

Magnesium is one of the more evidence-supported options for sleep. A dose of 250 to 500 milligrams taken at bedtime can help with relaxation and sleep onset. Magnesium glycinate is a common choice because it’s gentle on the stomach. Many people are mildly deficient in magnesium without knowing it, especially if their diet is low in nuts, seeds, and leafy greens.

Melatonin works best for circadian rhythm issues, like jet lag or a sleep schedule that’s shifted too late, rather than for general inability to fall asleep. If you do try it, start with 0.5 to 1 milligram rather than the 5 or 10 milligram doses commonly sold. More is not better with melatonin, and high doses can cause grogginess or disrupt your sleep cycle further.

When Sleeplessness Becomes a Bigger Problem

Occasional bad nights are normal. But if you’re struggling to fall or stay asleep at least three nights a week, that meets the clinical threshold for insomnia. If it continues for three months or longer, it’s classified as chronic insomnia, which affects roughly 10% of adults and responds well to structured treatment.

The most effective treatment for chronic insomnia isn’t medication. It’s cognitive behavioral therapy for insomnia (CBT-I), a short-term program, usually six to eight sessions, that combines the behavioral techniques above with strategies for breaking the thought patterns that keep insomnia going. It’s available through therapists, sleep clinics, and several app-based programs. Most people see significant improvement within a few weeks, and the results tend to last longer than those from sleep medications.