How to block websites on Microsoft Edge

2 minute read

Blocking certain websites is a necessity in some cases as you may not want children to access certain content on the internet, for instance. While it’s fairly easy to block websites on other browsers, this operation is not as obvious on Microsoft Edge.

Currently, there is no direct option allowing you to block certain websites on Edge, as Microsoft is still tweaking and upgrading its browser. Redmond will probably introduce such a feature when it rolls out the Anniversary Update, scheduled for July 29.

How to block websites on Microsoft Edge:

  1. Go to C:\Windows\System32\Drivers
  2. Find and select the hosts file. To make the search easier, go to Drivers, press CTRL+F and type “hosts”. Then double click on the search result.

drivers-hosts-edge      3. If you are using the Admin account, the file will open when you double-click it. Open it using Notepad.

In case you encounter access issues, you need to edit the permission level.  Go to Properties > Switch to Security Tab > Under Permissions for System, click Advance button > Select Add -> Select Principle -> Under Enter the subject name, add your Windows username.

4. To block a specific website, add the following sequence on the Notepad hosts file: 127.0.0.1 the website’s address.

Example: 127.0.0.1 www.facebook.com

hosts-file-block-edge

There is no limit in regards to the number of websites you can block. Simply type the sequence 127.0.0.1 followed by the website’s address, press Enter to go to the next row and type a new sequence.

5. Save and Close the Notepad hosts file.

If you try to access one of the websites you put on the block list, Edge will inform you it can’t reach that page. The good news is that this method blocks the respective websites on other browsers as well.

Meanwhile, you can use the Feedback Hub and request Microsoft to add a native Edge feature to allow the blocking of websites.

RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download this PC Repair Tool with Patended Technologies
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).