The main ways to block YouTube

You can block YouTube at three different levels: on a single device using built-in settings, across all devices on your home network using your router, or on a specific user account using parental controls. The method you choose depends on whether you want to block it for yourself, for other people on your network, or for a particular device.

Device-level blocking works immediately but only affects that one computer or phone. Network-level blocking stops YouTube for everyone connected to your WiFi, which is useful if you manage a household or office network. Account-level blocking through parental controls lets you restrict YouTube on a specific user profile while leaving other accounts unrestricted.

Key Takeaways

  • Windows and Mac computers have built-in parental controls that can block YouTube on specific user accounts without affecting other users.
  • Your router's admin panel lets you block YouTube for all devices on your network by filtering the domain, though you will need your router's password.
  • iPhone and Android both offer screen time and parental control features that can restrict YouTube access by time of day or completely.
  • Browser extensions like Freedom and Cold Turkey can block YouTube on Windows, Mac, and Linux, and some let you set schedules or time limits.
  • YouTube's built-in Restricted Mode filters mature content but does not fully block the app or website.

Blocking YouTube on Windows

The simplest method on Windows is to use the built-in parental controls through Family Safety. Open Settings, go to Accounts, then Family & other users, and select the account you want to restrict. Click Parental controls and turn on the feature, then go to App and game restrictions. From there you can search for YouTube and block it entirely, or set time limits for when it can be used.

This approach only affects the user account you configure — other people logging into the same computer will not be blocked. If you want to block YouTube across all accounts on the machine, you will need to repeat the process for each account, or use a third-party tool like Cold Turkey or Freedom instead.

A third option is to edit your hosts file to redirect YouTube's domain to a blank address. Open Notepad as administrator, go to File > Open, and navigate to C:\Windows\System32\drivers\etc\hosts. Add the line "127.0.0.1 youtube.com" at the end, save the file, and YouTube will no longer load in any browser on that computer. This method persists until you manually remove the line, but it requires some comfort with system files.

Blocking YouTube on Mac

On Mac, use Screen Time to block YouTube on a specific user account. Open System Settings, click Screen Time, and select the account you want to restrict from the sidebar. Turn on Screen Time, then go to App Limits and add YouTube to the restricted apps, or set a daily time limit. You can also use Downtime to block all apps during certain hours.

Like Windows Family Safety, this only affects the account you configure. If you share your Mac with others, you will need to set up Screen Time for each account separately, or use a device-wide blocker like Cold Turkey.

You can also edit the hosts file on Mac the same way as Windows: open Terminal, type "sudo nano /etc/hosts", enter your password, add "127.0.0.1 youtube.com" at the end, then press Control+X, Y, and Enter to save. This blocks YouTube for all users on the Mac until you reverse it.

Blocking YouTube on iPhone and Android

On iPhone, use Screen Time to restrict YouTube. Go to Settings > Screen Time, tap App Limits, and add YouTube with a daily time limit of zero minutes. Alternatively, go to Content & Privacy Restrictions, turn it on, select Apps, and set YouTube to "Don't Allow". You will need to set a Screen Time passcode so the restriction cannot be easily disabled.

On Android, the method depends on your device. Most Android phones have Digital Wellbeing built in: go to Settings > Digital Wellbeing, select the app you want to limit, and set a daily limit or use Downtime to block it during certain hours. If your phone does not have Digital Wellbeing, go to Settings > Parental controls (or Family Link if you are managing a child's device) and configure restrictions there.

Both systems let you set time-based restrictions so YouTube is only blocked during certain hours, or you can set the daily limit to zero to block it completely. Keep in mind that determined users can sometimes uninstall the YouTube app and access it through a web browser instead, so these controls work best as a deterrent rather than an absolute barrier.

Blocking YouTube on your home network

To block YouTube for all devices connected to your WiFi, log into your router's admin panel. Open a web browser and type your router's IP address — usually 192.168.1.1 or 192.168.0.1 — then enter your router's username and password (often "admin" and "admin", or printed on the router itself).

Once logged in, look for a section called Parental Controls, Content Filtering, or Access Control. Add YouTube's domain (youtube.com) to the blocked list, or block the IP addresses that YouTube uses. The exact steps vary by router manufacturer — Netgear, TP-Link, and Linksys all have different interfaces — so check your router's manual if you cannot find the filtering section.

Network-level blocking affects every device on your WiFi, including phones, tablets, and computers. However, users can bypass it by switching to mobile data or connecting to a different network. Some routers also let you set schedules so YouTube is only blocked during certain hours, which is useful if you want to allow it in the evenings but block it during work or school hours.

Using browser extensions to block YouTube

Browser extensions like Freedom, Cold Turkey, and LeechBlock NG let you block YouTube on Windows, Mac, and Linux computers. Install the extension from your browser's app store, configure which sites to block, and set a schedule if you want to block YouTube only during certain times of day.

Freedom and Cold Turkey are paid tools but offer more features: you can set different schedules for different days, block YouTube on a timer, or create "focus sessions" where all distracting sites are blocked. LeechBlock NG is free and lets you block sites by time of day or set a daily time limit.

The advantage of extensions is that they work across all browsers on your computer and are harder to disable than built-in parental controls. The disadvantage is that they only work on computers, not on phones or tablets, and a determined user can uninstall the extension if they know the password.

YouTube's Restricted Mode and other built-in options

YouTube itself has a Restricted Mode feature that filters out mature content, but it does not block YouTube entirely — it only hides videos marked as age-restricted. To turn it on, scroll to the bottom of any YouTube page, click Restricted Mode, and toggle it on. You can lock Restricted Mode by signing out of your Google account, which makes it harder to disable.

This is not a true block and should not be relied on if your goal is to prevent access to YouTube altogether. It is useful only if you want to filter mature content while still allowing YouTube use.

If you want to block YouTube on a Google account across all devices, you can use Google Family Link, which is designed for managing children's accounts. This works on any device where the child is signed into their Google account, but it requires setting up a separate managed account, which is more involved than the other methods listed here.

Frequently Asked Questions

Can someone bypass a YouTube block I set up?

Yes, depending on the method. Device-level blocks can be bypassed by uninstalling an app and using a web browser instead, or by switching to mobile data. Network-level blocks can be bypassed by connecting to a different WiFi network or using a VPN. Parental controls with a passcode are harder to bypass but not impossible for a determined user with technical knowledge.

Will blocking YouTube affect other Google services?

If you block YouTube at the network level by filtering the domain, you will only block youtube.com and youtube-nocookie.com. Other Google services like Gmail, Google Drive, and Google Search will continue to work. If you use parental controls on a user account, you can usually choose to block only YouTube without affecting other apps.

How do I unblock YouTube after I have blocked it?

The steps depend on the method: for parental controls, go back to the settings and turn off the restriction or remove YouTube from the blocked list. For router-level blocks, log back into your router and remove YouTube from the content filter. For hosts file edits, open the file again and delete the line you added. For browser extensions, uninstall the extension or disable it in your browser settings.

What is the difference between a time limit and a complete block?

A time limit lets you set how many minutes per day YouTube can be used, after which it becomes unavailable until the next day. A complete block prevents access to YouTube at all times. Time limits are useful if you want to allow some YouTube use but prevent excessive viewing, while complete blocks are better if you want to eliminate it entirely.

Can I block YouTube only during certain hours?

Yes, most parental control systems and router filters let you set schedules. You can configure YouTube to be blocked during work hours or school hours but available in the evening, for example. Browser extensions like Freedom and Cold Turkey also support time-based blocking with more granular control over which days and times apply.