Facts Get the app
← All articles
💡 Life Hacks

Does counting sheep help you sleep? What science says works better

Counting sheep is the oldest sleep tip around, but an Oxford study suggests a calm imaginary beach works better. Here's why, plus two tricks with real data.

⏱️ 6 min
In short
  • 🐑 Counting sheep probably won't put you to sleep faster. It's too boring to keep your worries out.
  • 🏖️ In an Oxford study, people with insomnia who pictured a vivid, calm scene fell asleep sooner.
  • 🚿 A warm bath or shower about 1 to 2 hours before bed and gentle rocking both have research behind them.

Where counting sheep comes from

The advice is old. A 2024 CNN piece traces it to the Cento Novelle Antiche, a 13th-century Italian collection of short stories. The idea seems sensible enough: do something dull and repetitive, and your brain gets bored enough to drift off.

The trouble is that boredom doesn't keep worries out. If you're lying awake, it's usually not because your mind is empty. More often it's busy replaying tomorrow's meeting or that awkward thing you said in 2014. Counting sheep gives those thoughts plenty of room to come back.

What the Oxford study actually found

In 2002, Allison Harvey and Suzanna Payne at the University of Oxford published a study in Behaviour Research and Therapy. According to the abstract, 41 people with sleep-onset insomnia got one of three sets of instructions for bedtime: distract yourself with imagery, distract yourself however you like, or no instructions at all.

The imagery group was asked to picture a calm, engaging scene, like a waterfall or a beach, in as much detail as possible. Compared with the people who got no instructions, they fell asleep sooner and reported fewer and less distressing thoughts before sleep. New Scientist reported that they fell asleep more than 20 minutes earlier than on nights when they didn't use the technique.

Why would a waterfall beat a flock of sheep? Harvey's explanation is that a vivid scene takes up enough mental space to crowd out worries, while still being relaxing. "Counting sheep is just too mundane to effectively keep worries away," she told New Scientist.

💡 Aha

Counting sheep fails because it's too boring: your worries find their way back in.

An aha moment like this every day – in 10 seconds.Facts · ★ 4.8 · Free Get the app

The twist: the study wasn't really about sheep

The headlines turned this into "science says counting sheep doesn't work." Harvey has pushed back on that a bit. "Our study more than 20 years ago wasn't about counting sheep; it was just about using imagery to fight insomnia," she told CNN in 2024. Only two people in the general distraction group happened to count sheep, and, as she put it, people latched onto that because it was fun.

There's another detail worth knowing. The researchers predicted that general distraction would actually make sleep worse. That prediction wasn't supported. So the fair summary goes like this: there's no evidence that counting sheep helps, and there is evidence that detailed, calming imagery does. That's not quite the same as "counting sheep keeps you awake."

More surprising facts about sleepIn the “Sleep & Dreams” pack in the Facts app.View pack

Two sleep tricks with real evidence

A warm bath or shower, timed well. In 2019, researchers at the University of Texas at Austin pooled earlier studies on bathing before bed for a review in Sleep Medicine Reviews. They found that bathing in water of about 104 to 109 °F (about 40 to 43 °C) can significantly improve your sleep. Done 1 to 2 hours before bedtime, it helped people fall asleep about 10 minutes faster on average. About 90 minutes before bed looked like the best timing.

It sounds backwards, since the bath warms you up. The trick is what comes after: warm water sends blood out to your hands and feet, where heat escapes more easily, so your core temperature drops. Your core temperature naturally falls in the evening, and that drop is one of your body's signals that it's time to sleep. The warm water gives it a little push.

Gentle rocking. In a small 2011 study from the University of Geneva, published in Current Biology, 12 men took two 45-minute afternoon naps on a bed hanging from the ceiling. During one nap the bed stayed still. During the other it swayed slowly, about one full swing every four seconds. According to NBC News, every one of the men fell asleep faster on the rocking bed.

The brain recordings showed more than that. With rocking, the share of stage N2 sleep rose from about half the nap to over 60 percent, and slow brain waves and "sleep spindles" got a lasting boost. The researchers think the steady swaying syncs up with the brain's own sleep rhythms. One caveat: it was 12 people taking short naps, and nobody yet knows whether rocking helps over a full night.

💡 Aha

It's not just babies: in one small study, every adult fell asleep faster when the bed gently rocked.

How to fall asleep without the sheep

🏞️Picture a scene, not a number. Choose a calm place and fill in the details. Harvey suggests asking yourself what you see and what you hear, so the image is vivid enough to keep worries out.
🚿Time your shower. A warm bath or shower about 90 minutes before bed lets your core temperature drop just as you're getting into bed.
🙏Try gratitude or savoring. Harvey also recommends thinking of three things you're grateful for, or replaying a good moment from your day.
📓Park your worries earlier. Journaling or setting aside some worry time in the evening are other options the CNN piece mentions, so your thoughts don't all show up at bedtime.

Frequently asked questions

Does counting sheep keep you awake longer?

There's no good evidence that it does. The Oxford researchers expected general distraction to make sleep worse, but the data didn't support that. It just doesn't seem to help.

What should I think about to fall asleep?

Something calm and absorbing. Picturing a detailed, peaceful scene, like a beach or a waterfall, helped people with insomnia fall asleep sooner in the Oxford study.

How long before bed should I take a warm shower?

About 1 to 2 hours before bed, with around 90 minutes looking best in the 2019 review. If you shower right before bed, your core temperature hasn't had time to drop yet.

Why do hammocks and trains make you sleepy?

The swaying may help. In the Geneva study, a slowly rocking bed helped people fall asleep faster and boosted brain rhythms linked to deeper sleep.

Sources

New Scientist: Discounting sheep (reprint of New Scientist, 26 January 2002)

Cockrell School of Engineering, The University of Texas at Austin: Take a Warm Bath 1-2 hours Before Bedtime to Get Better Sleep, Researchers Find

CNN (via KEYT): Counting sheep: Who came up with this old sleep tip, and does it work?

Harvey & Payne (2002), Behaviour Research and Therapy: The management of unwanted pre-sleep thoughts in insomnia: distraction with imagery versus general distraction (abstract)

NBC News: Want a Quick Nap? Try a Hammock

🐑 Finished!

In the app, this would earn you a sticker.

Download on the App Store
Keep readingAll articles →