How to Block a Website on Microsoft Edge

Disclosure: When you buy something through links on our site, we may earn an affiliate commission.

Whether you are trying to limit distractions, protect a child from inappropriate content, or prevent access to time-wasting sites on a shared computer, blocking websites on Microsoft Edge is something you can accomplish in several ways. This guide covers every method — from built-in Edge features to Windows-level blocks — on every device Edge runs on.


Why Block a Website on Edge?

There are plenty of legitimate reasons to block specific websites in your browser:

  • Keeping children away from inappropriate or adult content
  • Blocking distracting sites like social media during work hours
  • Preventing access to known malicious or phishing websites
  • Managing screen time on a shared or family computer
  • Stopping autoplay or notification-heavy sites from loading
  • Restricting access on a work or school device

Microsoft Edge does not have a single built-in “block this site” button the way some browsers do — but there are multiple reliable methods available depending on your situation, device, and how permanent you want the block to be.


Method 1: Use Microsoft Edge’s Built-In Kids Mode

What It Does

Kids Mode is Microsoft Edge’s dedicated child-safe browsing environment. It restricts access to an approved list of websites, blocks inappropriate content, and prevents children from changing any settings. It is the most comprehensive built-in option for parental control scenarios.

How to Set It Up

  1. Open Microsoft Edge
  2. Click your profile icon (top right corner)
  3. Click Browse in Kids Mode
  4. Choose an age range — 5 to 8 or 9 to 12 — which adjusts the content filter level
  5. Set a password to prevent children from switching out of Kids Mode
  6. Click Start browsing

How to Block Specific Sites in Kids Mode

By default, Kids Mode uses an approved allowlist. To customize which sites are accessible:

  1. Click the three-dot menu (…) in the top right
  2. Select Settings
  3. Go to Kids Mode settings
  4. Under Allowed websites, add or remove specific URLs
  5. Any site not on the approved list is automatically blocked

Limitations

  • Kids Mode is a separate browsing session — it does not block sites in the regular Edge browser
  • It must be manually activated each session unless set up through a supervised account
  • Best suited for younger children rather than older teens or adults

Method 2: Use Microsoft Family Safety

What It Does

Microsoft Family Safety is a full parental control system built into Windows and Microsoft accounts. It allows you to block specific websites, set screen time limits, and monitor browsing activity across all browsers on a device — not just Edge. Blocks applied through Family Safety apply across Edge, Chrome, Firefox, and other browsers on the same Windows account.

How to Set It Up

  1. Go to family.microsoft.com and sign in with your Microsoft account
  2. Click Add a family member if you have not already
  3. Add the child’s Microsoft account (or create one for them)
  4. Select the child’s profile and go to Content filters
  5. Under Websites, toggle on Filter inappropriate websites
  6. To block specific sites, scroll to Blocked sites and add the URL
  7. To allow only specific sites, toggle on Only use allowed websites and add approved URLs

Setting It Up on the Device Itself

  1. Open Settings > Accounts > Family & other users
  2. Click Manage family settings online — this opens the Family Safety web portal
  3. Follow the steps above to configure content filters

Why This Method Is Powerful

  • Works across all browsers on the device, not just Edge
  • Applies to any device where the child signs in with their Microsoft account
  • Includes screen time scheduling, spending limits, and activity reports
  • Cannot be bypassed by switching browsers

Method 3: Use a Browser Extension

What It Does

Browser extensions for site blocking are the most flexible option for adults who want to manage their own browsing habits — blocking distracting sites during work hours, for example. Several excellent extensions are available directly from the Microsoft Edge Add-ons store.

How to Install a Blocking Extension

  1. Open Microsoft Edge
  2. Click the three-dot menu (…) in the top right
  3. Select Extensions > Get extensions for Microsoft Edge
  4. Search for a blocking extension — recommended options below
  5. Click Get on your chosen extension
  6. Click Add extension when prompted
  7. Configure the extension according to its instructions

Recommended Extensions for Edge

BlockSite One of the most popular site blockers available. Features include:

  • Block specific URLs permanently or on a schedule
  • Password-protect settings so you cannot easily undo blocks
  • Work mode that blocks distracting sites during set hours
  • Redirect blocked sites to a custom page
  • Available free with premium features at a cost

StayFocusd Designed specifically for productivity. Features include:

  • Set daily time limits for specific sites rather than outright blocking
  • Nuclear option that blocks all non-essential sites for a set period
  • Highly configurable — block entire sites, specific pages, or specific content types

Cold Turkey A more aggressive option for serious distraction blocking:

  • Extremely difficult to bypass once activated
  • Can block sites, apps, and even the internet entirely during focus sessions
  • Scheduled blocking that activates automatically

uBlacklist Focused on blocking specific sites from appearing in search results rather than preventing access outright — useful for cleaning up search results from low-quality content farms.

Limitations of Extensions

  • Only block sites within Edge — switching to another browser bypasses the block
  • Can be disabled by anyone with access to Edge’s extension settings
  • Not suitable as a parental control tool unless combined with supervised accounts

Method 4: Edit the Windows Hosts File

What It Does

The Windows hosts file is a system-level text file that maps domain names to IP addresses before your browser ever makes a request. By adding an entry that points a website’s domain to a non-existent address (127.0.0.1 — your own computer), you can block that site across every browser and every app on the computer, not just Edge. This is one of the most thorough and difficult-to-bypass blocking methods available.

How to Edit the Hosts File

  1. Open Notepad as Administrator:
    • Press Windows key, search for Notepad
    • Right-click Notepad and select Run as administrator
  2. In Notepad, go to File > Open
  3. Navigate to: C:\Windows\System32\drivers\etc\
  4. Change the file filter from Text Documents to All Files
  5. Open the file named hosts (no file extension)
  6. Scroll to the bottom of the file and add a new line:
   127.0.0.1 www.example.com
   127.0.0.1 example.com

Replace example.com with the site you want to block. Add both the www and non-www versions to ensure complete blocking.

  1. To block multiple sites, add each on its own line:
   127.0.0.1 www.facebook.com
   127.0.0.1 facebook.com
   127.0.0.1 www.reddit.com
   127.0.0.1 reddit.com
  1. Save the file — File > Save (not Save As)
  2. Flush your DNS cache to make the change take effect immediately:
    • Press Windows key, search for Command Prompt
    • Right-click and select Run as administrator
    • Type: ipconfig /flushdns
    • Press Enter
  3. Open Edge and test — the blocked site should now fail to load

Reversing a Hosts File Block

To unblock a site, open the hosts file again in Notepad as administrator, delete the lines you added, save, and flush the DNS cache again.

Limitations

  • Requires administrator access on the computer
  • A determined user who knows about the hosts file can reverse the block
  • Does not block HTTPS sites that use IP addresses directly
  • Mobile devices have their own hosts files — this only affects the Windows computer

Method 5: Use Your Router to Block Sites

What It Does

Blocking a website at the router level prevents any device on your home network from accessing it — every computer, phone, tablet, and smart TV connected to your Wi-Fi will be unable to reach the blocked site. This is the most comprehensive household-level blocking method and cannot be bypassed by switching browsers or devices as long as the device is on your Wi-Fi.

How to Access Your Router Settings

  1. Open any browser and type your router’s IP address into the address bar — most commonly 192.168.1.1 or 192.168.0.1
  2. Log in with your router’s admin credentials — if you have never changed them, check the sticker on the bottom of your router for the default username and password
  3. Look for a section called Parental Controls, Content Filtering, Access Restrictions, or Website Blocking — the exact name varies by router brand

Blocking on Common Router Brands

Netgear:

  1. Go to Advanced > Security > Block Sites
  2. Select Always or set a schedule
  3. Enter the keyword or full domain to block
  4. Click Apply

Asus:

  1. Go to AiProtection > Parental Controls or Firewall > URL Filter
  2. Add the domain you want to block
  3. Set the filter to Black List
  4. Click Apply

TP-Link:

  1. Go to Advanced > Parental Controls or Security > Access Control
  2. Add a new rule, enter the domain
  3. Set the schedule and apply

Linksys:

  1. Go to Parental Controls in the main menu
  2. Enable parental controls and add blocked sites
  3. Save settings

Limitations

  • Does not block sites when devices use mobile data instead of Wi-Fi
  • Some routers have limited blocking features
  • Requires router admin access

Method 6: Use Edge’s Content Settings to Block Notifications and Redirects From Sites

What It Does

While Edge does not have a direct “block this site” toggle in its content settings, you can use its permission controls to prevent specific sites from sending notifications, using pop-ups, accessing your camera or microphone, or automatically redirecting you. This is not a full block but effectively neutralizes many of the most disruptive site behaviors.

How to Block Site Permissions in Edge

  1. Open Microsoft Edge
  2. Click the three-dot menu (…) in the top right
  3. Go to Settings > Cookies and site permissions
  4. Select the permission type you want to restrict (Notifications, Pop-ups and redirects, etc.)
  5. Under Block, click Add
  6. Enter the site’s URL and click Add

Blocking All Notifications From a Site While Browsing

  1. Visit the site you want to restrict
  2. Click the lock icon or information icon to the left of the address bar
  3. A permissions panel appears — set any permission to Block individually

Method 7: Use Microsoft Edge’s InPrivate Mode Restrictions (Work/School Accounts)

What It Does

If your Edge is connected to a work or school Microsoft account, your IT administrator may already have site blocking policies in place through Microsoft Intune or Group Policy. Users on managed devices can also request that their IT team add sites to a blocklist.

For personal use, you can configure Edge through the Group Policy Editor on Windows 10 Pro and Windows 11 Pro to enforce URL blocking — this is a more technical option suited to advanced users.

How to Block Sites via Group Policy (Advanced)

  1. Press Windows key + R, type gpedit.msc, press Enter
  2. Navigate to: Computer Configuration > Administrative Templates > Microsoft Edge
  3. Find Block access to a list of URLs
  4. Double-click it and select Enabled
  5. Click Show and add the URLs you want to block
  6. Click OK and close the editor
  7. Open Command Prompt as administrator and run gpupdate /force to apply immediately

Note: The Group Policy Editor is only available on Windows 10 Pro, Windows 11 Pro, and Enterprise editions. It is not available on Windows Home.


Method 8: Use a DNS-Based Blocking Service

What It Does

DNS-based blocking services like Cloudflare’s 1.1.1.1 for Families, OpenDNS, or CleanBrowsing filter website requests at the DNS level — before your browser even attempts to load a page. Switching your DNS server to one of these services blocks entire categories of content or specific domains across every browser and app on the device.

Cloudflare 1.1.1.1 for Families (Free)

Cloudflare offers two free family-safe DNS options:

  • 1.1.1.2 — Blocks malware only
  • 1.1.1.3 — Blocks malware and adult content

To set it up on Windows:

  1. Go to Settings > Network & Internet > Advanced network settings
  2. Click More adapter options
  3. Right-click your network connection and select Properties
  4. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties
  5. Select Use the following DNS server addresses
  6. Enter 1.1.1.3 as the Preferred DNS server and 1.0.0.3 as the Alternate
  7. Click OK

OpenDNS (Free and Paid)

OpenDNS offers more granular control including custom blocklists:

  1. Create a free account at opendns.com
  2. Set your DNS to 208.67.222.222 and 208.67.220.220
  3. Log in to your OpenDNS dashboard to configure category filters and add specific blocked domains

Limitations

  • DNS blocking can be bypassed by using a VPN or manually changing DNS settings
  • Cloudflare’s family DNS blocks categories, not individual custom sites
  • OpenDNS custom blocking requires a registered account and static IP for home use

Comparing All Methods: Which One Is Right for You?

MethodBlocks in Edge OnlyBlocks All BrowsersBlocks All DevicesBest For
Kids ModeYesNoNoYoung children, casual use
Microsoft Family SafetyNoYes (on the device)Yes (on child’s account)Family / parental control
Browser ExtensionYesNoNoPersonal productivity, self-control
Hosts FileNoYesNo (Windows only)Technical users, permanent blocks
Router BlockNoYesYes (on Wi-Fi)Household-wide blocking
Group PolicyNoEdge only (policy-managed)NoIT/advanced users, managed devices
DNS BlockingNoYesYes (on network)Network-wide content filtering

How to Block a Website on Edge for Android and iOS

Edge is also available as a mobile browser on iPhone and Android. The built-in blocking options are more limited on mobile than on desktop.

On Android

  1. Open Microsoft Edge on Android
  2. There is no built-in site block feature in the mobile version
  3. Use Microsoft Family Safety if the device is linked to a child’s Microsoft account
  4. Alternatively, use your carrier’s parental controls or a third-party app like BlockSite (available on Android) which works across browsers
  5. Android’s Digital Wellbeing settings (Settings > Digital Wellbeing & Parental Controls) can also restrict app usage including browsers

On iPhone and iPad

  1. Open Settings > Screen Time
  2. Tap Content & Privacy Restrictions
  3. Enable Content & Privacy Restrictions with a passcode
  4. Tap Content Restrictions > Web Content
  5. Choose:
    • Unrestricted Access — no blocks
    • Limit Adult Websites — auto-blocks known adult sites, allows custom additions
    • Allowed Websites Only — whitelist mode, blocks everything not explicitly approved
  6. Under Never Allow, add specific URLs to block
  7. These restrictions apply to all browsers on the iPhone including Edge, Safari, and Chrome

Quick Reference: Blocking Methods at a Glance

MethodDifficultyReversibleScope
Kids ModeEasyYesEdge only
Family SafetyEasyYesAll browsers, all devices on account
Browser ExtensionEasyYesEdge only
Hosts FileMediumYesAll browsers on PC
Router SettingsMediumYesAll devices on Wi-Fi
Group PolicyHardYesEdge on PC
DNS BlockingMediumYesAll browsers on network
iOS Screen TimeEasyYes (with passcode)All browsers on iPhone

Final Thoughts

The right method for blocking a website on Microsoft Edge depends entirely on your goal. For personal productivity blocking, a browser extension like BlockSite or StayFocusd is the fastest and most flexible solution. For parental controls on a family computer, Microsoft Family Safety is the most thorough option because it works across all browsers and all devices linked to the child’s account. For network-wide blocking that covers every device in the house, the router-level method or a DNS service like OpenDNS is the way to go. And for a quick, no-software solution on a Windows PC, the hosts file method is reliable, free, and impossible to bypass without administrator access.

Leave a Comment