Millions of people rely on audio to help them fall asleep, whether it is a calming lo-fi playlist on Spotify, a white noise track on Apple Music, or a long podcast episode. The problem is that if you fall asleep, the audio will continue playing all night long. This drains your iPhone battery, ruins your algorithm recommendations, and can even wake you up hours later. To solve this, you do not need to download a sketchy third-party sleep timer app; Apple built a universal audio kill-switch directly into the core operating system.
How to Use the Hidden Sleep Timer
The sleep timer is cleverly hidden inside the native Clock app, disguised as a regular kitchen timer setting.
- Open the native Apple Clock app on your iPhone.
- Tap the Timers tab in the bottom right corner of the screen.
- Set the countdown duration for however long you want the music to play (e.g., 45 minutes or 1 hour).
- Look just below the numbers and tap the button labeled When Timer Ends.
This menu normally allows you to pick the ringtone that will sound when the timer hits zero (like “Radar” or “Chimes”).
- Scroll all the way down to the very bottom of this ringtone list.
- Tap the very last option: Stop Playing.
- Tap Set in the top right corner.
- Finally, tap the green Start button to begin the countdown.
How the “Stop Playing” Function Works
Once you hit start, you can leave the Clock app, open your favorite audio app (Spotify, YouTube, Apple Podcasts, Audible, etc.), and hit play on your media. Then, simply lock your screen and go to sleep.
The moment that hidden timer reaches zero, iOS intercepts the audio output and forcefully pauses whatever media is currently playing, regardless of what application is generating it. It will also lock your screen (if it was somehow left on), ensuring your phone goes completely dormant for the rest of the night, saving your battery and preserving your sleep.