To block porn on an iPhone, turn on Apple's adult website filter: open Settings, tap Screen Time, and set the web filter to Limit Adult Websites. That takes a few minutes, but anyone who knows the Screen Time passcode can switch it off again. To make the block permanent, lock the same Apple filter with a profile on a supervised iPhone. Then nobody can remove it in Settings.
The built-in way: Limit Adult Websites in Screen Time
Apple changed the Screen Time menus in iOS 27, so the path depends on your iOS version. Check your version in Settings > General > About.
On iOS 27
- Open the Settings app and tap Screen Time. For a child in your Family Sharing group, tap Family and then your child's name.
- Open Apps & Websites. Enter your Screen Time passcode if the iPhone asks for it.
- Open Restrictions and find the website filter. Apple's page for a child's iPhone calls it Filtering, under Websites.
- Choose Limit Adult Websites.
If you do not see these names on your own iPhone, look in Screen Time under Content & Privacy Restrictions, or type "Web Content" or "Websites" in the search field at the top of Settings.
On iOS 26 and earlier
- Open the Settings app.
- Tap Screen Time.
- Tap Content & Privacy Restrictions, then turn on Content & Privacy Restrictions.
- Tap App Store, Media, Web, & Games.
- Tap Web Content.
- Select Limit Adult Websites.
- To block one more website, tap Add Website below Never Allow and enter its address.
Add a Screen Time passcode
Without a passcode, anyone who holds the phone can turn the filter off. In Settings, open Screen Time, then Manage Screen Time, and tap Lock Screen Time Settings. Enter a four-digit passcode.
Why the built-in block is easy to undo
The Screen Time filter is a setting, and settings can be changed. There are three weak points.
- You know the passcode. If you set the passcode for yourself, you can enter it and turn the filter off in under a minute.
- The passcode can be reset with the Apple Account. Apple lets you reset a forgotten Screen Time passcode with the Apple Account email and password used to set it up. If that account is yours, the passcode does not stop you.
- Time limits have an Ignore Limit button. Time Allowances (called App Limits before iOS 27) can be dismissed with one tap on your own phone, so they do not back up the web filter.
Giving the passcode to a friend or partner helps, and it may be enough for you.
Another way: a DNS filter
Before any app opens a website, the iPhone asks a DNS service for the website's address. A DNS filter is a DNS service that refuses to look up adult websites. So the block works for every app on the phone, not only Safari.
Two free examples:
- Cloudflare 1.1.1.1 for Families. The addresses that block malware and adult content are 1.1.1.3 and 1.0.0.3.
- CleanBrowsing Family Filter. The addresses are 185.228.168.168 and 185.228.169.168. It also blocks known VPN and proxy websites, and turns on SafeSearch in Google, Bing and YouTube.
There are two ways to set one up on an iPhone:
- With the provider's app or profile. Cloudflare's free app, 1.1.1.1: Faster Internet, works on Wi-Fi and on mobile data. In the app, tap the menu, then Advanced > Connection options. Under DNS settings, tap 1.1.1.1 for Families and choose the option that blocks malware and adult content. CleanBrowsing offers a profile for iOS.
- By hand, for one Wi-Fi network. In Settings, tap Wi-Fi, tap the "i" next to the network, tap Configure DNS, choose Manual and add the two addresses. This covers only that Wi-Fi network, not mobile data.
What it leaves open: you can switch off the app, remove the profile in Settings > General > VPN & Device Management, or set the Wi-Fi back to Automatic. A VPN app can send the lookups to another DNS service. So a DNS filter covers more apps than Apple's filter, but it is just as easy to switch off. The locked profile below uses Apple's filter. Once it is locked on a supervised iPhone, it cannot be removed in Settings.
The permanent way: lock the filter on a supervised iPhone
Supervision is a mode Apple built for schools and companies. A supervised iPhone can carry a profile with rules that the person holding the phone cannot change. One of those rules is the same adult website filter from Screen Time, with no switch for it in Settings. There are two ways to do this.
Option 1: Wax, which does not erase your iPhone
Wax, a Mac app, puts your iPhone into supervised mode without erasing it. It sends a small setting over the cable and restarts the iPhone once. Your photos, messages and apps stay. Back up your iPhone first, with Finder or iCloud. On iOS 27 the steps on the iPhone differ a little. They are in how to supervise an iPhone on iOS 27 without erasing it.
- Open Wax on a Mac with Apple silicon and macOS 14 or later, and connect the iPhone with a cable.
- Let Wax supervise the phone. The iPhone restarts once.
- Choose the websites and apps to block.
Wax puts no app on the iPhone. To undo it, connect the iPhone, open Wax and choose Remove Supervision.
Option 2: manually via Apple Configurator
Apple Configurator, Apple's own free Mac tool, does the same. Apple Configurator erases the iPhone first. Only what syncs to iCloud comes back. You make the profile yourself in Apple Configurator.
Which way fits you
| Screen Time | DNS filter | Wax | Manually via Apple Configurator | |
|---|---|---|---|---|
| Needs a Mac | No | No | Yes | Yes |
| Erases the iPhone | No | No | No | Yes |
| Can be turned off in Settings | Yes, with the passcode | Yes | No, while supervised | No, once locked |
| How to undo | Change the setting | Switch off the app or remove the profile | Remove Supervision in Wax, on the Mac | Erase the iPhone, or use a Mac with Apple Configurator |
What the filter catches
The adult website filter is Apple's own filter. It works in Safari and in apps that show web pages with the iPhone's system web view. It blocks websites that Apple detects as adult websites.
What this cannot do
It is a filter. It does not catch everything.
- New or unknown websites can get through. Add any website that gets through to your block list.
- Apps with their own content are not filtered. Social media apps, chat apps and video apps show content inside the app. A web filter does not see it.
- Other browsers may behave differently. A browser that does not use the system web view may not follow the filter.
- It only covers this iPhone. Other devices need their own setup. Wax supports iPhone only.
So pair the filter with two more rules. Block the specific websites you know about, and hide the apps that are a problem for you. See how to block websites on an iPhone and how to block any app on an iPhone.
A filter is a tool, not treatment. If this topic affects your daily life, a doctor or a licensed therapist can help.
For yourself or for a child's phone
For yourself. The weak point is that you hold the passcode. A locked profile has no passcode.
For a child's phone. Start with Apple's parental controls. On iOS 27, open Settings, tap Family, then your child's name, then Apps & Websites. Under Restrictions, open the website filter. Apple turns on Limit Adult Websites by default for Child Accounts under 18. You hold the passcode, so this works better than it does for an adult. If your child keeps finding ways around it, a locked profile is the next step. More in iPhone parental controls kids cannot turn off.
How to undo it
A locked profile cannot be removed on the iPhone itself. To remove it, erase the iPhone: Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. Restoring a backup made before supervision does the same. A Mac with Apple Configurator can also remove a profile from a supervised iPhone. Decide before you lock. If you used Wax, connect the iPhone, open Wax and choose Remove Supervision.
FAQ
How do I block porn on my iPhone without an app?
Use Screen Time. On iOS 27, open Settings, tap Screen Time, then Apps & Websites, and choose Limit Adult Websites in the website filter under Restrictions. On iOS 26 and earlier, go to Settings > Screen Time > Content & Privacy Restrictions > App Store, Media, Web, & Games > Web Content and select Limit Adult Websites.
Is there a free porn blocker for iPhone?
Yes. Apple's adult website filter is built into every iPhone and costs nothing.
Can I block websites on an iPhone permanently?
Yes, on a supervised iPhone. A locked profile with a list of blocked websites cannot be removed on the iPhone itself. Removing it takes erasing the iPhone, or a Mac with Apple Configurator, or Remove Supervision in Wax.
Does the filter work in Chrome and other browsers?
It works in Safari and in apps that use the iPhone's system web view. Browsers and apps that load content another way may not follow it. If a browser gets around the filter, hide that browser app.
Start with the built-in filter, then lock it
Turn on Limit Adult Websites in Screen Time today. If you find yourself turning it off, supervise the iPhone with Wax, which does not erase your iPhone, or do it manually with Apple Configurator.