Can’t Sleep at Night? Here’s What Actually Helps

If you’re lying in bed unable to fall asleep, the most effective thing you can do right now is get up. That sounds counterintuitive, but staying in bed while awake trains your brain to associate the bed with frustration rather than sleep. Give yourself about 20 minutes. If you’re not asleep by then, or if you notice yourself getting annoyed about being awake, leave the bedroom and do something low-key until you feel genuinely sleepy.

The 20-Minute Rule

This technique comes from cognitive behavioral therapy for insomnia, the most well-studied treatment for sleep problems. The idea is simple: your bed should only be a place where sleep happens, not a place where you lie awake worrying about not sleeping. When you’ve been awake for roughly 20 minutes, move to another room and do something relaxing. Listen to music, read a physical book, or try a simple meditation. Avoid anything that revs your brain back up: eating, scrolling your phone, doing work, or watching something intense on TV.

Return to bed only when you feel sleepy again. If another 20 minutes pass and you’re still awake, get up again. This cycle can feel frustrating the first few nights, but it works by rebuilding the connection between your bed and actual sleep rather than the anxiety of sleeplessness.

Stop Trying to Fall Asleep

One of the biggest obstacles to falling asleep is the effort of trying to fall asleep. The harder you try, the more alert you become. A technique called paradoxical intention flips this on its head: instead of trying to sleep, you try to stay awake.

Here’s how it works. Lie comfortably in bed with the lights off, but keep your eyes open. Give up any effort to fall asleep and any concern about still being awake. When your eyelids feel heavy and want to close, gently tell yourself, “Just stay awake for another couple of minutes. I’ll fall asleep naturally when I’m ready.” You’re not actively fighting sleep or doing anything stimulating. You’re simply removing the pressure to perform. By shifting focus away from the desperate attempt to sleep, sleep tends to arrive on its own.

If you wake up during the night and can’t quickly drift off again, use the same approach. Keep your eyes open, stay relaxed, and let go of the urgency.

Breathing That Slows Your Body Down

When you can’t sleep, your nervous system is often stuck in a slightly activated state. Controlled breathing is one of the fastest ways to shift it toward rest. The 4-7-8 method, recommended by Cleveland Clinic, gives your mind something specific to focus on while physically slowing your heart rate.

Inhale through your nose for four counts. Hold your breath for seven counts. Exhale slowly through your mouth for eight counts. The long exhale is the key part: it activates the branch of your nervous system responsible for calming you down. Repeat for three or four cycles. Don’t worry about doing it perfectly. Even approximate timing helps redirect your attention away from racing thoughts.

Relax Your Body in Stages

Progressive muscle relaxation is another technique with solid evidence behind it. You systematically tense and then release each muscle group, starting at your feet and working upward. Curl your toes and arch your feet, hold the tension briefly, then let go completely. Move to your calves, thighs, buttocks, lower back, abdomen, upper back, shoulders, arms, hands, neck, jaw, and forehead. The contrast between tension and release helps your body recognize what “relaxed” actually feels like, and the slow progression gives your mind a structured task instead of an open runway for worry.

Scramble Your Thoughts

If your problem is a racing mind rather than a tense body, try cognitive shuffling. Pick a simple, neutral word like “chair” or “water.” Then, for each letter of that word, think of unrelated words that start with the same letter. If you chose “table,” you might picture: tree, train, towel for T, then apple, arrow, ant for A, and so on. Visualize each item briefly before moving to the next.

The technique works because it mimics the random, fragmented thinking your brain does naturally as it drifts toward sleep. It’s boring in exactly the right way. If you lose track of where you are or forget your starting word, that’s actually a good sign. Start again with a new word if you need to. There’s no score to keep.

What Your Environment Should Look Like

Temperature matters more than most people realize. The ideal bedroom temperature for sleep is between 60 and 67°F (15 to 19°C). Your body needs to drop its core temperature slightly to initiate sleep, and a cool room helps that process along. If you’ve been lying under heavy blankets in a warm room, that alone could be part of the problem.

Light is the other major factor. Your brain uses light exposure to regulate its internal clock, and it’s remarkably sensitive. As little as eight lux of brightness, roughly twice the output of a night light, is enough to suppress the hormone that signals your body it’s time to sleep. Blue light from phones and laptops is especially disruptive. In a Harvard experiment, blue light suppressed that sleep-signaling hormone for about twice as long as green light of the same brightness and shifted the body’s internal clock by three hours compared to 1.5 hours for green light. The National Sleep Foundation recommends putting screens away at least one to two hours before bed.

Building a Buffer Before Bed

Tonight’s sleeplessness might be random, but if it keeps happening, your evening routine is worth examining. Light exposure within two hours of bedtime disrupts your sleep cycle, so dimming lights and switching off screens well before you plan to sleep gives your brain the darkness signal it needs. A consistent cutoff time every night, even on weekends, helps reinforce the habit.

Some people find that magnesium, taken as a supplement with dinner or before bed, modestly improves sleep quality. The typical dosage used in studies is 200 to 400 mg daily. The evidence is still early, and the benefits seem most noticeable in people whose magnesium levels are already low. It’s not a sleeping pill, but for some people it takes the edge off.

When Sleeplessness Becomes a Pattern

A bad night here and there is normal. Stress, travel, caffeine too late in the day, or an unusual schedule can all cause isolated bouts of wakefulness. What separates a rough patch from a clinical sleep disorder is frequency and duration. The diagnostic threshold for chronic insomnia is trouble falling or staying asleep at least three nights per week, lasting for at least one month, with a noticeable impact on how you function during the day.

If that sounds familiar, the techniques above still apply, but they work best as part of a structured program. Cognitive behavioral therapy for insomnia is the first-line treatment, more effective than medication for most people and without the side effects. It’s typically delivered over four to eight sessions and can now be done through telehealth or even app-based programs. The core principles are the same ones in this article: rebuilding your bed as a place for sleep, managing the anxiety around sleeplessness, and aligning your habits with your body’s natural rhythms.