To block YouTube at night on iPhone, add a Screen Time Schedule in iOS 27, or turn on Downtime with Block at Downtime in iOS 26, covering bedtime to wake time. YouTube's own bedtime reminder only shows a prompt you can dismiss or snooze for 15 minutes, so pair it with a real block.
If you want to block YouTube at night, you are fighting one specific feature more than any other: autoplay. YouTube says that when autoplay is on, another related video will be played automatically after a video ends.1 You do not have to decide to keep watching. You have to decide to stop.
A night block closes that loop. YouTube will not open between a set evening time and a set morning time, no matter what the next video is.
How to block YouTube at night on iPhone
Apple renamed these settings in iOS 27, so use the section that matches your phone.
iOS 27: Screen Time Schedule
In iOS 27, Screen Time uses Schedules for when you can use apps and Time Allowances for how long.2
- Open Settings, then tap Screen Time.
- Tap Screen Time Schedule, then turn on Schedule.2
- Tap Add Schedule, tap the days of the week you want, then confirm.
- Tap the Time Window, rename it to something like Night, then set the start and stop times.2
- Choose which Time Allowance categories stay available in that window, and leave Entertainment out of it.2
- Tap Always Allowed so calls and anything you genuinely need still work.2
Apple notes that Schedules and Time Allowances need iOS 27 or later on all your Apple devices.2
iOS 26: Downtime and App Limits
On iOS 26, Downtime handles the schedule and App Limits handle daily caps.3
- Open Settings, tap Screen Time, then tap App & Website Activity and turn it on if it is off.
- Tap Downtime, then tap Scheduled.
- Choose Every Day or Customize Days, then set your start and end times.3
- Go back into Downtime and turn on Block at Downtime.3
Remember that YouTube also runs in Safari. Blocking the app alone leaves the website open, so block the site too. Our guide to using Downtime on iPhone covers that step.
YouTube autoplay and why it matters in bed
Autoplay is the reason a short session stretches. YouTube says it stops automatically if you have been inactive for 30 minutes on a mobile network, and after four hours on Wi Fi.1 Most bedrooms are on Wi Fi. If you doze off, the queue can keep running for hours.
To turn it off on iPhone: tap your profile picture, tap Settings, tap Autoplay, then switch autoplay off.1 YouTube says autoplay is turned off by default for users aged 13 to 17, and adults can turn it on or off at any time.1
Turning autoplay off removes the conveyor belt. It does not stop you choosing the next video yourself, which is why it is a good first step rather than a fix.
What does YouTube's bedtime reminder do?
YouTube has a night setting of its own. On iPhone, tap your profile picture, tap Settings, tap General, then use the switch next to Remind me when it is bedtime. Turn it on and pick a start and end time, then tap OK.4
Two details worth knowing. You can choose Wait until I finish video, so the reminder holds off until your current video ends.4 And when the reminder appears, you can dismiss it by tapping in the top right, or tap Remind Me Again to be prompted again in 15 minutes.4
YouTube says the bedtime reminder is on by default for users aged 13 to 17, and off by default for users aged 18 or over.4 If you are an adult, nothing is protecting your bedtime unless you switch it on.
It is still only a reminder. It interrupts a video. It does not close the app, and it will not stop you opening YouTube again two minutes later.
How much YouTube are we watching at night?
Ofcom reports that time on YouTube in the UK is increasing, reaching an average of 51 minutes a day, not including the TV set, and that YouTube reaches 94 percent of UK adults.5 Among children aged 8 to 14, Ofcom found that across YouTube, Snapchat, TikTok and WhatsApp, 15 to 24 percent of the time spent for that age group happens between 9pm and 5am.5
Late is where the watching goes. That is the window worth defending.
Why a night block beats a daily limit
In a study of 45,202 Norwegian university students aged 18 to 28, each extra hour of screen use after going to bed was linked to 59 percent higher odds of reporting insomnia symptoms and to 24 minutes less sleep. The link was not significantly different for social media than for other screen activities, so it is the time in bed that matters, not only which app you are in.6
The phone is usually on the nightstand. In an online survey of 2,005 US adults for the American Academy of Sleep Medicine in March 2023, 87 percent said they regularly sleep with their phone in their bedroom.7 The NHS suggests trying not to use phones, tablets or computers for an hour before bed.8
Firm limits also beat gentle ones. In the randomised experiment behind the paper Digital Addiction, the authors report that allowing people to set limits on their future screen time substantially reduces use, and estimate that self control problems account for 31 percent of social media use.9
| Option | What it does at night | Can you carry on? |
|---|---|---|
| Autoplay off | Stops the next video starting by itself | Yes, you can still press play |
| YouTube bedtime reminder | Shows a prompt at your chosen time | Yes, dismiss or snooze 15 minutes |
| iOS 27 Screen Time Schedule | Sets when apps are available | Depends on your passcode |
| iOS 26 Downtime, Block at Downtime on | Apps dim and will not open | Only with the passcode |
| Bedtime app blocker | Blocks chosen apps every night | Depends on the app |
Do all three if you can: autoplay off, reminder on, block underneath. For the habit itself, see how to stop scrolling in bed.
Where SETL fits
SETL is an iPhone app blocker built bedtime first, on Apple's Screen Time framework. You set your bedtime once and your chosen apps, YouTube included, are blocked automatically every night. Apple gives SETL private tokens, so SETL never learns which apps you picked and your Screen Time data stays on the phone. If the late video is your weak spot, that is what SETL Sleep is for.
This article is general information, not medical advice. Speak to your doctor about ongoing sleep, attention or mental health concerns.
Sources
- YouTube Help, Autoplay videos, checked September 2026
- Apple Support, Set Screen Time Schedules and Time Allowances in Screen Time on iPhone (iOS 27), 2026
- Apple Support, Set schedules with Screen Time on iPhone (iOS 26), 2026
- YouTube Help, Set a bedtime reminder (iPhone and iPad), checked September 2026
- Ofcom, From apps to AI search: how the UK goes online in 2025 (Online Nation), 2025
- Hjetland, Skogen, Hysing, Gradisar and Sivertsen, How and when screens are used: comparing different screen activities and sleep in Norwegian university students, Frontiers in Psychiatry, 2025
- American Academy of Sleep Medicine, Sleep Prioritization Survey: Sleeping with Phones in the Bedroom, 2023
- NHS Every Mind Matters, Fall asleep faster and sleep better
- Allcott, Gentzkow and Song, Digital Addiction, American Economic Review, 2022