How To Block and Restrict Websites in Windows 10 OS

Blocking and restricting websites on Windows 10 is important for productivity, security, and protecting children. Fortunately, Windows 10 offers several effective methods to block sites. This comprehensive guide covers the best ways to block websites on Windows 10 using built-in tools.

Why Block Websites on Windows 10

There are several key reasons you may want to block websites on your Windows 10 computer or user accounts:

  • Increase productivity – Blocking distracting websites like social media and entertainment sites allows you to focus when working or studying. This helps boost productivity.
  • Enhance security – Blocking malicious, phishing, and questionable websites enhances security and protects your computer from threats.
  • Protect children – Blocking inappropriate, adult, or dangerous websites helps keep children safe online. This is crucial for parental controls.
  • Save bandwidth – Blocking bandwidth-heavy streaming and download sites reduces data usage which saves money.

Methods to Block Websites on Windows 10

There are several effective methods you can use to block and restrict website access on Windows 10:

1. Edit Hosts File

The Hosts file maps hostnames to IP addresses. By mapping sites to, you block access.


  • System-wide blocking
  • No additional software required
  • Bypass not possible without admin access


  1. Open Notepad as administrator
  2. Open C:\Windows\System32\drivers\etc\hosts
  3. Add entries
  4. Save changes

2. Router-Level Blocking

Block sites through firewall settings and access control options on your WiFi router.


  • Blocks all devices on network
  • Granular blocking options
  • Maintain with router admin account


  1. Login to router admin interface
  2. Navigate to firewall, parental control, or access control options
  3. Add website URL to be blocked
  4. Save settings

3. Windows 10 Parental Controls

Windows includes robust parental control features to restrict web access.


  • Easy browser-level blocking
  • Allow/block list flexibility
  • Set time limits for web access


  1. Open Windows Settings
  2. Click Accounts > Family & Other Users
  3. Click child account
  4. Turn on Content Restrictions
  5. Toggle Web & Search restrictions
  6. Add sites to allow/block lists

4. Browser Extensions

Extensions like BlockSite provide quick access to block sites across browsers.


  • Block sites with one click
  • Custom block pages
  • Password protect settings


  1. Install BlockSite Chrome extension
  2. Click BlockSite icon
  3. Enter website URL
  4. Set password

5. Software Programs

Third-party programs like Cold Turkey allow advanced blocking options.


  • Block by category
  • Set schedules
  • Lock with password


  1. Download and install Cold Turkey
  2. Enter password
  3. Select sites or categories to block
  4. Save settings

Tips for Blocking Websites Effectively

Follow these tips to ensure website blocking works effectively:

  • Test that sites are successfully blocked and not accessible
  • Block sites on all web browsers installed
  • Clear DNS cache after making Hosts file changes
  • Restart computer for settings to take effect
  • Use router-level blocking for full coverage
  • Set bios password to prevent Hosts file edits
  • Combine methods for robust blocking – Hosts file + Cold Turkey


Blocking and limiting web access is easy on Windows 10 with various free tools. The Hosts file method provides system-wide blocking requiring no additional software. For advanced options, use parental controls, router settings, extensions, and third-party programs. Combine methods for the best protection across browsers and devices.

Implementing website blocking improves productivity, security, saves bandwidth, and protects kids. Test restrictions to ensure selected sites cannot be accessed as expected. Configure allow lists so only approved sites are accessible where necessary.