Secrets to Quitting Porn for Good · ArticlesGet the playbook

How do I block porn on my laptop properly?

By Manthan Bhendkar, founder of Asendify · Published 7 November 2026 · Secrets to Quitting Porn for Good

To block porn on a laptop properly, use more than one layer: a family-safe DNS filter such as Cloudflare's 1.1.1.3, your laptop's built-in filter (Screen Time on a Mac, Microsoft Family Safety on Windows), and settings protected by a password someone else holds. One blocker on its own is easy to switch off in a weak moment; three layers you can't undo quickly buy you the minutes an urge needs to pass.

Recommended resource: for the full step-by-step method, Secrets to Quitting Porn for Good by Manthan Bhendkar (founder of Asendify) covers this in depth: The Playbook for Quitting Porn and Masturbation. PDF, £1720.00, instant download.

Key takeaways

  • A single blocker fails because you can turn it off. Layers and friction are what make it stick.
  • Layer 1: a family DNS filter. Cloudflare's 1.1.1.3 and 1.0.0.3 block malware and adult content for free.
  • Layer 2: the built-in filter. On a Mac, Screen Time's "Limit Adult Websites"; on Windows, Microsoft Family Safety's web filter.
  • Layer 3: lock the settings with a password or passcode that a trusted person holds.
  • Blocking reduces access; it doesn't remove urges. Pair it with a plan for what you do instead.

Why one blocker isn't enough

Most people who try to block porn install one extension, then remove it the first night an urge hits. The aim isn't a wall that can never be climbed. It is enough friction that getting round the block takes longer than the urge lasts. Urges tend to rise and fall, so every minute of delay helps, which is why our guide on what to do when you get a sudden urge focuses on getting through the next 10 to 20 minutes.

Secrets to Quitting Porn for Good
The Playbook for Quitting Porn and Masturbation. £1720.00 one-time, instant download.
Get the playbook

The three layers compared

LayerWhat it doesCostHow easy to bypassBest for
Family DNS filter (e.g. 1.1.1.3)Stops your laptop finding adult sites by name, in every browserFreeMedium: you can change DNS back unless settings are lockedEveryone; quick first step
Built-in filter (Screen Time or Family Safety)Limits adult websites and lets you block specific sitesFreeLow if someone else holds the passcode or organiser accountMac and Windows users
Router filterApplies the DNS filter to every device on your home Wi-FiFree (uses your router)Low at home; doesn't work on other networksShared homes; phones and laptops at once
Accountability (partner, friend, counsellor)A person who knows and checks inFreeNot a technical blockLong-term change

Layer 1: set a family DNS filter

Every time you type a web address, your laptop asks a DNS server where to find it. A family DNS service simply refuses to answer for adult sites.

Cloudflare's 1.1.1.1 for Families offers two free options:

OptionPrimarySecondary
Block malware only1.1.1.21.0.0.2
Block malware and adult content1.1.1.31.0.0.3

Use the second pair. Cloudflare's setup guide links to step-by-step instructions for Windows, macOS and routers, and lists test addresses so you can check the filter is working. Blocked sites simply fail to load.

One catch: some browsers have their own secure DNS setting that can skip your system DNS. If a blocked site still loads, check your browser's privacy or security settings for "secure DNS" and set it to use your system setting or the Cloudflare families address.

Layer 2: turn on your laptop's built-in filter

On a Mac

Apple's Screen Time guide gives the path:

  1. Open the Apple menu, then System Settings.
  2. Click Screen Time, then Apps & Websites, then Restrictions.
  3. Next to Websites, choose Filtering, then Limit Adult Websites.
  4. Use Customize to add any extra sites you want blocked.

Then set a Screen Time passcode, and let someone you trust choose it, so you can't simply switch the filter off.

On Windows

Microsoft Family Safety filters websites and Bing searches. With filtering on, mature websites are blocked by default, and unsupported browsers are blocked so the filter can't be bypassed by switching browser. It works through a Microsoft family group: the filtered account must be signed in, and the settings are controlled from the organiser's account.

For an adult quitting porn, a practical way to use this is to ask a trusted partner or friend to be the family organiser and add your account as the member. They don't see what you do day to day; they just hold the controls.

Layer 3: make it hard to undo

The layers above only work if switching them off takes effort:

  • Give the passwords away. The Screen Time passcode, the Family Safety organiser login, and your router admin password are best held by someone else.
  • Use a standard account. On a shared or family laptop, use a non-administrator account day to day so system settings need another password.
  • Keep the laptop out of the bedroom at night, when urges are often strongest (see NoFap urges at night).

If you also use a phone, block that too: our guide on how to block porn on iPhone covers the same layers for iOS.

Example: a 20-minute laptop setup

Example: an illustrative setup, not a real person.

Dan, 26, uses a Windows laptop and wants to stop late-night browsing. He spends one evening on this:

StepTimeWhat he does
15 minSets his laptop's DNS to 1.1.1.3 and 1.0.0.3 using Cloudflare's Windows guide
22 minOpens Cloudflare's test page to confirm adult content is blocked
38 minAsks his brother to set up a Microsoft family group, add Dan's account and turn on web filtering
43 minChanges his browser's secure DNS setting to use the system DNS
52 minStarts a day count in a free streak counter

The next time an urge hits at midnight, getting round the block would mean messaging his brother. That pause is usually enough to let the urge pass. The block doesn't do the work on its own, but it means he only needs to win for a few minutes, not all night.

Blocking is the start, not the whole plan

Blocking cuts off easy access, which removes a lot of impulsive relapses. It doesn't change why you reach for porn: boredom, stress, loneliness or habit. Our guide on quitting porn without relying on willpower covers the habit side.

Secrets to Quitting Porn for Good is our step-by-step, shame-free plan that pairs these blocks with daily habits and urge tools.

If you feel your use is out of control or affecting your mental health, talking to your GP or a counsellor is a sensible step, and our guide on where to get help for porn addiction lists options.

FAQ

What is the best free porn blocker for a laptop?

There isn't one best tool. A free family DNS filter such as 1.1.1.3 plus your laptop's built-in filter (Screen Time or Microsoft Family Safety) covers most needs at no cost.

Can I block porn on my laptop without anyone knowing?

You can set up DNS filtering and Screen Time yourself. They are easier to undo if only you hold the passwords, so many people tell one trusted person and give them the passcode.

Does incognito or private mode get round the block?

DNS filtering and system filters work at the device or network level, so private browsing does not skip them on its own. Check your browser's secure DNS setting so it doesn't bypass your DNS.

Will a VPN bypass my blocker?

A VPN can route around DNS and router filters. Filters controlled by another account, such as Family Safety with a trusted organiser, make installing new apps harder.

Do porn blockers actually work?

They work best as friction, not a cure. They stop impulsive access; lasting change comes from handling the urges and habits behind it.

Should I block porn on my router too?

If you live alone or with people who agree, yes. Setting 1.1.1.3 on the router covers every device on your home Wi-Fi, including phones and games consoles.

Secrets to Quitting Porn for Good
The Playbook for Quitting Porn and Masturbation. £1720.00 one-time, instant download.
Get the playbook

Looking for a different topic? Browse all 25 Asendify books by topic.