How to block adult content websites on Windows 11 (easy way)

This step-by-step tutorial will show you how to permanently block adult content websites on your Windows 11 PC — without using any third-party software or parental controls.

You can effectively restrict access to adult content websites on your Windows 11 PC without relying on third-party software or Microsoft Family Safety parental controls — simply by changing two numbers in the network settings: the primary and secondary DNS addresses. This method uses a free DNS provider such as Cloudflare or OpenDNS to automatically filter out adult websites. Both services offer protection for home users who want to prevent their children from accessing explicit content online. It's one of the simplest ways to safeguard your PC against adult content.

How to block adult content websites on Windows 11

  1. Right-click the Windows start menu button.
  2. Click Settings.
    Open settings in Windows 11
  3. Click Network & internet.
    Open Windows 11 network and internet settings
  4. Click Wi-Fi or Ethernet, depending on how your computer is connected to the internet.
    Open Windows 11 network settings
  5. If your PC is connected to the internet via Wi-Fi, click WiFiNetworkName properties.
    Open wifi network properties
  6. Click the Edit button next to DNS server assignment.
    Edit DNS server assignment settings
  7. In the next window, select Manual.
    Edit network DNS settings window
  8. Enable IPv4.
    Enable IPv4
  9. In the 'Preferred DNS' field, enter 1.1.1.3 for Cloudflare or 208.67.222.123 for OpenDNS.
    Preferred DNS
  10. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Preferred DNS
  11. In the 'Alternate DNS' field, enter 1.0.0.3 for Cloudflare or 208.67.220.123 for OpenDNS.
    Alternate DNS
  12. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Alternate DNS
  13. Click Save.
    Save DNS settings

Adult content websites are now permanently blocked on your computer.


Related:

How to block a website in Windows 10 and 11 (step by step)

How to block a program from accessing the internet on Windows

How to unblock blocked websites (9 easy ways)


References:

https://blog.cloudflare.com/introducing-1-1-1-1-for-families/

https://www.opendns.com/setupguide/#familyshield