Do you want to block access to YouTube for your child, students, or even yourself? There are many methods available to effectively block YouTube, and they are quite easy to follow. This guide will teach you the simplest ways to restrict access to YouTube.com and the YouTube mobile app across multiple platforms, including Windows, Mac, iPhone, iPad, and Android.
Before you start: Ensure you have admin access to the devices you want to modify.
How to easily block YouTube on any device
This article outlines several steps to block YouTube on different devices, including Windows, Mac, iOS, and Android.
Easily block YouTube on Windows
- First, open Notepad as an administrator: Press Windows key + S to activate the search bar, type notepad, right-click “Notepad,” and select Run as administrator.
- Navigate to the hosts file: Press Ctrl + O to open a file, go to C:\Windows\System32\drivers\etc, and ensure you choose All Files from the drop-down menu.
- Select the hosts file and click Open to edit.
- Add a new line to block youtube.com: Press Enter to create a new line, type 127.0.0.1, press Tab, and then type youtube.com.
- Repeat the previous step for www.youtube.com and m.youtube.com.
- Save your hosts file: Press Ctrl + S or go to File > Save.
- Flush your DNS cache: Restart your computer or run the command ipconfig /flushdns in Command Prompt.
Block YouTube on Mac using Screen Time
- Go to System Settings: Click the Apple menu, and select System Settings.
- Click Screen Time and then Content & Privacy.
- Select Limit Adult Websites and click Customize.
- Click + under the “Restricted” section, enter youtube.com, and click OK.
Using BlockSite extension for Chrome and Firefox
- Open the BlockSite page in the web store.
- Install BlockSite: Click Add to Chrome/Firefox, then confirm installation.
- Enter a website’s address to block YouTube and click +.
- Set up password protection to prevent changes to the block list.
Blocking YouTube on iOS devices
- Open your iPhone or iPad’s Settings, and select Screen Time.
- Enable Content & Privacy Restrictions if it is off.
- Add YouTube URLs (youtube.com, www.youtube.com, m.youtube.com) under Never Allow within Web Content.
Blocking YouTube on Android devices
- Open Settings and tap Digital Wellbeing and parental controls.
- Go to App timers to set up a timer for the YouTube app.
- Enable PIN protection to secure settings from being changed.
Pro tip: No blocking method is foolproof; educating users on internet safety is crucial for effective use.
By implementing these steps, you can significantly control access to YouTube on various devices. Each method provides flexibility depending on the platform and user needs. Blocking access not only promotes better focus but also encourages a healthier online environment. Remember that while blocking tools are useful, they should always be accompanied by guidance on responsible internet usage.








