How to Block YouTube¶
This guide covers different approaches to blocking YouTube, from a complete block to more nuanced restrictions.
Complete YouTube Block¶
To block all YouTube access:
- Open Focus settings (admin password required).
- Go to Domain Management > Block List.
- Click Add and enter the following domains:
youtube.com
youtu.be
ytimg.com
googlevideo.com
youtube-nocookie.com
- Click Save.
This blocks the YouTube website, embedded videos on other sites, and YouTube's video delivery network.
Block YouTube but Allow Specific Channels¶
If you want to block YouTube in general but allow access to specific educational channels:
- Block
youtube.comas described above - Add specific allowed URLs to the Allow List:
- Example:
youtube.com/@ChannelNameor specific video URLs
- Example:
Limitations
URL-level allow listing may not work perfectly with YouTube's dynamic content loading. For more reliable selective access, consider using YouTube's built-in Restricted Mode as a complement to Focus blocking.
Block YouTube in Parental Mode¶
The easiest approach for parents:
- Go to Parental > [Child's Name] > Category Filtering
- Block the Video Streaming category
- This blocks YouTube along with other streaming platforms
To block only YouTube while allowing other streaming services:
- Leave the Video Streaming category allowed
- Add
youtube.comand related domains to the block list manually
Time-Limited YouTube Access¶
Instead of a complete block, allow YouTube for a limited time each day:
- Go to App Limits or Domain Management
- Add
youtube.comas a time-limited domain - Set a daily limit (e.g., 30 minutes or 1 hour)
- YouTube becomes inaccessible once the limit is used up
Schedule-Based YouTube Block¶
Block YouTube during work or study hours only:
- Add
youtube.comto the block list - Configure the rule schedule (e.g., Monday-Friday, 9 AM to 5 PM)
- YouTube is accessible outside the scheduled hours
Verifying the Block¶
After setting up the block:
- Open your browser and go to
youtube.com - You should see the Focus block page
- Also test
youtu.be(YouTube's short URL) to confirm it is blocked
Embedded Videos
Blocking youtube.com also prevents embedded YouTube videos on other websites from playing, since they load from YouTube's servers.