
There is nothing more annoying than settling in to watch a YouTube video on your iPhone, glancing away for a moment, and coming back to a black screen. You tap to wake it, the video is paused, you press play — and half a minute later it locks again. The good news is that this is almost never a hardware problem: in nearly every case, the culprit is a single timer setting — or the battery mode that secretly controls it.
Check Low Power Mode first
Before touching anything else, open Settings > Battery and look at Low Power Mode. This is the most common hidden cause of the problem: when Low Power Mode is on, iOS forces Auto-Lock to 30 seconds to save energy, and the Auto-Lock setting itself becomes greyed out so you cannot change it. If the toggle is on, switch it off. If your battery is running low, plug the phone in first so the mode does not switch itself back on.
Lengthen the Auto-Lock timer
- Go to Settings > Display & Brightness > Auto-Lock.
- Choose 5 Minutes — or Never if you want the screen to stay on for a whole movie.
That is usually all it takes. One habit worth building: restore Auto-Lock to 1–2 minutes when you are done watching. Leaving it on Never drains the battery noticeably faster and leaves your phone unlocked on the table, which is a genuine security risk. Apple’s iPhone support documentation covers these settings in detail.
Use the YouTube app instead of Safari
The official YouTube app normally keeps the screen awake on its own during playback, independent of the system timer. Watching in Safari or another browser is a different story: browser playback may not send the same “keep awake” signal, so the Auto-Lock timer can kick in mid-video. If you usually watch through a browser tab, install the free YouTube app and play your videos there instead. 9to5Mac has covered similar quirks where the app and the web player behave differently during playback.
If the YouTube app itself misbehaves
Sometimes the app is the problem rather than the settings: it may pause or let the screen lock even with a generous Auto-Lock interval. In that case, update the YouTube app in the App Store — a surprising number of playback bugs are fixed by updates — and if the issue persists, delete the app and reinstall it. Sign back in and your subscriptions and history will be waiting for you.
If it still doesn’t work
If the screen keeps darkening with Low Power Mode off and a long Auto-Lock set, restart the iPhone to clear any stuck system timers, and check Settings > General > Software Update for a pending iOS update. Persistent odd behavior across many apps can also be a sign of a deeper software glitch worth investigating.
Since the lock screen is the theme of the day, you may also want to disable the quick camera launch from the iPhone lock screen to avoid accidental swipes while handling the phone — and if the lock screen layout itself bothers you, here is how to move lock screen widgets down in iOS 26.
FAQ
Why is the Auto-Lock option greyed out?
That is Low Power Mode doing its job: it forces a 30-second Auto-Lock and locks the setting. Turn Low Power Mode off in Settings > Battery (and charge the phone if the battery is low) and the Auto-Lock options become selectable again.
Is it bad to set Auto-Lock to Never?
Temporarily, no — it is the simplest fix for long viewing sessions. Just remember to switch back to 1–2 minutes afterwards: a screen that never sleeps drains the battery much faster and leaves your notifications and apps exposed to anyone who picks up the phone.
Conclusion
An iPhone that keeps locking during YouTube almost always comes down to the Auto-Lock timer — with Low Power Mode as the sneaky accomplice forcing it to 30 seconds. Turn Low Power Mode off, give Auto-Lock a longer interval (or Never for the session), and prefer the YouTube app over the browser. Set the timer back when you are done, and your videos will play through uninterrupted.
