How to Block Websites on Mac Easily: 5 Proven Ways

Rosa Reyes
September 02, 2022 Preview 55.4K Preview 5
share it facebook share it Twitter

This article will show you how to block websites on Mac easily in 5 different ways.

To get distracted is human. When you use your Mac for work or school, there are always things that prevent you from focusing. You just can’t stop watching YouTube videos and checking social media. Blocking distracting websites can help you become more focused and productive.

All websites (including bad websites) are easily accessible to everyone (including children). Blocking inappropriate websites can protect people, especially children, from bad content online.


Method 1. How to block websites on Mac using a website blocker

Applies to: macOS 10.12 Sierra or later

Parental Controls (replaced by Screen Time since macOS Catalina) is a set of tools built-in to macOS. It allows one to block websites on Safari on a non-administrator account, which is not enough for many people.

You can block websites on Mac without Parental Controls. Just use website blocking software like Cisdem AppCrypt. AppCrypt can block websites on Safari, Google Chrome, Opera and other web browsers on your Mac, whether it’s an administrator account or a non-admin one.

This method is easy to use and hard to bypass. Below are the steps.

1. Download and install Cisdem AppCrypt.

Free Download

2. When you open it for the first time, set a password.

a window asking you to set a password

3. Click the padlock icon in the top menu bar and choose Open Main Window.

the padlock icon

4. Enter the password to access the main window.

5. In the main window, go to the Web Block tab.

the Web Block tab

6. To block a website on Mac, enter its domain name (e.g. in the URL field and click Add.

block a website on Mac by adding its domain name

To block specific websites on your Mac, just add the domain names. To block a category of websites (e.g. adult sites or social media sites), just choose the category from the Import drop-down menu.

Now the unwanted websites are blocked on Chrome, Safari and other browsers on your Mac. The blocking applies to both normal and private/incognito browsing modes.

How to unblock websites on Mac?

Click the padlock icon, choose Open Main Window and enter the password. Under the Web Block tab, select the website(s) that you want to unblock and then press the Delete key.

Or, you can temporarily unblock websites by choosing Disable Web Block and entering the password. You can enable the blocking at any time.

Tip 1. How to block websites during certain times

By default, the websites will always be blocked as long as AppCrypt is running.

If you only want to block a certain website on your Mac during certain hours (instead of permanently), you can use the Schedule feature. Under the Web Block tab, select the site and then click the clock icon that appears.

the Web Block tab

In the Custom Schedule window that appears, enable the schedule and add one or more schedules. For example, you can block Facebook during work hours.

Tip 2. How to block all websites except one on Mac

For this purpose, turn on the Block all websites feature, click Exceptions and then add the one or more websites that you allow to the Always Allow list. As a result, the web browsers on your Mac will only be able to open the allowed sites. All the other websites will be blocked and inaccessible.

the Block all websites feature is enabled

Free Download

Method 2. How to block websites on Mac using Screen Time

Applies to: macOS 10.15 Catalina or later

Built-in to macOS, Screen Time provides tools to help you control access to websites (and apps) on your Mac.

By default, your Mac allows unrestricted access to the web. In other words, anyone who uses this Mac has access to all websites, including inappropriate websites, which can be bad news for parents. The good news is that Screen Time allows you to block websites on macOS Catalina or later.

1. From the Apple menu, choose System Preferences.

2. In System Preferences, choose Screen Time.

3. In the bottom-left corner, click Options. Make sure Screen time is turned on and set a passcode.

4. In the left sidebar, choose Content & Privacy. Make sure it’s turned on.

Content & Privacy is chosen and turned on

5. Under the Content tab, choose Limit Adult Websites in the Web Content section.

Limit Adult Websites is chosen

6. Click the Customize button that appears and then add the websites that you want to block on your Mac to the Restricted list.

block websites by adding them to the Restricted list

7. Click OK.

Note: Once you choose Limit Adult Websites, your Mac will automatically restrict websites that are considered explicit or inappropriate by Apple. But sometimes Apple can be so strict that even normal websites get blocked. This will cause inconvenience.

How to unblock websites? There are three ways: turning off Screen Time or Content & Privacy Restriction, choosing Unrestricted Access, or deleting the websites in the Restricted list.

Method 3. How to block access to websites on macOS Mojave or earlier using Parental Controls

Applies to: macOS 10.14 Mojave or earlier

If your MacBook, iMac or Mac mini is still running macOS Mojave or earlier, you can use the built-in Parental Controls to block website access.

Like Screen Time, Parental Controls can automatically block many bad websites on Mac and also allows users to block specific sites. But there is a big disadvantage. Parental Controls is designed to control children’s use of the computer and access to the Internet. It can only block websites on your child’s account and doesn’t support an administrator account. Therefore, it doesn’t allow you to block yourself from websites.

1. On your Mac, choose System Preferences from the Apple menu. Click Users & Groups.

2. Click the padlock icon in the bottom left corner and enter your administrator password.

3. On the left, choose the user account on which you’d like to block certain websites.

4. On the right, select the Enable parental controls checkbox and then click the Open Parental Controls button.

5. Enter your administrator password again. Choose the Web tab.

6. Under the Web tab, choose Try to limit access to adult websites and click the Customize button.

the Web tab

7. Add the specific sites that you want to block to the Never allow these websites list. Click OK.

block a specific website by adding it to the Never allow these websites list

Method 4. How to block a website on Mac using Terminal

Applies to: All macOS versions

Can you block a website on a Mac without using Parental Controls, Screen Time or a site blocker app? The answer is yes. You can use Terminal, the terminal emulator included with macOS.

Terminal itself can’t do the blocking. You need to use Terminal to edit the hosts file, an operating system file.

This method has some disadvantages. It’s not that user-friendly. It can be time-consuming. The advantage is that it blocks websites on all browsers installed on a Mac computer, such as Safari, Google Chrome and Opera.

1. Open Finder on your Mac. Go to Applications > Utilities.

2. In the Utilities folder, double-click Terminal to open it.

3. Enter “sudo nano /etc/hosts”. Press the Return key.

4. Enter your administrator password. Press the Return key.

5. Use the Down Arrow key to go down. Now you can add a website to block. Suppose you want to block YouTube. In a new line, enter “”. In the next line, enter “”.

“” is entered in a new line

6. Continue adding other unwanted websites.

7. Once you finish adding, press Control-O and then press the Return key to save your editing.

8. Press Control-X to exit.

Note: If you block websites by editing the hosts file, the blocking can be bypassed by using a VPN. If your kid is tech-savvy, he or she may know how to get around blocked sites.

How to unblock websites on Mac using Terminal? If you want to make a certain website accessible again, you can unblock the site. In Terminal, get the hosts file ready for editing. Insert a number sign # in front of the lines that contains the site.

Method 5. How to block a website on Mac using a browser extension

Applies to: All macOS versions

A browser extension is a small tool that you can add to your browser. Website blocking extensions allow users to easily restrict website access at the browser level.

Unlike Method 4, this method is easy and quick to use. But there are two disadvantages. An extension only applies the blocking to the browser that it is running on. Also, an extension can be easily removed from a browser. Therefore, one doesn’t have to be tech-savvy to bypass the blocking.

Below is how to block a website on Chrome and Firefox on a Mac with an extension.

1. Go to the Chrome Web Store or and add an extension called BlockSite to your Chrome or Firefox.

2. Click the extension’s icon in the toolbar of your browser and then click the gear icon to go to settings.

3. In the Enter a web address field, enter the website that you want to block.

block a website by entering it in the Enter a web address field

4. Click Add Item. Continue adding other sites to block.

Now the added sites are blocked. To also apply the blocking to the incognito browsing mode (Chrome) or private browsing mode (Firefox), control-click the extension’s icon in the toolbar, choose Manage Extension and then allow the extension.

You will also want to install a website blocking extension in Safari. Apple’s Safari browser is the primary browser of most Mac users. But there is only one extension available. It’s called “about:blank”. It’s a rather basic website blocking tool. You can get it from the Mac App Store.


Stopping access to porn sites, gambling sites, inappropriate sites and other bad websites can help make the Internet a safer place, especially for children. Limiting access to YouTube, Facebook, Roblox and other distracting websites can help avoid distractions and reduce screen time. This article talks about how to block websites on Mac on Safari, Chrome and other web browsers in different ways, with or without Parental Controls or Screen Time. I hope it helps.

Rosa Reyes
share it facebook share it Twitter

Rosa has worked in Mac software industry for more than eight years. She believes that the purpose of software is to make life better and work more productively. In addition to writing, Rosa is also an avid runner.

share it facebook share it Twitter
Comments (5) Leave a Reply

Name *

Comment *

  • Martin Keiper

    Although mac has its built in features to block sites, i think they're time-consuming. I choose to use third-party tool directly. It saved me lots of time and is easy to use. The app recommended in this post is very effective at cutting down the screen time on my mac. Thanks!

    0 months ago Reply

    Name *

    Comment *

  • Richard Bright

    What I dislike about Parental Controls is that you can't set them up for an administrator account. Screen Time is much better in that regard. But Screen Time's Limit Adult Websites blocks certain normal sites and pages that I need. The first method is better. It does no automatic blocking.

    1 years ago Reply

    Name *

    Comment *

  • Darren

    I loved your post!!! exactly what I wanted. This will be useful to help my son get rid of the addiction from Internet. My son can't inadvertently click on any of these sites now.

    6 years ago Reply

    Name *

    Comment *

  • William

    Hello, thank you for posting this, it's been really helpful so far! I was just wondering, does anyone know of a way to block specific google searches and not google entirely?

    7 years ago Reply

    Name *

    Comment *

    • Susan

      There is no way to block specific google searches I think.

      7 years ago
  • Gina

    With these methods recommended in this article, I can block any websites I want to be blocked, and the app recommended to lock apps is really wonderful

    7 years ago Reply

    Name *

    Comment *

Hot Articles

How to Limit YouTube Time on Mac on Chrome and Safari How to Block Online Gaming Easily on Computer and Mobile How to Limit Screen Time for Adults? These Apps Can Help
Home > How to Block Websites on Mac Easily: 5 Proven Ways