How To

How to Block Websites on Microsoft Edge 2022 – Simple Way

From this guide, I will guide on How to Block Websites on Microsoft Edge 2022 – Simple Way. As you might see many websites available on the internet. In simple words, a website is a collection of web pages and related content which is recognized by a domain name published on at least one server. However, there are many websites available on the internet which provide useful and informative content for the visitors. Furthermore, Microsoft has released a new chromium-based edge browser with tons of new privacy, features, and many language support. In the Microsoft Edge browser you are pretty able to read an article the same as Google Chrome.

With the passage of time, you may just want to block certain websites so that you shouldn’t access it again. In some cases, you may want to block a website that you don’t want to be accessed by the children. Furthermore, some websites contain much spam due to that your computer or PC will be slow down. If you are a daily user of the Microsoft edge then you might surely noticed that there isn’t such an option available to block a website. Therefore, we will walk you through a simple way which is extremely easy and simple.

However, we are not going to use any third-party software for blocking websites in Microsoft Edge. Because some third-party software contains viruses and malware. In this case, we are compelled to use CMD (Command Prompt) in order to Block Websites on Microsoft Edge 2020.

What is Microsoft Edge?

Microsoft Edge is a web browser that is developed by Microsoft. Firstly, the Microsoft edge was launched in 2015 (5 years ago) for Windows 10 and Xbox One. After that, in 2017 Microsoft edge was launched for Android and IOS, then in 2019 for macOS. Most of the user really loves to use and enjoy the experience of Microsoft Edge. You can also use the Microsoft Edge on your smartphones like iOS and Android with incredible user experience.

This browser is a pretty secure browser same as Google Chrome. You can also enjoy the read-view mode for reading something in Mircosoft Edge. Furthermore, the browser will completely let you in order to block ads, search and download something from the internet. It is a little simple but too easy for using purpose.

Read Next Ones:

How to Block Websites on Microsoft Edge

As I mentioned that we are not going to use any third-party software blocking a website on Microsoft Edge. Therefore, you directly use the host file of Windows 10 in order to Block Websites on Microsoft Edge without any restriction. But if you are using other browsers such as Google Chrome, Firefox, and so then you might know that by installing site blocking extension, you are totally able to block a website on them. But in Microsoft Edge it is not like this, we have to go through another method.

With the help of hosts file, you can effortlessly block website on all browsers such as Google Chrome, Firefox, and Microsoft Edge. Therefore, you will not need any plugin for blocking the website. By adding a few things in the host file, the website will be blocked automatically. The procedure is quite simple and easy, just you need to go through the way I am guiding then the website will be blocked and you can’t access unless you remove the added thing from the host file. Let’s head over to the below portion and get start.

Step 1. First of all, you need to head towards the start menu on your PC, search there CMD once it appears then make sure to right-click on CMD and select Run as administrator.

Command Prompt

Step 2. When the command prompt opens successfully, you need to copy the below commands and make sure to paste it on your CMD (Command Prompt). Then press Enter.

notepad c:\WINDOWS\system32\drivers\etc\hosts
Block Websites on Microsoft Edge
Paste commands

Step 3. Then a Notepad window will appear, from there you can block websites. Therefore, you need to scroll till the end and select the last line. There you have to type then press Space and type the name of the website which you want to block for example If you want to block some more website then repeat the number and type the name of the website (in a different line).

Block Websites on Microsoft Edge
Name of the website

Step 4. Once you add the website to the block list. It is time to save the notepad. For that, you need to click on the File from the top-left and click on the Save. Or simply press Ctrl + S to directly save the host file. Then, make sure to close the Notepad and Command Prompt.

Block Websites on Microsoft Edge
Save the Host File

Splendid!, you have successfully blocked a website on Microsoft Edge with the Host file. Go ahead and open the website whether it is accessible or not.

How to Unblock Websites on Microsoft Edge

I hope you have clearly learned How to Block Websites on Microsoft Edge. But most of the time you want to unblock all those websites which you have blocked. In order to unblock the websites on Microsoft Edge then you need to follow the below steps properly.

The method is pretty simple. And the same procedure, just to remove the text which you have added in the Host file

  • Open the CMD from the Start menu and run as administrator.
  • In the command prompt, you need to paste the above commands.
  • A notepad will popup, scroll down till the end, and remove the website name which you have added.
  • Once done, you need to save it again to unblock the websites on Microsoft Edge.

Final Words

Well, there are several methods for blocking websites on Microsoft Edge which some of them don’t work properly. Host files procedure is very simple because with adding some text you can effortlessly block any which you want on any browser you are using. However, also follow the procedure to unblock the website because using other procedures you won’t be able to unblock.

I hope you got something from this article. Therefore, if you faced any problem while following the steps then make sure to leave comments in the comment section. I will be available to answer you. Thank you.


Hi, I am Azzaz Sheikh a passionate blogger. I am a tech lover guy who spends most of the time trying new things in the world of Technology. I love to discover latest material related to Technology and loves to share with you guys.

Related Articles


Leave a Reply

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

Back to top button