How to Block YouTube on Chrome: Step-by-Step Guide

Posted by

YouTube is a great place to watch tutorials, learn new skills, and enjoy entertainment. However, it can also become a distraction when you are trying to work, study, or manage your kids’ screen time. If you use Google Chrome on a Windows 11 or Windows 10 PC, blocking YouTube can help you stay focused and control access to the platform.

You can use a browser extension for a quick setup, edit the Windows Hosts file for a system-level restriction, configure parental controls for a child’s account, or install a third-party website-blocking app.

In this guide, you’ll learn how to use each method step by step.

Block YouTube on Chrome [5 Methods]

How to Block YouTube on Chrome
How to Block YouTube on Chrome

You can block YouTube on Chrome using browser extensions, system-level Hosts file edits, parental controls, or third-party apps for flexible and secure restrictions.

To block YouTube on Chrome, choose the method that fits your needs.

1: Block YouTube Using a Chrome Extension

Using a Chrome extension is one of the easiest ways to block YouTube. This method is suitable if you want to restrict access in Chrome without changing Windows system settings.

Start by opening Google Chrome on your computer. Visit the Chrome Web Store by opening a new tab and searching for the official Chrome Web Store. Search for a website-blocking extension, such as BlockSite, and review its permissions, privacy information, and recent user feedback before installing it.

Once you find an extension that meets your needs, select it and click Add to Chrome. Confirm the installation when prompted. After installation, open the extension from Chrome’s Extensions menu, which you can access through the puzzle-shaped icon near the address bar.

Open the extension’s settings and look for an option such as Block Sites, Blocked Websites, or Block List. Add youtube.com to the list. If the extension supports domain-wide blocking, configure it to cover YouTube’s subdomains as well.

For example, you may need to block www.youtube.com and m.youtube.com if the extension does not automatically cover them. Follow the extension’s own instructions because available features vary.

Open a new tab and try visiting YouTube. If the extension is configured correctly, it should prevent access or display a blocked-page message.

Important: This method is convenient, but it is not tamper-proof. Someone who can disable or uninstall the extension may regain access to YouTube. Consider using a password-protected account or managed browser settings if you need stronger restrictions.

2: Block YouTube by Editing the Windows Hosts File

The Windows Hosts file lets your computer associate specific domain names with IP addresses. You can use it to redirect YouTube domain requests to your own computer, although this approach has limitations and may not block every YouTube feature or related domain.

To begin, open the Start menu and search for Notepad. Right-click Notepad and select Run as administrator. Approve the permission prompt if Windows asks for confirmation.

In Notepad, select File > Open. Navigate to the following folder:

C:\Windows\System32\drivers\etc

Change the file type selector from text documents to All files. Select the file named hosts and open it.

Scroll to the bottom of the file and add these entries on separate lines:

127.0.0.1 youtube.com

127.0.0.1 www.youtube.com

Save the file using File > Save. If Windows refuses to save the changes, verify that Notepad was opened with administrator privileges and that you edited the original Hosts file rather than a separate text document.

Next, open Command Prompt as an administrator. Enter the following command and press Enter:

ipconfig /flushdns

This clears the Windows DNS resolver cache. Close and reopen Chrome, then test YouTube.

Keep in mind: Hosts file entries are not a comprehensive website-blocking solution. YouTube uses multiple domains and services, and redirecting a domain to 127.0.0.1 may not block all associated content. Other browsers on the same computer may also be affected by these entries. If the change causes unexpected problems, reopen the Hosts file as an administrator, remove the lines you added, save the file, and flush the DNS cache again.

3: Use Parental Controls to Restrict YouTube

If you want to block YouTube for a child, parental controls can provide more useful oversight than a regular Chrome extension.

On a Windows 10 or Windows 11 computer, Microsoft Family Safety lets a family organizer manage supported screen-time and web-filtering settings. However, web filtering features may depend on the child’s account, browser, and current Microsoft Family Safety requirements. Microsoft’s web filtering has traditionally worked most consistently with Microsoft Edge, so do not assume that a restriction configured there will automatically block YouTube in Chrome.

To get started, open Windows Settings and navigate to Accounts > Family or the family-management section available in your version of Windows. Add the child’s Microsoft account to your family group if it is not already there.

Next, open Microsoft Family Safety and select the child’s profile. Review the available Content filters, Web and search filters, and screen-time settings. Enable the restrictions that are appropriate for your family and follow the prompts to configure the supported browser and website rules.

If the settings do not support restricting YouTube in Chrome, use a compatible parental-control solution that explicitly supports Chrome, or apply a restriction at the router or DNS level. Make sure the child’s Windows account does not have administrator privileges if you want to prevent them from changing system settings.

For additional age-appropriate controls, you can also explore YouTube Restricted Mode or supervised YouTube experiences. These features help limit certain content, but they do not completely block access to YouTube.

4: Block YouTube With a Third-Party App

A dedicated website-blocking app can be useful if you want to block YouTube on a schedule or restrict access across several browsers.

First, choose a reputable application that supports Windows and website blocking. Examples include Cold Turkey Blocker and Freedom. Before installing either tool, review its current features, pricing, permissions, and compatibility with your Windows version.

Download the application from its official website and complete the installation. Open the app and create a new block list. Give the list a name, such as YouTube Restrictions, so you can identify it later.

Add youtube.com to the list. If the application supports domain patterns or subdomains, configure those options according to its instructions. Some applications offer additional restrictions for related domains, but blocking too broadly may affect other websites or services.

Next, select the restriction settings you need. For example, you may be able to block YouTube during work hours, schedule study sessions, or activate a block for a set period. Save the settings and activate the block list.

Open Chrome and try accessing YouTube. If the website still loads, check whether the app requires a browser extension, a background service, or additional permissions.

A dedicated blocking app may offer stronger controls than a standard Chrome extension, but the level of protection depends on the product and its configuration. If the app allows users to disable restrictions easily, it may not be suitable for strict parental controls.

5: Block YouTube Through Your Router or DNS Settings

If you want to block YouTube for multiple devices connected to your home network, a router-level or DNS-based filter may be a better choice.

Start by opening your router’s administration page. The correct address varies by router, so check the label on the device or its user manual. Sign in with your administrator credentials.

Look for settings named Parental Controls, Website Filtering, Access Restrictions, or DNS Filtering. Not every router includes these features, so the available options will depend on your hardware and firmware.

If your router supports website blocking, add YouTube’s domain to the restricted list and save the changes. If it supports only category filtering, check whether video-streaming restrictions are available.

Alternatively, you can configure a reputable family-filtering DNS service that supports custom domain restrictions. Some services provide a dashboard where you can add websites to a block list. Follow the provider’s setup instructions for your router or network.

After applying the changes, reconnect your devices if necessary and test YouTube in Chrome.

Remember that router and DNS restrictions are not foolproof. They may not apply when a device switches to mobile data, uses a VPN, or changes its DNS settings. Also, blocking YouTube’s domains can affect embedded videos on other websites.

FAQs

Can I block YouTube on Chrome without installing an extension?

Yes. You can edit the Windows Hosts file or use compatible parental controls, DNS filtering, or a third-party blocking application. Each method has different limitations, so choose one based on whether you want a quick restriction or broader protection.

How do I block YouTube permanently on Chrome?

A regular extension is usually not enough for a permanent restriction because it may be disabled or removed. A managed computer account, a properly configured blocking application, or network-level filtering with restricted administrator access can make the restriction harder to bypass. No single method guarantees permanent blocking in every situation.

Can I block YouTube only during working hours?

Yes. Some website-blocking extensions and dedicated apps offer scheduled blocking. Create a rule for YouTube, choose the hours when you want access restricted, and activate the schedule. Check whether your chosen tool supports recurring schedules before installing it.

Will blocking YouTube in Chrome also block it in other browsers?

It depends on the method. A Chrome extension generally affects Chrome only. Windows Hosts file changes apply to domain resolution across applications, while router and DNS restrictions can affect multiple devices or browsers using that network configuration.

Why can I still open YouTube after blocking it?

You may have blocked only one domain, failed to save the settings, or configured a tool that does not cover all YouTube services. A browser extension may also be disabled, or a DNS restriction may be bypassed by another network configuration. Review the block list, restart Chrome, and check the method’s limitations.

Can I block YouTube without blocking other Google services?

Usually, yes. Add only the YouTube domains to your restriction list rather than blocking the entire Google domain. However, YouTube may rely on related domains for video playback, images, and other functions, so additional restrictions can sometimes affect embedded videos or related services.

Final Words

Blocking YouTube on Chrome is straightforward once you choose the right method for your needs. A Chrome extension is a good starting point for quick restrictions, while the Windows Hosts file offers a system-level option with important limitations. For children, parental controls and supervised accounts can provide additional oversight, and dedicated blocking apps or router-level filters may be better for scheduled or network-wide restrictions.

If you only want to avoid distractions while working, start with a trusted extension that supports scheduled blocking. If your goal is to restrict a child’s access, consider a parental-control solution that explicitly supports Chrome and prevent unauthorized changes to its settings.

Whichever method you choose, test the restriction after setup to confirm that it works as expected.

Leave a Reply

Your email address will not be published. Required fields are marked *