Blocking websites in Safari on your iPhone or iPad is a straightforward way to filter out distracting or inappropriate content. This guide covers the built-in Screen Time method (which works without any extra apps), plus a quick alternative using Safari’s content blocker settings. You’ll need your device passcode (or Face ID/Touch ID) and, if you want to keep the block secure, a separate Screen Time passcode.
What You’ll Need
- An iPhone or iPad running iOS 12 or later (the steps are the same for iPadOS).
- Your device passcode or Face ID/Touch ID to access Settings.
- A Screen Time passcode (optional but recommended if you don’t want the block to be easily changed).
Step-by-Step
- Open Settings. Tap the gray gear icon on your home screen.
- Tap Screen Time. It’s usually near the top of the Settings menu, below Do Not Disturb.
- Turn on Screen Time if it’s off. If you see a blue “Turn On Screen Time & App Limits” button, tap it. If Screen Time is already on, skip to step 5.
- Set a Screen Time passcode (recommended). Tap “Use Screen Time Passcode” and enter a 4-digit code. This prevents anyone from changing your block settings without the code. If you skip this, anyone with access to your phone can turn off the block.
- Tap Content & Privacy Restrictions. It’s in the second group of options, below “Always Allowed.”
- Turn on Content & Privacy Restrictions. Toggle the switch at the top to green. If it’s already on, leave it.
- Tap Content Restrictions. This is the first option under the “Allowed Store Content” heading.
- Tap Web Content. It’s the third option down, under “Content Restrictions.”
- Choose “Limit Adult Websites.” Tap this option. It automatically blocks many adult sites and lets you add specific sites to an allow or block list.
- Add a website to the block list. Under the “Never Allow” section, tap “Add Website.” Type the full domain (e.g.,
example.com) and tap “Add.” Repeat for any other sites you want to block. - Test the block. Open Safari and try to visit the site. You should see a message saying the site is blocked.
Alternative method using Safari’s built-in content blocker: If you only need to block one or two sites and don’t want to use Screen Time, you can use Safari’s “Content Blocker” setting. However, this only works if you have a third-party content blocker app installed (like AdGuard or BlockBear). If you have one, go to Settings > Safari > Content Blockers, and enable the blocker. Then, in the blocker app itself, you can add specific sites to a block list. This method is less secure because the block can be easily turned off, and it requires a separate app.
Common Mistakes
- Forgetting to turn on Content & Privacy Restrictions. If you don’t toggle this on, the block won’t work. The switch must be green.
- Typing the URL wrong. Make sure you enter the exact domain (e.g.,
youtube.com). If you enterwww.youtube.comit will still block, but if you enter a subdomain likem.youtube.com, it might not block the main site. Use the bare domain without “www.” for best results. - Blocking only the homepage. If you block
example.com, it blocks all pages on that domain. But if the site uses a different domain for its content (e.g.,cdn.example.net), that might still load. You may need to block multiple domains. - Not setting a Screen Time passcode. Without it, anyone can go into Settings and turn off the block in seconds.
- Using the wrong method for your needs. If you want to block a category (like all adult content), use “Limit Adult Websites.” If you want to block a specific site, use the “Never Allow” list. They work together.
Tips
- Use “Allowed Websites” for a whitelist. Under Web Content, you can also choose “Allowed Websites Only” to only allow a pre-approved list of sites. This is strict, but you can add your own sites to the list.
- Block sites across all browsers. The Screen Time block applies to Safari and also to other browsers like Chrome or Firefox, as long as they use the same WebKit engine (which most do on iOS).
- Set a downtime schedule. If you want to block all websites during certain hours (e.g., bedtime), use the “Downtime” feature in Screen Time. You can set a schedule and choose to allow calls and messages.
- Keep the Screen Time passcode private. If you’re setting this up on a child’s device, don’t share the passcode. If you’re setting it up on your own device, it’s still a good idea to have one to prevent accidental changes.
- Use a VPN or DNS filter for more comprehensive blocking. If you need to block many sites or categories, consider a parental control app or a DNS-based filter (like OpenDNS). These work at the network level and are harder to bypass.
Troubleshooting
- The block isn’t working. First, make sure Content & Privacy Restrictions is toggled on. Then, check that the site is in the “Never Allow” list. If it is, try removing it and adding it again. Also, check if the site uses a different domain (e.g.,
facebook.comvsfb.com). - You forgot your Screen Time passcode. If you have an Apple ID, you can reset it by going to Settings > Screen Time > “Forgot Passcode?” and entering your Apple ID password. If you don’t have an Apple ID associated, you may need to erase the device and restore from a backup (which will remove the passcode).
- The site is blocked but you need to access it temporarily. Go to Settings > Screen Time > Content & Privacy Restrictions > Content Restrictions > Web Content, and either switch to “Unrestricted Access” or remove the site from the block list. Remember to turn it back on later.
- Blocked sites still show up in search results. The block prevents the page from loading, but search engines may still show snippets. That’s normal. The page won’t load if you tap on it.
- Screen Time is not showing in Settings. Make sure your device is running iOS 12 or later. If it’s older, you can’t use Screen Time. You can update your device via Settings > General > Software Update.
Frequently Asked Questions
Will blocking a website in Screen Time also block it in other apps?
Yes, the block applies to all web browsers on the device, including Safari, Chrome, and Firefox. It also applies to in-app browsers (like the one in Facebook or Twitter) if they use the same WebKit engine, which most do.
Can I block a website without using Screen Time?
Yes, you can use a third-party content blocker app (like AdGuard or BlockBear) and then enable it in Settings > Safari > Content Blockers. However, this only works in Safari and can be easily turned off. Screen Time is the built-in, more secure method.
Does blocking a website on my iPhone also block it on my Mac?
No, Screen Time settings are per-device. If you want to block the same site on your Mac, you’ll need to set up Screen Time there as well (or use a shared iCloud Screen Time setting if you have Family Sharing).
Can I block a website temporarily?
Yes, you can either add the site to the block list and then remove it later, or use the “Downtime” feature to block all websites during specific times. Downtime is a temporary, scheduled block.
What if I want to block all websites except a few?
Use the “Allowed Websites Only” option under Web Content. This will only allow the sites in the “Allowed Websites” list. You can add your own sites to that list by tapping “Add Website.”
Does the block work in private browsing mode?
Yes, Screen Time restrictions apply to private browsing as well. The block is enforced at the system level, so it works regardless of whether you’re in a private tab.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Spotify Jam Not Working on Mobile? Fixes That Work
- Windows 10 No Internet Secured WiFi Error Fix
- Multi-Cloud GPU Failover Design Guide
- Error Code Currant Destiny? Meaning & Fixes
- AirPlay with Roku Multi-Device Setup: A How-To
- How to Set a Timer on iPhone (iOS 18 & 17)