How to block Facebook on a computer or phone

Featured in

    Are you looking to increase productivity? We’ll show you how to block Facebook on a computer or phone to work more efficiently.

    How to block Facebook on a computer or phone

    Social media is a massive source of distraction. Such websites can slow down work and make you use your time less efficiently. Facebook is the biggest social media platform and it’s also the biggest problem in that regard.

    For that reason, you may want to block the Facebook website on your computer or phone to increase productivity.

    Blocking Facebook on a computer using system commands

    One of the most common ways to block Facebook on your Mac or Windows PC is to use system commands. Here’s what you need to do if you’re a Windows user:

    • Find Notepad in the Start menu but don’t double-click it. Instead, right-click the app and choose “Run as Administrator.”

    • Once the program opens, press “File” followed by “Open.”

    • In your File Explorer menu, go to your Local Disc drive and open “Windows/system32.”

    • Access your “Drivers” and launch your “etc.” folder.

    • Click the prompt that lets you see all files.

    • Right-click the host file and choose “Properties.”

    • Activate “Full Control” from your “Security” tab.

    • Launch your host file using Notepad and go to the bottom of the file.

    • Press enter to add a new line and type in “127.0.0.1.”

    • Hit the “Tab” button and enter facebook.com.

    • To make sure all browsers block the website, type in the full URL next to the address. The line should look like this: 127.0.0.1 facebook.com https://www.facebook.com.

    • Restrict the smartphone version by incorporating the appropriate URL: m.facebook.com.

    • In your Notepad, navigate to “File” and press “Save as.”

    • Select your hosts and click “Save.” Confirm your decision to replace the file by hitting the “Yes” button.

    • Return to your command prompt. Type in “ipconfig/flushdns” to empty your DNS cache and remove any browser information.

    • Close your browsers and reset your PC.

    • Launch a browser and enter Facebook’s URL. If you can’t access Facebook, your restriction was successful.

    Blocking this social network works similarly on a Mac:

    • Open your Terminal app. You can do so by accessing your “Finder,” followed by “Applications” and “Utilities. Alternatively, search for the app in your Spotlight.

    • While you’re in the Terminal, enter this command to open your host file: sudo nano/et/hosts. Tap enter.

    • Tap enter and type in the administrator password.

    • Head to the lower section of the file and enter a new line.

    • Type in “127.0.0.1” and hit the “Tab” button. Enter Facebook’s URL and confirm that all your web browsers no longer have permission to visit Facebook. Here’s what your line should include: 127.0.0.1 https://www.facebook.com.

    • Add the smartphone URL (m.facebook.com).

    • Save your editor and leave your host file.

    • Return to your Terminal.

    • Enter this command into your Terminal to remove browser information and flush your DNS cache: sudo killall –HUP mDNSResponder.

    • Restart your device and open a browser. Try accessing Facebook to verify your block. If Facebook doesn’t load, it works.

    Blocking Facebook on iOS and Android devices

    You may want to improve parental control by blocking the Facebook app on your kids’ iPhones, iPads, or Androids. Here’s how to do so on Apple devices:  

    • Open the settings on your iPhone or iPad, represented by a gear icon with a gray background.

    • Scroll and press “General” in the top-right part of the page.

    • Choose “Restrictions” and type in your passcode.

    • Tap the “Installing Apps” toggle and select “Websites.”

    • Navigate to the “Limit Adult Content” section and press “Add a Website” under the “Never Allow” window.

    • Enter www.facebook.com to add Facebook’s address.

    • Delete Facebook from the device and any third-party web browsers that don’t follow your restriction requirements. Firefox, Google Chrome, and Safari will automatically honor your preferences, but others may not if they have different privacy settings.

    You’ll need to use another method to block or unblock Facebook on an Android smartphone. One of your best options is to install a dedicated blocking app.

    How to block Facebook using dedicated blocking apps

    BlockSite is a popular mobile app for blocking Facebook pages. Follow these steps to install it and restrict your social media:

    • Go to Google Play and head to your search bar.

    • Enter BlockSite and choose “Enter” or “Done.”

    • Select the app and hit the “Install” button. Pick “Accept” if prompted.

    • Open BlockSite from Google Play or your system and press “Get Started” in the lower part of the display.

    • Open “Settings” and choose “Got It” at the bottom of your screen.

    • Scroll down until you find BlockSite. Tap the page and select the gray switch. The switch should turn blue, indicating you’ve enabled your BlockSite. The app should also restart now.

    • Return to BlockSite and press the “+” symbol in the lower-right section of the display to open your “Websites” tab.

    • Type in Facebook’s address and you’ll no longer be able to access your Facebook account, Facebook profile, or any other feature. 

    Besides BlockSite, you can try a few other apps to block specific websites, not just Facebook:

    • AppBlock – This app lets you temporarily block Facebook and other social media to help you focus.

    • Flipd – Once you lock Facebook on Flipd, you won’t be able to access it until a timer expires, making it a powerful distraction blocker.

    • Freedom – Freedom uses a VPN to restrict social media and prevent sites from bombarding you with notifications.

    • SelfControl – This MacOS app lets you block many websites, email servers, and any other internet feature.

    • Cold Turkey – Cold Turkey is a browser extension that allows you to block the entire internet for a certain period.

    Speechify – Another way to boost productivity

    If you’re looking for another way to boost productivity, Speechify is the right choice. This text to speech (TTS) software can complement your Facebook blockers to create a productive environment.

    Whether you need to read a long email or document quickly, Speechify has the answer. It reads your content aloud up to 900 words per minute to help you finish your projects faster. Best of all, the AI-generated voices are highly immersive.

    Test Speechify for free!

    FAQ

    How do I block Facebook on my computer?

    You can block Facebook on your computer using your system commands. You’ll need to use Notepad or Terminal, depending on your operating system.

    How do I block Facebook from my network?

    You can restrict Facebook from your network through its firewall settings. Most platforms require you to enter Facebook’s IP address in the content filtering section.

    How do I block Facebook on my phone?

    There are many ways to block Facebook on your phone, such as using built-in settings and installing third-party apps.

    How do I block Facebook on my kid’s computer?

    You can block Facebook on your kid’s computer from your host file.

    Cliff Weitzman

    Cliff Weitzman

    Cliff Weitzman is a dyslexia advocate and the CEO and founder of Speechify, the #1 text-to-speech app in the world, totaling over 100,000 5-star reviews and ranking first place in the App Store for the News & Magazines category. In 2017, Weitzman was named to the Forbes 30 under 30 list for his work making the internet more accessible to people with learning disabilities. Cliff Weitzman has been featured in EdSurge, Inc., PC Mag, Entrepreneur, Mashable, among other leading outlets.

    Dyslexia & Accessibility Advocate, CEO/Founder of Speechify Dyslexia & Accessibility Advocate, CEO/Founder of Speechify

    Recent Blogs

    • Ultimate guide to ElevenLabs
      Ultimate guide to ElevenLabs
      Arrow
    • Voice changer for Discord
      Voice changer for Discord
      Arrow
    • How to download YouTube audio
      How to download YouTube audio
      Arrow
    • Speechify 3.0 Released.
      Speechify 3.0 is the Best Text to Speech App Yet.
      Arrow
    • Voice API
      Voice API: Everything You Need to Know
      Arrow
    • Text to audio
      Best text to speech generator apps
      Arrow
    • The best AI tools other than ChatGPT
      The best AI tools other than ChatGPT
      Arrow
    • Top voice over marketplaces reviewed
      Top voice over marketplaces reviewed
      Arrow
    • Speechify Studio vs. Descript
      Speechify Studio vs. Descript
      Arrow
    • Google Cloud Text to Speech API
      Everything to Know About Google Cloud Text to Speech API
      Arrow
    • Source of Joe Biden deepfake revealed after election interference
      Source of Joe Biden deepfake revealed after election interference
      Arrow
    • How to listen to scientific papers
      How to listen to scientific papers
      Arrow
    • How to add music to CapCut
      How to add music to CapCut
      Arrow
    • What is CapCut?
      What is CapCut?
      Arrow
    • VEED vs. InVideo
      VEED vs. InVideo
      Arrow
    • Speechify Studio vs. Kapwing
      Speechify Studio vs. Kapwing
      Arrow
    • Voices.com vs. Voice123
      Voices.com vs. Voice123
      Arrow
    • Voices.com vs. Fiverr Voice Over
      Voices.com vs. Fiverr Voice Over
      Arrow
    • Fiverr voice overs vs. Speechify Voice Over Studio
      Fiverr voice overs vs. Speechify Voice Over Studio
      Arrow
    • Voices.com vs. Speechify Voice Over Studio
      Voices.com vs. Speechify Voice Over Studio
      Arrow
    • Voice123 vs. Speechify Voice Over Studio
      Voice123 vs. Speechify Voice Over Studio
      Arrow
    • Voice123 vs. Fiverr voice overs
      Voice123 vs. Fiverr voice overs
      Arrow
    • HeyGen vs. Synthesia
      HeyGen vs. Synthesia
      Arrow
    • Hour One vs. Synthesia
      Hour One vs. Synthesia
      Arrow
    • HeyGen vs. Hour One
      HeyGen vs. Hour One
      Arrow
    • Speechify makes Google’s Favorite Chrome Extensions of 2023 list
      Speechify makes Google’s Favorite Chrome Extensions of 2023 list
      Arrow
    • How to Add a Voice Over to Vimeo Video: A Comprehensive Guide
      How to Add a Voice Over to Vimeo Video: A Comprehensive Guide
      Arrow
    • How to Add a Voice Over to Canva Video: A Comprehensive Guide
      How to Add a Voice Over to Canva Video: A Comprehensive Guide
      Arrow
    • What is Speech AI: Explained
      What is Speech AI: Explained
      Arrow
    • How to Add a Voice Over to Canva Video
      How to Add a Voice Over to Canva Video
      Arrow
    • How to Add a Voice Over to Canva Video
      The Best Celebrity Voice Generators in 2024
      Arrow
    • How to Add a Voice Over to Canva Video
      YouTube Text to Speech: Elevating Your Video Content with Speechify
      Arrow
    • How to Add a Voice Over to Canva Video
      The 7 best alternatives to Synthesia.io
      Arrow
    • How to Add a Voice Over to Canva Video
      Everything you need to know about text to speech on TikTok
      Arrow
    • How to Add a Voice Over to Canva Video
      The 10 best text-to-speech apps for Android
      Arrow
    • How to Add a Voice Over to Canva Video
      How to convert a PDF to speech
      Arrow
    • How to Add a Voice Over to Canva Video
      The top girl voice changers
      Arrow
    • How to Add a Voice Over to Canva Video
      How to use Siri text to speech
      Arrow
    • How to Add a Voice Over to Canva Video
      Obama text to speech
      Arrow
    • How to Add a Voice Over to Canva Video
      Robot Voice Generators: The Futuristic Frontier of Audio Creation
      Arrow
    • How to Add a Voice Over to Canva Video
      PDF Read Aloud: Free & Paid Options
      Arrow
    • How to Add a Voice Over to Canva Video
      Alternatives to FakeYou text to speech
      Arrow
    • How to Add a Voice Over to Canva Video
      All About Deepfake Voices
      Arrow
    • How to Add a Voice Over to Canva Video
      TikTok voice generator
      Arrow
    • How to Add a Voice Over to Canva Video
      Text to speech GoAnimate
      Arrow
    • How to Add a Voice Over to Canva Video
      The best celebrity text to speech voice generators
      Arrow
    • How to Add a Voice Over to Canva Video
      PDF Audio Reader
      Arrow
    • How to Add a Voice Over to Canva Video
      How to get text to speech Indian voices
      Arrow
    • How to Add a Voice Over to Canva Video
      Elevating Your Anime Experience with Anime Voice Generators
      Arrow
    • How to Add a Voice Over to Canva Video
      Best text to speech online
      Arrow
    • How to Add a Voice Over to Canva Video
      Top 50 movies based on books you should read
      Arrow
    • How to Add a Voice Over to Canva Video
      Download audio
      Arrow
    • How to Add a Voice Over to Canva Video
      How to use text-to-speech for Quandale Dingle meme sounds
      Arrow
    • How to Add a Voice Over to Canva Video
      Top 5 apps that read out text
      Arrow
    • How to Add a Voice Over to Canva Video
      The top female text to speech voices
      Arrow
    • How to Add a Voice Over to Canva Video
      Female voice changer
      Arrow
    • How to Add a Voice Over to Canva Video
      Sonic text to speech voice generator online
      Arrow
    • How to Add a Voice Over to Canva Video
      Best AI voice generators – The Ultimate List
      Arrow
    • How to Add a Voice Over to Canva Video
      Voice changer
      Arrow
    • How to Add a Voice Over to Canva Video
      Text to speech in Powerpoint
      Arrow
    footer-waves