How to Block Adult Sites on Windows 11 (All Browsers)

Updated 21 October 2026 · 8 min read

Windows 11 has no single “block adult sites” switch. The practical options are Microsoft Family Safety content filters (free, but fully effective only in Edge), a DNS filter such as Cloudflare for Families or OpenDNS FamilyShield (free, every browser and device), the hosts file (free, manual), or a system-wide app filter such as ScreenRhythm Pro. No single layer is a guarantee; two layers are better than one.

This guide is written for a parent who wants to reduce the chance of accidental exposure, not to build a surveillance system. It covers what each method actually does, how to set it up, and where a determined child can still get around it.

Talk to the child first. A filter that appears without explanation invites a workaround contest. A short written agreement, such as this screen time agreement template, makes the rule visible and easier to accept.

Method 1: Microsoft Family Safety content filters (free, Edge)

Family Safety can block adult content, turn on safe search and block specific sites. It requires Microsoft accounts for the parent and the child, and it filters web content fully only in Microsoft Edge.

  1. Set up the family group. Sign in at account.microsoft.com/family and add the child. The family account guide covers the details.
  2. Sign in on the child's PC. Use the child's Microsoft account in Windows and keep it a Standard user.
  3. Open Content filters. At family.microsoft.com select the child → Content filters → Web and search.
  4. Turn on filtering. Enable “Filter inappropriate websites and searches”. Add specific sites to the blocked list if needed.
  5. Test in Edge. Open a known adult site as the child. Then check Chrome or Firefox — they are usually blocked as apps, not filtered.
The catch: if you allow another browser so the child can use it, Family Safety does not filter its pages. That is why a DNS filter or a system-wide app filter is a better second layer.

Method 2: A DNS filter (free, every browser and device)

DNS filtering blocks domains before the browser connects. It works in every browser and in many apps, because it happens below the browser. The easiest setup is on the router, which covers every device in the home.

ServiceAddressesWhat it blocksAccount
Cloudflare for Families1.1.1.3 / 1.0.0.3Malware and adult contentNo
OpenDNS FamilyShield208.67.222.123 / 208.67.220.123Adult contentNo
NextDNSCustom addressConfigurable categoriesYes, free tier
  1. Choose router or PC. Router-level covers phones and tablets too. PC-level covers only this computer.
  2. Set the DNS addresses. On Windows: Settings → Network & internet → your adapter → DNS server assignment → Edit → Manual → IPv4 on.
  3. Flush the cache. Run ipconfig /flushdns in Command Prompt.
  4. Test two browsers. Open a known adult site in Edge and Chrome. Both should fail.
  5. Add a second layer. Keep the child on a standard account and block VPN apps if bypassing is a concern.
Bypass risk: a VPN, a different DNS resolver or DNS-over-HTTPS can get around a DNS filter. On a router, block VPN apps and keep the child on a standard Windows account. No filter is a guarantee.

Method 3: A system-wide app filter (every browser, one switch)

A dedicated filter runs as a Windows service, so the child cannot turn it off from a browser and it applies to every browser. ScreenRhythm Pro uses a DNS-based filter with four categories: adult content, gambling, ads and trackers, and social networks.

Method 4: The hosts file (free, manual)

The hosts file can block specific domains in every browser. It is useful for a handful of sites, not for filtering the open web.

  1. Open Notepad as administrator.
  2. Open C:\Windows\System32\drivers\etc\hosts.
  3. Add one line per domain: 0.0.0.0 example.com and 0.0.0.0 www.example.com.
  4. Save and run ipconfig /flushdns.
  5. Test in every browser. A standard user cannot edit the file without administrator rights.

Limitations: manual, no categories, no automatic updates, and a child with administrator rights can edit it. Use it as a supplement, not the main filter.

Which method should you use?

NeedBest methodCovers every browser?
Free, built-in, Microsoft familyFamily Safety content filtersNo — Edge only
Whole-home coverageRouter DNS filterYes
One switch on the PCScreenRhythm Pro or a DNS filterYes
A few specific sitesHosts fileYes
Custom allow/block list in EdgeFamily SafetyNo — Edge only

What actually works in practice

Questions

How do I block adult sites on Windows 11 for free?

Use Microsoft Family Safety content filters or a free DNS filter such as Cloudflare for Families (1.1.1.3) or OpenDNS FamilyShield. Both are free and need no new app. Family Safety filters fully only in Microsoft Edge; a DNS filter covers every browser and every device on the network.

Does Microsoft Family Safety block adult sites in Chrome?

No. Microsoft documents that web and search filtering works fully in Microsoft Edge. Other browsers are blocked by default when filtering is on; if you allow one, its pages are not filtered by Family Safety. Use a DNS filter or a system-wide app filter to cover every browser.

Can a child bypass a DNS filter?

Yes. A VPN, a different DNS resolver or DNS-over-HTTPS can bypass a DNS filter. Set the filter on the router, keep the child on a standard Windows account, and block VPN apps if bypassing is a real concern. No filter is a guarantee.

Does ScreenRhythm block adult sites?

ScreenRhythm Pro includes a system-wide DNS filter with an adult-content category. It works in every browser, not only Edge. The free plan does not include the filter.

What is the best way to block adult content on a family PC?

Use more than one layer: a router-level DNS filter for every device, a standard Windows account for the child, and a system-wide app filter or Family Safety for the PC. The exact combination matters less than keeping the layers and talking to the child about the rules.

One filter for every browser

ScreenRhythm Pro filters adult content, gambling, ads and social networks system-wide on Windows. The free plan covers time limits and the schedule.

Download for Windows

ScreenRhythm is our product. We describe Microsoft Family Safety, DNS filters and the hosts file honestly, including their limits. No filter replaces parental supervision. This article is general information, not legal advice.