Block Websites Using the Windows Hosts File

The steps below demonstrate how to edit the Hosts file in Windows 10 and 7.

Block Websites Using the Mac’s Hosts File

The steps below illustrate how to edit your Mac’s Hosts file using Terminal.

Block Websites With Your Browser

Block a Website in Google Chrome

The steps below show how to block websites using the Block Site extension for Google Chrome. If you’re using Mac or Linux, launch Chrome, and go to the second step.

How to Block Websites With Firefox, Opera, and Internet Explorer

Firefox Quantum: Install the uBlock Origin web extension found on Mozzila’s Add-on site, then add the websites you wish to block via the dashboard.Opera: Install Block Site from Opera’s Add-on site, then add domains you wish to block from options.Internet Explorer: Enter the website address for each site you want to block from the privacy tab via settings.

Blocking Websites on Android

The steps below show how to block websites using the Block Site mobile application.

Block a Website on iPhone and iPad

The steps below who how to block websites on an iPhone or iPad, using Screen Time.

Use Router Settings to Block Websites

The steps below generally outline how to block websites using your router. Because every router is different, the steps will vary slightly. In most cases, you’ll need the username and password associated with your ISP account, as well as the administrative password for your router or modem. To connect with your router you’ll need to access its control screen. Unfortunately, each router manufacturer does this differently, but we have an article on helping you find your router’s IP address. We’ll use a Belkin router in our example below.