|

How To Allow An App Through Windows Firewall In Windows 11 (2026)

When Windows Firewall blocks an app you trust, you can allow it without turning the firewall off.

The setting lives in the Windows Security app, and Microsoft gives the same steps for Windows 11 and Windows 10.

The short version is to open Allow an app through firewall, select Change settings, and tick the app.

Quick answer

GoalWhere to go
Allow an appWindows Security > Firewall & network protection > Allow an app through firewall > Change settings
Allow an app that is not listedAllow another app, then enter the app’s path
Stop allowing an appClear its check box and select OK
Open or close a portFirewall & network protection > Advanced settings > Inbound Rules

Allow an app through the firewall

  1. Open the Windows Security app.
  2. Select Firewall & network protection.
  3. Select Allow an app through firewall.
  4. Select Change settings, and confirm or enter an administrator password if Windows asks.
  5. Select the check box next to the app you want to allow.
  6. If the app is not on the list, select Allow another app and enter its path.

Microsoft’s page does not list a separate confirmation button for adding an app, so check the dialog on your screen for how to finish.

Why allow an app instead of turning the firewall off

Microsoft says that if a needed app is blocked, you should allow it through the firewall rather than turn the firewall off.

Turning the firewall off may make your device more vulnerable to unauthorized access.

If you really need the firewall off for a moment, see our guide to turning off the Windows 11 firewall.

Stop allowing an app

  1. Go back to Windows Security > Firewall & network protection > Allow an app through firewall.
  2. Select Change settings.
  3. Clear the check box next to the app.
  4. Select OK.

Microsoft recommends removing apps you no longer use.

Allow an app or open a port

MethodRisk levelHow it works
Allow an appLess riskyThe app’s required ports open only when needed
Open a portMore riskyThe port stays open until you close it

An open port allows traffic into or out of your device, which can give hackers or malware a way to reach your files or spread to other devices.

That is why Microsoft calls allowing an app generally the safer choice.

Open a port

  1. Open Windows Security and select Firewall & network protection.
  2. Select Advanced settings, and confirm or enter an administrator password if asked.
  3. Select Inbound Rules.
  4. Under Actions, select New Rule… and follow the instructions.

Close a port

  1. Open Advanced settings from Firewall & network protection.
  2. Select Inbound Rules.
  3. Select the rule you want to turn off.
  4. Under Actions, select Disable Rule.

Microsoft warns that incorrect rule changes in advanced settings can make your system more vulnerable or stop apps from working.

Most people never need the advanced settings, according to the same page.

Private, public and domain networks

ProfileMeaning
Private (trusted)Other devices on the network can see your device and may connect to it, such as a home network
Public (untrusted)Strangers’ devices should not see or connect to yours, such as coffee shop Wi-Fi
Domain (workplace)Named by Microsoft, with no further detail

Stricter security controls generally apply on public networks than on private ones.

Check the Incoming connections box

On the same screen, Incoming connections has a box called Blocks all incoming connections, including those in the list of allowed apps.

When that box is checked, the allowed apps list is ignored and everything incoming is blocked.

If an app you allowed still does not work, check that this box is not ticked.

Choose when the firewall tells you about a blocked app

  1. In Windows Security, select Settings.
  2. Select Manage notifications.
  3. Under Firewall and network protection, choose whether to be told when Windows Firewall blocks a new app.

You can set this separately for the domain network, the private network and the public network.

Microsoft’s page does not give the exact on and off labels, so use the wording on your screen.

Restore the firewall to default

If someone or something changed firewall settings and caused problems, Restore firewalls to default on the Firewall & network protection page resets them to how they were when you first got the PC.

Any policies applied by your organization are applied again afterward.

If you cannot change the settings

If your work or school manages the device, policy settings may stop you changing firewall settings.

In that case, contact your administrator.

The Network and Internet troubleshooter on the same page can also try to fix general connection problems.

If Windows warns about a file or app itself, see how SmartScreen and Smart App Control work.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *