We've all been there. Staring at the ceiling until 3 a.m., and then morning arrives with no mercy. A new study suggests two fairly simple rescue options: a brisk 20-minute workout or a 90-minute nap.

Researchers looked at what happens to cognitive performance after a night of total sleep deprivation, then tested whether exercise or napping could blunt the damage. Both helped. The 20-minute bout of moderate exercise improved alertness and cognitive performance afterward, and the 90-minute nap did the same. That 90-minute length probably matters. It's long enough to complete a full sleep cycle, which means you wake without that groggy, disoriented feeling sleep scientists call sleep inertia.

I want to be clear about what this study does and doesn't say. It doesn't mean exercise or naps replace sleep. Nothing replaces sleep. Your brain does housekeeping at night that nothing else fully substitutes for, including clearing out metabolic waste through the glymphatic system. What these findings offer is a damage-control strategy, for the mornings when you simply didn't get the sleep you needed.

The exercise option is the more practical one for most people. Twenty minutes of moderate movement, think brisk walking, easy cycling, anything that gets your heart rate up but doesn't wipe you out, is something you can do almost anywhere. When my son Linton was working night shifts in his early twenties and struggling with the sleep chaos that came with them, a morning walk was the one thing he said actually made the day feel survivable. At the time I told him it was just fresh air. Turns out there was real physiology behind it.

Exercise boosts blood flow to the brain and raises alertness-driving chemicals like norepinephrine. A nap, meanwhile, pays back some of the sleep debt directly. Both work, so pick whichever fits your day.

A few caveats from my nurse years. If sleepless nights are a regular pattern rather than an occasional disaster, a 20-minute workout is a bandage on a wound that keeps reopening. Chronic sleep deprivation raises risks for your heart, your mood, and your long-term brain health, and no nap schedule fixes that. The right move then is figuring out why sleep is failing in the first place, whether that's stress, sleep apnea, or something else, and treating the cause.

For the occasional rough night, though, this is genuinely useful, low-effort, evidence-backed advice. So here's my question for you: the next time you sleep badly, do you reach for the sneakers or the pillow?