Guide · iPhone

How to block porn on iPhone.

Apple builds a filter in, and it takes a minute to switch on. Whether it stays on comes down to one thing: who knows the Screen Time passcode. Here is each free option, how to set it up, and how it comes off again.

Checked 26 November 2026 against Apple’s, Cloudflare’s and Google’s own help pages, listed at the end. Menu names are for iOS 27 and later. An older iPhone may say something slightly different.

The short answer.

Turn on Limit Adult Websites in Screen Time, then lock Screen Time with a passcode that someone else chooses and keeps. Add a family DNS filter for apps and browsers the filter may miss. On an iPhone you own, every one of these can be undone by you; the passcode is what slows that down.

1. Turn on Limit Adult Websites.

This is Apple’s own adult-content filter. Apple’s current pages describe it for Safari and do not list which other browsers it covers, so test it in the browser you actually use.

On your own iPhone

  1. Open Settings and tap Screen Time.
  2. Look for the website filter. Older versions of iOS have it under Content & Privacy Restrictions, then Web Content. If you cannot find it, type Limit Adult Websites into the search field at the top of Settings. Apple’s iOS 27 pages give exact steps only for a child’s iPhone, below.
  3. Choose Limit Adult Websites.

On your child’s iPhone, from yours

  1. On your iPhone, open Settings, tap Family, then your child’s name.
  2. Tap Apps & Websites. Enter the Screen Time passcode if asked.
  3. Tap Restrictions, then Filtering under Websites.
  4. Choose Limit Adult Websites, or Ask to Browse to allow only websites you approve.

Apple turns Limit Adult Websites on by default for a Child Account under 18.

How it comes offThe same menu, set back to unrestricted, by anyone who can open it. That is why step 2 exists.

2. Lock it with a Screen Time passcode.

  1. Open Settings, tap Screen Time, then Passcode & Management.
  2. Tap Lock Screen Time Settings.
  3. Enter a four-digit passcode, then enter it again.
  4. Apple then offers Screen Time Passcode Recovery, with an Apple Account email and password.

Apple says not to skip recovery: without it, the passcode cannot be removed or reset. For blocking it for yourself, the usual advice is to have a person you trust type the passcode, so that you never see it. Apple has no special feature for that; it only works as long as you never learn the four digits.

How it comes offSettings, Screen Time, Passcode & Management, Change Screen Time Passcode. Apple asks for Face ID or the iPhone’s own passcode, then, if prompted, the Apple Account used for recovery. If that recovery account is yours, the lock is yours to open. If it is your helper’s, you need them.

3. For a child: Family Sharing.

A parent who organises Family Sharing sets the child’s controls from their own iPhone, under Settings, then Family, then the child’s name, and changes the child’s Screen Time passcode there too, under Passcode & Management on the parent’s phone (Apple asks for the old passcode). If a parent has set up Screen Time, a teen needs the organizer’s permission to leave the family group and, depending on the laws where they live, may not be able to leave until 18. At 18 they can leave it or manage their own Screen Time.

4. Add a family DNS filter.

A family DNS filter does not hand out the real address of a site it has classed as adult, so the site fails to load in any app that looks names up through it. Cloudflare’s free filter can be set two ways:

With the 1.1.1.1 app (any network, including mobile data)

  1. Install Cloudflare’s free 1.1.1.1 app from the App Store, open it and accept the terms.
  2. Install the VPN profile when it asks, and switch WARP to Connected.
  3. Open the menu, then Advanced, then Connection options, and under DNS settings choose 1.1.1.1 for Families, the option that blocks adult content.

By hand (one Wi-Fi network only)

  1. Open Settings, then Wi-Fi, and tap the info button (i) next to your network.
  2. Tap Configure DNS, change Automatic to Manual, and add 1.1.1.3 and 1.0.0.3.
  3. Tap Save. Cloudflare notes this covers only that Wi-Fi network and must be repeated for each one. It does nothing on mobile data.

How it comes offSwitch WARP off in the app, or delete the app. The Wi-Fi setting goes back to Automatic in the same screen, and mobile data skips it entirely. A filter installed as a configuration profile is removed under Settings, General, VPN & Device Management, Delete Profile, and Apple’s deployment guide says that on an iPhone that is not supervised, anyone who knows the device passcode can remove a profile installed by hand.

5. Turn on SafeSearch in Google.

In the Google app, tap your profile picture, then Settings, then SafeSearch, and choose Filter. Google says SafeSearch only works on Google Search: it does not affect other search engines or websites, so a site you open directly is not covered.

The limit Apple builds in.

The settings that would stop all of this coming off, such as “users can’t set their own Screen Time settings” and “users can’t manually install configuration profiles”, exist only on a supervised iPhone: one managed by a school or a company through Apple’s device management tools. An iPhone you bought for yourself is not supervised. So on your own phone, nothing on this page can be made impossible to remove. A passcode someone else holds is as strong as it gets.

Basalt works within the same limit. Its iPhone protection answers the names your phone looks up, in every app and every browser, through our resolver, and the privacy page says exactly what happens to those names. It cannot be made unremovable on a phone you own: that limit is Apple’s, not ours. The waiting period that cannot be shortened is on the Windows app. Checkout is not open yet; the support page says when it opens.

Sources.

Found a step that has changed? Write to support@basaltblocker.com and it gets fixed.