Microsoft Edge does not need an inbound firewall exception for ordinary web browsing. When Edge is blocked, the cause is a custom firewall rule, a third-party security app, or a work or school policy. Use the current Windows 11 and Windows 10 paths below to allow Microsoft Edge through Microsoft Defender Firewall without switching the firewall off.
1. Start with Windows Security
Best first move on a personal PC: keep Microsoft Defender Firewall on and add Edge to the allowed apps list.
- 1.Open Start, then select Settings.
- 2.On Windows 11, select Privacy & security, then Windows Security. On Windows 10, select Update & Security, then Windows Security.
- 3.Select Firewall & network protection.
- 4.Select Allow an app through firewall.
- 5.Select Change settings and approve the administrator prompt.
- 6.Find Microsoft Edge and check the box beside it.
- 7.Check Private, Public, or both for the networks where Edge needs access.
- 8.Select OK.
If Microsoft Edge is missing from the list, select Allow another app, choose Browse, open the Edge program file, then select Add. The Edge executable is commonly at C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe, but choose the actual msedge.exe file on your PC.
2. Open the same list from Control Panel
- 1.Open Start, type Control Panel, then open Control Panel.
- 2.Select System and Security.
- 3.Select Windows Defender Firewall.
- 4.Select Allow an app or feature through Windows Defender Firewall.
- 5.Select Change settings and approve the administrator prompt.
- 6.Check Microsoft Edge, then choose Private, Public, or both.
- 7.Select OK.
Control Panel reaches the same allowed-apps screen, which helps when Windows Security opens the classic firewall window or when you want the shorter route. There is also a direct shortcut: press Windows key + R, type firewall.cpl, select OK, then select Allow an app or feature through Windows Defender Firewall.
3. Pick the right network profile
The profile boxes decide where the firewall exception applies. Private covers trusted networks such as your home network. Public covers less trusted networks such as shared Wi-Fi outside your home. Domain applies automatically when a domain-joined device detects an Active Directory domain controller, and it cannot be set manually; some Microsoft Entra joined devices can be configured for domain detection by policy. Other work or school devices may still use Private or Public.
- For most personal PCs, check Private first.
- Add Public only when Edge must work through that firewall allowance while you are connected to public networks.
- Microsoft says allowing an app is generally safer than opening a port, so do not create a port rule unless a specific Edge or local web workflow gives you an exact port to allow.
4. Disable a blocking Edge rule
When the allowed-app list looks correct but Edge still fails, remove the rule that blocks msedge.exe.
- 1.Open Windows Security.
- 2.Select Firewall & network protection.
- 3.Select Advanced settings.
- 4.Open Inbound Rules, then check for rules whose program points to msedge.exe and whose action is Block.
- 5.Open Outbound Rules and check for the same kind of Edge block.
- 6.Select the matching rule.
- 7.Select Disable Rule. Use Delete only when you are sure the rule is no longer needed.
5. Create a dedicated Edge rule
- 1.Open Windows Security.
- 2.Select Firewall & network protection.
- 3.Select Advanced settings. You can also open Start, type wf.msc, and press Enter.
- 4.Select Inbound Rules for incoming connections or Outbound Rules for outgoing connections.
- 5.Select New Rule.
- 6.Select Program or Custom, then select Next.
- 7.Select This program path, browse to msedge.exe, then select Next.
- 8.Select Allow the connection, then select Next.
- 9.Choose Domain, Private, and Public as needed, then select Next.
- 10.Name the rule, then select Finish.
Use Windows Firewall with Advanced Security when the simple allowed-apps list is not enough, when a specific inbound rule is required, or when outbound firewall behavior has been changed from the Windows default. Outbound rules belong here only when an outbound block exists for Edge or your firewall has been changed from the default outbound behavior.
6. Use a command when you manage rules from Terminal
Open the tool as administrator first. PowerShell and Command Prompt create the same kind of firewall rule without clicking through the interface.
For PowerShell, open Start, type Windows Terminal or PowerShell, choose Run as administrator, then run:
New-NetFirewallRule -DisplayName "Allow Microsoft Edge" -Direction Outbound -Program "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -Action Allow -Profile Domain,Private,PublicFor Command Prompt, open Start, type Command Prompt, choose Run as administrator, then run:
netsh advfirewall firewall add rule name="Allow Microsoft Edge" dir=out action=allow program="C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" enable=yes profile=domain,private,publicUse the actual msedge.exe path on your PC. For an inbound Edge rule, change Outbound to Inbound in PowerShell or change dir=out to dir=in in Command Prompt.
7. Fix local network access inside Edge
- 1.In Edge, go to edge://flags/#local-network-access-check.
- 2.Set Local Network Access Checks to Enabled or Enabled (Blocking).
- 3.Select Restart.
- 4.Open Settings and more.
- 5.Select Settings.
- 6.Select Privacy, search, and services.
- 7.Select Site permissions, then All permissions.
- 8.Select Local network access.
- 9.Turn on Ask before accessing (recommended), then allow the site when Edge prompts you.
A website permission inside Edge can look like a Windows firewall block. Use this path when a site opened in Edge cannot reach devices or services on your local network.
8. Reset firewall settings last
A firewall reset clears custom rules, including rules added by you or by apps. Use it after targeted Edge rules do not solve the problem.
- 1.Open Windows Security.
- 2.Select Firewall & network protection.
- 3.Select Restore firewalls to default.
- 4.Select Restore defaults.
- 5.After the reset, return to Allow an app through firewall and add Microsoft Edge again when Edge still needs an allowance.
Do not turn off Microsoft Defender Firewall to make Edge work. Microsoft recommends allowing the app through the firewall instead. Do not stop or disable the Windows Defender Firewall service, and do not use the old netsh firewall add allowedprogram command; current command-line rules use netsh advfirewall firewall add rule.
Frequently Asked Questions
Why is Microsoft Edge missing from allowed apps?
Add it manually with Allow another app, then browse to the actual msedge.exe file on your PC. A common location is C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe.
Should I allow Microsoft Edge on Private or Public networks?
Use Private for trusted networks such as your home network. Add Public only when Edge needs that firewall allowance while you are connected to public networks.
Does Microsoft Edge need an inbound firewall rule for normal browsing?
No. Ordinary browsing does not require inbound Edge access. If Edge is blocked, check for a custom outbound rule, third-party security software, or managed-device policy.
Is opening a port the same as allowing Edge through the firewall?
No. Microsoft says allowing an app is generally safer than opening a port. Open a port only when a specific Edge or local web workflow requires a known port.
What should I do on a work or school PC?
Ask your IT administrator to allow msedge.exe for the needed network profile. Managed firewall rules can come from Intune or Group Policy and can replace local changes.











