Guides

How to Block Porn on Android in 2026: Samsung, Pixel, Xiaomi and Tecno

Updated Oct 27, 2026·The QuitPorn Team·12 min read

There are three free ways to block porn on an Android phone. Private DNS takes two minutes and works in every app. Google Family Link adds app and Play Store control on a child's phone. A blocker app adds a filter you can switch on and off. All three can be undone in under a minute by the person who set them up. If that person is you, and you are trying to stop, you need a fourth option: a block with a timer instead of an off switch.

This guide gives you the exact taps for each method on the phones people really use: Samsung, Pixel, Xiaomi, Redmi, POCO, Tecno, Infinix, OnePlus and Oppo. Then it shows where the free methods stop working, and what holds.

Before you start: find your phone's menu names

Android is one system with many skins. Samsung calls its skin One UI, Xiaomi calls it HyperOS, Tecno calls it HiOS, Infinix calls it XOS and OnePlus calls it OxygenOS. The settings are the same underneath, but the menu names move around.

If a step below does not match your phone, do this: open Settings, tap the search bar at the top, and type the name of the setting, for example Private DNS. Search finds it on every brand, whatever menu it sits in.

Method 1: Private DNS (free, two minutes, every app)

Android 9 and newer can send every web address lookup through a filtering service. When a lookup is for an adult site, the filter refuses to answer, so the site fails to load. This works in Chrome, in Samsung Internet, inside apps, on Wi-Fi and on mobile data. It is the fastest free block there is.

The filter we recommend is Cloudflare's family filter. The hostname is:

family.cloudflare-dns.com

It blocks adult sites and malware, and it is free. family.adguard-dns.com and family-filter-dns.cleanbrowsing.org also block porn.

On a Pixel, Motorola or most stock Android phones:

  1. Open Settings.
  2. Tap Network & internet.
  3. Tap Private DNS. On some phones it sits under Advanced.
  4. Choose Private DNS provider hostname.
  5. Type family.cloudflare-dns.com and tap Save.

On a Samsung phone (One UI):

  1. Open Settings.
  2. Tap Connections.
  3. Tap More connection settings.
  4. Tap Private DNS.
  5. Choose Private DNS provider hostname, type family.cloudflare-dns.com, and tap Save.

On a Xiaomi, Redmi or POCO phone (HyperOS or MIUI):

  1. Open Settings.
  2. Tap Connection & sharing.
  3. Tap Private DNS. On some HyperOS versions it sits one level deeper, under More connection options.
  4. Choose Private DNS provider hostname.
  5. Type family.cloudflare-dns.com and tap Save.

On a OnePlus, Oppo or Realme phone (OxygenOS, ColorOS, Realme UI):

  1. Open Settings.
  2. Tap Connection & sharing. On older versions it is called Wi-Fi & network.
  3. Tap Private DNS.
  4. Choose Manual or Designated private DNS provider.
  5. Type family.cloudflare-dns.com and tap Save.

On a Tecno, Infinix or itel phone (HiOS, XOS):

The menu names change between versions on these phones, so use search.

  1. Open Settings.
  2. Tap the search bar and type Private DNS.
  3. Tap the result. If search finds nothing, look under Connections or Network & internet, then More or Advanced.
  4. Choose Private DNS provider hostname.
  5. Type family.cloudflare-dns.com and tap Save.

Check that it worked. Open your browser and try an adult site you know. It should fail with a connection error, not load. If it still loads, the phone is using a VPN, or a browser with its own DNS.

What it blocks: known adult websites in every browser and every app, on Wi-Fi and on mobile data.

Where it breaks:

  • The same five taps switch it off. There is no passcode on Private DNS.
  • Any VPN app sends traffic around it.
  • Some browsers, Firefox for one, can be set to use their own DNS and skip the phone's.
  • It filters websites, not content. Adult material inside Reddit, X or Telegram is not on a blocked website, so it still shows.

Method 2: Google Family Link (free, fifteen minutes, for a child's phone)

Family Link is Google's parental control. It filters Chrome, limits what the Play Store will install, forces SafeSearch on, and reports screen time to a parent's phone. It is built for supervising a child's account, not for an adult managing their own phone.

Set it up:

  1. On the parent's phone, install Google Family Link from the Play Store and tap Get started.
  2. Choose Child, then link the child's Google account, or create one.
  3. On the child's phone, sign in with that account and approve supervision when asked.
  4. Back on the parent's phone, open the child's profile and tap Controls.
  5. Tap Google Chrome and turn on Try to block mature sites.
  6. Tap Google Play and set the content ratings.
  7. Under Apps, block every browser other than Chrome, and block any VPN apps.

What it blocks: mature sites in Chrome, app installs above the rating you set, and SafeSearch stays on.

Where it breaks:

  • The web filter covers Chrome only. Any other browser on the phone is unfiltered, which is why step 7 matters.
  • Supervision can end when the child reaches the age of consent for a Google account in their country, which is 13 in many places.
  • A factory reset removes it.
  • A second Google account added to the phone is not supervised.
  • It cannot be used on your own phone. A supervised account has to belong to a child.

Method 3: A blocker app (free, until you uninstall it)

Apps like BlockerX, Detoxify and BlockSite run a VPN on the phone and filter traffic through it, or replace your browser with a filtered one. They are quick to set up, and some have useful extras such as app time limits.

Where they break: the person who installed the app can switch it off or delete it. Some add a password, or a friend's approval, first. But the password reset goes to an email you control, and a friend is asleep at 2am. In practice, the app lasts until the first bad night.

Where the free methods stop working

Every free method above is set up by you, so it can be removed by you, usually in under a minute and with no passcode. In a calm moment that sounds fine. During an urge it is the whole problem. The person who set the block in the morning is not the one in charge at 1am. Nobody is told when the block goes, and it is back before anyone notices.

If you are protecting a young child who will not look for workarounds, Family Link plus Private DNS is a good setup and it costs nothing. If you are protecting a teenager, or yourself, the question is not which filter is strongest. It is whether the block survives the person who wants it gone.

Method 4: A block that holds (QuitPorn)

QuitPorn is built for the case the free methods cannot handle: the person who set up the block is the person who will try to remove it. It is different in three ways.

The lock has a timer, not a switch. You choose a lock length in a clear moment, from 1 day up to 30 days on the monthly plan, 180 days on the six-month plan or 365 days on the annual plan. For that period the filter stays on. There is no setting to turn it off early, and it can't be deleted during the lock.

There is no passcode to find. On Android there is no code at all. The lock ends when your time is up. There is nothing to guess, write down or ask support for, so there is nothing to give in to.

It cannot be switched off. The filter covers every browser and app on the phone, and nobody can switch it off or delete it during a lock. You can also add your own sites and apps to the block list, such as a social app that is your trigger.

The same lock runs on up to 5 devices from one dashboard: Android, iPhone, iPad, Windows and Mac. A phone with no block is the usual way around a laptop with one, so the lock has to be on all of them.

Setup on Android:

  1. Sign up at quitporn.io and open the dashboard on the phone.
  2. Install the QuitPorn app from Google Play. The setup page links straight to it and links the phone to your account.
  3. Follow the guided setup. It takes under 5 minutes with a step-by-step video.
  4. Choose the lock length and confirm. From that moment the block is on until the timer ends.

Plans are 15 dollars a month, 78 dollars for six months, or 120 dollars a year, which works out to 10 dollars a month. If you have not started a lock yet, you can get a refund within 7 days. See the plans.

How to block porn on a Samsung phone

Samsung phones run Android with their own settings layout, so the methods above work but the taps differ.

  • Private DNS: Settings, Connections, More connection settings, Private DNS. Then family.cloudflare-dns.com.
  • Samsung Internet has a content blocker menu, but it blocks ads, not adult sites. Use Private DNS instead, or delete one of Samsung Internet and Chrome and keep a single browser.
  • Samsung Kids is a child mode with an approved app list. It is fine for young children, and easy for older ones to leave with the parent's PIN.

QuitPorn's lock works the same way on Samsung as on any other Android phone.

How to block porn on a Xiaomi, Redmi or POCO phone

Xiaomi phones run HyperOS, or MIUI on older models. They are some of the best-selling phones in Africa, India and Asia.

  • Private DNS: Settings, Connection & sharing, Private DNS. Then family.cloudflare-dns.com.

QuitPorn's lock works the same way on Xiaomi, Redmi and POCO as on any other Android phone.

How to block porn on a Tecno or Infinix phone

Tecno and Infinix phones are hugely popular in Nigeria, Kenya, Ghana, Egypt and Pakistan. They run HiOS and XOS, which follow Android closely but rename menus between versions.

  • Private DNS: search Settings for Private DNS, then enter family.cloudflare-dns.com.
  • App lock and hidden apps: these phones can hide apps from the home screen. Open the hidden apps list and check for a second browser.

QuitPorn installs from Google Play and works on Tecno and Infinix the same way as on any other Android phone.

How to block porn on Android permanently

Nothing on a phone is permanent if the owner can change the settings. So "permanently" really means "until the timer ends, with no way to end it early". That takes three things: a filter under every app, no way to switch it off, and no way to end it early. Private DNS gives the first for free. Family Link can give some of the second on a child's phone. Only a locked blocker gives all three on your own phone. Set the longest lock you are willing to commit to, then decide again when it ends, in daylight.

Comparison

Private DNS Family Link Blocker app QuitPorn
Blocks all browsers Yes Chrome only Depends Yes
Blocks inside apps Websites only No Partly Yes
Stops VPN bypass No If VPNs are blocked No Yes
Stops uninstall Nothing to uninstall No Some, with a password During the lock
Block extra apps you choose No Yes Some Yes
Can be ended early Yes By the parent Usually No
Works on your own phone Yes No, child accounts only Yes Yes
Cost Free Free Free or subscription From 10 dollars a month

Conclusion

Private DNS is the two-minute free block, and every Android owner should have it on. Family Link turns a child's phone into a supervised one. Both are undone in a minute by anyone who knows where the setting is, and both are fine for the people who will not go looking.

For a teenager who will, or for yourself, a filter is not the answer, because you will be the one turning it off. What works is a block that runs under every app, guards its own settings, and ends on a date you chose when you were thinking clearly. That is what QuitPorn does on Android, and on every other device you own. Setup takes under 5 minutes on Android.

If you are not sure how serious the problem is, start with the free two-minute test. If you are sure, set the lock.

Frequently Asked Questions

How do I permanently block adult sites on Android?

Set Private DNS to family.cloudflare-dns.com, and delete every browser except one. That blocks adult sites until someone changes those settings back. For a block that cannot be changed back for a set period, use a locked blocker that nobody can end early, such as QuitPorn, and set the lock for as long as you are willing to commit.

How can I block porn on my phone for free?

Private DNS is the best free option on Android. On most phones: Settings, Network & internet, Private DNS, then enter family.cloudflare-dns.com. On Samsung it is under Connections, More connection settings. On Xiaomi it is under Connection & sharing. It filters every browser and app in two minutes. It can be switched off in the same menu, so it protects you from running into porn by accident, not from yourself.

How do I stop watching adult content on my phone?

Two steps. First, make it hard to reach: Private DNS, one browser, no VPN apps. Second, make it impossible to undo when an urge hits, because that is when the first step gets reversed. A lock with a fixed period that nobody can end early removes the decision. If you have already tried to stop and it did not hold, the porn addiction test takes two minutes and tells you how far along the pattern is.

How can I block adult content on my Samsung phone?

Settings, Connections, More connection settings, Private DNS, then a family filter hostname such as family.cloudflare-dns.com. Delete extra browsers. Samsung Kids works for young children. For a block that holds on your own Samsung phone, QuitPorn works the same as on any Android.

How do I block porn on a Xiaomi or Redmi phone?

Settings, Connection & sharing, Private DNS, then family.cloudflare-dns.com. Delete extra browsers.

Can you block porn on Android without an app?

Yes. Private DNS needs no app and covers every browser and app on the phone. Its weakness is that it is a setting, and settings can be changed back.

Can kids bypass parental controls on Android?

Yes, if they want to. Another browser, a free VPN, a second Google account or a factory reset each get around Family Link. Blocking browser and VPN installs in Family Link closes most of that for younger children. Teenagers who are determined need a lock that does not depend on a parent's PIN.

Does QuitPorn slow down my phone?

No. Browsing speed and battery are not noticeably affected.

Which Android phones does QuitPorn work on?

Any phone running a current version of Android, including Samsung, Pixel, Xiaomi, Redmi, POCO, Tecno, Infinix, OnePlus, Oppo and Motorola. The app installs from Google Play.

This is general information, not medical advice. For help with your own situation, talk to a doctor or therapist.

The Only Unbypassable
Porn Blocking Solution