How to Block Porn on Your Phone: iPhone and Android Steps
Updated
On this page
Short answer: Both phones have free settings that help. On iPhone, Screen Time has a Limit Adult Websites option. On Android, Private DNS lets you point the phone at a DNS provider that filters adult content, and Google SafeSearch cleans up Google results. None of these is a complete wall, and each can be switched off by whoever holds the phone, so how you set it up matters as much as which setting you pick.
Version note: Checked on 9 Nov 2026. The iPhone steps follow Apple's iPhone User Guide for iOS 18 and iOS 26. Apple's own-device page for iOS 27 no longer shows the Web Content steps, so on iOS 27 these menus may look different or be missing. The Android steps follow Google's Android Help page, which says some steps work only on Android 12 and up. Menu names can vary a little by phone maker.
Start with what is already on your phone
The built-in options below are free and work on different layers, so some people use more than one.
iPhone: Screen Time's Limit Adult Websites
Apple's iPhone User Guide (iOS 18 and iOS 26) gives these steps:
- Open the Settings app on your iPhone.
- Tap Screen Time.
- Tap Content & Privacy Restrictions, then turn on Content & Privacy Restrictions.
- Tap App Store, Media, Web, & Games, then tap Web Content.
- Select Limit Adult Websites. To block a particular site as well, tap Add Website below Never Allow and enter its URL.
Apple's page describes this as a way to block websites by URL. It does not say how complete the adult-site filtering is, so test it yourself once it is on. If you cannot find the Web Content option, you may be on iOS 27, where we could not confirm the steps from Apple's page. For fuller iPhone detail, see How to Block Porn on iPhone (and Adult Websites on iPad Too).
Android: Private DNS with a filtering hostname
The Google Android Help page we checked does not describe a built-in adult-site filter. What it does describe is Private DNS, which decides which DNS provider your phone asks when it looks up a site. Google's Android Help page gives the path:
- Open your device's Settings app.
- Tap Network & internet, then Private DNS.
- Pick Private DNS provider hostname, enter the provider's hostname, then tap Save.
If you cannot find it, Google suggests searching Settings for "Private DNS". Cloudflare's Android page shows an extra step on some phones: Network & internet > Advanced > Private DNS.
Google's page gives no filtering hostname, and says that "Private DNS helps secure only DNS questions and answers. It can't protect anything else." So the hostname you enter decides what is filtered. Cloudflare's Android setup page (last updated 23 Jun 2026) lists family.cloudflare-dns.com under "Block malware and adult content with 1.1.1.1 for Families". That is one example of a family DNS hostname from a provider's own page. Other providers publish their own, and we have not compared them.
In plain terms, a hostname like that works like this: when an app or browser asks for the address of a site, the provider's server can refuse to answer for sites on its adult list. It applies to any browser or app that uses the phone's DNS. It does not read page contents, and a site that is not on the provider's list will still load. For more Android detail, see How to Block Porn on Android and Samsung Phones (Free Methods First).
Add SafeSearch for Google results
Google's SafeSearch help page says you can block inappropriate content when you use Google search, and lists nudity or explicit content as an example. The settings are Filter, Blur or Off. Google describes Filter as blocking all explicit results, and Blur as blurring explicit images, adding that "explicit text and links can show if they're relevant for your search."
Google also says SafeSearch "only works on Google Search. It doesn't affect content on other search engines or websites." So treat it as one layer for search results, not as a site blocker. Google notes that parents or schools can lock SafeSearch, and that some public Wi-Fi networks enforce it.
Make the setting stick
Most of these settings can be reversed by the person who set them. That is by design, since it is your phone. If you want a gap between an urge and a change of settings, one option is a passcode that someone else chooses.
On iPhone, Apple's page says a Screen Time passcode "must be entered before you can change the settings you've chosen for yourself or a child." To set one for yourself on iOS 26 and earlier: Settings > Screen Time, scroll down, tap Lock Screen Time Settings, then enter a four-digit passcode twice. On iOS 27: Settings > Screen Time > Passcode & Management > Lock Screen Time Settings. Our suggestion: ask a trusted person to type the passcode in so you do not know it. Keep in mind that you would need that person if you later want to change a setting for a good reason. If a passcode is lost, see Forgot Your Screen Time Passcode? Reset Options and Who Should Hold It.
On Android, Google's Private DNS page offers no passcode, so you can switch the setting back to Off or Automatic yourself. We found no official Android page that locks this one setting with a passcode on an adult's own phone. That is a real gap in the built-in options.
Where the built-in options fall short
- Different layers: Screen Time filters web content, Private DNS filters site lookups, and SafeSearch filters only Google results. None covers everything on its own.
- Easy to undo: Without someone else holding a passcode, you can turn most of these off in a few taps.
- No catch rate: We could find no official page that gives a figure for how many adult sites each option blocks. Test with a harmless site you add to your own block list rather than assuming.
- Not a replacement for support: A filter reduces access. It does not address why the urge shows up. Talking to people you trust, or a professional, can matter more than any setting.
For how the main approaches compare, see Porn Blockers Compared: DNS, Screen Time, Apps and Router Filters.
If this is for a child's phone
The steps above are written for an adult's own phone. For a child on iPhone, Apple's guide says to tap your child's name inside Screen Time before setting restrictions. On Android, Google Family Link is the child-focused tool: Google's help page describes a content filter for Chrome and some Android apps that you choose per child. Family Link is for children, not for an adult's own phone. For the Android steps, see How to Block Adult Content on Your Child's Android Phone.
FAQ
Can I block porn on my phone for free?
To a degree, yes. iPhone has Screen Time's Limit Adult Websites, and Android has Private DNS plus SafeSearch for Google. They are free but have the gaps described above.
Do these settings cover apps as well as browsers?
Apple's page describes blocking websites by URL, and Google's page says Private DNS covers only DNS questions and answers. Neither page promises that every adult app or in-app browser is covered, so test the ones you use.
Do I need to turn this on for each browser?
Screen Time's setting is on the phone, and Private DNS applies to the phone's DNS. We found no official page covering every browser, so test the one you use most.
What if I switch it off during a bad moment?
That is the weak point of any setting you control alone. A passcode held by someone else on iPhone adds a pause. Whichever method you use, support from people you trust also helps.
Where Mamori fits
Mamori is a newer app for iPhone, iPad (iOS 16 or later, App Store) and Android (Google Play), built for adults blocking adult content on their own phone. It blocks 2.5M+ adult sites across the whole phone, every browser and app, by filtering DNS. Its list is also built to cover Japanese adult sites. It has a switch that forces SafeSearch on Google and Bing.
On Android it uses Android's VpnService to check each lookup on the phone against a blocklist stored on the device, with no remote VPN server. On iPhone and iPad you switch on Apple's encrypted DNS setting once, in Settings > General > VPN, DNS & Device Management > DNS, and the app then controls it. Lookups go over encrypted DNS to Mamori's filtering server so adult sites can be blocked.
It also adds a lock you choose before you can weaken protection: a wait, a phrase you type, or a PIN a friend keeps. On iPhone, Prevent uninstall (Premium) uses Screen Time, which you can still turn off in Screen Time settings, so we call it a speed bump.
Honest limits: Android allows one VPN at a time, so another VPN or blocker that takes the slot switches Mamori's filter off. On any phone, a VPN with its own DNS can get around a DNS filter. Mamori has no accountability reports or partner alerts, and no blocker replaces support from people or a professional. It is not a tool for monitoring a child.
You can get Mamori from the App Store or Google Play on the homepage: mamoriblocker.com (all blocking is free).
Related guides
Free Ways to Block Porn: Built-In Tools on iPhone, Android, Mac and WindowsFree ways to block porn with tools you already have: Screen Time, SafeSearch, family DNS and a router filter. What each misses and where an app fits. How to Block Explicit Content on iPhone: Music, Books, Apps, Siri and WebUse Content & Privacy Restrictions to limit explicit content on iPhone: web, apps by age rating, media, Siri and more, with Apple's exact menu names. How to Block Websites on Android (Any Site, Not Just Adult)Android has no single switch to block any website on your own phone. Here is what Google, Samsung and Family Link officially offer, and the gaps.Sources
- Apple Support, iPhone User Guide, Block apps, app downloads, websites, and purchases on iPhone (iOS 18 and iOS 26): https://support.apple.com/guide/iphone/block-apps-app-downloads-websites-purchases-iph3ff83f3b1/26/ios/26
- Apple Support, iPhone User Guide, Create, manage, and keep track of a Screen Time passcode on iPhone (iOS 26): https://support.apple.com/guide/iphone/create-manage-track-a-screen-time-passcode-iph272b4c4bd/26/ios/26
- Google Android Help, Manage advanced network settings on your Android phone: https://support.google.com/android/answer/9654714
- Cloudflare, Android setup for 1.1.1.1 (last updated 23 Jun 2026): https://developers.cloudflare.com/1.1.1.1/setup/android/
- Google Search Help, Make Google Search safer with SafeSearch: https://support.google.com/websearch/answer/510
- Google For Families Help, Chrome & your child's Google Account: https://support.google.com/families/answer/7087030
Last checked 9 Nov 2026. This guide is general information, not medical advice.