Search
Clear search
Close search
Google apps
Main menu
true

Restrict YouTube content on your network or managed devices

You can set up your network or managed devices to restrict which YouTube videos are viewable by users.

We offer Strict and Moderate content restriction options. Learn more about what content is available in Restricted Mode. 

Option 1: DNS

Configure Domain Name System (DNS) on your network to add a Canonical Name (CNAME) for the following hostnames: 

  • www.youtube.com
  • m.youtube.com
  • youtubei.googleapis.com
  • youtube.googleapis.com
  • www.youtube-nocookie.com

For Strict Restricted YouTube access, add restrict.youtube.com as a CNAME for these domains. For Moderate Restricted YouTube access, add restrictmoderate.youtube.com as a CNAME for these domains.

Please do not give a CNAME to other YouTube hostnames, including these:

  • youtube.com
  • s.ytimg.com
  • youtu.be
  • googleapis.com

Changing the CNAME for these hostnames affects YouTube's ability to function correctly.

Option 2: HTTP headers

Insert an HTTP header into requests to the following domains:

  • www.youtube.com
  • m.youtube.com 
  • youtubei.googleapis.com
  • youtube.googleapis.com
  • www.youtube-nocookie.com

For Strict Restricted YouTube access, use the HTTP header YouTube-Restrict: Strict. For Moderate Restricted YouTube access, use the HTTP header YouTube-Restrict: Moderate.

Note: At this time, we do not support HTTP header filtering for native mobile applications.

Option 3: Chromebooks

See Set Chrome policies for users to learn how to enable Restricted Mode.

Approve specific content for your network

If you're the administrator of a G Suite organization, you 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 G Suite organization.

Was this article helpful?
How can we improve it?
Sign in to your account

Get account-specific help by signing in with your G Suite account email address, or learn how to get started with G Suite.