How to disable the Windows Defender Firewall
You can turn off Windows Defender Firewall through the Windows Security app or the Control Panel. The fastest route is Windows Security: open it, select Firewall & network protection, click the network you are connected to (usually "Domain network", "Private network", or "Public network"), and toggle the firewall off for that network type. The firewall will stop filtering traffic immediately.
If you need to turn it off for all network types at once, you can do the same toggle for each one — Domain, Private, and Public. Each network type has its own firewall setting, so you may need to disable it separately for each if you switch between them.
Turning off the firewall removes a layer of protection against unwanted network traffic. Windows will show a warning when the firewall is off. If you are turning it off to test something or troubleshoot a connection problem, consider turning it back on when you are done rather than leaving it disabled.
Key Takeaways
- Windows Security is the quickest way to disable the firewall — open it, go to Firewall & network protection, and toggle off the network type you are using.
- You can also disable the firewall through Control Panel by searching for "Windows Defender Firewall" and selecting "Turn Windows Defender Firewall on or off".
- The firewall has separate settings for Domain, Private, and Public networks, so you may need to toggle each one separately depending on which you use.
- Disabling the firewall removes protection against unwanted inbound traffic, so turn it back on when you no longer need it off.
Using Control Panel to turn off the firewall
If you prefer the Control Panel method, press the Windows key and type "Windows Defender Firewall". Click the result that says "Windows Defender Firewall" (not "Manage Windows Defender Firewall"). On the left side, select Turn Windows Defender Firewall on or off.
You will see two sections: one for Private network settings and one for Public network settings. Under each, select the radio button next to "Turn off Windows Defender Firewall (not recommended)". Click OK to save the change. The firewall will turn off for both network types immediately.
This method gives you the same result as Windows Security but in a different interface. Some people find it clearer because all the options are visible on one screen rather than spread across toggles.
What happens when the firewall is off
When Windows Defender Firewall is disabled, your computer stops filtering incoming network traffic. This means programs can receive connections from the internet without the firewall blocking them, and your computer is more exposed to network-based attacks or unwanted connections.
Windows will display a notification in the system tray (bottom right corner) indicating that the firewall is off. You may also see warnings in Windows Security itself. These warnings are there because an active firewall is considered a baseline security measure on Windows.
If you have other security software installed — such as Norton, McAfee, or Bitdefender — that software may have its own firewall. In that case, you might disable Windows Defender Firewall because the third-party firewall is handling that job instead. However, if you have no firewall active at all, your computer is at higher risk.
Turning the firewall back on
To re-enable the firewall, follow the same steps you used to turn it off. In Windows Security, toggle the firewall back on for the network types you use. In Control Panel, select "Turn on Windows Defender Firewall" instead of turning it off, then click OK.
The firewall will resume filtering traffic immediately. Any programs that were able to receive connections while the firewall was off will go back to being blocked unless you have created a firewall rule to allow them.
Creating firewall exceptions instead of disabling it entirely
If you are turning off the firewall because a specific program cannot connect, consider creating a firewall exception for that program instead. This keeps the firewall active for everything else while allowing that one program through.
To do this, open Windows Security, go to Firewall & network protection, and select Allow an app through firewall. Click Change settings, then Allow another app. Browse to the program you want to allow and click Add. You can then check the boxes for Private and Public networks (or both) to let that program communicate.
This approach is safer than disabling the entire firewall because it keeps protection active for everything else on your computer. Most connection problems can be solved this way without removing the firewall entirely.
Troubleshooting firewall blocks
If a program or game is not connecting and you think the firewall is blocking it, check the Windows Security notification history first. Open Windows Security, go to Firewall & network protection, and scroll down to Firewall notification history. This shows you which programs the firewall has blocked recently.
If you see the program listed there, you can click it and add an exception rather than disabling the entire firewall. This solves the connection problem for just that program while keeping the rest of your system protected.
If the program is not in the notification history, the firewall may not be the problem. Check whether the program itself is set to run, whether you have an internet connection, and whether the service the program connects to is working.
Frequently Asked Questions
Will disabling the firewall speed up my internet or games?
No. The Windows Defender Firewall has minimal impact on internet speed or gaming performance. If you are experiencing lag or slow connections, the firewall is almost certainly not the cause. Disabling it will not improve performance.
Can I disable the firewall for just one program?
Yes. Instead of disabling the entire firewall, create an exception for that program. Open Windows Security, go to Firewall & network protection, select Allow an app through firewall, and add the program. This keeps the firewall active for everything else.
What if I cannot find the firewall settings?
Press the Windows key, type "Windows Defender Firewall", and click the result. If that does not work, try typing "Firewall" instead. You can also right-click the Windows Security icon in the system tray and select Open to launch Windows Security directly.
Is it safe to leave the firewall off?
No. The firewall is a basic security layer that blocks unwanted inbound traffic. Leaving it off long-term increases your exposure to network-based attacks. Turn it back on as soon as you have finished troubleshooting or testing.
Do I need to restart Windows after disabling the firewall?
No. The firewall change takes effect immediately. You do not need to restart your computer for the change to apply.