How to Block a Website on Microsoft Edge Browser?

Learn how to block a website in Microsoft Edge browser using different methods. You can use the Edge extension or hosts file on a Windows computer.

Some websites on the internet can be highly intimidating and may contain stuff that is inappropriate for children and so. 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 to it. 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 not only works for Edge but for all the web browsers absolutely for free.

Related: How To Block a Website on Chrome Android Browser?

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

How to Block a Website on Microsoft Edge?

Blocking websites is not that hard with modern browsers such as Microsoft Edge. In fact, there are two methods available to block any website on Microsoft Edge.

Block Websites with Site Blocker Extension

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

  1. Launch Microsoft Edge browser on windows.
  2. Click on the menu icon 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 in the same manner. You can try different extensions to find out which one suits you the best.

When the extension is installed, start a website that you wish to block (e.g., Facebook.com)and then tap on the Block Site icon found at the top. The last step is to tap on the Confirm button.

Block Current Site Microsoft Edge

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

Block Website Using Host File

In this process, You require to execute some easy addition to the Windows hosts file. Host file editing is the simplest 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 that you don’t desire to see.

  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 127.0.0.1.
  5. After giving space type the name of the website that you wish to block.
    Hosts file in Windows OSFor example, 127.0.0.1 www.facebook.com. For every website, you wish to block, simply repeat this step.
  6. Open File from the notepad menu bar and hit on Save to keep the file.
  7. Close notepad and command prompt.

If you’re not able to edit the host file, we recommend you to download Notepad++ (freeware software) to edit this file. As this is an important system file, you will need special software/permissions to edit this file. With notepad++ you will be able to edit and save this file effortlessly.

Bottom Line: Block Website on Edge

Making good use of the internet is very crucial, mostly in cases of children. However, due to 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.

The above-mentioned steps 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 your computer and mobile phone that you should give a try.

WindowsMacOSiOSAndroidLinux
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. If you find this article helpful, please consider sharing it with your network.

Also, please subscribe to our BrowserHow 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). This will support our effort to create more useful content, and keep it open and free forever.
Share

1 Response

  1. David Killawee says:

    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 *