How to block adult content websites on Windows 11

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 Microsoft Family Safety parental controls.

You can effectively restrict access to explicit content simply by changing two numbers in your network settings: the primary and secondary DNS addresses. This method uses Cloudflare's free family DNS service to automatically filter out adult websites and malware, making it one of the simplest and most reliable ways to safeguard your computer.

🛡️ Why this method is good

This method blocks adult content sites across every browser (Chrome, Edge, Firefox, etc.) installed on your PC. Since the change happens at the system level, you don't need to waste time installing separate filtering extensions for each browser.

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 the properties settings.
    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.
    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.
    Alternate DNS
  12. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Alternate DNS
  13. Enable IPv6.
    Enable IPv6
  14. In the 'Preferred DNS' field, enter 2606:4700:4700::1113.
    Preferred DNS for IPv6
  15. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Preferred DNS for IPv6
  16. In the 'Alternate DNS' field, enter 2606:4700:4700::1003.
    Alternate DNS for IPv6
  17. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Alternate DNS for IPv6
  18. Click Save.
    Save DNS settings

Related:

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

Block websites with NextDNS: Chrome, Edge, Brave & Firefox

How to block a program from accessing the internet on Windows

How to unblock blocked websites (4 safe and free methods)


Windows


References:

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