How to block websites on Microsoft Edge

Madeleine Dean By: Madeleine Dean
2 minute read

Home » Windows » How to block websites on Microsoft Edge

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:

Discussions

Next up

How to fix There was a problem connecting to Gmail error

Loredana Paraianu avatar. By: Loredana Paraianu
3 minute read

Google’s webmail service is fast, smooth and functional, but sometimes you might get There was a problem connecting to Gmail error. Do you also have […]

Continue Reading

Windows 10 v1903 blocked on PCs running 3rd-party antivirus tools

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Microsoft confirmed that third-party antivirus products are causing Windows machines to suddenly freeze. The issue appears on different Windows versions after users installed the April 2019 […]

Continue Reading

We couldn’t add all your attachments the Mail app error [FIX]

Matthew Adams By: Matthew Adams
3 minute read

The Mail and Calendar app, which comes included with Windows 10, enables users to attach files to emails much the same as most email software. […]

Continue Reading