What to Do When You Can’t Fall Asleep Tonight

If you’re lying in bed staring at the ceiling, the most effective thing you can do right now is get up. Staying in bed while awake trains your brain to associate your bed with wakefulness, making the problem worse over time. What you do in the next 15 to 30 minutes can shift your body into a state that’s ready for sleep.

Get Out of Bed

This feels counterintuitive, but it’s the cornerstone of the most effective insomnia treatment that exists: cognitive behavioral therapy for insomnia. The principle is simple. Your bed should only be associated with sleep. The longer you lie there frustrated, the stronger the mental link between your bed and being awake becomes.

Move to another room or a chair and do something low-key until you feel genuinely sleepy. Good options include reading a calming book, journaling, folding laundry, gentle stretching, listening to quiet music, knitting, or flipping through a catalog. The key is choosing activities that won’t rev you up. Avoid your phone, work emails, or anything with a bright screen. When your eyelids start to feel heavy, go back to bed. If you’re still awake after a while, get up again. Repeat as many times as needed.

Slow Your Breathing Down

Your nervous system has two modes: one that keeps you alert and one that calms you down. Controlled breathing activates the calming side, lowering your heart rate and blood pressure to put your body in the right state for sleep. The 4-7-8 technique is one of the most widely recommended methods.

Here’s how it works: breathe in through your nose for 4 seconds, hold your breath for 7 seconds, then exhale slowly through your mouth for 8 seconds. Repeat the cycle three or four times. The extended exhale is what does the heavy lifting, signaling your body to downshift. This won’t knock you out the first time you try it, but the effect strengthens with practice. The more regularly you use it, the more easily your body drops into that relaxed state.

Give Your Mind Something Boring to Do

Racing thoughts are one of the most common reasons people can’t fall asleep. Your brain needs a task dull enough to prevent rumination but engaging enough to keep anxious thoughts from creeping back in. A technique called cognitive shuffling works well for this.

Pick a simple word, like “lamp.” Take the first letter, L, and start listing random words that begin with it: lemon, ladder, laptop, llama. Try to picture each one briefly. When you run out of L words, move to A words, then M, then P. The randomness of the exercise mimics the way your brain naturally drifts before sleep, and most people don’t make it past the second letter. If word games aren’t your thing, try counting backward from 300 by threes, or mentally walking through every room of a house you know well, visualizing every detail.

Cool Your Body Down

Your core body temperature needs to drop by about one to two degrees for sleep to begin. If your bedroom is too warm, this process stalls. The ideal sleeping temperature for adults is between 60 and 67°F (15 to 19°C), which feels cool to most people. If you don’t have a thermostat you can adjust, try sticking one foot out from under the covers, using a lighter blanket, or placing a fan near your bed.

If you’re reading this earlier in the evening, a warm bath or shower about 90 minutes before bed can help. It sounds backward, but the warm water pulls blood flow from your core to your hands and feet, which releases heat through the skin. After you get out, your core temperature drops efficiently. A University of Texas analysis found this can speed up falling asleep by an average of 10 minutes. The timing matters: too close to bedtime and your body hasn’t had time to cool down yet.

Check What You Consumed Today

Caffeine has a half-life of four to six hours. That means if you had a cup of coffee at 4 p.m., half of that caffeine is still circulating in your bloodstream at 10 p.m. Even if you feel like caffeine “doesn’t affect you,” it can fragment sleep architecture in ways you don’t consciously notice. A good cutoff is at least eight hours before your intended bedtime, which accounts for the full clearance window rather than just the half-life.

Alcohol is another common culprit. It may help you feel drowsy initially, but it disrupts the second half of your sleep cycle, often causing early-morning wakefulness. Heavy or spicy meals close to bedtime can also keep you up by raising your core temperature and activating digestion.

Dim the Lights Well Before Bed

Your brain uses light exposure to decide when to release melatonin, the hormone that signals sleepiness. Bright indoor lighting and screens suppress that signal. The bluer and brighter the light, the stronger the suppression. Research from the Icahn School of Medicine at Mount Sinai found that even moderate indoor light levels can significantly delay melatonin release, especially with cooler-toned (bluish-white) lighting.

In the hour or two before bed, switch to dimmer, warmer-toned lights. If you’re using a phone or tablet, enable the night mode or warm filter, and keep the screen brightness low. Better yet, put the screen away entirely and read a physical book under a soft lamp.

Melatonin: What Actually Helps

Over-the-counter melatonin can be useful for resetting your sleep timing, but most people take too much. Starting at 1 mg is the recommended approach, increasing by 1 mg per week if needed, up to a maximum of 10 mg. Take it about 30 minutes before you want to sleep, since it takes 20 to 40 minutes to kick in.

Melatonin works best for people whose sleep timing is off, like shift workers or those with jet lag. It’s less effective for the kind of anxious, racing-mind insomnia that keeps you staring at the ceiling. If you’ve been taking 5 or 10 mg with no results, more isn’t the answer. Some people actually respond better to lower doses.

When Sleeplessness Becomes a Pattern

A bad night here and there is normal. But if you’re having trouble falling or staying asleep at least three nights per week, and this has been going on for three months or more, that meets the clinical threshold for chronic insomnia. Other markers include consistently taking longer than 30 minutes to fall asleep, sleeping fewer than six hours despite adequate time in bed, or waking more than three times per night.

Chronic insomnia responds well to treatment, particularly cognitive behavioral therapy for insomnia, which is considered more effective than medication for long-term results. It typically involves six to eight sessions and addresses the habits and thought patterns that keep insomnia going. Unlike sleep medication, the effects last after treatment ends.