How-To Geek

How to block a website in safari on iphone and ipad.

If you're an iPhone or iPad owner (especially one whose children use your device), you might occasionally want to block access to a specific website.

If you're an iPhone or iPad owner (especially one whose children use your device), you might occasionally want to block access to a specific website. Whether that website is one of adult nature or just something, you don't want your children to be able to readily access, blocking specific websites on an iPhone or iPad takes just a few taps.

We're going to run through how you can make sure a specific website isn't accessible in Safari. This process recently changed with the release of iOS 12, so if you think you already know how to block websites, you might be surprised. Apple has rolled this particular functionality into its new Screen Time feature, and while it's now hidden below a couple of extra taps, it still works like a charm.

Head into the Settings app, scroll down a bit and tap the "Screen Time" option.

Next, tap "Content Privacy & Restrictions."

If it's not already activated, flick the "Content & Privacy Restrictions" toggle on and then tap "Content Restrictions" to proceed.

On the content restrictions page, tap the "Web Content" option. You might notice that it says "Unrestricted Access," but you will be changing that shortly.

Don't worry; you're almost done.

Next, enable the "Limit Adult Websites" option, which is required before you can block specific sites. From there, tap "Add Website" at the bottom of the screen. This is where you will enter the URL of the website you are going to block.

On the Add Website page, type the URL of the website you want to block and then tap "Done" on the keyboard.

At this point, you're all done, and the website is blocked. You can test this by heading over to Safari and trying to access the website in question. If all has gone according to plan, you will see an error similar to the one we have here.

If you need to add more websites, return to the same place and keep adding. If you decide to remove one at a later date, swipe on the URL and then tap "Delete."

If you prefer to use Chrome instead of Safari, there are some workarounds for blocking websites in Chrome even though there's no built-in feature for it.

How to block a website on Safari

Block unwanted websites on Safari in just a few short steps

How to block a website on Safari

If you own a  MacBook , iPad or iPhone , chances are that you’re using Safari . And if you have kids that use your Apple devices, they’re also using the web browser. However, while you might like to have free reign of your devices, there are some websites you would rather younger users even have access to due to inappropriate content. In those cases, it’s important to know how to block a website on Safari . 

Since the internet can be an unpredictable place for even the most savvy of users,  oftentimes it is best just to limit access to what children can and cannot view. In this tutorial, we will be showing you how to block a website on Safari.

  • How to change Safari background on iPhone
  • How to group tabs on Chrome, Firefox, Safari, and Edge
  • iOS 15 tips: How to move the address bar back to the top of the Safari browser

How to block a website on Safari

1) Navigate to the top of your laptop screen and click on the Apple logo . 

How to block a website on Safari

2) A dropdown menu will appear . Scroll down in the menu and click on the System Preferences tab.

How to block a website on Safari

3) Once in System Preferences, navigate to the bottom of your menu and click on the Parental Controls tab.

How to block a website on Safari

4) In the Parental Controls tab, select the account that you wish to make changes to by selecting the name on the right-hand side of the screen, as well as selecting the lock icon.

How to block a website on Safari

5) After selecting the lock icon, log into your computer’s administrator account and continue.

Stay in the know with Laptop Mag

Get our in-depth reviews, helpful tips, great deals, and the biggest news stories delivered to your inbox.

How to block a website on Safari

6) Next, select the account that you wish to make changes to on the left side of the screen. The account I will be accessing is called Demo 1.

How to block a website on Safari

7) At the top of the task bar, navigate over to the Web tab. Click on the Web tab . While in the tab, click on Try to limit access to adult websites and from there hit Customize.

How to block a website on Safari

8) In the Customize tab , scroll down to the bottom of the screen, and click the + icon under the Never allow these websites tab. From there, you may add any website that you wish to be blocked, and the access to that website will be restricted.

How to block a website on Safari

9) Log into the other account and attempt to view the blocked site. It should now be inaccessible. 

How to convert PDF to JPG, PNG, or TIFF

How to add Outlook Calendar to Google Calendar

Leaked slides hint at how Nvidia views its AI PCs against the competition

Most Popular

  • 2 Asus will reveal a long-awaited "AI PC" on May 20 with a Snapdragon X Elite chip
  • 3 Mid-cycle iPhone? Social media post could be a clue about a new iPhone 15 color
  • 4 Best gaming laptop deals in May 2024
  • 5 The Rabbit R1 appears to be headed to a junk drawer

how to block page safari

  • Dragon’s Dogma 2
  • Genshin Impact
  • Honkai Star Rail
  • Lego Fortnite
  • Stardew Valley
  • NYT Strands
  • NYT Connections
  • Apple Watch
  • Crunchyroll
  • Prime Video
  • Jujutsu Kaisen
  • Demon Slayer
  • Chainsaw Man
  • Solo Leveling
  • Beebom Gadgets

How to Block Websites in Safari on iPhone and Mac

' src=

How to Block Websites in Safari on iOS, iPadOS, and macOS (June 2021)

How to block websites in safari using screen time on iphone and ipad.

  • Open the Settings app on your iPhone or iPad.

Open settings app on iPhone or iPad

4. Next up, turn on the switch next to “ Content & Privacy Restrictions ” and tap on the “ Content Restrictions ” option.

Tap on Content Restrictions - How to Block Websites in Safari on iPhone and Mac

Going forward, if someone tries to access the website through Safari, it will show you an “ Access Restricted ” error message. Besides, there will also be a warning saying, “You can’t browse this page at www.xyz.com because it’s restricted.”

Now Allow unrestricted access

How to Block Websites in Safari Using Screen Time on Mac

  • Launch “ System Preferences ” from the dock on your Mac. Alternately, click on the Apple icon at the top left corner and click on System Preferences from the drop-down menu.

Choose System Preferences

2. Now, choose Screen Time.

Choose Screen Time pane

7. That’s it! Now onwards, Safari won’t open this website. Whenever someone tries to open any of the blocked websites, the browser will show a warning saying, “Oops! You can’t see pages on this website. You can’t see the page “https://www.xyz.com/” because it’s not on the approved list in Screen Time.”

Blocked websites in Safari - How to Block Websites in Safari on iPhone and Mac

How to Block Websites in Safari Using AppCrypt on Mac

  • First off, download Cisdem AppCrypt ( Free , in-app purchases available) on your Mac and set a password. Make sure to remember your AppCrypt password as you cannot reset or retrieve it in the future. Click on “Submit” once you are done.

Set password

3. Next, click the “+” button at the bottom left and add the URL of the website you want to block in Safari on your Mac. If you want to block all sites except a few, use the Allowlist feature.

Block sites on macOS

How to Block Websites in Safari Using a Third-Party App on iPhone and iPad

  • Download the website blocker app ( Free ) on your iPhone or iPad. Then, launch the app and set a login password and log in.

Launch a website blocker

Note : Ensure that the website blocker is enabled in Safari. Open Settings app -> Safari -> Content Blockers (in iOS 14) or Extensions (in iOS 15 or later) and then make sure that the toggle next to the website blocker app is turned on. 

block websites in safari on ios

Block Websites in Safari with ease on iOS and macOS

' src=

Rajesh Mishra

An old school bibliophile who turned a tech nerd out of obsession. When he is not digging into hacks and tracking down stories that are breaking the internet, you may find him reciting poems.

Add new comment

How to Fix MacBook Screen Flickering Issues

How to block websites and set content restrictions on an iPhone or iPad

  • To block websites on an iPhone or iPad, go to the "Content Restriction" section of Screen Time.
  • You can block all adult sites or limit access to a list of pre-approved websites.
  • You can also block websites with explicit language and protect the settings with a passcode.

With the full swing of the digital age, it's not uncommon to have children under the age of 12 with an iPhone or iPad. 

If you want to set up an iPhone and iPad for your child, you may consider restricting access to any websites that you'd rather not end up in front of young eyes.

Here's what you need to know to block websites on an iPhone or iPad. 

How to block websites on an iPhone and iPad

There are various ways you can block websites on an iPhone so your child doesn't visit them.

1. Open the Settings app.

2. Scroll down and tap Screen Time .

3. Tap Content & Privacy Restrictions .

4. Tap the toggle for Content & Privacy Restrictions to switch it to the right (a green background will appear around the switch).

5. Tap Content Restrictions .

6. Tap Web Content .

7. Choose how you want to limit web access. 

  • Limit Adult Websites: This option blocks sites known to be adult in nature (like nudity and pornography). You can also add more sites that will always be blocked or allowed. 
  • Allowed Websites Only: This option allows you to create a customized list of the only sites that will be allowed.

How to block searches and explicit language on an iPhone and iPad

You should also consider blocking websites that contain explicit language.

1 . Open the Settings app.

2 . Scroll down and tap Screen Time .

3 . Tap Content & Privacy Restrictions .

4 . Tap Content Restrictions .

5 . Tap Explicit Language .

6 . Tap Don't Allow .

How to set up a passcode to protect your content restrictions 

While you're at it, you should also set up a screen time passcode. This will prevent any semi-savvy child from undoing any of the settings he or she doesn't like. 

3 . Tap Use Screen Time Passcode .

4 . Enter and re-enter the passcode.

5 . Enter your Apple ID username and password so you can recover the passcode if you forget it and tap OK in the bottom right corner of the pop-up.

Now whenever anyone tries to change the Screen Time settings they'll have to enter the passcode to get through.

how to block page safari

  • Main content

How to block websites on iPhone and iPad

Learn how to block websites on iPhone and iPad, especially if you have children or come across content you'd rather unsee

An image of an iPhone screen showing the Safari app icon in the center

If you're wondering how to block websites on iPhone and iPad then there's a strong chance you've come across a site that you'd rather not view again. Either that or you have children who you would like to keep safe online. After all, there's a lot of great content out there, but a helluva lot of bad stuff, too!

Stick with Safari as your browser of choice, however, and you can easily filter out unwanted websites. As well as blocking adult content, you can ensure specific sites cannot be accessed. You can also go the other way by making sure there's a blanket ban on all but a handful of websites. These are based on a list which you can tailor to suit your circumstances.

How to block websites on iPhone: Access the web content settings

In all cases, the website-blocking features are situated within Screen Time so, to make use of any one of the three functions explained below, you will need to follow these four steps first.

1. Launch the Settings app on your iPhone or iPad and tap Screen Time .

How to block websites on iPhone and iPad

2. Select Turn On Screen Time if it's not already on and follow the on-screen instructions to get set up. Otherwise, tap Content & Privacy Restrictions .

How to block websites on iPhone and iPad

3. Toggle the Content & Privacy Restrictions button into the “on” (green) position.

How to block websites on iPhone and iPad

4. Tap Web Content .

Sign up to get the BEST of Tom’s Guide direct to your inbox.

Upgrade your life with a daily dose of the biggest tech news, lifestyle hacks and our curated analysis. Be the first to know about cutting-edge gadgets and the hottest deals.

How to block websites on iPhone and iPad

How to block websites on iPhone: Limit adult websites in Safari

Now that you know how to get into the web content settings, you can start to block websites.

The simplest option is to make use of Apple's own list of adult websites. This will prevent you (or anyone else) from using Safari on an iPhone or iPad to view material aimed at adults.

1. Follow the steps above (concerning web content settings) and tap Limit Adult Websites .

How to block websites on iPhone and iPad

2. If you find this limits some websites that you would like to remain viewable, tap Add Website under Always Allow.

How to block websites on iPhone and iPad

3. You can then type the URL of the site you want to see. Tap Done and tap Web Content to go back to the previous screen.

How to block websites on iPhone and iPad

How to block specific websites on iPhone and iPad

You can also go further and select specific websites that you want to block. These will be in addition to the list of adult websites gathered by Apple.

1. Follow the steps above (concerning web content settings) then tap Limit Adult Websites .

How to block websites on iPhone and iPad

2. Now tap Add Website under Never Allow .

How to block websites on iPhone and iPad

3. Type the URL of the site you do not want to view and tap Done . You can then tap Web Content to go back to the previous screen.

How to block websites on iPhone and iPad

How to only allow specific websites to be viewed on iPhone and iPad

The third way of restricting access to online content is to block almost every website, before then allowing certain ones to be viewable.

1. Follow the steps above (concerning web content settings) and tap Allowed Websites Only .

How to block websites on iPhone and iPad

2. Now, underneath the list of websites which Apple will automatically allow, tap Add Website .

How to block websites on iPhone and iPad

3. Enter the title of the website you want to allow and enter the website's URL . Tap Done and tap Web Content to go back to the previous screen.

How to block websites on iPhone and iPad

And that's it. You should now be able to work out which approach works best for you. If you want to use a different browser, check out how to block a website in Chrome . If you're worried about theft try how to disable control center on a locked iPhone . You can also say goodbye to irritating ads thanks to the best ad blockers , learn how to disable the pop-up blocker in your browser , and, for good measure, figure out how to block spam calls on iPhone . If you're thinking about upgrading your Apple tablet, make sure you read our guide on how to transfer data from iPad to iPad . And if you're like to learn more about using your smartphone's apps, start with how to change your Instagram username .

David Crookes

David Crookes is a freelance writer, reporter, editor and author. He has written for technology and gaming magazines including Retro Gamer, Web User, Micro Mart, MagPi, Android, iCreate, Total PC Gaming, T3 and Macworld. He has also covered crime, history, politics, education, health, sport, film, music and more, and been a producer for BBC Radio 5 Live.

iOS 18 could bring three big upgrades to Safari on iPhone

How to copy and delete screenshots on iPhone — here’s a great way to limit excessive photos

Huge Amazon sale on JBL headphones — here's the 5 deals I'd buy now with up to 40% off

Most Popular

  • 2 Google Chrome users will soon be able to access Gemini AI directly from the search bar — here's how
  • 3 Act fast! This RTX 4060 gaming laptop just got $516 off in epic deal
  • 4 My favorite Apple TV Plus show returns this month — and it’s better than Ted Lasso
  • 5 5 Snapdragon X Elite laptops that look set to challenge M3 MacBooks real soon
  • 2 Google's new 'audio emojis' sound like a terrible idea
  • 3 One of my favorite romantic comedies is coming to Netflix today — and it’s 94% on Rotten Tomatoes
  • 4 Google Chrome users will soon be able to access Gemini AI directly from the search bar — here's how
  • 5 Act fast! This RTX 4060 gaming laptop just got $516 off in epic deal

how to block page safari

Geek Dashboard Home

How to Block Websites in Safari Browser on your Mac, iPhone, and iPad

If you’re planning to block websites in Safari, and are new to the Apple Ecosystem, then you’re certain to get confused. Whether you’re blocking the website because of annoyance or for your children , the reason could be anything. Albeit, blocking websites on Safari, Chrome, Firefox, Edge or any other browser in Apple devices like Mac, iPhone, and iPad is as easy as pie.

There are multiple ways to block websites in Safari and it’s a little different on Mac, iPhone, and iPad but almost similar. In this guide, we’ll show you how to block any website on your Mac, iPhone, and iPad if you’re using the Safari or any other browser.

Guide to Block Sites on Safari on iPhone, MacBook and iPad

Block websites in Safari on Mac, iPhone, and iPad

Safari is a great web browser when it comes to browsing. But when you’ve to block certain websites for your employees or kids, it could be a little difficult for new Apple device owners.

However, Apple provides a system-wide solution to block websites on your device entirely whether it is Mac, iPhone, or iPad.

The method involves using the Screen Time feature on macOS, iOS, and iPadOS to block multiple websites. You can either choose to block only adult websites or choose custom sites to block.

So here’s how to block websites in Safari or any other browser on Mac, iPhone, and iPad.

When blocking websites with Screen Time, it works system wide and your machine can’t access the blocked URL anywhere. Be it in web browser or any installed apps. It acts like a system-wide parental control.

Steps to Block Websites on Safari in macOS

The easiest way to block websites on Mac is by using the new Screen Time feature. The Screen Time feature on macOS was introduced with the launch of macOS Catalina.

For this method to work, you need to be running macOS Catalina (version 10.15) or above. If you haven’t updated your Mac yet, then you should update it to the latest version for it to work. Once you update your macOS to the latest version, then follow these steps to block sites in Safari on Mac.

  • Click on the Apple logo on the top-left corner of your screen.

System Preferences under Apple Logo

  • Select Content & Privacy from the options on the left.
  • If it is not turned on by default, then you can click on the Turn On button.
  • Under Web Content , choose Limit Adult websites option to block well known adult sites automatically.

Enable Content Privacy to Block Websites

  • Type the URL of the website to block or restrict from viewing in Safari.

Entering URL to block websites

  • Save the blocked list by clicking on OK

Age Restricted website blocked in Safari

This is how you can block websites in Safari. On top of this, the websites are blocked on other browsers as well. Whether you use Google Chrome, Edge, Firefox, or any other browser, the restricted sites will not open on any of the browsers.

Also Read : How to Delete Apps on Mac That Won’t Delete

Furthermore, if any user knows how to unblock the blocked websites in Safari, then it’s best to use a passcode for Screen Time as well.

Also, the restriction popup contains an “Add Website” button which adds the website to whitelist but it requires the administrator password. Make sure the password is strong enough to guess.

Steps to Block Sites on iPhone and iPad

Blocking websites on iPhone and iPad are pretty similar to that of a Mac. However, you should be running iOS 13/iPadOS 13 or above to block websites on iPhone and iPad respectively.

If you aren’t running on iOS/iPadOS 13 or above, then you should update to the latest version. Once updated to the latest version of iOS and iPadOS, follow these steps to block websites in Safari on an iPhone and iPad.

iPhone Settings app

  • Now select Content Restriction .

how to block page safari

  • Under choose Never Allow , tap on Add Website to add custom sites.

Never Allow these URLs option

After adding the websites list, they will be blocked and you can’t open them on the iPhone or iPad anywhere including Safari browser. Using Screen Time is the best method to block websites in Safari on iPhone and iPad. Similar to macOS, the websites will be blocked on other browsers as well including Chrome and other browsers.

Also Read : 2 Ways To Enter and Exit Recovery Mode on Any iPhone

You can swipe left on the website URL, and tap on Delete to unblock the website whenever you want.

Delete URL to Unblock the website

Block Websites System-wise on macOS, iOS and iPadOS

Whatever the reason may be for your blocking, you’ll be able to block any site on macOS, iOS, and iPadOS. However, make sure that you don’t let anyone access the Screen Time feature without any passcode. If they know how to get past the blocking, the blocking will be of no use.

In addition to blocking websites on Safari whether it’s Mac, iPhone, or iPad, it also blocks them at system-level blocking. Hence you can’t access those sites anywhere inside your device with any tool. I guess blocking sites on Safari isn’t hard as you think.

Hope this guide helped you in blocking websites in Safari without any parental control apps and modifying your router setting. If you have any queries or suggestions related to this topic, make sure to leave them in the comments.

Be the Change!

Spread the word and help us create better tech content

Avatar for Sajid Shaik

Sajid Shaik

A 22-year-old Tech Enthusiast who is into tech more than you. New tech excites him moreover anything else. Apart from tech, he does Graphic Designing as well. He's well known for his Vector Avatar made for MKBHD.

Leave a Reply Cancel reply

The comments section is to assist our readers with any inquiries. Each comment undergoes rigorous moderation before it can be approved for publication. Your name and comment will be publicly visible. Your email address will not be published. Required fields are marked *

Save my details (Name, Email, and Website) in browser and automatically add them when I visit next time.

By commenting on ths website, you agree to our Privacy Policy and Terms and Conditions *

How to block websites on iPhone and iPad — keep your kids safe in iOS 17

Here's how to block websites on iPhone.

iPhone 13 mini safari

  • Limit adult content in Safari
  • Block specific websites in Safari
  • Block everything except specific sites in Safari

Want to know how to block websites on iPhone and iPad? Apple offers the ability to do so on both iOS and iPadOS, allowing you to take control of Safari and restrict access to adult content such as porn and gambling.

This guide will teach you the three ways to block websites on iPhone and iPad by simply banning all adult content, adding specific websites to a ban list, or banning all websites and only allowing your children to access some. 

This comprehensive how-to guide will show you everything you need to know and teach you how to block websites on iPhone and iPad in Safari on iOS 17 .

How to limit adult content in Safari for iPhone and iPad

The first and easiest way to block websites in Safari is simply to turn on the "limit adult content" setting in Apple's Screen Time settings. This will create a blanket ban on websites generally considered to be adult, including porn and gambling, and requires the least effort. Here's how to do it:

  • Launch Settings from the home screen
  • Choose Screen Time
  • Tap Content & Privacy Restrictions

To limit adult content in Safari on iPhone, tap on the Settings app, then choose Screen Time. Choose Content & Privacy Restrictions

  • Toggle Content and Privacy Restrictions
  • Select Content Restrictions
  • Tap Web Content
  • Choose Limit Adult Websites

To limit adult content in Safari on iPhone, toggle Content & Privacy Restrictions, then select Content Restrictions. Tap Web Content. Choose Limit Adult Websites.

How to block specific websites in Safari for iPhone and iPad

If limiting adult content isn't enough, or you happen to notice a URL that has slipped through the cracks, you can always block any URL you want with restrictions. The steps are very similar:

  • Toggle Content & Privacy Restrictions
  • Tap Add a Website under NEVER ALLOW
  • Type the URL of the website you wish to block in the Website field
  • Select Back at the top left

To limit adult content in Safari on iPhone, tap Add a Website under Never Allow. Type the URL of the website to block. Choose Back.

Repeat this process for each site you'd like to block. Keep in mind that if certain websites have mobile sites , you may need to block them separately. If you find a site that's still getting through after you attempt to block it, visit that site and look in the Address Bar of Safari to make sure you're blocking the correct URL. Copy it if you need to and paste it into the field.

How to block everything and whitelist only specific sites in Safari for iPhone and iPad

For very young children, or if you simply want to make sure nothing is accessible except what you specifically allow, you can disable everything and then only turn back on the sites you consider permissible, like Apple or Disney.

Master your iPhone in minutes

iMore offers spot-on advice and guidance from our team of experts, with decades of Apple device experience to lean on. Learn more with iMore!

  • Choose Allowed Websites . This setting means only the websites you add are allowed to come through, and everything else is blocked

To limit adult content in Safari on iPhone, toggle Content & Privacy Restrictions, then select Content Restrictions. Tap Web Content. Choose Limit Adult Websites.

  • Tap Add Website
  • Add Title and URL for a custom website that you wish to add to your allow list
  • Choose Back

To block everything and whitelist only specific sites in Safari, tap Add Website. Add the Title and URL of the website. Choose Back.

Keep unwanted content off your kids' devices

There you have three different ways to block websites on iPhone. Each one is progressively more comprehensive, and as such requires slightly more steps each time. As mentioned, we would generally recommend starting with the general "limit adult websites," before progressing to more specific URL blocking if you want stronger controls. The "allowed websites" setting we'd generally recommend the most for devices used by young children. Using these tools will take away any worries of your children using one of the best iPhones . 

Stephen Warwick

Stephen Warwick has written about Apple for five years at iMore and previously elsewhere. He covers all of iMore's latest breaking news regarding all of Apple's products and services, both hardware and software. Stephen has interviewed industry experts in a range of fields including finance, litigation, security, and more. He also specializes in curating and reviewing audio hardware and has experience beyond journalism in sound engineering, production, and design. Before becoming a writer Stephen studied Ancient History at University and also worked at Apple for more than two years. Stephen is also a host on the iMore show, a weekly podcast recorded live that discusses the latest in breaking Apple news, as well as featuring fun trivia about all things Apple. Follow him on Twitter @stephenwarwick9

  • John-Anthony Disotto How To Editor

Apple issues fix for Palestinian flag controversy in iOS 17.5

iOS 17.5 and iPadOS 17.5 beta 2 drops to developers enrolled in program

Do you need to spend $100 on an iPhone case?

Most Popular

  • 2 Assassin's Creed Mirage is finally launching on iPhone 15 Pro devices and some iPad models – here's when
  • 3 PlayStation on Mac, Halo on Mac and three more broken gaming promises made at different Apple Events — what could have been done differently?
  • 4 The JLAB Studio Pro ANC prove the price doesn't have to be prohibitive for great noise-cancelling headphones
  • 5 Apple Vision Pro isn't selling well, but don't sound the alarm just yet

how to block page safari

New Alpha Released A new version of Tech Lockdown has entered early access. Learn More

Effective Ways to Block Websites on Safari

Learn different ways you can effectively block websites on the Safari browser.

If you're trying to control what websites are accessed on your Apple devices, then you may have wondered how you can block specific websites on Safari. Fortunately, there are a few different ways that you can do this on both MacOS and iOS.

Block Safari - Large.png

There are a few ways to block websites in Safari. Consider combining these methods together if you are trying to prevent websites from easily being unblocked.

  • Point your Apple device to a DNS Content Policy, which will allow you to block websites comprehensively in Safari.
  • On MacOS, the hosts file is a reliable way to block websites on Safari.
  • Adding to these methods, Apple's Screen Time web content filter can be used to specify website blocklists, which will block websites in Safari on a Mac or iOS device.

Configure a DNS Content Policy to Block Websites on Safari

The best way to block websites on Safari or other browsers is to set a DNS Content Policy . A Content Policy allows you to control what kinds of content your Apple devices can access in Safari, who can access it, and when it can be accessed.

You can specify domains that you want to block with a DNS Content Policy.

dashboard-content-policy-domains.png

Furthermore, you can specific apps to block . For example. instead of blocking the facebook.com domain to block Facebook in Safari, you would update your DNS Content Policy to block the facebook app.

content-policy-apps-select-facebook.png

An ideal approach to blocking websites in Safari with a content policy is to block entire categories, which saves you from having to manually add tons of websites to a blocklist.

content-policy-adult-content-rule.png

Sometimes, you don't want to block a website all the time. You can instead, block the website according to a schedule that you've set.

dashboard-schedule-distractions.png

You can also invite people to share your Content Policy , then apply different schedules for each person separately.

block facebook multiple schedules.png

Want to prevent changes to your Content Policy? Lock your profile to prevent easily changing your own settings.

Locked Profile.png

You can still make your content policy more restrictive, but will have to unlock your profile if you want to make it less restrictive. 

Get Powerful DNS Filtering

Block Websites on Safari Using Apple's Web Content Filter

You can access a useful web content filter through Apple parental controls . Screen Time can do more than just keep track of how much you use apps on your iPhone or Mac. It includes some basic website blocking features, that while easy to reset, can be used in certain situations.

Screen Time External link icon can be used on both Mac and iPad/iPhone devices. The first step is to find these settings.

On Mac, you should be able to use Spotlight to search for and open "Screen Time". You should be able to access a Content & Privacy section like this:

screen time on mac.png

Credit: Apple Support

On iPhones, you need to open your device's Settings, then scroll down to Screen Time. The menu should look like this:

screen-time-main-screen.PNG

The instructions between iPhone and Mac are going to be slightly different.

Configuring the Web Content Filter to Block Websites in Safari on MacOS

First, open the Screen Time menu. You can do this by using Spotlight to search for and open "Screen Time".

From the main overview screen, click on the Content & Privacy Restrictions option from the side menu.

mac-screen-time-web-content-filter-adult-websites-limit-block-websites.png

From here, you want to find Web Content entry (this should be under the Content tab). You can choose to set this to Limit Adult Websites .

To block specific websites that you manually specify, you'll need to click the Customize button at the bottom of the Web Content entry.

From here, you should see two options:

  • Always Allow : Allow a website always.
  • Never Allow : Blocks a website you choose.

Any websites that you want to block should be added to the Never Allow list.

Configuring the Web Content Filter to Block Websites in Safari on iPhone/iPad

If your main goal is to block websites on iPhone , using Screen Time is going to be one of your best friends. 

On iOS, scroll down from Screen Time's main menu. Tap Content & Privacy Restrictions :

iphone-content-privacy-and-restrictions-screen.png

Make sure that you enable the checkbox near the top of the screen first.

From the Content & Privacy Restrictions menu, tap Content Restrictions .

screen-time-content-restrictions-highlighted.png

From this new menu, you will see several options. The one we're interested in is Web Content :

block-websites-screen-time.png

From here, you will three options:

  • Unrestricted Access : The default option. This doesn't impose any kind of restrictions.
  • Limit Adult Websites : Limits most adult websites. With this option enabled, you gain the ability to enforce a simple whitelist and blacklist.
  • Allowed Websites Only : A severely restrictive option that blocks all website but the ones you've specifically allowed. This can cause issues on some websites, so we don't recommend this unless you know what you're doing.

If you want to block a specific website, you will need to choose either Limit Adult Websites or Allowed Websites Only . We strongly recommend choosing Limit Adult Websites , since Allowed Websites Only  requires a much more advanced setup.

You may have noticed that the screenshot above has Limit Adult Websites already selected. This won't be the default option, but once you've selected it, you will see two other options appear near the bottom of the menu:

  • Always Allow : This allows a website to be visited, regardless of other restrictions you've set up.
  • Never Allow : This lets you block websites you choose. 

If you want to block a website, add it to the Never Allow list . 

How do I delete entries I've added?

Screen Time is a good place to start, however, if you're interested in creating the simplest setup possible, we have a guide that explains all of the different ways to create your own dumb iPhone .

Block Websites in Safari Using the Hosts File

An even better option to block website than Screen Time is by editing the Hosts file . Unfortunately, this option is only available on MacOS and can't be used on iOS.

Hosts - Large.png

The Hosts File is a special file on your computer that blocks websites at the network level. You will have to find its location on your system, then add entries to it manually. However, the added benefit over Screen Time is two-fold:

  • The Hosts file is harder to find and edit than Screen Time. This means that it's less likely (and more difficult) for websites to be unblocked later on. You might consider this approach if bypass prevention is your focus.
  • The Hosts file blocking technique works will block websites in other browsers as well, not just Safari.

However, before you begin changing your Hosts file, it's important to keep in mind a few limitations:

  • The Hosts file can be modified by any account with admin access. Determined users can still re-enable websites you've blocked .
  • Unless you know what you're doing, modifying the Hosts file can cause issues that are difficult to troubleshoot. You should carefully follow our instructions.
  • Adding to many entries to your Hosts file can slow down your Mac computer , so limit the number of websites block to less than 1000.

Adding entries to your Hosts file is a bit more complicated than we can get into with this article, so check out our free guide on how to block websites with the Hosts file  to learn more!

Block Websites

How to use the hosts file to Block Adult Websites

Quickly block thousands of websites for free using the computers hosts file. This is one of the easiest and free ways to block porn on PC.

how to block page safari

Limit the Safari Browser on Mac

If you configure a managed MacOS device, you can significantly limit the functionality of the Safari browser - turning it into a "dumb browser."

mac-imazing-safari.png

Using managed mode on MacOS, you have a large list of configuration options available to you. In Safari, you can choose to:

  • Disable Private Browsing.
  • Hide images on webpages.
  • Disable JavaScript.
  • Block cookies

Get the Guide to Managing MacOS Devices at Home

Frequently Asked Questions

What's the best way to block websites in safari.

You might try using Screen Time to block websites. You can go a step further and block the website on your Hosts file. However, there are a few problems with relying on these methods alone:

  • Screen Time can be powerful, but it's also too easy to disable.
  • The Hosts file can be tricky to navigate and make changes to in the future.
  • In either case, if you want to block thousands of websites (or entire categories of websites), it's not feasible with either method.

Using a DNS Content Policy to block websites solves for these issues since you can block entire categories or specific apps in addition to specifying website domains. A DNS Content Policy lets you block in a more comprehensive way and is harder to bypass compared to the other methods.

How do I block entire website categories?

If you want to block entire categories of websites instead of managing your own lists, Apple Screen Time allows you to limit Adult Websites, which automatically selects a large list of websites to block.

apple-limit-adult-websites.jpg

Additionally, a DNS Content Policy allows you to choose from hundreds of different website categories so you can pick almost any category or app that you can think of.

content-policy-adult-themes-selected.png

Tech Lockdown DNS Content Policy rule categories

content-policy-categories.png

Tech Lockdown DNS Content Policy rule Lifestyle categories

How do I Disable Safari Entirely?

Some people opt to get rid of the Safari browser entirely since it has limited options for enforcing settings or using browser extensions that work on Chrome.

Another option you can consider is to hide or disable the safari browser  on your device. You can then use another browser to enforce other restrictions, or just not use Safari on that device.

Disable Safari

How to Block the Safari Browser on Apple Devices

Blocking Safari is not straightforward. However, there are a few effective ways to disable or limit Safari on Apples devices like Mac and iPhone.

how to block page safari

  • Accessories
  • Meet the team
  • Advertise with us
  • Privacy Policy

iGeeksBlog

If you want to prevent your children from using any particular websites or your employee to be away from unnecessary websites, URL or Apps then there are some ways through which you can prevent them from using the web or app. To do so, you can configure Safari, set Parental Lock or there are some apps available for blocking websites. We have explained all three methods; block on Safari, Parental Lock and Lock through the app to block a website on safari.

How to Block Websites in Safari on Mac Running macOS Catalina or Earlier

Step #1. Launch the Terminal (Open Spotlight and search for the Terminal).

Step #2. In the Terminal type sudo pico /etc/hosts and press Enter. Pressing enter, you will be asked to enter the Administrator Password

sudo pico etc hosts command in Mac

Step #3. Once you enter Password, the Terminal text program will open on the host file. Scroll the cursor down to the bottom and press Enter. It will create a new line to type.

Step #4. Type the IP 127.0.0.1 followed by the URL or Site address. i.e: 127.0.0.1 www.yahoo.com And press Enter . Type another URL or Site following the same steps . Do not add more than one URL or Site in a single line , each entry should be in a separate line .

Block Websites on Safari Running Mac OS X Yosemite

Step #5. Once you are done with the entry ( the sites or URL, you want to block ), press Ctrl+O and then Enter to save them and exit the editor.

Step #6. Then Flush your cache in order to take effect to the settings, type  sudo dscacheutil -flushcache to flush your DNS and press Enter.

Now open the URLs or Sites you have blocked. If it is set up correctly you should not be able to open website/URL.

How to Unblock URLs or Websites you Have Blocked

Launch Terminal → type sudo pico /etc/hosts → remove the URL and Site → press Ctrl+O and Enter

How to Block Website/URL on Mac with Parental Controls

Step #1. First of all, make a separate User Account for your children.

Step #2. Then go to System Preferences on your Mac.

System Prefences in Mac OS X Yosemite

Step #3. Click on Parental Controls.

Locate Parental Controls on Mac OS X Yosemite

Step #4. Then click on the lock icon (shown at the bottom of the window.)

Step #5. Clicking on the lock icon, you will be asked to enter the password. Click to unlock.

Step #6. Then select the User account that you want to lock.

Step #7. Select the Web tab.

Step #8. Then select Try to limit adult websites automatically .

Block Website on Mac OS X Yosemite using Parental Lock

Step #9. Click on Customize…

Step #10. Under Never allow these websites, click on “ +” icon and enter URLs/websites that you want to block.

How to Block Website on Mac OS X Yosemite with Parental Controls

After adding the websites or URL you can be sure that it cannot be accessed by the banned user.

Block Website on Mac Through App

Self Control Mac App

There is an app, called Self Control, an open-source application for Mac OS X. Through the app, you can block the websites, URL, mail, and so on. The best thing about the app is when you block the sites/mail/URL, you cannot access the blocked sites unless and until the date you have added gets expired.

To Block, set a period of time and add sites to the blacklist and click Start. Once you click on start, it will be blocked for the period of time you have set. Until the timer expires, you cannot access those sites even if you delete the app.

Price: Free Download

That’s all, mate!

You would like to read these posts as well:

  • How to Preview Web Page in Safari on Mac
  • Safari for Windows: Feel the Apple Touch on Windows PC
  • How to update Safari on Mac

Do share your feedback with us in the comment below.

Dhvanesh

The founder of iGeeksBlog, Dhvanesh, is an Apple aficionado, who cannot stand even a slight innuendo about Apple products. He dons the cap of editor-in-chief to make sure that articles match the quality standard before they are published.

View all posts

🗣️ Our site is supported by our readers like you. When you purchase through our links, we earn a small commission. Read Disclaimer .

LEAVE A REPLY Cancel reply

Save my name, email, and website in this browser for the next time I comment.

Related Articles

How to fix iphone not sending pictures issues, how to turn off find my on iphone, ipad, and mac, how to lock the screen of your mac, how to download ipados 17.5 beta 4 on ipad.

  • Editorial Process
  • Why Trust Us?
  • Affiliate Linking Policy
  • Privacy Policy
  • Terms of Service

Weekly Must-Reads View All

7 things to do if you spilled water on your macbook.

Quick steps to save your MacBook from water damage

How to Boot Your Mac Into Verbose Mode: 4 Best Ways

Boot your Mac into Verbose Mode with this step-by-step guide

How to Fix Your Mac Shutting Down Randomly: 16 Fixes to Try

Troubleshoot random shutdowns on Mac with effective solutions

How Much Space Does macOS Take On Your Mac?

Understand macOS size and analyze your Mac's storage usage

Popular Topics

  • What to Do With Your Old MacBook? 13 Useful Ways to Reuse an Old Mac
  • What Is the MacBook Flexgate Issue and How to Fix It
  • What Is the MacBook Flexgate Issue
  • Uninstall Java
  • Safely Transfer Files from Mac to Mac
  • Safari Bookmarks Disappeared on Mac: 10 Best Ways to Restore Them
  • Repairing disk permissions
  • Old MacBook

Trending Now View All

7 Things to Do If You Spilled Water on Your MacBook Featured Image

  • Mac Maintenance

How to Block Websites on Safari on Mac: 5 Best Ways

' src=

Hashir Ibrahim

' src=

Reviewed by

Last updated: December 22, 2023

Expert verified

To block websites on Safari on a Mac, use one of the following methods:

  • Set up Screen Time in System Settings and choose Content & Privacy to limit adult websites or specify only allowed websites​ ​.
  • Access your router’s settings via its IP address and use the Access Restrictions or Parental Controls to block specific websites​.
  • Install a web blocker extension from the App Store.
  • Download and use third-party web blocker apps.
  • Use the sudo nano /etc/hosts command to edit the host file via Terminal to block specific websites.

I know how easy it is to get distracted online, especially when trying to work or study on a Mac. That’s why I put together this guide with simple, straight-to-the-point steps that I use myself to keep focused. These methods really work whether you’re aiming to stay focused, manage your online activities, or just streamline your browsing.

Before We Begin

Besides blocking websites on your Mac, you should also remove adware and unwanted programs. Download MacKeeper and use its Adware Cleaner to avoid annoying pop-ups that send you to websites you don’t want to visit.

How to Block a Website on Safari on Mac

There are different solutions for blocking websites on Safari. Below, I’ve shared some quick ways to block websites on Safari.

1. Use Screen Time

Screen Time is a feature in macOS, iOS, and iPadOS that allows you to set limits on app usage, including Safari. You can use Screen Time to block specific websites or categories of websites during certain times of the day. You can also use it to block all websites and whitelist some specific ones.

For macOS 10.15 Catalina or Later

Here’s how to use Screen Time to block websites on Safari on your Mac:

  • Open the Apple menu and click System Settings .

click the apple icon and select system settings

  • Click Screen Time in System Settings and select Content & Privacy .

click screen time and select content and privacy

  • Click Content Restrictions .

click content restrictions in content and privacy

  • A new window will appear. Click the drop-down icon next to Access to Web Content and select Limit Adult Websites .

click limit adult websites to block adult content

If you want to manage your time on specific websites using Safari, you can do that with Screen Time. Here are the steps for setting a time limit for certain websites on Safari on a Mac:

  • Click Screen Time in System Settings and select App Limits .

click screen time in system settings and select app limits

  • In the App Limits section, toggle on the App Limits switch and click the Add Limit button to create a new restriction.

toggle on the app limits switch and click the add limit button

  • Scroll down to the end of the list until you find the option for Websites .

find websites in the list to add a new app limit

  • Click the dropdown arrow next to Websites to specify which websites you want to set time limits for.
  • Select a website from the list or add a URL.
  • In the Time section, specify the time you wish to allow for this site. This is the duration for which you can access the site each day.
  • Once you have set the time limit, click Done .

select a website specify a time and click done

For iOS 12 or Later and iPadOS

Here’s how to use Screen Time to block websites on Safari on your iPhone or iPad:

  • Open the Settings app on your iPhone.
  • Tap  Screen Time .
  • If Screen Time isn’t already enabled, tap Turn On Screen Time , then tap Continue . If it’s for your iPhone, select This is My iPhone .
  • Tap  Content & Privacy Restrictions and toggle on the Content & Privacy Restrictions switch.
  • Tap  Content Restrictions  and select Web Content .
  • Select  Limit Adult Websites .
  • Tap  Add Website in the Never Allow section.
  • Type the website URL you want to restrict in the URL field and tap  Done .

2. Change Router Settings

If you block websites through your router settings, it stops those sites on every device using your Wi-Fi. You just need to go into your router’s settings and choose the websites you want to block.

Here are the steps to block websites on Safari using router settings:

  • Open your web browser and enter your router’s IP address in the address bar. You can usually find this information on the back of your router or in the manual.
  • Enter your login credentials when prompted. The default username and password should be listed in your router’s manual if you need to change them.
  • Look for the Access Restrictions or Parental Controls section in your router’s settings. It may be under the Advanced or Security tab.
  • Choose the Website Blocking or Block Sites option.
  • Enter the URL you want to block in the Website URL field. Some routers may also allow you to block websites based on keywords.
  • Save the settings and exit the router’s interface.

3. Install A Web Blocker Extension

You can also add a browser extension to your web browser to do different things, including blocking websites. Safari doesn’t have a dedicated store for extensions, like Chrome. Instead, you have to download them from the App Store.

For Safari, I recommend a website-blocking extension called StayFree, a popular choice among Mac users.

For macOS 10.12 or Later

  • Open Safari on your Mac.
  • Click Safari in the menu bar and select Safari Extensions . This will open the App Store.

click safari and select safari extensions

  • In the App Store, type StayFree in the search bar and click Get > Install next to the app name in the results.

search for an extension in the app store and click the install button

  • Wait for the extension to install. Once it’s installed, you might get this notification in Safari. Click the Turn On Extensions button.

click the turn on extensions button in safari

  • Close Safari and reopen it. You should now see the extension’s icon near the address bar.

click the extension icon in the safari toolbar

  • To block a site, click the extension icon, and select Focus Mode Settings .

click stayfree extension icon and select focus mode settings

  • It will open a new window. Click the Add Website button.

click the add website button in extension settings

  • Type the website URL and click Save . It will block the website and you won’t be able to reload it until you remove it from the Blocked Website list.

add a website url and click save

For iOS 15 or Later and iPadOS 15 or Later

iOS 15 and iPadOS 15 support web extensions for Safari. To add a Safari website blocker extension to your iPhone or iPad, follow these steps:

  • Open Settings on your iPhone or iPad.
  • Navigate to Safari .
  • Select Extensions > More Extensions . This directs you to the App Store, showing compatible Safari extensions.
  • Pick a web blocker extension for screen time control, and download it.
  • Activate the Safari extension by going to Settings > Safari > Extensions .
  • Find the web blocker extension you’ve installed and turn it on.

4. Use Third-Party Web Blocker Apps

Third-party web blocker apps offer another effective solution for managing online content access on Mac. These apps work by letting you make a list of websites you want to block. This stops you from accessing these sites for certain times you choose or all the time.

Here are some third-party web blocker apps that you might consider using:

  • Cisdem AppCrypt : Cisdem AppCrypt is not just a website blocker, it also locks apps with a password. For website blocking, you can create a blacklist or whitelist and set up a schedule to block sites during certain times.
  • 1Focus : 1Focus lets you block distracting websites and apps. It’s simple to use and lets you set periods of focus during which specific sites and apps are inaccessible. You can also schedule recurring focus sessions, making it a handy tool for establishing a routine.
  • Freedom : Freedom is a popular app for blocking distracting websites and apps across multiple devices. It lets you create blocklists and schedule distraction-free sessions, making it a great tool for improving focus and productivity.
  • SelfControl : Specifically for macOS, SelfControl lets you block access to distracting websites, mail servers, or anything else on the Internet. Once you set a period to block for, not even restarting your Mac or deleting the app will disable the block.

5. Map Domain Using Host Files/Terminal

Blocking websites in Safari on your Mac can be done by using host files. These files connect website names to their internet addresses. You can change these files to stop your Mac from reaching certain websites.

Here are the steps to map domain using host files:

  • Open the Terminal application on your Mac. You can do this by searching for Terminal using Spotlight or by navigating to Applications > Utilities > Terminal .

launch terminal from utilities

  • In the Terminal window, type the following command to open the host’s file and press Enter :

type sudo nano etc hosts in terminal

  • You will be prompted to enter your admin password. Enter it.
  • Use the arrow keys to navigate to the bottom of the host’s file.
  • To block a website, add the following line to the bottom of the file, replacing example.com with the URL of the website you want to block:
  • You can add as many websites as you want by creating a new line for each website.
  • Press Control ^ + O to save the changes to the host’s file.

macbook pro control o

  • Press Control ^ + X to exit the editor.

macbook pro control x

  • To make the changes take effect, flush the DNS cache on Mac by typing the following command in the Terminal:

type sudo dscacheutil flushcache sudo killall HUP mDNSResponder in terminal

  • It will clear the cached DNS entries, forcing the Mac to use the updated host file.

Once you’ve completed these steps, Safari and other browsers on your Mac should no longer be able to access the websites you’ve blocked in the host file.

This method blocks the websites system-wide, so it will affect all users on your Mac. To unblock a website, remove the corresponding line from the host file and flush the DNS cache again.

How to Whitelist Specific Websites on Mac

Once you’ve set up Screen Time to limit websites, most adult websites will become inaccessible. But if you want to allow specific websites only, follow these steps:

  • Follow the above steps from 1 to 3, and instead of Limit Adult Websites, select Allowed Websites Only in the Web Content window.

select allowed websites only next to access to web content

  • Click the Customise button that appears.

click customise under access to web content

  • In the new window, click the + button in the bottom left corner.

click the plus icon to add a website

  • Type in the name and URL of the website you want to allow and tap Done .

add the webiste name and url and tap done

  • The website you add will appear in the list.

your allowed website will appear in the list

  • Click Done to close the window.

Avoid Distractions While Browsing With MacKeeper

MacKeeper does not offer a feature to block websites on Safari. But it offers an Adware Cleaner that can detect and remove adware and potentially unwanted programs causing unwanted pop-ups or redirects to certain websites. This can indirectly help with blocking certain websites.

To use the Adware Cleaner feature in MacKeeper:

  • Download and install MacKeeper on your Mac.
  • Open MacKeeper and click Adware Cleaner in the left sidebar.

click adware cleaner under security

  • Click Open .

click open in adware cleaner

  • Click Start Scan to scan your system for adware and potentially unwanted programs.

click start scan in adware cleaner

  • Once the scan is complete, review the list of detected items and select the ones you want to remove.
  • If there are no malicious files, you’ll get a No items found message on your screen. Click Rescan to run the scan again or close the program.

click rescan in adware cleaner

While this may not directly block websites on Safari, removing adware and potentially unwanted programs can prevent unwanted pop-ups or redirects to those websites. So, it’s worth a try.

What Else Can MacKeeper Do?

Besides removing adware on your Mac, MacKeeper can block ads on your Mac , disable pop-ups on Safari and other browsers, and remove browser extensions . Check out my MacKeeper review to learn about these features.

Why Would You Need to Block Websites on Safari?

Blocking websites on Safari can be necessary for several reasons:

  • 🎯 Focus and Productivity : If you find yourself frequently distracted by certain websites while working or studying, blocking them can help maintain focus and boost productivity.
  • 👪 Parental Controls : For parents, blocking websites is a way to ensure children don’t access inappropriate content or spend too much time on entertainment sites.
  • 🔒 Online Safety : Blocking websites that are known for phishing, scams, or malicious content helps protect your personal information and your device’s security.
  • 📶 Bandwidth Management : In some cases, especially in a workplace, blocking websites that consume a lot of bandwidth (like streaming services) can help maintain network performance.
  • 💆 Digital Well-being : Sometimes, blocking websites can be a part of a digital detox strategy, helping reduce time spent on addictive sites and improving overall well-being.

In each case, the goal is to create a safer, more focused, and more productive online environment.

Block Unwanted Websites on Safari and Be More Productive

Now that you know how to block websites on Safari, you may want to take your productivity up a notch. Here are some more tips to make your Safari experience better.

  • Clear Safari cache on your Mac to improve its performance and prevent slow loading times.
  • If your Safari is crashing on Mac , troubleshoot the problem by updating it and clearing the cache and cookies.
  • Update Safari on Mac to prevent crashes and improve its security.

Frequently Asked Questions

Can i unblock websites that i’ve blocked on safari on mac.

Yes, you can unblock websites previously blocked in Safari on your Mac. The method to unblock depends on how you blocked the site initially, whether through browser settings, a parental control app, or system files.

Can I password-protect the blocked websites?

No, you cannot password-protect the blocked websites using the built-in website-blocking feature on Safari. If you want to password-protect your blocked websites, use a third-party app or software that offers this feature.

Will blocking websites on Safari prevent me from accessing them on other devices?

No, blocking websites on Safari will not prevent you from accessing them on other devices. Blocking websites on Safari only affects your Safari browser on the device you set it up on. You can access those websites easily on other devices.

Can I block websites based on specific keywords?

No, you cannot block websites based on specific keywords using the built-in website blocking feature on Safari. However, some third-party apps or browser extensions allow blocking websites based on keywords or phrases.

' src=

I'm Hashir, a tech journalist with a decade of experience. My work has been featured in some of the top tech publications like MakeUseOf and MakeTechEasier. I have a bachelor's degree in IT, a master's in cybersecurity, and extensive knowledge of Apple hardware, specifically MacBooks. As the senior writer at MacBook Journal, I write in depth guides that help you solve any issues you have with your mac and unbiased reviews that help you make the right buying decisions.

' src=

Hi there! I'm Ojash, a tech journalist with over a decade of experience in the industry. I've had the privilege of contributing to some of the world's largest tech publications, making my mark as a respected Mac expert. My passion lies in exploring, using, and writing about MacBooks, and I enjoy sharing my expertise to help others make informed decisions and get the most out of their MacBook experience. Join me as we delve into the fascinating world of MacBooks together!

You May Also Like

How to Delete Old Time Machine Backups on Your Mac Featured Image

3 Best Ways to Delete Old Time Machine Backups on Your Mac

Written by Hashir Ibrahim Reviewed by Ojash Last updated: August 26, 2023 Expert

How to Delete Other Volumes in a Container on Mac Featured Image

How to Delete Other Volumes in a Container on Mac: 6 Best Ways

Free up space by removing extra volumes on Mac safely

How to Sync Contacts to Mac from iPhone Featured Image

How to Sync Contacts to Mac from iPhone: 5 Best Ways

Seamlessly sync contacts to Mac from iPhone with these top methods

How to Clean Junk Files on Mac Featured Image

How to Permanently Block Websites on Safari on Mac

You can access just about any website on Safari, but there are times when you’d want to block some websites for one reason or another. Maybe you share your Mac with your family, or your kids use it for school and entertainment. Maybe you just prefer not to access certain websites. Whatever the reason, Mac allows you to block websites from launching on Safari.

There are several ways to block websites on Safari on your Mac, the obvious being third-party website blocker apps. But you can also block websites using Mac’s Screen Time feature, and in Safari through your router. Not sure how that works? We’ve got you covered. This article will show you all the ways to block websites on Safari on your Mac.

Before we start   Browser extensions can be useful for blocking ads and overall convenience. However, having too many of them can slow down your Mac’s performance. Consider disabling some browser extensions on your Mac. Of course, you can do this manually, but if you want to save time, you can let MacKeeper do it for you in a whim.     That’s just a fraction of what MacKeeper can do for your Mac. Check it out and see for yourself. Download MacKeeper now to keep your MacBook in optimal condition. 

Let’s have a look at all the ways you can block websites on Safari on your Mac.

In this article you will find the following:

  • How to block websites on Safari on Mac

You might already know how to block undesirable websites on Google Chrome , but did you know you can also do the same on Safari? You can block unwanted sites on Safari on your Mac in four ways.

How to block websites in Safari on a Mac using Screen Time

block websites in Safari

Apple’s Screen Time helps you manage and track usage on apps and websites on your Mac. In addition to scheduling downtime and setting limits, it allows you to block unwanted websites on your Mac.  

The first way to do this is by choosing the websites you want to access on Safari:

  • Open System Preferences on your Mac, then click on Screen Time
  • Click on Content & Privacy on the left of the screen
  • In the top-right corner, click Turn On Content & Privacy Restrictions
  • Now click on Allowed Websites Only , followed by Customize … to choose a list of websites you want to access through Safari on your Mac. This will block any website not listed from opening. Your Mac will let you know each time it blocks those websites in the background

The second method is to block particular websites.  

how to block page safari

  • Open System Preferences , then click on Screen Time
  • Click on App Limits on the side bar on the left of the screen
  • Click Turn On App Limits in the top-right corner
  • Now click on the plus icon in the bottom-left corner of the App Limits box
  • Scroll down to Websites and click on the arrow on the left to see a list of possible websites to block. You can also add more websites to the list by clicking on the green plus icon and paste or type the URL of the website in the text box . If you want to block that website completely, leave the Time field as is at 0h 0m. Alternatively, you can choose the amount of time you want to spend on the website each day using the arrows next to Every Day . You can also set a custom time by clicking on Custom , followed by Edit . Now choose your daily time limit by checking the boxes

That’s it, you will now only be able to browse the websites you prefer.

How to block websites in Safari on a Mac with Terminal

how to block page safari

Terminal is Mac’s interface that allows you to block websites without parental controls. It works by blocking websites from opening on the local IP address. As this is a more technical method, only attempt it if you’re comfortable with using command-line prompts.  

Launch Finder on your Mac:

  • Click on Applicatons , then double-click on the Utilities folder
  • Double-click on Terminal to launch it
  • Start by backing up the host file. This is an important step, in case anything goes wrong. To back up the host file, type “sudo /bin/cp /etc/hosts /etc/hosts-original” on a new line and press the Return key
  • Enter your Mac’s admin password when prompted, then press the Return key again.
  • Type “sudo nano /etc/hosts”, followed by the Return key
  • Using the down arrow key on your Mac, go to a new line and add the URL of the website you want to block, with the local IP address “127.0.0.1” before it, separated by a space. Be sure to add all the versions of the website on a new line, For example, “127.0.0.1 onlyfans.com” and “127.0.0.1 www.onlyfans.com”. Do this for every website you want to block
  • When you’re done, press Control-O . Now press the Return key. Your blocked websites are now saved
  • To exit Terminal, press Control-X

If you’re uncomfortable with using this method, there are more ways to block websites on Safari.  

Related reading: How to use Terminal command line on your Mac

How to block websites in Safari on a Mac through router

Another way to block websites on your Mac is through your router’s settings:  

1. Find your IP address on your router; it’s usually at the bottom. Alternatively, you can go to your Mac’s System Preferences > Network > Wi-Fi > Advanced… > TCP/IP . Your IP address will be shown next to Router

how to block page safari

2. Type the address of the website you want to block in Safari

3. Now type your router’s admin name and password upon request

4. On the Settings page, find the options to block websites, and add each website you want to block

You’re all set. Just remember to do this again if you get a new router in the future.

How to block websites in Safari on a Mac using third-party website blocker apps

Up until now, we’ve showed you multiple ways to block websites on a device level. The final way to block websites on your Mac is with the help of third-party apps. Here are three apps we recommend:

1Focus

As the name suggests, 1Focus helps you stay focused on any work or task you’re busy with by eliminating distractions, like websites. This is one of the more popular focus apps. Blocking websites on 1Focus is easy.

1Focus allows you to block websites on the free version, but you can do more with in-app purchases. The free version lasts for 14 days, after which you’ll have to pay around $2/month or $10/year, unless you cancel your trial before the trial period is up.

Session app

Session allows you to work in 25-minute sessions. What makes it unique is that it has a wellness element to it — the app prompts you to breathe before you start a new session and take a break when you’re done. You can block websites to limit distractions while you work or study. The app is free, but to use the Website Blocker feature, you’ll have to upgrade to the Pro version.

If you’re impressed with the free version of the app and are willing to upgrade, you’re looking at paying around $4/month.

Freedom app

This focus app helps you limit distractions across all your devices simultaneously, unlike other website blockers which are device-specific. Like other apps, Freedom allows you to create a list of blocked websites. Checking the optional Locked Mode box locks in your sessions by not allowing you to edit your blocklists while you work.

Freedom offers you six free sessions. When you’ve used them up, you’ll have to pay $7/month to continue using the app.

  • Block unwanted websites easily on your Mac

Mac offers multiple ways to block websites in Safari. Most of these are built-in solutions, but you can also block websites through apps found on the App Store and online. Choose the method that is most suitable to you from the options laid out in this article.

Read more:  

  • Why Is Safari Running Slow on Mac? 9 Ways to Fix
  • How to Clear Cookies on Mac in Safari, Chrome & Firefox
  • How to Delete History in Safari on a Mac in 4 Easy Steps

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

icon

  • Delete unnecessary system files and caches
  • Free up GBs of storage space
  • Easily find and delete duplicate files

Remove unneeded Safari extensions with MacKeeper.

PC

MacKeeper - your all-in-one solution for more space and maximum security.

All the Ways to Lock Screen on Your Mac

We respect your privacy and use cookies for the best site experience.

Privacy Preferences Center

We use cookies along with other tools to give you the best possible experience while using the MacKeeper website. Cookies are small text files that help the website load faster. The cookies we use don’t contain any type of personal data meaning they never store information such as your location, email address, or IP address.

Help us improve how you interact with our website by accepting the use of cookies. You can change your privacy settings whenever you like.

Manage consent

All cookies

These cookies are strictly necessary for enabling basic website functionality (including page navigation, form submission, language detection, post commenting), downloading and purchasing software. The website might malfunction without these cookies.

Download MacKeeper when you're back at your Mac

Please enter your email so we can send you a download link

Check your email on your Mac

Install MacKeeper on your Mac computer to rediscover its true power.

arrow

Run Application

step_1

Click Continue

step_2

Click Install

step_1

Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.

Block pop-up ads and windows in Safari

Learn how to block pop-up windows and handle persistent ads on your iPhone, iPad, or Mac.

Pop-ups can be ads, notices, offers, or alerts that open in your current browser window, in a new window, or in another tab. Some pop-ups are third-party ads that use phishing tactics such as warnings or prizes to trick you into believing they’re from Apple or another trusted company, so that you’ll share personal or financial information. Or they might claim to offer free downloads, software updates, or plug-ins to try to trick you into installing unwanted software.

Use these tips to help manage pop-ups and other unwanted interruptions.

Avoid interacting with pop-ups

Unless you’re confident that they are a legitimate ad, avoid interacting with pop-ups or webpages that seem to take over your screen.

If you see an annoying pop-up ad in Safari, you can go to the Search field and enter a new URL or search term to browse to a new site. If you don’t see the Search field on your iPhone or iPad, tap the top of the screen to make it appear.

Some pop-ups and ads have fake buttons that resemble a close button, so use caution if you try to close a pop-up or ad. If you're not sure, avoid interacting with it and close the Safari window or tab.

On your Mac, you can quit Safari, then press and hold the Shift key while opening Safari. This prevents Safari from automatically reopening any windows or tabs that were open.

Update your software

Always install the latest software updates for all of your Apple products. Many software releases have important security updates and may include improvements that help control pop-ups.

The safest way to download apps for your Mac is from the App Store. If you need software that isn’t available from the App Store, get it directly from the developer or another reliable source, rather than through an ad or link.

Check Safari settings

On your iPhone or iPad, go to Settings > Safari.

Turn on Block Pop-ups.

Turn on Fraudulent Website Warning.

On your Mac, open Safari and choose Safari > Settings (or Preferences) from the menu bar.

In the Websites tab , you can configure options to allow or block some or all pop-ups .

In the Security tab , turn on the setting to warn when visiting a fraudulent website.

If adware or other unwanted software is installed on Mac

If you see pop-ups on your Mac that just won’t go away, you might have unintentionally downloaded and installed adware (advertising-supported software) or other unwanted software. Certain third-party download sites might include software that you don’t want along with the software that you do.

If you think that you might have malware or adware on your Mac:

Update to the latest version of macOS. If your Mac is already using the latest version, restart your Mac. macOS includes a built-in tool that removes known malware when restarting.

Check your Applications folder to see if you have any apps that you don't expect. You can uninstall those apps .

Check the Extensions tab in Safari settings to see if you installed any unnecessary extensions. You can turn extensions off .

If you continue to see advertising or other unwanted programs on your Mac, contact Apple.

How to safely open software on your Mac

How to recognize and avoid phishing and other scams

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.

how to block page safari

Explore Apple Support Community

Find what’s been asked and answered by Apple customers.

  • PRO Courses Guides New Tech Help Pro Expert Videos About wikiHow Pro Upgrade Sign In
  • EDIT Edit this Article
  • EXPLORE Tech Help Pro About Us Random Article Quizzes Request a New Article Community Dashboard This Or That Game Popular Categories Arts and Entertainment Artwork Books Movies Computers and Electronics Computers Phone Skills Technology Hacks Health Men's Health Mental Health Women's Health Relationships Dating Love Relationship Issues Hobbies and Crafts Crafts Drawing Games Education & Communication Communication Skills Personal Development Studying Personal Care and Style Fashion Hair Care Personal Hygiene Youth Personal Care School Stuff Dating All Categories Arts and Entertainment Finance and Business Home and Garden Relationship Quizzes Cars & Other Vehicles Food and Entertaining Personal Care and Style Sports and Fitness Computers and Electronics Health Pets and Animals Travel Education & Communication Hobbies and Crafts Philosophy and Religion Work World Family Life Holidays and Traditions Relationships Youth
  • Browse Articles
  • Learn Something New
  • Quizzes Hot
  • This Or That Game
  • Train Your Brain
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
  • Computers and Electronics
  • Internet Security
  • Internet Filtering

4 Easy Ways to Block Any Website on Your Computer

Last Updated: April 23, 2024 Fact Checked

Using Windows

Using chromebook & google chrome, using firefox.

This article was co-authored by wikiHow staff writer, Rain Kengly . Rain Kengly is a wikiHow Technology Writer. As a storytelling enthusiast with a penchant for technology, they hope to create long-lasting connections with readers from all around the globe. Rain graduated from San Francisco State University with a BA in Cinema. This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources. This article has been viewed 1,525,770 times. Learn more...

Do you want to prevent your kids (or yourself) from visiting a certain website on your computer? While installing a browser extension on Chrome, Edge, or Safari might seem like the answer, it'll only work to block sites for that browser. If you really need to make sure nobody can access a website from any web browser, we have you covered! This wikiHow will show you how to completely block access to a website using your Chromebook, Mac, or Windows 10 or 11 computer.

Blocking Websites at a Glance=

On Google Chrome, Firefox, or Safari, download the Block Site extension. Enter a website, then create and set a password to block access to that site on your computer.

Step 1 Open Start icon.

  • This method will work on Windows 10 and Windows 11 .

Step 2 Type in notepad.

  • If your mouse doesn't have a right-click button , click the right side of the mouse, or use two fingers to click the mouse.
  • If your computer uses a trackpad instead of a mouse, use two fingers to tap the trackpad or press the bottom-right side of the trackpad.

Step 4 Click File.

  • Click This PC on the left side of the File Explorer window.
  • Scroll down and double-click your hard drive's name (usually OS (C:) ) in the middle of the window.
  • Double-click the "Windows" folder.
  • Scroll down and double-click the "System32" folder.
  • Scroll down and double-click the "drivers" folder.
  • Double-click the "etc" folder.

Step 7 Click the

  • Right-click the "hosts" file.
  • Click Properties in the drop-down menu.
  • Click the Security tab.
  • Click Edit .
  • Check the "Full Control" box.
  • Click OK , then click Yes when prompted.

Step 10 Select the

  • Type in 127.0.0.1 and press Tab ↹ .
  • Type in a website's address without the "www" section (e.g., "facebook.com", " twitter.com ").
  • Press ↵ Enter to start a new line, then repeat the above two steps with other addresses you want to block.

Step 14 Block Google Chrome sites using this method.

  • To block Facebook , for example, you would type in 127.0.0.1 facebook.com www.facebook.com .
  • Adding the "http://" or "https://" part of the address as well (e.g., 127.0.0.1 facebook.com https://www.facebook.com can improve the chances of the site being blocked.

Step 15 Try blocking alternative versions of the website's address.

  • IP address — You can find a website's IP address and then block it in the "hosts" file to prevent people from accessing the website via its IP address.
  • Mobile site — By placing "m." in front of a website's address (e.g., "m.facebook.com" instead of "facebook.com"), you can block the mobile version of the website as well.

Step 16 Replace the existing

  • Click File in the top-left corner of Notepad.
  • Click Save As... in the drop-down menu.
  • Click the "Save as type" drop-down box, then click All Files in the drop-down menu.
  • Click the "hosts" file in the main window to select it.
  • Click Save , then click Yes when prompted.

Step 17 Flush your computer's DNS cache.

  • Press the Windows key and type "cmd".
  • Right-click Command Prompt .
  • Click Run as administrator .
  • Click Yes to confirm.
  • In the Command Prompt, type ipconfig /flushdns .
  • Press Enter .

Step 18 Restart all browsers.

  • If the websites still aren't blocked after restarting your browsers, try restarting your computer .

Step 1 Open Spotlight icon.

  • Terminal won't show your password's letters as you type.

Step 6 Move the blinking cursor down to the bottom of the page.

  • Type in a website's address without the "www" section (e.g., "facebook.com").
  • Press ⏎ Return to start a new line, then repeat the above two steps with other addresses you want to block.

Step 8 Block Google Chrome sites using this method.

  • To block Facebook, for example, you would type in 127.0.0.1 facebook.com www.facebook.com .

Step 9 Try blocking alternative versions of the website's address.

  • To exit the hosts file, press Control + X .

Step 11 Flush your computer's DNS cache.

  • If your computer's browsers don't block the site, restart your computer to finalize the changes.

Step 1 Open the Block...

  • Block Site allows you to block individual pages or entire websites. It also allows you to set a password so that other computer users can't change your block list.

Step 2 Click ADD TO CHROME.

  • You can also click the gear-shaped icon in the top-right corner of the drop-down menu if you want to open the Block Site page. [6] X Research source

Step 6 Enter a website's address.

  • If you want to block a specific page on a website, go to that page, then copy the address by clicking the address bar at the top of the window and then pressing Ctrl + C (Windows) or ⌘ Command + C (Mac).

Step 7 Click +.

  • You can remove your site from Block Site's blacklist at any time by clicking the red circle icon to the right of the website's URL in the list of blocked sites.

Step 8 Click Password Protection.

  • You can also check the "Enable password access to blocked pages" box if you want your password to allow you to open blocked sites.

Step 10 Scroll down and enter a password.

  • When accessing Block Site in the future, you'll need to enter your password before you can add or remove sites.
  • If you forget your password to Block Site, you can right-click the Block Site icon and click Remove from Chrome .

Step 12 Allow Block Site in Incognito mode.

  • Select More tools
  • Click Extensions
  • Click DETAILS below the "Block Site" heading.

Android 7 Switch Off

  • You may have to click Got it in the drop-down menu before proceeding.

Step 6 Click Edit block sites list.

  • You can also click the gear-shaped icon in the top-right corner of the drop-down menu to open the Block Site page. [8] X Research source

Step 7 Enter a website's address.

  • Check the "Enable password access to blocked pages" box if you want your password to allow you to open block sites.

Step 11 Scroll to the text box at the bottom of the page and enter a password with at least 5 characters.

  • You'll need to enter your password before you can add or remove sites.
  • If you forget your password to Block Site, you can remove it from Firefox by clicking ☰ , clicking Add-ons , and clicking Remove to the right of "Block Site" on the Extensions page.

Community Q&A

Community Answer

  • If your computer has a separate account for a child, you can use parental controls to monitor and restrict their browsing. Thanks Helpful 2 Not Helpful 0

Tips from our Readers

  • When editing the host file, it's better to put 0.0.0.0 instead of 127.0.0.1. That way, you don't have to deal with the localhost timeout, which can sometimes be a couple seconds. With 0.0.0.0, it will instantly tell you that a site can't load.

how to block page safari

  • Blocking websites with the "hosts" file is a good way to prevent any browsers from opening them, but people can still get around the block by using the mobile version of the website(s) in question. Thanks Helpful 3 Not Helpful 1

You Might Also Like

Access Blocked Websites

  • ↑ https://www.tenforums.com/tutorials/141019-block-websites-using-hosts-file-windows.html
  • ↑ https://youtu.be/TLp5N-0hLis?t=272
  • ↑ https://youtu.be/TLp5N-0hLis?t=299

About This Article

Rain Kengly

1. Run notepad as an administrator. 2. Go to File > Open . 3. Navigate to C:\Windows\System32\drivers\etc. 4. Remove security from the "hosts" file. 5. Open the "hosts" file. 6. Type "127.0.0.1" at the bottom and press Tab . 7. Type the address you want to block. 8. Save the file. Did this summary help you? Yes No

  • Send fan mail to authors

Is this article up to date?

Am I a Narcissist or an Empath Quiz

Featured Articles

Relive the 1970s (for Kids)

Trending Articles

What Do I Want in a Weight Loss Program Quiz

Watch Articles

Make Sugar Cookies

  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info

Keep up with the latest tech with wikiHow's free Tech Help Newsletter

how to block page safari

Apple’s new iOS 18 Web Eraser might let you pick which parts of a website to block

how to block page safari

If you buy through a BGR link, we may earn an affiliate commission, helping support our expert product labs.

The main attraction of WWDC 2024 will be iOS 18 , and all the AI features that Apple is building into the iPhone’s operating system. The Safari browser will certainly be part of that upgrade. We’ve already seen some leaks indicating that new AI features are coming to Apple’s browser.

Safari 18’s purported AI capabilities and ad-blocking features are currently in testing, according to Apple Insider .

The blog details some of Safari’s upcoming AI features. For example, Apple is working on an Intelligent Search tool that could use on-device AI to identify topics and phrases. From there, the feature could summarize web content. If it sounds familiar, that’s because other GenAI products can offer web summarization. The big difference here is that Apple might process data on the iPhone and Mac rather than sending everything to the cloud.

Tech. Entertainment. Science. Your inbox.

Sign up for the most interesting tech & entertainment news out there.

By signing up, I agree to the Terms of Use and have reviewed the Privacy Notice.

Additionally, Apple is reportedly working on a Visual Lookup feature for Safari that will offer information about the contents of images. However, it might not be ready until 2025.

iOS 17's Safari running on iPhone.

The upcoming Safari ad-blocker feature might be more interesting to some people than any AI tool. It’s reportedly called Web Eraser in the Safari 18 version that Apple is testing. It will reportedly let you block specific parts of a web page. The tool will basically let you erase ads and any other content you deem necessary.

Apple Insider says Apple might have copied the functionality from the third-party app 1Blocker, which lets users tap ads to make them disappear.

You won’t have to navigate to the Settings app to change the text size, access zoom, use extensions, or access the new Intelligent Search and Web Eraser tool. It’s certainly a welcome UI change that could make it easier to customize your Safari experience on a Mac.

This article talks about:

how to block page safari

Chris Smith has been covering consumer electronics ever since the iPhone revolutionized the industry in 2008. When he’s not writing about the most recent tech news for BGR, he brings his entertainment expertise to Marvel’s Cinematic Universe and other blockbuster franchises.

Outside of work, you’ll catch him streaming almost every new movie and TV show release as soon as it's available.

  • Sam Altman just described the perfect AI experience I want from ChatGPT
  • Samsung's answer to the Apple Watch Ultra might launch soon
  • This is the closest we've come to seeing Apple's new iPhone 16 design in real life

Apple Studio Display Main macOS 15 guide

macOS 15: Release date, AI, features, Mac compatibility, more

Fiinal Cut Pro on iPad.

iPad Pro 2024: Release date, OLED, price, features, & everything we know

Roomba j7+ robot vacuum docked after cleaning

With all the other brands out now, are Roomba robot vacuums still worth it in 2024?

apple CEO Tim cook

Apple Spring Event: OLED iPad Pro, M2 iPad Air, Apple Pencil 3, and more to expect

Latest news.

how to block page safari

Apple posts Q2 earnings: Revenue comes in at $90.8 billion

Ashley Madison: Sex, Lies & Scandal on Netflix

3 Netflix documentaries coming this month that everyone will be talking about

international space station over Earth

Bacteria on the ISS has mutated into something never seen on Earth

Xbox-Series-X-Review

Xbox handheld rumors are swirling after a new feature hit consoles

Sign up for the most interesting tech & entertainment news out there.

how to block page safari

Your Guide to Private Browsing in Safari

Private browsing is often misunderstood, but it can be a helpful feature if you know what’s what.

Quick Links

What private browsing does in safari, how to use safari private browsing on iphone and ipad, how to use safari private browsing on a mac, how to disable safari private browsing on iphone and ipad, how to disable safari private browsing on a mac, key takeaways.

  • Private Browsing in Safari hides browsing history, autofill details, downloads, and locks tabs after inactivity.
  • Safari on Mac groups private and non-private tabs, while on iPhone it shows all tabs regardless of mode.
  • To use Private Browsing in Safari, identify it by a dark address bar, "Private" indicator, or "Private" next to the site URL.

Most browsers offer a private browsing mode that aims to keep the websites you view off the record. But what exactly does it do in Safari and how do you get the best out of it?

First and foremost, Private Browsing keeps the website pages you visit out of your History . The aim is to prevent someone else from seeing which pages you have visited if they have access to your phone or computer.

In Safari, Private Browsing does a lot more than just hide URLs. It also:

  • Prevents recent searches from showing up in your history.
  • Stops remembering details you enter in forms for autofill.
  • Keeps downloaded items from appearing in your Downloads list.
  • Locks private tabs after a period of inactivity.
  • Adds tracking and fingerprinting protection.

However, it’s important to note that Private Browsing does not stop you from being tracked altogether. Websites you visit will still be able to use various methods to track you, and will still have access to all data that you send them.

On macOS, iOS, and iPadOS, Safari groups private tabs together, and separates them from non-private tabs. On Mac, each Safari window is either private or non-private, and can have as many tabs as you want.

On iPhone, you can switch between private and non-private modes, each of which shows all tabs belonging to that mode.

You can spot when you’re viewing a private tab with these signs:

  • The address bar has a dark background. This may be less noticeable if you’re using Dark Mode .
  • On Mac, you’ll see a prominent Private indicator in the title bar.
  • On iPhone, you’ll see Private alongside the site URL at the bottom of your screen.

The steps to enter Private Browsing mode are nearly identical on an iPhone and iPad. The only difference is that the tab icon is at the bottom of the screen on iOS and the top on iPadOS.

  • Long-press the tab icon (two overlapping pages) on the bottom-right (iPhone) or top-right (iPad) of your screen.
  • Tap the New Private Tab menu item.
  • If locked, enter your passcode to unlock Private Browsing.

You can enter Private Browsing mode on macOS using either a menu item or a keyboard shortcut:

  • Open the File menu and choose New Private Window .
  • Alternatively, use the keyboard shortcut Shift + Cmd + n .
  • Use the browser as you normally would. Any tabs you open from this window will open in the same window, in private mode.

You may want to prevent users of an iPhone or iPad from using Private Browsing mode at all. To do so:

  • Open the Settings app.
  • Tap on Screen Time .
  • Under RESTRICTIONS , click on Content & Privacy Restrictions .
  • If not already enabled, press the toggle next to Content & Privacy Restrictions to enable.
  • Tap Content Restrictions .
  • Change the Web Content setting to Limit Adult Websites .

The option to enter private mode will now be gone.

On macOS, the wording of certain options differs slightly, but the overall process is near-identical to iOS:

  • Open System Settings via the Apple menu.
  • Click on Screen Time in the left panel.
  • Under the Restrictions section, click on Content & Privacy .
  • Click Content Restrictions .
  • Change the Access to Web Content setting to Limit Adult Websites .

Private Browsing will now be unavailable in Safari, although any existing private windows will stay open.

Of course, anyone can re-enable Private Browsing using the same process, in reverse. However, you can use Screen Time’s Lock Screen Time Settings option to set a passcode and enforce the setting permanently.

how to block page safari

How to Block Websites From Employee Use

If you plan to create restrictions, here are a few tips to follow:

1. Be transparent with employees.

If you decide to restrict websites, make sure you tell your staff. You should explain what websites and categories you’re restricting and why. Your employees will appreciate the transparency and won’t waste time contacting IT if they have problems accessing a blocked website.

Ralph Labarta, chief technology officer at Engage PEO, recommended including the information in an internet use policy. “The policy should include a protocol for accessing sites that are blocked but may need legitimate access, a warning that attempting to thwart site restrictions is a violation of the policy and a warning that all site activities are monitored.”

If you’re considering blocking social media websites, create a social media policy first and step in only if a problem arises, suggested Jonathan Prichard, founder and CEO of MattressInsider.

“Instead of restricting access, create a companywide social media policy,” he said. “This document should include guidelines for what you expect in terms of time spent on social media sites during office hours. Give them the structure, [and] allow them to make decisions for themselves.”

2. Use a browser extension.

The easiest way to block a website or category of websites on Google Chrome or Mozilla Firefox is with BlockSite. With this browser add-on, you can block specific websites, such as Facebook, adult websites or URLs that contain specific words.

BlockSite also works on Chrome’s incognito mode. If you’re worried that your employees will access BlockSite to manage blocked websites, you can set up a password to limit access.

3. Use employee monitoring software.

For a more extreme solution, consider purchasing employee monitoring software, which can track almost every move your employees take, such as how many minutes they are inactive and even their keystrokes. If you are concerned about data breaches and network security consider reading our  Teramind review , our best pick for protecting your business and employees against security threats.

Some of  the best employee monitoring software  also offers content-filtering features that allow you to regulate websites and certain topics, such as weapons, drugs and nudity. You can also block individual websites by manually adding them to the list of prohibited websites. In addition, you can create notifications and alerts that are triggered when an employee browses restricted content.

4. Block websites from the Wi-Fi network.

If you have many employees or your employees regularly use multiple devices, it may be best to block websites from being accessed via your company’s Wi-Fi network. This way, these settings apply to all people on the network, and you don’t have to keep updating individual devices.

Bottom Line: There are multiple ways to block employees from accessing inappropriate websites during company time.

How to block a website in Google Chrome

Blocking websites in Chrome is not part of the regular installation process, but it is possible. Computer Hope gives these step-by-step instructions on how to block a website in Chrome:

  • Go to the Chrome website, and visit the Block Site Extensions.
  • On the top right of the page, click Add to Chrome.
  • Click Add Extension to confirm the installation of the extension. Once you see the Thank You page, you know the extension has been installed.
  • On the top right of the window, click the button with three dots, which is the Customize and Control Google Chrome button.
  • From the menu, select More Tools. Then, select Extensions.
  • The Block Site Options page opens to allow you to enter the websites you want to block. Type the website in the box, and click Add Page. That website is now blocked.

How to block a website in Firefox

There are also ways to block websites in Firefox, even though it does not come with the default installation. Computer Hope provides these step-by-step instructions on how to block a website on Firefox:

  • From the list of menus at the top of the browser, select Add-ons and Themes.
  • Look for a search bar in the top-right corner. Type “BlockSite” into the search bar. The top result should be the BlockSite add-on. Click on the name or description. Next, click “Add to Firefox.”
  • After the program installs, you will have to restart Firefox to finish the installation.

How to block a website in Safari

Macs with parental control features can block websites on the Safari browser, which comes preinstalled on Apple devices. Here’s how to access this menu:

  • Navigate to the Apple logo in the upper-left corner of the screen.
  • Select System Preferences and then Screen Time.
  • Next, click on Content & Privacy. You will then be given a list of options for restricting web content. Click on “Limit Adult Websites.” If there is a particular website you wish to block, click on the “Customize” button. You can then enter the URL you wish to block.
  • Finally, click the Ok button to save your settings.

You can also use a firewall or antivirus system, or block websites at the Wi-Fi network level instead of the individual device level, depending on the computer’s location and the browser you’re using.

How to block a website in Microsoft Edge

The Microsoft Edge browser is preinstalled on many Windows computers, and you can adjust these browser settings to block or restrict certain websites. Notably, these settings are geared toward parental controls, so the navigation refers to “adult” and “child” accounts. To block sites on Microsoft Edge, follow these steps:

  • Ensure you are logged in to the “adult” Microsoft account, which modifies the child’s Microsoft account.
  • Visit family.microsoft.com.
  • Find the account in question on the Your Family page, and select it.
  • Navigate to the section labeled Web Browsing.
  • Turn on “Block inappropriate websites.”
  • Once you turn on this setting, you can add to the list of websites you do not want that account to visit.

In addition to using these settings, you can install an antivirus system, block sites at the Wi-Fi network level or use a firewall. The best setting for your needs depends on the control you need and the browser being used. These options may be better for establishing settings across multiple devices or accounts. You can also modify each computer to block websites through administrator settings, but this may be too complicated or advanced for some users.

How to block a website on an iPhone or iPad

You can configure an iPhone or iPad to block websites that fit your criteria. For example, you can block all adult websites or only specific keywords.

Here’s how to block websites:

  • Open the Settings app.
  • Scroll down to select Screen Time.
  • Go to Content & Privacy Restrictions.
  • Tap the button at the top of this menu to turn on Content & Privacy Restrictions if it’s not already selected.
  • Go to Content Restrictions, and tap that menu item.
  • Scroll down to Web Content, and tap to limit adult websites or provide a list of allowed websites.

Here’s how to block searches:

  • Follow steps 1 through 5 above.
  • Instead of scrolling down to the Web Content section of the menu, tap the Web Search Content and Explicit Language menus. From there, you can disallow web search content or web searches that use explicit language.

Don’t forget to set a password to ensure that the settings cannot be undone without your permission.

Bottom Line: There are tools and settings that allow you to block websites on whatever devices and browsers your employees are using. Be sure your company policy around internet use covers all devices that will be connected to the business’s network.

How to block a website on an Android device

Android devices can block undesirable websites and searches in several ways. Some of these methods are more technologically advanced than others. Because Android devices utilize the Chrome browser, you can adjust those settings on each device. There are also apps that enforce these restrictions on the device. Here are your options:

  • Browser extension:  You can  download and install BlockSite  on the Google Chrome browser. Search for BlockSite in the browser extension area, and follow the instructions to install it.
  • Antivirus software:  Some antivirus software that can be installed on an Android device doubles as a website blocker.
  • Firewall:  One of the more technologically advanced options is to install a firewall that blocks access to unwanted content on both Wi-Fi and data networks.

If you plan to create restrictions, here are a few tips to follow: 1. Be transparent with employees. If you decide to re

IMAGES

  1. How to Block Websites in Safari on iPhone and Mac (2021)

    how to block page safari

  2. How to Block Websites on Safari MacBook

    how to block page safari

  3. How to Block Websites on Safari for iPhone?

    how to block page safari

  4. How to Block Websites in Safari on iPhone and iPad

    how to block page safari

  5. How to Block a Website on Safari iOS or iPad?

    how to block page safari

  6. How to Block Websites on Safari on Mac

    how to block page safari

VIDEO

  1. How to change the home page in Safari

  2. How to Block Websites on Edge (Solved)

  3. How to Customize Safari Start Page

  4. How to Enable or Disable Favorites in Safari Start Page

  5. How to listen to a Web Page in Safari on iPhone iOS 17

  6. How To Fix Safari Can't Open The Page On iPhone

COMMENTS

  1. How to Block a Website in Safari (with Pictures)

    Type in your website's URL. This should be the website you want to block; make sure you include all parts of the website's URL (e.g., "www.example.com" rather than "example.com"). 9. Tap Done. It's a blue button in the bottom-right corner of the keyboard. This will block your selected website in Safari. Method 2.

  2. How to Block a Website in Safari on iPhone and iPad

    From there, tap "Add Website" at the bottom of the screen. This is where you will enter the URL of the website you are going to block. On the Add Website page, type the URL of the website you want to block and then tap "Done" on the keyboard. At this point, you're all done, and the website is blocked. You can test this by heading over to Safari ...

  3. How to Block Websites in Safari on Mac

    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 ...

  4. How to Block a Website on Safari

    Follow these steps to block websites on your iPhone's Safari app without Screen Time: Launch BlockSite. Tap Block Something . Type a URL in the search field. Select the site listed in the search results and tap Next . Set how many days and for how long you want the site to be blocked on your iPhone. Tap Next .

  5. How to block a website on Safari

    7) At the top of the task bar, navigate over to the Web tab. Click on the Web tab. While in the tab, click on Try to limit access to adult websites and from there hit Customize. 8) In the ...

  6. How to Block Websites in Safari on iPhone and Mac

    Click on "Submit" once you are done. 2. Now, click on " WebBlock " at the top right corner. 3. Next, click the "+" button at the bottom left and add the URL of the website you want to block in Safari on your Mac. If you want to block all sites except a few, use the Allowlist feature. That's it.

  7. How to Block Websites on iPhone and iPad in Safari

    How to block websites on an iPhone and iPad. There are various ways you can block websites on an iPhone so your child doesn't visit them. 1. Open the Settings app. 2. Scroll down and tap Screen ...

  8. How to block websites on iPhone and iPad

    1. Launch the Settings app on your iPhone or iPad and tap Screen Time. (Image credit: Future) 2. Select Turn On Screen Time if it's not already on and follow the on-screen instructions to get set ...

  9. How to Block Websites in Safari Browser on your Mac, iPhone, and iPad

    Click on the Customize button to block any other website that you wish to restrict. Click on the "+" button under the Restricted section. Type the URL of the website to block or restrict from viewing in Safari. Furthermore, you can add as many sites as you want by again clicking the "+" button.

  10. How to block websites on iPhone and iPad

    To block everything and whitelist only specific sites in Safari, tap Add Website. Add the Title and URL of the website. Choose Back. (Image credit: Future/Apple) Keep unwanted content off your kids' devices. There you have three different ways to block websites on iPhone.

  11. Effective Ways to Block Websites on Safari

    You can choose to set this to Limit Adult Websites. To block specific websites that you manually specify, you'll need to click the Customize button at the bottom of the Web Content entry. From here, you should see two options: Always Allow: Allow a website always. Never Allow: Blocks a website you choose.

  12. How to Block Websites in Safari on Mac: 3 Methods Explained

    Step #1. First of all, make a separate User Account for your children. Step #2. Then go to System Preferences on your Mac. Step #3. Click on Parental Controls. Step #4. Then click on the lock icon (shown at the bottom of the window.) Step #5.

  13. How to Block Websites on Safari on Mac: 3 Best Ways

    To block a website, add the following line to the bottom of the file, replacing example.com with the URL of the website you want to block: 127.0.0.1 example.com. You can add as many websites as you want by creating a new line for each website. Press Control ^ + O to save the changes to the host's file.

  14. How to block websites on Chrome, Safari, and more

    Block a website: With the hosts file opened, navigate to the bottom of the file using your keyboard arrow keys. To block a specific website, type the following line: 127.0.0.1. Enter the URL you want to block next to the inputted line and press Return. Save the changes: Press Command + O to save the file.

  15. How to Block Websites on Safari on Mac

    Enter your Mac's admin password when prompted, then press the Return key again. Type "sudo nano /etc/hosts", followed by the Return key. Using the down arrow key on your Mac, go to a new line and add the URL of the website you want to block, with the local IP address "127.0.0.1" before it, separated by a space.

  16. Block pop-ups in Safari on Mac

    In the Safari app on your Mac, choose Safari > Preferences, then click Websites.. Click Pop-up Windows. Block pop-up windows for: A website in the list: Select the website in the right column, then choose the option you want. All websites that aren't currently customized: Click the "When visiting other websites" pop-up menu in the bottom-right corner of the pane, then choose the option ...

  17. Block pop-up ads and windows in Safari

    On your iPhone or iPad, go to Settings > Safari. Turn on Block Pop-ups. Turn on Fraudulent Website Warning. On your Mac, open Safari and choose Safari > Settings (or Preferences) from the menu bar. In the Websites tab, you can configure options to allow or block some or all pop-ups. In the Security tab, turn on the setting to warn when visiting ...

  18. How to Block a Website on Your Computer: 4 Simple Ways

    If you want to block a specific page on a website, go to that page, then copy the address by clicking the address bar at the top of the window and then pressing Ctrl + C (Windows) or ⌘ Command + C (Mac). 8. Click +. It's to the right of the website text field.

  19. Safari ad-blocker: iPhone and Mac to get new Web Eraser

    Safari 18's purported AI capabilities and ad-blocking features are currently in testing, according to Apple Insider. ... It will reportedly let you block specific parts of a web page. The tool ...

  20. Your Guide to Private Browsing in Safari

    How to Use Safari Private Browsing on iPhone and iPad The steps to enter Private Browsing mode are nearly identical on an iPhone and iPad. The only difference is that the tab icon is at the bottom of the screen on iOS and the top on iPadOS. Long-press the tab icon (two overlapping pages) on the bottom-right (iPhone) or top-right (iPad) of your ...

  21. How to Block Websites From Employee Use

    Go to the Chrome website, and visit the Block Site Extensions. On the top right of the page, click Add to Chrome. Click Add Extension to confirm the installation of the extension.