Essence

Free Porn Blocker: How to Block Porn on Any Device (2026)

Updated 2026-10-19

You can block porn for free with settings that already exist on your devices. The most reliable free setup is a family DNS filter (such as Cloudflare for Families or CleanBrowsing Family) on your phone and router, plus Screen Time or Family Safety content restrictions, with the passcode held by someone you trust. None of this costs anything, and it takes about 20 minutes to do all of your devices.

A blocker removes the easy route, and that is worth a lot at 1 a.m. It does not take away the urge, which is why the last sections of this guide cover what to do when a block is in place and the urge shows up anyway.

If you would rather be walked through it, the free blocker setup guide on this site asks which devices you use and gives you only the steps that apply.

Quick answer: the best free ways to block porn

Pick as many as you have devices for. They stack, and each one covers a gap the others leave.

  1. Family DNS on your phone. Android's Private DNS setting takes a family DNS name and filters every network, including mobile data.
  2. Screen Time on iPhone and iPad. Content & Privacy Restrictions has a "Limit Adult Websites" option, and it works in Safari and in other apps that use the system web view.
  3. Built-in controls on Windows and Mac. Microsoft Family Safety on Windows and Screen Time on Mac, plus a DNS change as a second layer.
  4. SafeSearch and a browser DNS setting. Cheap and quick, but easy to undo on its own.
  5. Router-level DNS. One change at home filters every phone, laptop, tablet and console on your Wi-Fi.
  6. A trusted person holding the passcode. This is what turns a setting you can reverse in ten seconds into a block that lasts.

The rest of this guide takes each in turn. If you only have time for two things tonight, do the DNS filter on your phone and set up the passcode handoff.

How a free porn blocker actually works

Almost every free method uses one of two ideas.

DNS filtering. Every time you open a site, your device asks a DNS server to turn the name into an address. A family DNS server refuses to answer for adult sites, so the page never loads. Cloudflare's 1.1.1.1 for Families offers a free option that blocks malware and adult content, and CleanBrowsing runs a free Family filter that works the same way. This protects every app that uses normal DNS, not just your browser.

Operating system restrictions. Apple's Screen Time, Microsoft Family Safety and similar tools tell the system or the browser to refuse adult sites. These are tied to an account or passcode, which is useful when someone else controls that passcode.

Both approaches are filters, not guarantees. They rely on lists of known sites, so a brand new site can slip through for a while, and a determined person can turn them off. The later sections cover that honestly.

Block porn on Android for free with Private DNS

Android has a system-wide setting called Private DNS that accepts a hostname. Google's own Android help page on advanced network settings describes where it lives and what it does. It needs Android 9 or later.

Steps on most phones (Pixel and similar):

  1. Open Settings.
  2. Tap Network & internet.
  3. Tap Advanced, then Private DNS. On newer versions, "Private DNS" may sit directly under Network & internet.
  4. Choose Private DNS provider hostname.
  5. Type family.cloudflare-dns.com and tap Save.

On Samsung phones, the path is usually Settings, Connections, More connection settings, Private DNS. Menu names change between One UI versions, so if you do not see it, use the search box at the top of Settings and type "Private DNS".

You can use CleanBrowsing instead. Its Family filter hostname is family-filter-dns.cleanbrowsing.org; check the current address on CleanBrowsing's site before you save it. Cloudflare publishes the matching hostnames in its Android setup documentation, which lists family.cloudflare-dns.com for malware plus adult content and security.cloudflare-dns.com for malware only.

Test it. Open Chrome and try loading a site you know is blocked. A blocked page usually fails to load or shows a connection error. If everything still loads, recheck the hostname for typos. If nothing loads at all, one of the characters is wrong or your phone is on an old Android version.

Private DNS applies on Wi-Fi and on mobile data, which is a big advantage over some other methods. For more Android-specific detail, including Samsung quirks and the safe mode loophole, see the full guide to blocking porn on Android.

Block porn on iPhone and iPad with Screen Time

Screen Time has a content filter built in. Apple's guide to setting up Screen Time for yourself covers the options, and Apple's page on parental controls for a child's device shows the same Content & Privacy Restrictions screens.

Steps (iOS 16 and later, menus vary slightly by version):

  1. Open Settings and tap Screen Time. Tap Turn On Screen Time if it is off, then choose This is My iPhone.
  2. Tap Content & Privacy Restrictions and turn the switch on.
  3. Tap Content Restrictions, then Web Content.
  4. Choose Limit Adult Websites.
  5. Go back and tap Lock Screen Time Settings (on some versions, Use Screen Time Passcode). Set a four-digit passcode.

Step 5 is the one that matters. If you know the passcode, you can switch the filter off in seconds. Giving the passcode to someone else is covered in the accountability section below.

Also useful on iPhone:

  • Under Content Restrictions you can limit apps by age rating and disable Allow Changes for things like accounts and cellular data.
  • You can set Downtime at night so most apps are unavailable during your usual high-risk hours.
  • Cloudflare's iOS setup page explains a second layer: their 1.1.1.1 app can apply the family filter on mobile data too, while manual DNS settings only cover the Wi-Fi network you configure.

Screen Time's filter sits on top of Safari and other apps that use Apple's web components. It will not catch everything inside every third party app. The step-by-step iPhone version of this guide goes deeper on what it does and does not cover, including what to do about private browsing and social media feeds.

Block porn on Windows and Mac

Computers are where many people slip, because the screen is bigger and there are fewer friction points. Use two layers: an account-level control and a DNS change.

Windows

Option 1: Microsoft Family Safety. Microsoft's Family Safety page describes web and search filters that restrict mature sites in Microsoft Edge on Windows. To use it you add yourself, or a person you trust, as a family member through a Microsoft account. Microsoft states that the filter works through Edge, and that other commonly used browsers are blocked while it is on. This is useful, but it means Edge becomes your only browser on that account.

Option 2: change DNS (Windows 11).

  1. Open Settings, Network & internet.
  2. Choose Wi-Fi (or Ethernet), then your network, then Hardware properties.
  3. Next to DNS server assignment, click Edit and switch to Manual.
  4. Turn on IPv4, set Preferred DNS to 1.1.1.3 and Alternate DNS to 1.0.0.3 (Cloudflare's malware plus adult filter, listed on its Families page).
  5. Save. If you want to be thorough, repeat for IPv6 using the addresses on Cloudflare's setup pages.

On Windows 10, the path is Settings, Network & Internet, Change adapter options, then the adapter's Properties, Internet Protocol Version 4, then Use the following DNS server addresses.

Mac

  1. Screen Time: open System Settings (System Preferences on older macOS), choose Screen Time, then Content & Privacy, turn it on, and open Content Restrictions. Set Web Content to Limit Adult Websites.
  2. Lock it with a passcode: use the Screen Time option Use Screen Time Passcode and have someone else set it.
  3. DNS: open System Settings, Network, choose your Wi-Fi network, click Details, then DNS, and add 1.1.1.3 and 1.0.0.3.

The hosts file

You may read that you can block sites by editing the hosts file (C:\Windows\System32\drivers\etc\hosts on Windows, /etc/hosts on Mac). It works for a handful of named sites, but adult sites number in the millions and you will not keep up. Use it for a few specific sites that have been a problem, not as your main block.

Browser-level blocking: SafeSearch and extensions

SafeSearch hides explicit results from Google Search. You can turn it on at google.com/safesearch, as Google's SafeSearch help page explains. It can also be locked so that you cannot change it while signed in to the managed account.

Two limits to know about. SafeSearch filters search results, not sites you open directly. And some browsers (Chrome has a "Use secure DNS" setting under Settings, Privacy and security, Security) can override your system DNS. If you set a family DNS on your device, open the browser's secure DNS setting and make sure it is set to your operating system's resolver or to the same family provider. Otherwise the browser can quietly bypass the filter.

Free browser extensions that block adult sites exist, and they can be a reasonable extra layer. Be careful with them: extensions can read what you browse, and they can be disabled from the extensions page in a couple of clicks. Prefer a DNS-level filter as your main block and treat an extension as an optional extra.

Block porn on your whole home network with router DNS

If you share a home network, changing the DNS on your router covers every device on that Wi-Fi at once, including a TV or game console you forgot about.

  1. Find your router's address. It is often 192.168.1.1 or 192.168.0.1, and it is usually printed on a sticker on the router.
  2. Sign in with the router's admin password (also often on the sticker). If you never changed it, do that now.
  3. Look for DNS, Internet, or WAN settings. The exact name differs by brand and by app.
  4. Enter 1.1.1.3 as the primary and 1.0.0.3 as the secondary DNS server (or the CleanBrowsing Family filter addresses from its site).
  5. Save and restart the router if it asks you to.

Some routers hide DNS settings in a mobile app, and some internet providers lock them. If yours does, set DNS on each device instead, or ask your provider whether you can change it.

Router DNS only works at home. It does nothing on mobile data or on another Wi-Fi network, which is why you still want Private DNS on your phone. Also keep in mind that if other people share the network, a change to router DNS affects them too, so tell them first.

Make it stick: accountability and the passcode handoff

Most blocks fail because the person who set them is the same person who can undo them. In a weak moment, you have both the motive and the password.

The fix is a person. Ask someone you trust, such as a partner, a friend or a family member, to hold the Screen Time passcode, the router admin password or the Microsoft family organizer role. You pick the setting, they type the passcode. You cannot remove it at 1 a.m. because you do not know it.

A few practical points:

  • Ask for a specific, small favor. "Can you set the Screen Time passcode on my phone and keep it? I won't ask for it unless it's about something else." Most people say yes.
  • Do it in person. Sit together, set the passcode while they look at the screen, then hand the phone back.
  • Agree on what happens when you ask for it. A sensible rule is that you wait 24 hours before they hand it over.
  • Do not use a passcode you can guess or write down in your notes app.
  • If you do not have anyone to ask, you can still add a pause: set a random passcode, write it on paper, seal it in an envelope and put it somewhere awkward to reach. It is weaker than a person, but it gives you a few minutes to think.

Asking for help can feel awkward. It usually helps to name the goal rather than the details: you are trying to cut down time online and you want a safeguard on your phone. That is true, and it is enough.

Why blockers fail and how people get around them

A free blocker has holes. Knowing them ahead of time means you can close most of them in advance.

Switching the setting off. The most common way. Fix: someone else holds the passcode (see above). Also turn on Downtime or app limits at night if your phone supports it.

VPNs. A VPN sends your traffic through a different server, which skips your DNS filter. Fix on iPhone: under Screen Time, Content & Privacy Restrictions, use app restrictions to disallow installing apps, or block installing apps after hours. Fix on Android: remove or restrict the Play Store with a Google account managed by someone else, or use Family Link where it fits. Fix on a computer: use a standard (non-admin) account whose admin password you do not know.

Incognito and private browsing. Private windows do not bypass DNS filtering or Screen Time's web filter, because those work below the browser. They do bypass browser extensions, and they hide history from you. Keep your DNS filter on, and treat an extension-only block as weak.

Another device or another network. A friend's laptop, a work computer, a public Wi-Fi network, or an old tablet with no filter. Fix: apply the same setup to every device you own, including old ones, and be honest with yourself about which devices you are likely to reach for. A router change covers home, Private DNS covers your phone everywhere.

Safe mode, uninstalling or resetting. On some Android phones, booting into safe mode disables third party blocker apps. A system DNS setting is not an app, so it survives that, which is one reason Private DNS works better than a blocker app. A factory reset would remove everything; that is a deliberate step and usually a sign to talk to someone.

New sites, feeds and apps. Lists lag behind new sites, and a lot of adult content appears inside social apps and image feeds, where a DNS filter cannot tell it apart from ordinary content. Fix: mute or leave the accounts and communities that act as triggers, delete the apps you reliably spiral in, and use app limits.

The urge itself. A blocker can make the first click harder. It cannot change why you wanted to click. Many people find that after they set a strong block, the urge moves to a different channel, such as a short-video feed, a search engine, or old photos on the phone. Expect that, and plan for it.

If you recognize yourself in any of this, you are not failing. A block is a speed bump, and the goal is to give you a few seconds and a few more steps so the urge has time to fade.

When the urge comes anyway: what to do next

Late at night, tired, bored, stressed or lonely are the moments most people describe. A filter helps, but you still have to get through the next ten minutes with your phone in your hand. The tactics that tend to help are simple and physical:

  • Get out of the room and away from the screen. Stand up, splash water on your face, walk outside.
  • Put the phone in another room or charge it somewhere other than your bed.
  • Delay the decision by 10 minutes. Urges tend to rise and fall like a wave, and many people find they pass if they are not fed.
  • Text someone, or do something with your hands.
  • Write down what you were feeling right before the urge. That detail is useful later.

Essence is a free recovery app (Android and iPhone) built around exactly these moments. To be clear about what it is: Essence does not block content. It will not stop a site from loading. It helps with the urge and with the pattern behind it:

  • A streak timer that counts every hour since your last relapse, with widgets for your home and lock screens, so your progress stays in view. You can work out your own numbers with the free streak calculator.
  • A panic button for the next few minutes of an urge. You tap it and it walks you through getting past the wave.
  • A relapse log with triggers. If you do slip, you can record your mood, urge level and what set it off.
  • Charts of when relapses happen. After a few weeks you can see which hours and situations repeat. If your pattern points at nights, the guide on why you relapse at night has a plan for that window.

Use a blocker for access and Essence for the urge. They do different jobs. If you are comparing recovery apps, including ones that do include blocking, see our honest roundup of the best apps to quit porn.

If porn use feels out of control, is causing serious problems, or comes with depression, anxiety or thoughts of self-harm, talk to a licensed therapist or your doctor. Apps and blockers can help with habits, but they are not treatment.

A 20-minute setup you can do tonight

If you want a short plan, here is the order that gives you the most protection for the least effort:

  1. Phone first. Android: set Private DNS to family.cloudflare-dns.com. iPhone: turn on Screen Time, Content & Privacy Restrictions, Limit Adult Websites.
  2. Passcode handoff. Ask someone you trust to set the Screen Time passcode or hold your admin passwords.
  3. Router. Change the DNS to 1.1.1.3 and 1.0.0.3.
  4. Computer. Set DNS on your laptop and turn on Family Safety or Screen Time.
  5. Browser. Turn on SafeSearch, and check Chrome's secure DNS setting.
  6. Plan for the urge. Decide where your phone sleeps tonight, and what you will do for the first 10 minutes of the next urge.

The blocker setup guide turns this into a checklist for your own devices.

Questions

Is there a completely free porn blocker?

Yes. Family DNS filters from Cloudflare and CleanBrowsing have free plans, and Screen Time on iPhone and Mac, plus Microsoft Family Safety on Windows, are built into the system. None of them requires a subscription. Many apps advertise as free but lock their blocking behind a paid plan, so check what you get before you rely on them.

Does DNS filtering work on mobile data?

On Android, yes. Private DNS is a system setting and applies on Wi-Fi and mobile data. On iPhone, manual DNS settings only apply to the Wi-Fi network you set them on, so for mobile data you need Screen Time's web filter or an app such as Cloudflare's 1.1.1.1, which uses a VPN profile to apply the family filter on any network.

Can I block porn on Android without installing an app?

Yes. Private DNS is built into Android 9 and later, and it needs no app. The one catch is that you need a family DNS hostname such as family.cloudflare-dns.com. Because it is not an app, it cannot be uninstalled and it keeps working when the phone is restarted.

How do I make a porn blocker permanent?

Make it hard to reverse and hard to bypass. Set the Screen Time passcode or admin passwords with another person, block installing new apps (so a VPN cannot be added), apply the filter on every device you own, and set your home router's DNS. No setting is truly permanent, but a passcode you do not know and a 24-hour wait for the person who holds it gets close.

Can I bypass a family DNS filter with a VPN?

Yes, if you can install a VPN. That is why the passcode and app-install restrictions matter as much as the DNS setting. If you are asking this because you are thinking about doing it, that is useful information about your triggers. Log it, tell your accountability person, and move away from the screen for ten minutes.

Will a blocker stop the urge?

No. A blocker makes access harder, which can help you get through a bad moment, but it does not change why the urge appears. Pair it with a plan for your high-risk times, support from another person, and, if it helps, a tool like Essence for the streak, panic button and the pattern of your relapses.

Get Essence free on Android and iPhone.