• To block a website on Safari, use Screen Time on your Mac.
  • You can even block all websites and only allow specific, approved sites.
  • Alternatively, you can install a third-party website blocker — but setup will vary from app to app.
  • Visit Insider's Tech Reference library for more stories.

The internet can be an incredible resource, but it can also be a dangerous place, particularly for young children. But there are options to limit which sites your computer can have access to. 

If you have a Mac, there are built-in options, including blocking specific sites, limiting access to approved sites, or using a third-party website blocker.

Here's what you'll need to do:

How to block websites on Safari 

You can block sites using Screen Time on Mac computers. Here's how:

1. Click the Apple icon, located in the top-left corner of the screen and select System Preferences.

2. Choose Screen Time.

Click Screen Time.
Devon Delfino/Insider

3. Click Content and Privacy in the left sidebar.

Go into the Content and Privacy section of Screen Time.
Devon Delfino/Insider

4. Click Turn On, located towards the top-right corner of the window (unless you've already enabled the feature).

5. Choose Limit Adult Websites, then click Customize.

Click customize to block specific websites.
Devon Delfino/Insider

6. In the Restricted section, click the plus symbol.

Click the plus sign under the restricted section to block specific sites.
Devon Delfino

7. Add the desired URL and hit Ok.

Add the URL of the site you want to block and click ok.
Devon Delfino/Insider

8. Hit Ok.

Hit ok again to finalize your decision to block a site.
Devon Delfino/Insider

How to block everything and whitelist specific sites

1. Go into Screen Time through  your Mac's System Preferences.

2. Choose Content and Privacy in the left sidebar.

3. Click Allowed websites only and then hit Customize.

Hit customize to whitelist specific sites on Safari.
Devon Delfino/Insider

4. Add your allowed websites and then hit Ok.

How to block websites with third-party blockers

If you prefer, you can use a third-party website blocker. However, the way you'd set those up will depend on the app you choose. Here are a few options: