Skip to content

How to Block a Website on Microsoft Edge Browser?

Do you want to block unwanted and unsafe sites or remove unproductive/offensive pages in the Edge browser to safeguard your children? Then you can use the site blocker extensions or edit and customize the system host file, as Edge does not have any pre-loaded features to block sites. Content blocker extension is easy to follow and use.

Some websites on the internet can be highly intimidating and may contain inappropriate stuff for children. Thus, most people restrict their children from accessing the internet, while some smartly block particular websites for prevention.

If you are using Microsoft Edge, you won’t find an option to block any website to prevent access. Hence, most Microsoft Edge users are curious enough to know how to block a website on Microsoft Edge.

Microsoft Edge hasn’t yet introduced any in-built function specifically to block websites. Nevertheless, there is a workaround to block websites on the browser using your command prompt. And this trick works not only for Edge but for all web browsers absolutely for free.

I’ve listed two ways to block a website, the best you can do is use an extension and block the website from accessing the Microsoft Edge browser.

Sites Blocker Extension

Earlier, there wasn’t an alternative to attach extensions on Microsoft Edge, but with the latest Microsoft Edge Chromium, you can combine extensions. Hereabouts, how to prevent websites by the site blocker extension.

Here are the steps to install the site blocker extensions in Edge:

  1. Launch the Microsoft Edge browser on windows.
  2. Click on the Menu horizontal 3dots 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

Note: You can download any, as all of them 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 to tap on 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.

Using System Host File

You must execute some easy addition to the Windows hosts file during this process. Host file editing is the most straightforward technique to block websites on Microsoft Edge or any other web browser. This is an accessible approach to restrict people of all generations from viewing content you don’t want to see.

Here are the steps to customize the system host file on Windows:

  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. As this is a critical system file, you will need special software/permissions to edit this file. 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: Block Website on Edge

Making good use of the internet is crucial, mostly in cases of children. However, certain websites containing ill-suited ads or content might create a negative impact on the usage of the internet. As a result, it is always a wise decision to block such websites on your browser.

Microsoft Edge does not yet have any built-in functionality for blocking websites. However, you can use your command prompt to block websites in the browser as a workaround. This method is entirely free and works not only for Edge but for all web browsers.

The steps mentioned above will help you do so in your Microsoft Edge browser. Since experimenting with the command prompt must be alarming; therefore, you are advised to follow these steps very carefully.

Lastly, here are the recommended web browsers for computer and mobile phone that you should give a try.

Chrome WindowsChrome MacChrome iOSChrome AndroidFirefox Linux
Firefox WindowsSafari MacSafari iOSEdge AndroidChrome Linux
Edge WindowsFirefox MacEdge iOSSamsung InternetEdge Linux

If you've any thoughts on How to Block a Website on Microsoft Edge Browser?, then feel free to drop in below comment box.

Also, please subscribe to our @DigitalTechStudio YouTube channel for helpful videos tutorials.

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

2 thoughts on “How to Block a Website on Microsoft Edge Browser?”

  1. Hi, the extension Block Site works fine in so far as the tab opens and I get a message telling me the site has been blocked, but it is not a time saver, as I still have to close the tab that popped up. I want to interrupt the entire process and prevent the tab from opening in the first place, that way I can continue what I’m doing without interruption. Can I do this in Edge, or do I need to use a different browser altogether? If I remember correctly I used to be able to do this in IE.

    Thank you
    David Killawee

Leave a Reply

Your email address will not be published. Required fields are marked *