What to Do Before Sleeping for Better Rest

The hour or two before bed shapes how quickly you fall asleep and how restorative your night actually is. A consistent wind-down routine signals your brain to shift into sleep mode, and after about two weeks of repeating the same sequence, that transition starts to happen almost automatically. Here’s what actually matters in that pre-sleep window, backed by the physiology of how sleep works.

Set a Cutoff for Eating and Caffeine

What you consume during the day has a longer tail than most people realize. Caffeine has a half-life of roughly five to six hours, meaning half the caffeine from your 3 p.m. coffee is still circulating at 9 p.m. One study found that caffeine consumed even six hours before bed disrupted sleep, even when participants didn’t notice the difference. A practical cutoff is noon to early afternoon if you go to bed at a typical evening hour.

Dinner timing matters too. A study of young adults found that people who finished eating less than about four hours before bed took significantly longer to fall asleep (around 27 to 31 minutes) compared to those who ate nearly five hours before bed (about 20 minutes). The likely reason: your body needs three to four hours after a meal for tryptophan levels to peak. Tryptophan is a building block for melatonin, the hormone that initiates sleep. Eating too close to bedtime also raises the risk of acid reflux when you lie down. Aim to finish dinner at least four hours before bed. If you need a small snack closer to bedtime, keep it light: warm milk, a small bowl of cereal, or cheese. Avoid high-fat foods, beans, and raw fruits or vegetables that can cause gas.

Skip the Nightcap

Alcohol is deceptive. It acts like a sedative at first, helping you fall asleep faster and pushing you into deep sleep during the first half of the night. But as your body metabolizes the alcohol, the second half of the night falls apart. You wake more often, cycle between sleep stages erratically, and lose significant amounts of REM sleep, the phase tied to memory consolidation and emotional processing. With regular use, these disruptions compound: sleep becomes more fragmented, lighter, and less restorative overall. If you do drink, finishing well before bed gives your body more time to clear the alcohol before it interferes with your later sleep cycles.

Dim the Lights and Put Screens Away

Your brain uses light as its primary cue for whether it’s day or night. Blue light from phones, tablets, and laptops is especially effective at suppressing melatonin production, delaying the signal that tells your body it’s time to sleep. Harvard Health recommends avoiding bright screens two to three hours before bed. That’s a tall order for most people, but even scaling back to one hour makes a difference. At minimum, switch devices to night mode and keep room lighting dim. Darkness itself is a sleep cue: your brain learns to associate dim light with the wind-down period, especially once the routine is consistent.

Cool Your Room, Warm Your Feet

Your core body temperature needs to drop for sleep to begin, and the way your body accomplishes this is surprisingly specific. Blood vessels in your hands and feet dilate, releasing heat from your extremities and pulling warmth away from your core. Research published in the American Journal of Physiology found that this process of warming the skin of the hands and feet was the single best predictor of how quickly someone fell asleep, outperforming core temperature, heart rate, and even subjective feelings of sleepiness.

You can help this process along from both directions. Keep your bedroom between 60 and 67°F (15 to 19°C). For babies and toddlers, the range is slightly higher, between 65 and 70°F. On the other side, warming your extremities with socks or a warm bath before bed accelerates that heat-release mechanism. A warm bath works especially well because it brings blood to the surface of your skin; once you step out into a cooler room, your core temperature drops rapidly.

Build a One-Hour Wind-Down Buffer

Your brain doesn’t have an off switch. Going from answering emails or watching intense TV straight to trying to sleep almost never works well. Sleep guidelines from the University of Arizona’s insomnia program recommend taking at least one hour to unwind before your target bedtime. The specific activities matter less than their tone: calming, low-stimulation, and ideally done outside your bedroom so your brain associates the bed only with sleep.

Good options include reading a book or magazine, listening to calm music, meditating, praying, or watching something light on television. The key is doing roughly the same sequence each night. After a week or two, your brain starts treating those activities as automatic cues that sleep is coming. Put away anything work or school related during this window. If those materials are visible in your bedroom, move them out of sight.

Write a To-Do List for Five Minutes

Racing thoughts about tomorrow are one of the most common barriers to falling asleep. A simple fix comes from research at Baylor University: spending just five minutes before bed writing a specific to-do list for the next day. The act of getting tasks out of your head and onto paper, sometimes called cognitive offloading, reduces the mental churn that keeps you awake. The researchers found this worked better than journaling about what you’d already accomplished that day. Be thorough and specific rather than vague. “Email the contractor about the timeline” is more effective at quieting your mind than “deal with house stuff.”

Try Controlled Breathing

Slow, deliberate breathing activates the branch of your nervous system responsible for rest and recovery while dialing down the stress response. This shift lowers your heart rate and blood pressure, creating the physical conditions your body needs to transition into sleep. You don’t need a complicated technique. One popular approach is the 4-7-8 pattern: inhale for four counts, hold for seven, exhale for eight. But any slow, rhythmic breathing with a longer exhale than inhale produces a similar calming effect. Even a few minutes can make a noticeable difference, particularly on nights when you feel wired.

Time Your Exercise Right

Regular exercise improves sleep quality significantly, but the timing of intense workouts matters. High-intensity exercise like interval training done less than one hour before bed has been shown to delay sleep onset and reduce sleep quality. Harvard Health recommends finishing strenuous activity at least two hours before you plan to get into bed. This gives your heart rate and core temperature enough time to come back down. Gentle stretching or yoga in the evening is fine and can even help with relaxation, but save the hard cardio for earlier in the day.

Set Up Your Sleep Environment

A few small environmental adjustments make your bedroom work with your biology rather than against it. Beyond temperature, focus on light and sound. Use blackout curtains or an eye mask if outside light is an issue. Earplugs or a white noise machine help in noisy environments. Make your bed comfortable and keep the space uncluttered, especially free of work materials that trigger mental activation.

Limit fluids to no more than one glass (about 8 ounces) in the two to three hours before bed. This simple step reduces the likelihood of waking up to use the bathroom, one of the most common causes of fragmented sleep that people rarely think to address.