As an administrator, you can set up your network or managed devices to restrict which YouTube videos are available to employees and students in your organization.
Restrict YouTube content available to users
We offer Strict and Moderate content restriction options. Learn more about what content is available in Restricted Mode.
Option 1: DNS- Open your network’s DNS settings.
- Add a CNAME for the following hostnames:
- youtube.com
- m.youtube.com
- youtubei.googleapis.com
- youtube.googleapis.com
- youtube-nocookie.com
- To set strict restricted access, set the CNAME value to restrict.youtube.com.
To set moderate restricted access, set the CNAME value to restrictmoderate.youtube.com.
Do not give a CNAME to other YouTube hostnames, such as:
- youtube.com
- s.ytimg.com
- youtu.be
- googleapis.com
- youtubeeducation.com
If you change the CNAME for these hostnames, YouTube might not function correctly.
Insert an HTTP header into requests to the following domains:
- youtube.com
- m.youtube.com
- youtubei.googleapis.com
- youtube.googleapis.com
- youtube-nocookie.com
To set strict restricted access, insert YouTube-Restrict: Strict.
To set moderate restricted access, insert YouTube-Restrict: Moderate.
Note: HTTP header filtering is not supported for native mobile applications.
Go to Safe Search and Restricted Mode to learn how to enable YouTube Restricted Mode.
Approve specific content for your network
Administrators can make additional videos viewable for signed-in users in your organization by adding YouTube video approvers or giving unrestricted YouTube access. You can configure these settings for YouTube in the Admin console for your organization.
Allow embedded YouTube videos in Google Workspace for Education services
If your organization currently allows or blocks YouTube videos in Google Workspace for Education services, you need to add youtubeeducation.com to these lists. This will preserve the way your organization uses YouTube videos in Google Workspace for Education services, such as Google Classroom or Google Slides.