Did this article
help you?

This helped me

How to Block a Website on Mac

This wikiHow teaches you how to block a website on a Mac. While there isn't a built-in way to block your own access to a certain website, you can download an app called SelfControl or Cold Turkey to block sites for a set amount of time. You can also use your Mac's parental controls to block another account's access to certain sites.

Method 1
Method 1 of 3:

Using the SelfControl App

  1. Navigate to https://selfcontrolapp.com/ in a web browser. SelfControl allows you to block a specific site for up to 24 hours for your own productivity. Once the site is blocked, there is no way to access it until the timer expires.
    • This is what makes SelfControl so efficient, but it also means that you need to exercise care when blocking a site.
  2. It's a blue button in the middle of the page.
  3. This is the file labeled "SelfControl-2.2.2.zip". You can find this file in your Downloads folder in The Finder, or at the bottom of Safari or Google Chrome when it is finished downloading. This extracts the "SelfControl.app" file from the zip file.
  4. 4
    Click "SelfControl.app". This is the file that extracted when you clicked the SelfControl zip file. This starts the installation process for SelfControl.
  5. This ensures that SelfControl is placed in your Applications folder so that you can easily find it.
  6. This displays a list of matching files and apps on your Mac.
  7. This opens the SelfControl app.
    • You may receive a pop-up warning that says SelfControl.app is an application downloaded from the internet. If you see this pop-up, click Open.
  8. It's in the bottom-right corner of the SelfControl window.
  9. This option is in the lower-left corner of the window.
  10. Make sure you include the "www" before the website.
    • For example, you'd type in www.youtube.com to block YouTube.
  11. This will add your website to the block list.
  12. Click and drag the slider to the right to increase the amount of time for which the site is blocked. Dragging the slider to the left decreases the time.
  13. It's at the top of the window. Doing so will block the site for the indicated amount of time.
  14. Type the username and password associated with an administrator account on your Mac. This gives SelfControl the authorization needed to work.
Method 2
Method 2 of 3:

Using Cold Turkey

  1. Go to https://getcoldturkey.com in a web browser. You can use any web browser on your Mac.
  2. It's the green button in the middle of the webpage.
  3. It's the grey button in the box labeled "Basic". This is the free version of Cold Turkey. The free version allows you to block websites on Safari, Chrome, and Firefox for a set period of time.
    • The green button is the Pro version of Cold Turkey. It costs $25 and allows you to set daily time limits, block applications, and more.
  4. This file can be found in your Downloads folder, or at the bottom of Safari or Chrome when you download the file.
  5. Once you click on the install file, follow the on-screen instruction to install Cold Turkey:
    • Click Continue in the lower-right corner fo the Installer window.
    • Click Continue to install the app for all users on your computer.
    • Click Install.
    • Enter the password for your Mac username.
    • Click Close once the installation is finished.
  6. This opens the Cold Turkey Blocker app.
    • Alternatively, you can click on "Cold Turkey Blocker.app" in your Applications folder.
  7. This opens the Extension install page in the web browser. The Cold Turkey extension is available for Safari, Chrome, and Firefox.
    • The Safari extension is automatically installed when you install the Cold Turkey app.
  8. You will need to install the extension and enable it on your web browser. When you open your web browser, the install page should already be open.
  9. This displays a pop-up asking if you want to add the extension to your web browser.
  10. The way this is done is slightly different from one web browser to the next. Use the following steps to add the Cold Turkey extension to your web browser.
    • Safari:
      • The Cold Turkey extension is added to Safari automatically.
    • Chrome:
      • Click Add to chrome in the pop-up at the top.
      • Click Add extension.
    • "Firefox:'
      • Click Allow
      • Click Add.
      • Click Ok.
  11. The extension must be enabled in your web browser. If it is not enabled, Cold Turkey will shut down your web browser within 30 seconds. Use the following steps to check to see if Cold Turkey is enabled on your web browser.
    • Safari:
      • Click Safari in the menu bar at the top of the screen.
      • Click Preferences in the drop-down menu.
      • Click the Extensions tab.
      • Click the checkbox next to "Cold Turkey".
    • Chrome:
      • Click in the upper-right corner of Chrome.
      • Click More Tools in the drop-down menu.
      • Click Extensions.
      • Click the toggle switch below the Cold Turkey extension. It should be blue.
    • Firefox:
      • Click in the upper-right corner of Firefox.
      • Click Add ons.
      • Click Extensions in the sidebar to the left.
      • Click Enable next to Cold Turkey.
  12. If should be in the Dock at the bottom of the screen. If it's not already open, you can search for the app using the Spotlight Search icon, or click on it in your Applications folder in the Finder.
    • If you see a pop-up with a green button that says "Restart Required" next to any web browser. Click the green button to restart your browser. Then click Close.
  13. It's the green button at the bottom of the "Dashboard" page.
    • Alternative, you can click the "Block Lists" option in the menu to the left.
  14. This creates a new list of blocked sites.
    • Cold Turkey also has a pre-installed list called "Distractions" with 54 common sites already listed.
  15. Use the bar at the top labeled "New Block List" to type the name of your block list.
  16. Use the bar that says "Type URL, then press the return key" to enter a website you want to block. For example, if you want to block Facebook, you would type www.facebook.com. Add as many websites as you want.
    • To remove a website from the list, click the website, then click Remove.
  17. When you are finished entering all the websites you want to block, click Save to save the list.
    • To Edit a block list, click the "Block Lists" option on the left, they click Edit below a list name.
  18. It's below an icon that resembles a clock in the menu to the left.
  19. The Timers screen displays all block lists you have created. Click the icon that resembles a calendar next to the block list you want to use.
  20. You can set the timer for as many days as you want.
    • If you want to set an hourly timer, click the current day.
  21. It's on the left side across from the list name. This displays a confirmation pop-up.
  22. This confirms that you want to set a timer and blocks the websites in the block list for the set amount of time.
    • WARNING: Once you set a timer, you cannot turn it off until the timer runs out.
Method 3
Method 3 of 3:

Using Parental Controls

  1. It's in the second option in the drop-down menu below the Apple icon.
  2. You'll find this option in the System Preferences window. It has a yellow icon that resembles a big and little person.
  3. This is in the bottom-left corner of the screen.
  4. Doing so will unlock the menu and allow you to make changes to the parental controls settings.
    • You must be on an administrator account to do this.
  5. Click a user's account name in the left-hand pane. This will select the account.
    • You cannot select your own account.
    • If no users are listed, select "Create a new user account with Parental Controls" and click Continue.
  6. This tab is at the top of the window.
  7. It's near the top of the window.
  8. You'll find this option below the "Try to limit access to adult websites" text. Click it will take you to a menu.
  9. Doing so will open a text box.
  10. This should be the address of the site that you want to block.
    • For example, to block Twitter, you'd type in www.twitter.com.
  11. Doing so enters the address. Your specified site will now be blocked in the selected account's Safari browser.

Community Q&A

Search
Add New Question
  • Question
    The IP address -- it is not clear on how to obtain it. 127.0.0.1 does not display in my browser on any of eight computers I work on. How can I block a website if I cannot display the IP?
    Community Answer
    Community Answer
    127.0.0.1 (localhost) is a reserved IP address that loops back to your computer itself. It does not display anything because you likely don't have a web server set up on your computers. This IP address is used in this manual because it has no useful/distracting content. Rerouting facebook.com to this IP address effectively blocks attempts to access facebook.com.
  • Question
    How can I unblock the sites I have blocked? I have tried reversing what was written previously, but I can't edit the sites I entered.
    Community Answer
    Community Answer
    You can modify the document by going to "/private/etc/hosts" in Finder. Simply double-click the "hosts" file, and it should open up in your default text editor.
  • Question
    Is the SelfControl app really safe? It won't give me any viruses?
    Community Answer
    Community Answer
    It won't give you any viruses, but you cannot stop it once you start it. I would suggest using Cold Turkey because you'll have the option to turn it on and off as you wish.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit

Tips

  • Some routers let you block websites from their configuration page.
  • If you check the "Limit apps" option on the Apps tab of the Parental Controls menu, you can delete all web browsers but Safari from the selected account in order to prevent the user from bypassing the parental controls by using a different browser.



You Might Also Like

Change Your Cameos Selfie in Snapchat: 2 Simple Methods
Log in to WeChat
Recover Deleted Messages in WhatsApp
Call Someone on a Computer
The Beginner's Guide on How to Use Clubhouse (& Host Your Own Room)
Copy a QR Code on Android
Crop and Edit Photos on iPhone, iPod, and iPad
Use Microsoft Whiteboard
Set Up Apple Pay
Use Facebook Messenger Bots
Turn Off Notifications on PC or Mac
Turn Off Autocomplete on Chrome
Tell Who Has Viewed Your Instagram Story on Android
Know when Your Snap Has Been Viewed

About this article

Travis Boylls
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Travis Boylls. Travis has been a tech writer at wikiHow for more than 10 years. He has also worked in technical support for Dish Network and AT&T Wireless. He studied graphic design and web design at Pikes Peak Community College. He specializes in Windows, macOS, Linux, Android, iOS, and video game consoles. Travis has had a fascination with computers and technology that goes all the way back to childhood. He is proficient in all manner of software and computer operating systems. This article has been viewed 542,588 times.
How helpful is this?
Co-authors: 35
Updated: November 15, 2024
Views: 542,588
Article SummaryX

1. Go to https://selfcontrolapp.com/ in a web browser.
2. Download and install the SelfControl app.
3. Open the SelfControl app using Spotlight or in the Applications folder.
4. Click Edit Blacklist in the lower-right corner of the SelfControl app.
5. Click the plus (+) button in the lower-left corner.
6. Type the web address for the site you want to block and press Enter.
7. Drag the slider bar to set the amount of time you want to block the site.
8. Click Start.
9. Enter your admin password.

Did this summary help you?

Thanks to all authors for creating a page that has been read 542,588 times.

Is this article up to date?