How to block YouTube on your Mac
To block YouTube on a Mac, use Screen Time for a continuous restriction, App Limits for a daily allowance, or Cactus for recurring focus hours. Add youtube.com and youtu.be, then test the block in every browser you use. Pick the method that matches when you still want access.
- Block YouTube continuously: add it to Screen Time's restricted websites.
- Limit daily YouTube time: add the site under Screen Time's App Limits.
- Block YouTube during work hours: create a recurring schedule in Cactus.
YouTube appears in more than one place on the web, so test youtube.com, www.youtube.com, m.youtube.com, and shortened youtu.be links. Cactus expands youtube.com to the first three automatically; add youtu.be separately if shortened links matter to you.
Method 1: Block YouTube with Screen Time
Screen Time is the built-in choice when YouTube should stay restricted rather than return at a scheduled time. Apple places website restrictions inside Content & Privacy, not in Safari's own settings.
- Open System Settings, choose Screen Time, and turn on App & Website Activity if it is off.
- Open Content & Privacy and turn it on.
- Choose App Store, Media, Web, & Games.
- Under Safari, choose Limit Adult Websites, then Customize.
- Add
youtube.comandyoutu.beto the restricted list. - Open YouTube in Safari and test both a normal video URL and a shortened link.
Apple documents the current controls in its guides to Content & Privacy restrictions and web-content settings.
This method is strongest when another person controls the Screen Time passcode. If you know the passcode and can change the settings immediately, the restriction adds less friction.
Method 2: Set a daily YouTube limit
Use an App Limit when you want some YouTube each day but do not want an open-ended session. This is a usage allowance, so it does not express a rule such as “block YouTube every weekday from 9:00 to 17:00.”
- Open System Settings, choose Screen Time, then App Limits.
- Choose Add Limit and find or add YouTube under websites.
- Set the daily allowance and customize it by day if weekends should differ.
- Save the limit and verify what happens when the allowance runs out.
Apple's App Limits guide covers the current macOS steps. Remember that watching in a browser and watching in a separate app may be counted or controlled differently, so test the route you actually use.
Method 3: Block YouTube on a recurring schedule
A recurring blocker fits a different rule: YouTube can exist on your Mac, but it should be unavailable during hours you chose earlier. This works well for work or study periods because the boundary returns automatically instead of depending on you to start a focus session each day.
In Cactus:
- Create a schedule and choose its recurring days.
- Set the start and end times for the protected hours.
- Add
youtube.comto the blocked websites. - Add
youtu.beif you also want shortened links blocked. - Save the schedule, then test it in every browser you use.
Cactus handles youtube.com, www.youtube.com, and m.youtube.com together. The schedule and active blocking state stay on your Mac, and the menu bar shows when access returns. Read how Cactus blocks websites for the enforcement details and the administrator boundary.
Cactus blocks websites today, not the native YouTube app or other desktop apps. A Mac administrator can also remove local software or change system settings, so this is a commitment device rather than an impossible-to-bypass parental-control system.
Which method should you use?
| Method | Best for | Access returns | Extra software |
|---|---|---|---|
| Screen Time restriction | Keeping YouTube continuously restricted | When the setting changes | No |
| Screen Time App Limit | Allowing a fixed amount each day | On the next allowance period | No |
| Cactus schedule | Protecting recurring work or study hours | At the scheduled end | Yes |
Start with Screen Time if a permanent Safari restriction solves the problem. Use App Limits if the amount of time matters. Use Cactus when the real rule is about specific recurring hours and you want that schedule to start without a daily decision.
For a broader comparison, see how to block websites on Mac or the Safari website blocker guide.
Common YouTube blocking problems
YouTube still opens from a shortened link
Add youtu.be separately. It is a different domain from youtube.com, even though it redirects to the same videos.
The homepage is blocked but an embedded video still plays
Embedded players can load through additional YouTube or Google-owned hostnames. Test the exact embedded page you care about; widening a block to every Google video hostname can also break unrelated services, so avoid copying a huge domain list without testing it.
The block works in Safari but not another browser
Screen Time's web-content control is centered on Safari. If you use Chrome, Firefox, Arc, or several browsers, test each one and choose a Mac-level blocker when you need the same scheduled rule across browsers.
The block is easy to turn off
That is an ownership problem rather than a missing domain. Use a Screen Time passcode controlled by someone else for a restriction, or use a scheduled blocker when you want deliberate friction during specific hours. No local app can honestly prevent a determined Mac administrator from removing it.
YouTube is useful for work too
A blanket block may be too broad. Protect only the hours where habitual viewing is the problem, or use a separate browser profile for necessary work videos. The useful boundary is the smallest one that reliably interrupts the reflex without blocking the work you intended to do.
Test the result before relying on it
Open a normal YouTube video, a youtu.be link, a mobile URL, and an embedded video. Repeat the test in every browser you actually use, then confirm exactly when access returns. A block is useful only when its real behavior matches the rule you thought you created.
