- Does the YouTube app have a sleep timer?
- Where a sleep timer does exist: YouTube Music
- Using your phone's own sleep timer instead
- A worked example
- Smart TVs and streaming devices
- The bit nobody wants to say out loud
- Why this matters beyond bedtime
- If the video still played on
- A quick setup checklist
- Frequently asked questions
- Where to check the details
Yes. The main YouTube app on Android and iPhone has a Sleep Timer in the player's settings (the gear icon), which 9to5Google reported YouTube rolled out to all users, free and Premium, in October 2024. If you can't see it, or you watch on a TV, your iPhone's Clock timer set to "Stop Playing", Android's app timers or the TV's own sleep timer will stop the video instead.
Setting a timer is half the job. YouTube's own help page says Autoplay stops after 30 minutes of inactivity on a mobile network but only after 4 hours on Wi-Fi, so on home broadband one video can still roll into hours of them unless something stops it.
I get asked variations of this a lot, usually by people who've fallen asleep three nights running with a video still playing and woken up at 4am to their phone at 1% battery and their recommendations full of videos about shark attacks or conspiracy theories about the moon landing. So let's sort it out.
Does the YouTube app have a sleep timer?
Yes, and it's newer than most guides on this question. When YouTube made a batch of tested features official in October 2024, 9to5Google reported that every user would get a Sleep Timer in the player's settings gear menu, with these lengths: 10, 15, 20, 30, 45 minutes, 1 hour, or end of video. To use it, start a video, tap the gear icon in the player, choose Sleep Timer and pick a length.
YouTube Help doesn't have a page on it that we could open, so if the option isn't in your menu, update the app first. If it's still missing, the phone and TV timers below do the same job from outside the app.
What YouTube does offer is a "Remind me to take a break" option and a bedtime reminder setting, which are reminders to stop, not an automatic stop. Treat them as a nudge rather than a timer. You still have to act on it, and if you're already half asleep, you won't.
Where a sleep timer does exist: YouTube Music
If most of your late-night viewing is audio (music, ambient noise, a podcast someone's uploaded as a video), switch to YouTube Music instead of the main app. It has a sleep timer built in too. Start playing something, then look in the menu on the now-playing screen for the sleep timer option and pick how long you want it to run. YouTube doesn't publish the preset lengths on a help page we could open, so go by what your app offers rather than a list in a guide.
It's the better choice for audio because it's built for listening with the screen off. If you're falling asleep to music or audio content, this is the route to take, and if you tend to fall asleep to podcasts to relax and sleep, YouTube Music's timer works just as well for those too.
Using your phone's own sleep timer instead
Your phone can stop YouTube from outside the app: iPhone's Clock app can stop playback in any app, and Android's Digital Wellbeing can close an app once its time is up. This is the one I'd recommend because it works regardless of what you're watching.
On iPhone
- Open the Clock app
- Tap "Timers" at the bottom
- Set your time (say, 30 minutes)
- Tap "When Timer Ends" and choose "Stop Playing"
- Start the timer, then open YouTube and play your video
That's the route Apple's iPhone User Guide gives for stopping audio or video after a set time, using falling asleep as its example. When the timer runs out, audio and video stop, no matter what app is open. It doesn't lock your phone, so you'll want to also set a screen timeout, but it does the main job.
On Android
Android's Clock doesn't offer a Stop Playing option like the iPhone's, so the built-in tool is Digital Wellbeing. Google's Android Help gives the path: open Settings, tap Digital Wellbeing, then App timers, tap Set timer next to YouTube and choose a time. When you run out of time, the app closes and its icon dims. Some steps vary by phone maker, so the menu on a Samsung or OnePlus may look a little different.
The catch is that an app timer is a daily allowance that resets at midnight, not a countdown from when you press play. If you've already watched 40 minutes of YouTube that day, a 60-minute timer gives you 20 more. Bedtime mode, in the same Digital Wellbeing menu, runs on a schedule and can switch the screen to grayscale or dim the wallpaper, but Google's page doesn't say it stops playback, so use App timers or YouTube's own timer for that.
A worked example
Say you run a small online shop and you're in the habit of watching long YouTube explainer videos about marketing or AI tools in bed, partly for work and partly because it's soothing background noise. You fall asleep most nights around the 20-minute mark of a 90-minute video, so the other 70 minutes play to nobody.
The fix: before you start watching, open Clock, set a 30-minute timer, choose "Stop Playing" when it ends, then go to YouTube. You fall asleep at minute 20 as usual, and the screen and sound stop dead at minute 30. That's 10 minutes playing to nobody instead of 70, and the 60 minutes you missed are waiting where you left off. YouTube's own timer would do the same if you picked 30 minutes in the gear menu. It's not complicated. It's just a step most people never bother to take because they assume the app itself should be smart enough to know they've nodded off.
Next on the reading list: YouTube TV not working on Samsung TV.
Smart TVs and streaming devices
If you watch YouTube on a smart TV, Chromecast, Fire TV Stick or Apple TV rather than a phone, check the TV's own sleep timer rather than YouTube's settings, because most smart TV operating systems (Samsung's Tizen, LG's webOS, Android TV, Roku) have a sleep timer in the general settings menu that works across every app, including YouTube. Menu paths differ by brand, model and software version, and the makers don't keep one published path for every set, so the quickest route is your TV's settings search or manual: look for "sleep timer" there. Set it a little past the point you usually drop off and the whole TV powers down, video included. On a streaming stick, the TV's timer is still the one to use, because switching the TV off ends playback whatever the stick is doing.
Parents can also restrict the app, as our guide to blocking YouTube on an iPad shows.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
The bit nobody wants to say out loud
A timer stops tonight's video, but Autoplay is what turns one video into a night of them. The next video queues itself up unless you switch Autoplay off, and YouTube's help page says that on Wi-Fi it only stops by itself after 4 hours of inactivity (30 minutes on a mobile network). YouTube earns from watch time, so it's no surprise the timer is something you have to go and find while Autoplay just runs.
So the fix is two things: turning off autoplay in your account settings (tap your profile icon, then Settings, then Autoplay, and switch it off, or tap the Autoplay switch at the top of the video player), and setting a timer, YouTube's own or your phone's, before you press play. That's not a dig at anyone's willpower, it's just how the product is built. One catch: YouTube says you can have different Autoplay settings on different devices, so switching it off on your laptop doesn't switch it off on the phone by your bed. Do it on the device you watch in bed with.
If the switch won't stay where you put it, work through these fixes for YouTube autoplay not working, then come back and set your timer.
Why this matters beyond bedtime
This isn't just a sleep issue, it's a focus issue too. The same autoplay habit that keeps you watching in bed is the thing that eats an hour of your working afternoon when you open YouTube for "one quick tutorial." If you're trying to tighten up your working day, the same habit of setting a hard stop applies, and it's one of several things I'd put alongside the other productivity habits for entrepreneurs that hold up under pressure, because a timer only works if you also decide in advance what "done" looks like.
If you're someone who works from home and finds YouTube bleeding into both your evenings and your working hours, it's worth treating it the same way you'd treat any other distraction at your desk. There's a reason some of the better office productivity hacks that really work involve physically removing the option to drift rather than relying on self-control alone. A sleep timer on your phone is the same principle applied to your bed instead of your desk.
On sleep itself, I'll say plainly: if you're regularly struggling to switch off at night, that's worth raising with your GP rather than solving purely with app settings. This post is about managing the tech, not about diagnosing or fixing sleep problems, which is a medical conversation, not a blog post one.
If you'd rather send the video to the bedroom TV and let its timer do the work, here's how to cast YouTube to your TV.
If the video still played on
When a timer seems to fail, it's nearly always one of these, and each takes seconds to check the next night.
- The timer ended with a sound instead of stopping. On iPhone, "When Timer Ends" has to be set to "Stop Playing", which Apple's guide puts at the bottom of the list of sounds. If it's left on an alarm tone, the timer rings and the video carries on.
- You started the timer after the video. That works, but it's easy to forget once you're comfortable. Set the timer first, then open YouTube.
- The Android app timer had already run down. App timers count your whole day's use and reset at midnight, so check how much time was left before you started.
- Autoplay is still on for that device. Because the setting can differ per device, turning it off on your laptop leaves the phone by your bed untouched.
- It was playing somewhere else. A timer on your phone looks after your phone. If the video was on the TV, the TV's own sleep timer is the one that ends it.
A quick setup checklist
- Mainly audio or music before bed: use YouTube Music's built-in sleep timer
- Mainly video in the YouTube app: try the Sleep Timer in the player's gear menu first
- Video on an iPhone without that option: use the Clock app timer set to "Stop Playing"; on Android, set an App timer for YouTube in Digital Wellbeing
- Watching on a smart TV: use the TV's own sleep timer in system settings
- Either way: turn off YouTube's autoplay in your account settings so one video doesn't become five
- Set the timer before you start watching, not after you've already nodded off once
This guide is part of my YouTube Help: 30 Guides to Channels, Subscribers, Monetisation, Thumbnails and Fixes.
Frequently asked questions
Is there a sleep timer on the YouTube app itself?
Yes. 9to5Google reported in October 2024 that all users, free and Premium, were getting a Sleep Timer in the player's settings gear menu, from 10 minutes up to 1 hour or the end of the video. If yours doesn't show it, update the app or use your phone's own timer.
Can I have autoplay on my phone but off on my computer?
Yes. YouTube says Autoplay settings can differ for each device, so check it on each one you use.
Does turning off autoplay help with falling asleep to YouTube?
Yes. Autoplay is the main reason one video turns into hours of video, since YouTube queues the next one automatically until it stops itself (after 4 hours of inactivity on Wi-Fi, by YouTube's account). Turning it off in Settings > Autoplay means the app stops after your chosen video ends instead of continuing to serve you more.
Does YouTube autoplay run all night?
Not indefinitely. YouTube's help says Autoplay stops after 30 minutes of inactivity on mobile data and after 4 hours on Wi-Fi, which is still plenty of time to run through your night without a timer.
Where to check the details
Run a business, a brand or a blog? I feature tools, products and expert guest posts for an audience of 15,000. See how it works


