YouTube has its own sleep timer. While a video plays, open the player's Settings, tap Sleep timer and choose how long it should run. When time is up, the video pauses by itself. It started life as a Premium perk, and it has been open to everyone since late 2024.
If you can't find it, or you'd rather have something that works with any app, your iPhone's Clock app and most smart TVs have timers of their own. Here is how to set each one, and how long to set it for.
Does YouTube have a sleep timer?
Yes, YouTube has a built-in sleep timer, and it's free for all users. It was first tested with Premium subscribers in the summer of 2024, with options of 10, 15, 20, 30, 45 or 60 minutes, or the end of the current video (9to5Google, 2024). In October 2024 it opened up to all users (GSMArena, 2024), rolling out gradually across the mobile apps, desktop browsers and smart TVs (Tom's Guide, 2024).
YouTube Help now has a "Set a sleep timer" page with instructions for Android, iPhone and iPad, and computer (YouTube Help).
How to set a sleep timer on YouTube (Android)
On Android, the sleep timer is a few taps away in the player. These are the steps YouTube gives for phones and tablets (YouTube Help):
- Start the video you want to fall asleep to.
- Tap Settings in the player.
- Tap Sleep timer.
- Choose how long the timer should run before the video pauses.
When the timer ends, the video pauses and you get a silent notification. To change a running timer, repeat the same steps. Still awake? Reset it.
How to set a YouTube sleep timer on iPhone and iPad
On iPhone and iPad, the sleep timer sits in the same place: during a video, open the player's settings and look for Sleep timer. YouTube Help lists it for both. If it isn't there, update the YouTube app.
One catch: background play, which keeps audio running with the screen off, is a YouTube Premium feature (YouTube Help). On the free plan, locking your phone stops the video, so you'll likely need to keep the app open while the timer runs, as Tom's Guide also notes. Turn the brightness all the way down and lay the phone face down.
Use the iPhone Clock app instead ("Stop Playing")
The iPhone's Clock app has a sleep timer built in, and it works with YouTube, podcasts, music and any other app that plays sound (Apple Support):
- Open the Clock app and tap Timer.
- Set the duration.
- Tap When Timer Ends, scroll to the bottom and tap Stop Playing.
- Tap Start, then go back to your video.

The timer keeps running if you switch apps or your iPhone goes to sleep. When it hits zero, playback stops instead of an alarm going off. Apple's steps here come from its iOS 15 guide, so menu names may differ slightly on newer versions of iOS.
How to set a YouTube sleep timer on a computer
On a computer, the sleep timer lives in the video player's settings menu (9to5Google, 2024). Open the settings menu on the video and look for Sleep timer. If you fall asleep to a laptop, close your other tabs so nothing else starts making noise.
Android without the YouTube timer: what Bedtime mode does
On Android, YouTube's own timer is the simplest option, because the phone's built-in sleep tools work differently. Two are still worth knowing:
- Bedtime mode (Settings > Digital Wellbeing & parental controls > Bedtime mode) silences your phone and drains the color from the screen at bedtime (Android Help). It can also turn on Do Not Disturb and switch the screen to grayscale. The help page doesn't describe it pausing what's playing, so don't count on it to stop a video.
- App timers (Settings > Digital Wellbeing > App timers) close an app and dim its icon once you've used up the time you set (Android Help). They count your total use for the day and reset at midnight, which makes them a blunt tool for sleep. Use them only if YouTube's timer isn't available to you.
Pair YouTube's sleep timer with Bedtime mode and you get both: the video stops, and notifications stay quiet until morning.
How to set a sleep timer on a smart TV
On a smart TV, the dependable option is the TV's own sleep timer, which turns the whole set off. YouTube's sleep timer was reported to be coming to smart TVs as part of the 2024 rollout (Tom's Guide, 2024), but if you don't see it in the YouTube app on your TV, look in the TV's settings, often under Time or System.
Samsung TVs
Go to Settings (All Settings) > General (General & Privacy) > System Manager > Time > Sleep Timer, then choose how long the TV should stay on, up to 180 minutes (Samsung). If the option is grayed out, Samsung suggests switching the TV source away from HDMI.
Roku TVs
Press Home, then go to Settings > System > Time > Sleep timer and pick 30 minutes, 1 hour, 1.5 hours, 2 hours or 3 hours (Roku). While watching, you can also press the Star button and choose Sleep timer, or tell a voice remote something like "set sleep timer for an hour."
On other brands, search your TV's manual or support site for "sleep timer." A bright TV screen also lights up the room, so if your TV can turn the picture off while the audio plays, that setting is worth hunting down.
Why your timer should stop before the video ends
Stopping before the end avoids the two things most likely to wake you, which makes a sleep timer about more than saving battery:
- End-of-video ads. YouTube can show ads after a video as well as before and during it (YouTube Help). If your timer pauses the video first, you never reach that point. Our guide to sleep videos without ads covers more fixes.
- Autoplay. When a video ends, autoplay can start another one, in a different style and at a different volume. On mobile, autoplay keeps going for up to 30 minutes of inactivity on a mobile network or 4 hours on Wi-Fi (YouTube Help). Turn it off with the Autoplay switch on the video player or in your profile settings.
Sound running all night can be a problem in itself. Sleep researcher Alexander Sweetman told SBS News that bedrooms should be kept as quiet as possible, since sound during the night can wake people (SBS News, 2023). The simplest approach: pick a video that runs longer than your timer, so the timer always ends things.
How long should you set a sleep timer for?
Set it a little past the time you usually take to fall asleep. There's no official number, but sleep onset is a good guide: falling asleep takes about 10 to 20 minutes on average, says Cleveland Clinic sleep psychologist Michelle Drerup, and still being awake 30 minutes or more after lights out can be a sign of insomnia (Cleveland Clinic).
So 30 minutes is a sensible starting point for most people: long enough to cover a normal wind-down, short enough that the room goes quiet soon after you're out. As a rule of thumb (not a medical guideline):
| If you usually fall asleep... | Try a timer of... |
|---|---|
| Within 15 minutes | 20 minutes |
| In about 15 to 30 minutes | 30 to 45 minutes |
| After 30 minutes or more | 45 to 60 minutes, and see the note below |
If you're still wide awake after about 20 minutes, Mayo Clinic suggests getting out of bed and doing something relaxing, such as reading or listening to gentle music, then going back when you feel tired (Mayo Clinic). Restarting the timer over and over in bed turns a sleep aid back into screen time.

A quick bedtime setup
Most of a good bedtime setup happens before you lie down.
- Pick the video before bed, something long, slow and steady, and longer than your timer. Browse ASMR for sleep, no-talking ASMR or 3-hour-plus videos, or see our picks of the best ASMR for sleep.
- Press play while you're still up, so any opening ad plays before you lie down.
- Turn off autoplay.
- Set the sleep timer, in YouTube or your phone's Clock app.
- Lower the volume as far as you can while still hearing the details, and dim the screen.
- Put the phone face down and close your eyes.
Tingly Room can handle step 1. It's a free finder that sorts YouTube ASMR by trigger, voice, pace and length, so you can go straight to long, slow videos. Videos play in YouTube's official player, where the YouTube sleep timer works as usual.
Find a video for tonight
Pick a trigger, a voice and a length: Tingly Room shows the sleep videos that match.
If you have trouble falling asleep at least three nights a week for more than three months, and it affects your days, Cleveland Clinic advises talking to a doctor (Cleveland Clinic). A sleep timer helps with the setup. It isn't a fix for insomnia.