If you’re lying in bed unable to sleep, the worst thing you can do is keep trying harder. Sleep is an involuntary process, and the more pressure you put on yourself to drift off, the more alert your brain becomes. The good news: several techniques can short-circuit that cycle, some working in minutes. Here’s what actually helps, starting with what you can do right now.
Stop Trying to Fall Asleep
This sounds counterintuitive, but it’s one of the most studied approaches for people who can’t sleep. Researchers at the University of Pennsylvania call it paradoxical intention: instead of willing yourself to sleep, you deliberately try to stay awake. The logic is simple. Sleep anxiety, that creeping dread of “I need to fall asleep NOW,” fires up your stress response and keeps you alert. Removing that pressure lets your body do what it already knows how to do.
Here’s how to use it. Lie comfortably with the lights off, but keep your eyes open. Give up any effort to fall asleep and any worry about still being awake. When your eyelids feel heavy, gently tell yourself, “Just stay awake for another couple of minutes. I’ll fall asleep when I’m ready.” Don’t do anything active to keep yourself up. No scrolling, no stimulating thoughts, no moving around. Just passively resist closing your eyes. By shifting your goal from “fall asleep” to “stay awake,” you strip away the performance anxiety that was keeping you wired.
Use Your Breathing to Flip a Switch
Your nervous system has two modes: the stress-and-alertness side and the calm-and-rest side. Slow, structured breathing activates the calm side, physically lowering your heart rate and relaxing your muscles. The 4-7-8 technique is one of the most accessible ways to do this.
Inhale through your nose for four counts. Hold your breath for seven counts. Exhale slowly through your mouth for eight counts. That’s one cycle. Repeat for three or four rounds. The long exhale is the key part. It forces your body to shift toward relaxation in a way that’s hard to override with anxious thoughts. If holding for seven counts feels uncomfortable at first, scale the whole ratio down (try 2-3.5-4) and work up.
Scramble Your Thoughts With Cognitive Shuffling
Racing thoughts are one of the most common reasons people can’t fall asleep. Cognitive shuffling, developed by sleep researcher Luc Beaudoin, works by replacing those anxious loops with random, meaningless images your brain can’t build a narrative around.
Pick a random word, like “table.” Start with the first letter, T, and picture unrelated objects that begin with it: tree, trumpet, turtle, towel. Spend a few seconds visualizing each one before moving to the next. When you run out, move to the second letter, A: apple, anchor, arrow. Continue through the word. The randomness is what makes it work. Unlike counting sheep, which is repetitive enough for your brain to get bored and drift back to worries, shuffling keeps generating new, low-stakes images. Your mind stays occupied but unstimulated, which is exactly the state that precedes sleep.
Get Out of Bed After 20 Minutes
If you’ve been lying awake for 15 to 20 minutes, get up. This is a core principle of stimulus control therapy used at Stanford’s Sleep Health and Insomnia Program, and it works for a specific reason: your brain learns to associate your bed with whatever you do there. If you spend hours tossing and turning, your brain starts treating bed as a place for being frustrated and awake. Getting up breaks that association.
Go to another room and do something quiet and low-stimulation. Reading a physical book, doing a crossword puzzle, listening to soft music, drawing, or meditating all work well. Watching light television is fine as long as it’s not on a bright screen close to your face. When you start feeling genuinely sleepy (not just tired, but that heavy-eyed, nodding-off feeling), go back to bed. If sleep doesn’t come within another 15 to 20 minutes, get up again. It can feel tedious the first few nights, but over time it retrains your brain to associate bed with sleep rather than wakefulness.
Cool Your Room, Warm Your Body
Your body needs to drop in core temperature to initiate sleep. A bedroom that’s too warm fights this process. The Sleep Foundation recommends keeping your thermostat between 65 and 68°F (15.6 to 20°C), with 65°F being the sweet spot for most people.
A warm shower or bath one to two hours before bed can also help, even though it sounds contradictory. A meta-analysis of multiple studies found that bathing in water around 104 to 109°F for as little as 10 minutes significantly shortened the time it took people to fall asleep. The mechanism: warm water draws blood to your skin’s surface, especially your hands and feet. After you get out, that blood rapidly releases heat, causing your core temperature to drop faster than it would on its own. That accelerated cooldown is a strong biological signal for sleep.
Block Light at the Right Time
Blue wavelengths from screens, LED bulbs, and overhead lights suppress your body’s production of melatonin, the hormone that signals it’s time to sleep. Harvard Health recommends avoiding bright screens two to three hours before bed. If that’s not realistic (and for most people, it isn’t), use your phone’s night mode or warm-toned settings starting in the evening, and keep the screen dimmed.
If you’re already in bed and can’t sleep, resist the urge to pick up your phone. Even a few minutes of scrolling resets the clock on melatonin production and tells your brain it’s daytime. If you need to do something while you’re up, choose an activity that doesn’t involve a backlit screen, or at minimum use the dimmest setting possible with a warm color filter.
Supplements That May Help
Magnesium is the most commonly discussed supplement for sleep, and there’s some clinical evidence behind it. A randomized, placebo-controlled trial found that adults with poor sleep quality who took magnesium daily for two weeks reported improvements in both sleep quality and mood. Magnesium plays a role in regulating your nervous system’s calm-down response, which is why deficiency is linked to restless, fragmented sleep. If you want to try it, magnesium glycinate and magnesium threonate are the forms most commonly recommended for sleep, as they’re better absorbed and less likely to cause digestive issues than cheaper forms like magnesium oxide.
Putting It All Together Tonight
If you’re reading this in bed right now, here’s a practical sequence. Put your phone face-down or across the room after reading this. Try the paradoxical intention approach: keep your eyes open, stop trying to sleep, and let drowsiness come to you. If your mind starts racing, switch to cognitive shuffling. If you’re still wide awake after 15 to 20 minutes, get up, go to another room, and read or listen to something calming until you feel genuinely sleepy. For tomorrow night, set your thermostat to 65°F, take a warm shower an hour or two before bed, and dim your screens after sunset. These changes stack. Any one of them can shave minutes off the time it takes to fall asleep, and together they address the most common reasons your brain stays wired when your body is ready to rest.