How to block porn on iPhone (and keep the block on)

By SoberScroll · Updated

On this page
  1. How do I turn on the adult website filter?
  2. How do I block a specific site the filter misses?
  3. How do I stop myself turning the filter off?
  4. Which loopholes should I close?
  5. Can I filter at the network level with DNS?
  6. What else makes it easier?
  7. When is a third-party blocker worth paying for?
  8. A simple plan to start today

To block porn on iPhone, go to Settings, Screen Time, Content & Privacy Restrictions, then App Store, Media, Web & Games, Web Content, and choose Limit Adult Websites. Then lock it with a Screen Time passcode that someone else sets. Without that second step, the filter is easy to switch off.

This is practical, not a lecture. Lots of people want this off their phone, and wanting it gone is a good enough reason. Everything below is free and built into iOS.

How do I turn on the adult website filter?

It takes about two minutes. Do this first.

  1. Open Settings and tap Screen Time.
  2. If Screen Time is off, tap Turn On Screen Time, then Continue, and choose This is My iPhone.
  3. Tap Content & Privacy Restrictions and turn on the switch at the top.
  4. Tap App Store, Media, Web & Games.
  5. Tap Web Content.
  6. Choose Limit Adult Websites.

Apple lists the same setting, plus an option to approve only specific sites, in its guide to parental controls on iPhone. Menu names differ a little between iOS versions, and newer versions may place some controls under Family for child accounts. The steps above are for managing your own phone.

With this on, Safari blocks many adult sites and shows a notice instead. As a side effect, Safari’s Private Browsing is turned off, which closes one common loophole.

How do I block a specific site the filter misses?

Add it by hand. No filter catches everything.

  1. Go to Settings > Screen Time > Content & Privacy Restrictions > App Store, Media, Web & Games > Web Content > Limit Adult Websites.
  2. Under Never Allow, tap Add Website.
  3. Type the address, for example the site’s domain, and save.

Do this whenever a site gets through. Keep a note, because the list is the part of your setup you will grow over time.

If you want to go further, you can switch to Only Approved Websites. That blocks the whole web except the sites you list. It is strict, and it is a good short-term setting for a hard month.

How do I stop myself turning the filter off?

Give the Screen Time passcode to someone else. This is the most important step in the whole guide.

  1. Go to Settings > Screen Time.
  2. Tap Lock Screen Time Settings (it may read Use Screen Time Passcode).
  3. Ask a partner, friend or family member to type a four-digit code while you look away.
  4. If you get asked for an Apple ID for recovery, ask your helper if they will be the contact. If your phone only accepts your own, that is still better than choosing the code yourself.

If you already set a passcode and know it, change it: Settings > Screen Time > Change Screen Time Passcode. Then have your helper set the new one.

Be honest about why this works. It is not that you are weak. A filter you can switch off in ten seconds will be switched off in the one moment you most want it on. A passcode you do not know adds a pause, and the urge often passes in that pause.

If you do not want to involve a person, there is a partial option: have a friend choose the code and tell you it only after 90 days. It is less reliable but better than nothing. Only you know whether that is realistic.

Which loopholes should I close?

A web filter has several gaps. Close each one.

Other browsers. Limit Adult Websites works with Safari and apps that use Apple’s web components. Chrome, Firefox and other browsers may not follow it in every case, so do not assume it does. Two fixes: remove the other browsers, and stop yourself installing them. Go to Content & Privacy Restrictions > iTunes & App Store Purchases and set Installing Apps and Deleting Apps to Don’t Allow. Since the passcode is held by someone else, that rule sticks.

Apps with built-in browsers. Some social apps open links in their own view. Reddit, X and others can show adult content directly in the feed. The iPhone filter will not remove that. For those apps, use the app’s own settings (look for “sensitive content” or “NSFW” toggles), or block the app with an App Limit.

Image search and feeds. Search engines have a SafeSearch setting. Turn it on in your Google and Bing settings, and lock it with your account. It is not complete, but it narrows what shows.

VPNs and DNS changes. A VPN can hide your traffic from the filter. Under Content & Privacy Restrictions, there is a lock for account changes; set Account Changes to Don’t Allow. VPN profiles are installed in Settings > General > VPN & Device Management, so check that nothing is added there. Also keep an eye out for new VPN apps.

Deleting and reinstalling. This does not remove the filter, because the filter is a system setting. It can remove an app limit, though, so stop deleting with the Installing and Deleting Apps rules above.

Resetting the phone. A full reset wipes settings. It is rare, but it is the final loophole, and only a motivated person uses it. If you are at that point, tell someone you trust.

Can I filter at the network level with DNS?

Yes, and it is worth doing. DNS filtering blocks adult domains for every app and browser on the network, not just Safari.

Cloudflare runs a free family DNS. The address 1.1.1.3 (and 1.0.0.3 as backup) blocks malware and adult content. See Cloudflare’s setup page for current addresses.

On your iPhone, over Wi-Fi:

  1. Go to Settings > Wi-Fi.
  2. Tap the i next to your network.
  3. Tap Configure DNS and choose Manual.
  4. Delete any existing servers, then tap Add Server and enter 1.1.1.3. Add 1.0.0.3 as a second server.
  5. Tap Save.

You can test it by visiting nudity.testcategory.com, a test address Cloudflare provides. It should be blocked.

Know the limits. This setting only covers that one Wi-Fi network, so you need to repeat it on each network you use. It does not cover mobile data. Cloudflare also offers a 1.1.1.1 app that can apply the family setting everywhere; check the app’s current options before you rely on it. And you can change the DNS back in the same menu, so it needs the same helper-held lock as everything else. Cloudflare’s filter once blocked some sex education and LGBTQ sites by mistake and corrected it, so if a site you need is blocked, you can switch back to 1.1.1.2 (malware only) for that network.

For your home router, the same DNS can be set once for every device. That is the cleanest option if you share a house, and a good case for asking a housemate or partner to hold the router password.

What else makes it easier?

Blocking is half of it. The other half is making the urge easier to wait out.

  • Charge your phone outside the bedroom. Most slips happen in bed.
  • Use Downtime at night. Go to Settings > Screen Time > Downtime, set your hours, and keep Always Allowed to Phone, Messages and an alarm app.
  • Reduce triggers. Mute or leave accounts that post suggestive content. Unfollowing is a block too.
  • Use a replacement. When the urge hits, have a short list ready: a walk, a call, ten push-ups, a shower.
  • Tell one person. Shame grows in secret. You do not need to share details. “I’m blocking some sites, can you hold my passcode?” is enough.

If your use feels out of your control, or it is hurting your relationships or work, a counsellor or a support group can help. There is no shame in asking.

When is a third-party blocker worth paying for?

Start with the free setup above. Add a paid tool if you hit a gap you cannot close:

  • Accountability. Covenant Eyes is built around accountability, with reports sent to a person you pick. Canopy focuses on filtering for families and has tools for detecting and blocking explicit images. Check each product’s current features and platform support before buying.
  • More than one device. Screen Time does not cover your Windows laptop. A blocker that runs on both saves you from managing separate tools.
  • Stricter locks. Some apps add a time-delay lock so changes only take effect after a wait.

No tool on iPhone can promise to be unbreakable, because Apple controls what apps may do. Be wary of any that claims it is.

We’re building SoberScroll to do this on every device with one subscription; join the waitlist.

A simple plan to start today

  1. Turn on Limit Adult Websites.
  2. Add any site that slipped past to Never Allow.
  3. Have someone else set the Screen Time passcode.
  4. Set Installing Apps, Deleting Apps and Account Changes to Don’t Allow.
  5. Set Cloudflare 1.1.1.3 DNS on your home Wi-Fi.
  6. Turn on Downtime for the hours you are most at risk.

Re-check it in a week. If something got through, add it to the list and close that gap. A good block is built a bit at a time.

Common questions

Does iPhone have a built-in porn blocker?

Yes. Screen Time has a Limit Adult Websites setting under Content & Privacy Restrictions. It filters adult sites in Safari and in apps that use Apple's web components. It is free, but it only holds if someone else controls the Screen Time passcode.

Can I block porn on iPhone without anyone knowing?

The filter itself is silent. Nobody is told when you turn it on. But the block is strongest when a trusted person holds the passcode, so consider telling one person. If you prefer privacy, you can still use a passcode you cannot see, such as one a friend picks and you never ask for.

Why can I still see adult content after turning on Limit Adult Websites?

Filters miss things. Social feeds, image search, adult content inside apps, and sites the filter has not categorised can all get through. Other browsers may not follow the setting. Add DNS filtering such as Cloudflare 1.1.1.3, and use Never Allow for any site that slips past.

Does private browsing get around the iPhone filter?

No, not in Safari. When Limit Adult Websites is on, Safari's Private Browsing is turned off. The loophole is a different browser, a VPN, or changing DNS, so lock those settings too.

What if I know the Screen Time passcode?

Then the block is only as strong as your mood at 2 am. Ask a partner, friend or family member to set a new passcode while you look away. Change the passcode via Settings > Screen Time > Change Screen Time Passcode, and do not keep it written down anywhere you can reach.

One blocker for every device

We're building SoberScroll to block Reels, Shorts, apps and adult sites on Android, iPhone, Windows and Mac, with a strict mode that holds. Join the waitlist for the launch price.

Launch price for the waitlist. One email when the beta opens, nothing else.

More guides