How to Block Websites on iPhone and iPad
In this article
You can block websites on iOS in two main ways: using Screen Time's content restrictions (best for blocking adult content or specific sites system-wide) or by using a third-party DNS or filtering app (better for custom blocklists). The built-in method is free, private, and works across Safari and most apps that use WebKit. Here is the exact process, plus what to do when a site still slips through.
What You'll Need
- An iPhone or iPad running a modern version of iOS or iPadOS (the steps below use the current Settings layout; labels can differ slightly by version and region).
- The Screen Time passcode, if one is already set. If you do not know it, you will need to reset it before you can change restrictions.
- For the DNS method: the exact DNS address from a filtering provider you trust (for example, a family-safe DNS service).
Step-by-Step
- Open Settings and tap Screen Time. This is the built-in parental controls area. If Screen Time is off, tap Turn On Screen Time and choose whether this device is for you or a child.
- Tap Content & Privacy Restrictions. Turn the switch on at the top. Without this master switch on, none of the limits below will apply.
- Tap Content Restrictions. Under Web Content, choose Limit Adult Websites. This blocks known adult domains automatically. To block a specific site, scroll to Never Allow and tap Add Website, then type the address (for example, example.com). To allow a site that got caught in the filter, use Always Allow the same way.
- Test it. Open Safari and try to load the site you blocked. You should see a Screen Time restriction message instead of the page.
- Lock the settings with a passcode. Go back to the main Screen Time screen and tap Use Screen Time Passcode. Set a code the user of the device does not know. This prevents the restriction from being turned off in Settings.
- Optional: block all browsing except approved sites. In Content Restrictions, choose Allowed Websites Only. Only the sites on that list will load. This is the strictest option and best for young children.
- For custom blocklists, use DNS instead. Go to Settings > Wi-Fi, tap the info button next to your network, tap Configure DNS, choose Manual, and enter the DNS addresses from your filtering provider. This filters at the network level and can catch sites Screen Time misses, but it only applies while connected to that Wi-Fi network unless you also set it for cellular data through a configuration profile from the provider.
Common Mistakes
- Leaving the master switch off. Content & Privacy Restrictions must be enabled or none of the website rules take effect.
- Blocking the wrong address format. Enter the domain without https:// or www unless the site requires it. A typo means the block silently does nothing.
- Forgetting the passcode. If the Screen Time passcode is unknown, the restriction can be bypassed by resetting it. Write it down somewhere safe.
- Assuming it blocks every app. Screen Time web restrictions apply to Safari and apps that use the system web view. Some apps with their own built-in browsers may behave differently.
- Using DNS without checking coverage. A DNS filter set only on Wi-Fi stops working the moment the device switches to cellular data.
Tips
- Use Limit Adult Websites first, then add specific domains to Never Allow. It is less work than maintaining a full allowlist.
- If you manage a child's device through Family Sharing, you can set these restrictions remotely from your own device in Screen Time > [child's name].
- Check the block from a private browsing tab too, since cached pages can make a site look unblocked.
- Keep a short list of sites you deliberately allow so you can restore access quickly after an iOS update resets settings.
Troubleshooting
The site still loads. Confirm Content & Privacy Restrictions is on, then re-check the exact domain in Never Allow. Try clearing Safari history and data, or test in a private tab. If the site uses a different subdomain (for example m.example.com), add that address as well.
The block message appears on a site you need. Go to Content Restrictions > Always Allow and add the domain. If you use Allowed Websites Only, add the site to that list instead.
You forgot the Screen Time passcode. You can reset it by tapping Forgot Passcode on the Screen Time passcode screen and following the Apple ID prompt. This signs you out of Screen Time on that device, so you will need to reconfigure restrictions afterward.
DNS filtering stopped working. Check that you are still on the configured Wi-Fi network. If you moved to cellular data, the DNS setting does not follow unless your provider supplies a configuration profile. Re-enter the DNS addresses if an update cleared them.
An app bypasses the block. Some apps load content through their own servers rather than the system browser. In that case, use the app's own in-app content settings, or restrict the app entirely under Screen Time > App Limits or Content & Privacy Restrictions > Allowed Apps.
Frequently Asked Questions
Does blocking a website in Screen Time work in Chrome or other browsers?
On iOS, third-party browsers must use the system web engine, so Screen Time web restrictions generally apply to them as well. The block is enforced at the system level, not per browser.
Can the user just turn the restriction off?
Only if they know the Screen Time passcode. With a passcode set and kept private, the toggle is locked. Without one, anyone can disable it in Settings.
Will blocking a site also block it in apps like Mail or Messages?
Links opened inside those apps usually load in an in-app browser that follows the system web restrictions, so the block typically applies. Content embedded directly in an app's own interface may not be affected.
Do I need a third-party app to block websites?
No. Screen Time covers the common cases for free. A DNS filter or a dedicated content-filtering app is only useful when you need large custom blocklists or network-wide filtering across devices.
Does this work on iPad the same way?
Yes. iPadOS uses the same Screen Time settings and menu names, with the same passcode protection.
What happens if I reset my device?
A full erase removes Screen Time settings, including website blocks. You will need to set them up again after restoring from a backup or setting up as new.