Home > Block Websites > How to Block Websites on Mac Easily: 5 Proven Ways

How to Block Websites on Mac Easily: 5 Proven Ways

Updated on May 15, 2026 Preview 63.6K Preview 8
share it facebook share it Twitter
No robots used, this article has been written and edited by our team under strict editorial guidelines.
avatar
Written by Norah Hayes
avatar
Approved by Ethan Long

There can be many reasons to block certain websites on the Internet. For example, By preventing access to certain websites, you can reduce distractions and protect your children from inappropriate content.

This article shows you how to block websites on Mac in five ways, covering all web browsers and macOS versions. It begins with a brief comparison of these methods.

 

Quick answer

Need Best method
Block adult websites Cisdem AppCrypt/Screen Time
Block websites with password protection Cisdem AppCrypt
Block websites only during certain hours Cisdem AppCrypt
Advanced blocking options Cisdem AppCrypt
Free built-in method Screen Time/Terminal
Block websites on all devices Router
Block websites in a browser BlockSite

 

Method 1. How to block websites on Mac using Cisdem AppCrypt

With its strong password protection, ease of use, and advanced blocking features, Cisdem AppCrypt is one of the best tools to block websites on Mac.

It is an easy-to-use app that helps you control access to websites in Chrome, Safari, Opera, and some other browsers on Mac, even in incognito mode.

The app provides both basic and advanced blocking options, such as blocking user-added websites, restricting all URLs that contain any user-specified keyword, allowing access only to certain sites, and scheduling.

Best for:

  1. Users who want to block websites in all popular browsers (Safari, Chrome, Opera, etc.)
  2. Parents who need strong parental control on Mac.
  3. Students who want to avoid distractions like YouTube or social media.
  4. Users who need password-protected blocking.
  5. Users who want schedule-based website blocking.

Not ideal for:

  1. Users who prefer built-in macOS tools without installing software.

Below is how to use Cisdem AppCrypt to block websites on Mac.

1. Download and install AppCrypt.

Free Download macOS 10.12 or later

2. When you launch the app for the first time, set a password.

☺: Ask a friend or family member to set the password if you're blocking sites for yourself.

a password setup screen showing a Password field, a Repeat field, and a Submit button

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

clicking the lock icon bringing up an Open Main Window option

4. Enter the password to access the app’s main window.

a password entry screen

5. Click the Web Block tab, then choose how to block:

web block tab

✨Block by URL

- Type the domain name of the site (e.g. youtube.com) in the URL field. Click Add.

✨Block by keyword

- Type the keyword (e.g. porn) in the URL field. Click Add.

✨Block by category

- Click the Import drop down menu. Select a category (e.g. Social Sites). Then it will add all popular social media sites to the block list.

✨Whitelist mode

- Enable Block all websites in the bottom-left corner. Click Exceptions. Then add the site to the Always Allow list.

All blocked sites will be inaccessible in all supported browsers. There are several ways to unblock a website, such as quitting AppCrypt or removing it from the block list. However, all of them require the password, making the blocking effective.

✨Schedule websites blocking

Blocking is permanent by default. You can also use the Schedule feature to block sites at certain times. For example, you can limit access to youtube.com only during 10:00 AM to 15:30 PM on weekdays.

schedule

Tip 1: Does AppCrypt work in incognito/private mode?

Yes. AppCrypt can block websites in incognito or private browsing mode as well. Even if users switch to a private browsing mode, the websites will remain inaccessible.

Tip 2: Can AppCrypt block websites for administrator accounts?

Yes. AppCrypt works even on administrator accounts on Mac. For a Mac with multiple users, if needed, you can set up AppCrypt for each user so each can have personalized settings.

Tip 3: What happens if someone tries to quit AppCrypt?

If someone tries to quit AppCrypt, they will be prompted to enter the password. Without the correct password, they cannot quit the app, change settings, or remove website restrictions. This helps ensure that website blocking cannot be easily bypassed.

▶️You can also watch this video tutorial to see how to block websites on Mac with AppCrypt.

 

Method 2. Block websites in Safari on Mac with Screen Time

Screen Time is a set of settings built into macOS Catalina 10.15 and later, offering two ways to block websites on Safari:

  • Permanent restrictions: Always block specific sites or adult sites.
  • Time-based restrictions: Limit access to specific sites based on usage time.

To block websites on non-Safari browsers on Mac like Chrome, Opera, consider other methods.

Best for:

  1. Users who want a free built-in solution on Mac.
  2. Users who only use Safari for browsing.
  3. Parents who want to block adult websites on child’s Mac.
  4. who want to manage child’s screen usage.

Not ideal for:

  1. Users who primarily use Chrome or other browsers.
  2. Users who want to block websites for administrator accounts on Mac.
  3. Advanced users needing keyword or category-based blocking.
  4. Users who want strong password-protected blocking.

Below is how to use Screen Time to block websites on Mac.

Permanent restrictions

1. Open System Preferences or System Settings, depending on the macOS version used.

2. Choose Screen Time and turn it on.

A Screen Time window showing Use Screen Time Passcode, Content & Privacy, App Limits, and other options

3. Optionally, turn on Use Screen Time Passcode and set a passcode.

4. Choose Content & Privacy and enable it.

5. Choose Content Restrictions > Access to Web Content > Limit Adult Websites.

6. Click Customize. In the dialog that appears, click the Add icon in the Restricted section, type the website that you want to block, and click Done. Continue adding other unwanted sites.

A dialog showing a Restricted section and an Allowed Section

7. Click Done.

This will permanently block both the websites you have added and those that Apple deems aren’t appropriate for children and teens.

Tip: In step 5, there’s also an Allowed Websites Only option. Choosing this will block all websites except those you have added, which works as a whitelist.

 

Time-based restrictions

1. In Screen Time, choose App Limits and turn it on.

An App Limits window in Screen Time showing an Add Limit button

2. Click Add Limit.

3. In the Create a new app limit dialog, scroll to find and click Websites.

the Create a new app limit dialog showing a Websites option along with a green Add Website icon, and a Time section

4. Click the Add Website icon to add an unwanted site.

5. In the Time section, do one of the following:

  • Select Every Day and set a time limit, such as 1 hour and 30 minutes. This way, each day when this website has been assessed for 1 hour and 30 minutes, it will be restricted.
  • Select Custom, click Edit, and set limits for different days of the week based on your specific needs.

6. Turn on Block at End of Limit if this option is available.

If a Screen Time passcode is set, the Block at End of Limit option will be available, and blocking will be protected by the passcode. If there isn’t a passcode, the restriction can be bypassed easily.

Tip 1: Does Screen Time work in Chrome on Mac?

Screen Time works best with Safari. Although Apple says Screen Time restrictions can apply to Safari as well as other browsers, website blocking in Chrome, Firefox, etc. may not always work as reliably as it does in Safari.

If you need website blocking that works across Chrome and other browsers, a dedicated website blocker for Mac may be a better option.

Tip 2: How to block all websites except a few in Screen Time?

Screen Time lets you block all websites except specified ones. To do this:

Go to Screen Time > Content & Privacy > Content Restrictions > Access to Web Content.

Choose Allowed Websites Only. Add the websites you want to allow.

Tip 3: Can kids bypass Screen Time website blocking?

yes. Tech-savvy kids may bypass Screen Time restrictions by:

  • Using another browser such as Chrome, Firefox.
  • Using a VPN.
  • Changing Screen Time settings if they know the passcode.
  • Using another administrator account on the Mac.

If you need stronger websites blocking that is harder to bypass, a dedicated website blocker with password protection may be a better option.

 

Method 3. How to use Mac’s Terminal to restrict a website

The Terminal app comes with every Mac. This method involves using it to edit the hosts file, a system file that helps your Mac locate and access websites.

It can be simple for those who are tech-savvy. But if you are not very comfortable with technology, I suggest skipping this method.

The good news is that it’s device-based and applies to all browsers, such as Chrome, Safari, and Firefox.

Best for:

  1. Advanced users comfortable with command line tools.
  2. Users who want a permanent blocking method.
  3. Users who prefer built-in macOS tools without installing software.
  4. Users who only need to block a few websites on Mac.

Not ideal for:

  1. Beginners or non-technical users.
  2. Users who need temporary blocking.
  3. Users who frequently need to add/remove blocked sites.
  4. Users who need password-protected blocking.

Below is how to use Terminal to block websites on Mac.

1. Open the Terminal app.

2. Enter sudo nano /etc/hosts and press the Return key.

3. Enter your administrator password when prompted and press the Return key. The hosts file will open.

4. Create a new line by moving the cursor to the end of the last line and pressing the Return key. Enter 127.0.0.1 facebook.com. Replace facebook.com with the site you want to restrict.

A Terminal window showing 27.0.0.1 facebook.com, 127.0.0.1 www.facebook.com, and a few other lines

5. Press the Return key to create another new line. Enter 127.0.0.1 www.facebook.com.

6. Press Control-O and then the Return key to save your changes.

7. Press Control-X to exit editing.

8. Optionally, enter sudo dscacheutil – flushcache and press the Return key to clear your Mac’s memory of website addresses.

 

Method 4. Configure your router to block websites on all browsers on Mac

If you have access to your router’s settings (know the username and password) and it offers features like parental controls or web filtering, you can consider this method. Since this method is network-based, it applies to all desktop and mobile devices, including Macs, and supports all browsers.

Best for:

  1. Families who want to block websites on all devices in the home.
  2. Parents who want to set up parental controls on a child’s device without installing software on each device.

Not ideal for:

  1. Users who need different blocking rules for different devices.
  2. Beginners who are unfamiliar with router settings.
  3. The device can easily connect to another Wi-Fi network.

Below are general steps on how to block websites using router. To learn more, you can see this article.

1. Access your router’s settings. Enter your router’s IP address into a web browser and log in to the configuration page with the default or changed username and password.

If your children don’t know the login information, they can’t bypass blocking by changing the settings.

2. Find the blocking feature. Such a feature is typically called Parental Controls, Website Filter, or Content Filter.

A router settings screen showing a Select Categories section and a Blocked Websites section

3. Optionally, if there’s an option to create a profile first, you can create one if needed. This way, blocking will only apply to the Mac specified in that profile, while other devices on the same network are not restricted.

4. Block unwanted websites by specifying the URLs, keywords, or categories.

 

Method 5. Use BlockSite to block sites in Chrome or Firefox on Mac

This method uses a popular website-blocking extension called BlockSite. It can be installed on Chrome and Firefox browsers on Mac. It allows you to block specific URLs, keywords, and even categories of sites with ease. There’s also a schedule feature to offer flexibility. But it does not support Safari on Mac. And the blocking can be bypassed by disabling/uninstalling the extension.

Best for:

  1. Users who want a quick way to block websites in a browser on Mac.
  2. Users who only use Chrome or Firefox browser.
  3. Users who only need to block 3 websites on Mac.
  4. Users who don’t need block websites with password protection.

Not ideal for:

  1. Users who need to block websites across all browsers on Mac.
  2. Parents who need stronger parental controls to restrict children’s access to inappropriate websites.
  3. Users who want hard-to-bypass restrictions.

Below is how to use BlockSite to block websites on Mac.

1. Add BlockSite to your browser.

2. In the Block Sites tab, click Add to Block List.

click Add to Block List

3. In the Add to Block List dialog, do any of the following:

add a website

  • Click the Websites tab, type an unwanted website, and click the Add icon.
  • Click the Keywords tab, type a specific keyword that you’d like to limit, and click the Add icon.
  • Click the Categories tab, click the Add icon next to an undesirable category, such as Adult, Social, or Gambling.

4. Optionally, click Schedule to activate blocking only during certain times.

5. In the Password Protection tab, set a password. This way, it will require a password to access blocked sites.

To use this extension on multiple browsers, install and set up it for each browser.

 

Feature comparison of the 5 Mac website blocking methods

Feature AppCrypt Screen Time Terminal Router BlockSite
Works in all browsers
Supports schedules Some
Password protection
Block sites by category Some Limited
Block sites by keyword Some Limited
Block all websites except allowed ones
Easy for beginners Medium Medium
Hard to bypass Medium Medium Medium

 

FAQs

Can I block certain webpages on Mac?

Yes. The same as blocking websites, you can also block access to certain webpages on Mac by adding their full URLs into the block list. This way, only you selected webpages will be blocked, while the rest of the pages on this site remain accessible. For example, when you want to block certain inappropriate content on YouTube on your children’s Mac but still allow them to access learning videos, select this solution.

Is it possible to block categories of websites on all browsers on Mac?

Yes, you can use Cisdem AppCrypt to block categories of websites on all browsers on Mac. This tool supports 10 predefined categories: dating sites, email sites, gambling sites, games sites, news sites, proxy sites, search sites, shopping sites, social sites, and video sites. Additionally, you can import a text file with a custom list of websites to restrict. All popular browsers on Mac are supported. For unsupported browsers, its App Lock feature allows you to lock the entire browser to prevent access.

Is there a way to block some sites while studying?

Yes. Some website blockers for Mac, such as Cisdem AppCrypt and BlockSite, offer a schedule feature. If you want to block some distracting websites during study time, simply set a schedule with your preferred hours. The selected websites will be automatically blocked during the time, helping you stay focused while studying.

About the authors
avatar
Written by Norah Hayes

Norah Hayes likes to share her tips on how to improve focus and stay motivated at work. She believes it is essential to eliminate all online distractions during work hours.

avatar
Approved by Ethan Long

Ethan Long joined Cisdem in 2015 as a developer and now serves as the editorial advisor for Cisdem AppCrypt. He actively tests and uses Cisdem AppCrypt and other screen-time management tools to ensure AppCrypt meets its promises in real-world scenarios.

Loved the article, share!
Comments (8) Leave a Reply

Name *

Comment *

  • Waldenberger

    Very informative post. I used the Screen Time method for my kids, but AppCrypt gives more control. Thank you!

    1 years ago commonReply

    Name *

    Comment *

  • monkey

    Only Safari respects Screen Time blocks.

    3 years ago commonReply

    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!

    3 years ago commonReply

    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.

    4 years ago commonReply

    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.

    9 years ago commonReply

    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?

    10 years ago commonReply

    Name *

    Comment *

    • Susan

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

      10 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

    10 years ago commonReply

    Name *

    Comment *

May 12, 2025
How to Block Websites on Safari without Screen Time or With It
April 10, 2026
How to Block All Websites Except One on Computers & Phones
January 04, 2026
7 Ways to Block Websites on Chrome without Extension in 2026
March 10, 2026
Top 8 Website Blockers in 2026 [Extensions & Apps]