Skip to content

Block Website access in Edge browser on Computer

Microsoft Edge has the built-in content restriction under the Microsoft Family Safety settings. We can add the site URL to block its access and use the preset content filtering.

Alternatively, we can also use third-party add-ons like Block Site or configure the system host file to restrict site access at the system level.

Block Sites with Family Safety

As mentioned, the Edge browser has a built-in feature blocking the sites’ access. All you need is to add the website URL under the blocking list. Here are the steps to follow:

  1. Open Microsoft Edge on the computer.
  2. Click on the More vertical 3-dots icon menu and select Settings from the list.
    It will open the Edge settings page.
  3. In the left sidebar, select the Family tab.
  4. Scroll to the Content Restrictions section and select the Block Specific Sites option.
  5. Type or paste the website address and hit on the Add command.

It will block the website’s URL from accessing the Edge browser.

We can also let the browser manage and control site access based on the preset filter. Select Filter level from the drop-down on the Family Safety page under the Web filtering section.

We can choose the desired filter level:

  • Allow list only – websites on the allow list will be accessible; the rest are blocked.
  • Designed for children – only allows access to sites that are suitable for children.
  • General interest – allows access to websites suitable for all ages.
  • Mature content – restricts access to adult content.

The browser will restrict access based on chosen filter settings.

Block Sites with Edge Extension

Multiple extensions can help you block the sites. You can add the site address to the extension settings to block it from loading in the browser. Here are the steps to follow:

  1. Launch Microsoft Edge on the computer.
  2. Click on the Menu horizontal 3-dots icon from the top right-hand Edge.
  3. Choose the Extensions tab from the menu list.
    Microsoft Edge Extensions Tab
  4. Click on the Get Extensions for Microsoft Edge button.
    Get extensions for Microsoft Edge
  5. Type block sites on the search box and hit Enter.
    Block Site Edge Extension
  6. Click on the Get button and then Add extension button against any extension.
    Add Block Site extension on Microsoft Edge
info icon
Note: You can download any, as they all operate similarly. You can try different extensions to find out which suits you the best.

When the extension is installed, start a website you wish to block (e.g., tap on the Block Site icon at the top. The last step is tapping the Confirm button.

Block Current Site Microsoft Edge

Promptly, you notice a black screen whenever you start Facebook, which means restricted access. To unblock back, tap on the Block Site icon from the top edge of the screen and click OK.

Block Sites using System Host File

Host file editing is the most straightforward technique to block websites on Microsoft Edge or any other web browser. Add the site address to the host file to block sites. Here are the steps:

  1. Tap the Windows key button and search for cmd.
  2. Right-click on Command Prompt and choose the option Run as administrator.
  3. In the command line window, type notepad c:\WINDOWS\system32\drivers\etc\hosts and hit the Enter button.
    Windows OS command prompt to open host file
  4. Switch to the Notepad app, and at the end of the text, type
  5. After giving space, type the name of the website you wish to block.
    Hosts file in Windows OSFor example, For every website you wish to block, repeat this step.
  6. Open File from the notepad menu bar and hit Save to keep the file.
  7. Close notepad and command prompt.

If you cannot edit the host file, we recommend you download Notepad++ (freeware software) to edit this file. This is a critical system file, so you need special software/permissions to edit it. With Notepad++, you can edit and save this file effortlessly.

For Mac, you can use the Terminal app and run the following code to edit the Host file: sudo nano /etc/hosts/ and add the same script. You should save the file and restart the system for the blocker to work.

Bottom Line

Microsoft Edge has the Family Safety feature that allows us to add sites for blocking. We can also use the Web Filter to set at different levels based on the usage.

Alternatively, we can install and use any site blocker add-on to prevent the sites from loading. Editing the host’s file on the system can be technical and risky; misconfiguration disrupts the network connection.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza is a Google Certified Analytics & IT Professional, Digital Content Creator, and Go-To Digital Marketer with an Engineering Degree. He has over a decade of experience solving tech problems, troubleshooting, and innovating digital solutions. Follow him on Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *