Setting a sleep timer on YouTube helps you enjoy music, podcasts, or videos in bed or at night without keeping your phone or computer awake all night. This guide walks you through safe, simple steps for different devices and apps so you can set it up in seconds.
Below is a quick reference that compares how sleep timer controls appear on the YouTube app, mobile browser, desktop browser, and smart TV, including what you can set and where to find them.
| Platform | Location | Auto-stop behavior | Minimum delay |
|---|---|---|---|
| Android & iOS app | Now playing card > three dots > Sleep timer | Stops playback and closes video | 1 minute |
| Mobile browser | Desktop site player > Settings > Sleep timer (if available) | Pauses or ends HTML5 playback | Variable, often 5 minutes |
| Desktop browser | Extensions or third-party script; native player has no built-in option | Depends on extension or script | Depends on extension |
| YouTube TV app | Profile > Settings > General > Sleep timer | Starts TV back to home after time ends | 15 minutes, adjustable up |
How the YouTube app sleep timer works on Android and iOS
On Android and iOS, the sleep timer lives inside the Now Playing card. While a song or video plays, tap the miniplayer or open the full player, then tap the three dots and choose Sleep timer. You can pick preset intervals like 15 minutes, 30 minutes, 60 minutes, or until video ends. YouTube counts down in the background and stops playback automatically, which prevents your device from staying on all night and saves battery.
Because YouTube streams media rather than downloading full files, the timer works while the app is in the foreground and, on many devices, for a short time after you background the app. The feature is designed to be consistent whether you are using Mobile Data or Wi‑Fi, so you do not need to change network settings. If you use YouTube Music separately, the same Sleep timer option appears in the music player with identical preset choices.
Reliability and edge cases
If you switch apps or lock your screen, the countdown continues and playback stops at the chosen time. On slower connections or when a video fails to preload, YouTube may finish the current segment and then pause, which can feel slightly delayed. The timer does not restart if you manually press Play again, but on some versions you can adjust or disable it from the same three-dot menu. For background playback with the screen off, ensure you are using the official app and not a restricted third-party client that might ignore system media controls.
Using a sleep timer on desktop browsers and extensions
On desktop, YouTube’s web player does not include a native sleep timer, but you can achieve the same effect through browser extensions or by using a third-party wrapper that adds timer controls to the player. These extensions typically add a small overlay with time presets, and they work by pausing or stopping the video after your chosen interval. They are convenient if you listen to long mixes or study sessions and want the page to stay open without interaction.
Because extensions run in your browser, they can be affected by ad blockers, script blockers, or updates to YouTube’s interface. Choose extensions that are regularly maintained and read permissions carefully to ensure they only control playback and do not access unrelated data. If you prefer not to install extensions, you can use your operating system’s idle sleep settings or media center tools to turn off the display after a period of inactivity.
Setting a sleep timer on YouTube TV and smart TV devices
On YouTube TV and on TV apps for Android TV, Fire TV, Apple TV, and similar platforms, the Sleep timer appears in the Settings under your profile. You can choose intervals such as 15, 30, 45, or 60 minutes, and the app will minimize the current app and return to the home screen when time is up. This is particularly useful when you fall asleep while browsing channels or watching a late-night show.
Because TV sessions often run for hours, the timer helps avoid wasted electricity and unexpected auto-play the next video. If multiple people share the profile, keep in mind that the setting applies to the current session and can be changed by anyone using the remote. For temporary use, you can enable it at the start of a show and clear it once you are fully asleep or leave the room.
Key points and setup recommendations for using YouTube sleep timer
- Use the sleep timer on the Now Playing card in the YouTube app for the quickest, most reliable experience.
- Pick intervals that match your typical listening or viewing session, such as 15 minutes for short relaxation or 60 minutes for long study sessions.
- Remember that desktop browser requires extensions or third-party tools, since YouTube web does not include a native timer.
- Check that no background audio restrictions on your device are pausing music when the screen locks.
- If you share profiles, confirm the timer is set only when needed to avoid interrupting other viewers.
FAQ
Reader questions
Will using the sleep timer on YouTube stop my music if I close the app?
Yes, when you pick a preset such as 15 or 30 minutes, YouTube stops playback and closes the video at the chosen time, even if you have switched away from the app or locked the screen.
Can I set a custom minute value instead of the preset intervals?
On mobile apps, you can only choose the provided presets like 15, 30, 45, or 60 minutes. Custom minute values are not available in the native sleep timer interface.
Does enabling the sleep timer on desktop work without extensions?
No, the YouTube web player does not include a built-in sleep timer, so you need a browser extension or a third-party site wrapper to get auto-stop on desktop.
Will the sleep timer affect recommendations or my watch history?
It will not change recommendations, because the timer only stops playback; however, if you frequently sleep before a video ends, the algorithm may register incomplete watches, which can slightly influence future suggestions.