How to Block Facebook On Your Computer

We usually use Facebook to kill our time and connect with our friends. But slowly-slowly Facebook is becoming a big addiction. Most people are getting addicted to it and they are wasting their precious time. So one of the best way to kill this addiction is to block Facebook on your network or personal computer. As Facebook is been blocked so you can’t access it and hopefully this will help you to get rid of this addiction. Although you can easily use some softwares to block Facebook on your PC, But you can also do it manually without using any software. So just follow the below steps to block Facebook on your PC.

How to Block Facebook Website on Your PC Manually

  • Go to start and search for notepad.
  • Right click notepad and select run as administrator.
  • Now go to file and select open. It will open the browse window.
  • In the address bar paste the following address and hit enter – C:WindowsSystem32Driversetc

  • Now in the file types select All files, Then you can immediately see a bunch of files.
  • Open the hosts file and add the following code in it.

# This will block facebook

  • After adding the above code the hosts file looks something like this :

Hit ctrl+s to save the hosts file and now you have successfully blocked Facebook on your network.
In case if you want to unblock it then you just need to remove the code that you have added to the hosts file. If you’re still confused then just follow the below steps to unblock Facebook on your computer.

How to Unblock Facebook on Your PC

  • Again launch notepad with administrative rights.
  • Hit ctrl+O to open the browse window.
  • Just paste the below address in the address bar and hit enter – C:WindowsSystem32Driversetc
  • Select All Files in the bottom right of the window in file type section.
  • Now open the hosts file and remove the code which we have added previously. 
  • Hit save(Ctrl + S) and now Facebook will be no longer blocked on your computer.

If you face any difficulties in blocking facebook on your network then do mention it in comments. Also checkout a quick guide on how to open blocked websites.


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.