Disabling Windows Defender Firewall
Windows 10 includes a built-in firewall called Windows Defender Firewall that blocks incoming connections by default. You can turn it off entirely, turn it off for specific networks, or allow individual programs through it instead of disabling the whole thing. Most people should keep the firewall on — turning it off leaves your computer open to unwanted connections from the internet or a shared network.
If you do need to disable it, the fastest way is through Settings. Open Settings, go to Update & Security, then Windows Security, then Firewall & network protection. You'll see your current network listed (Private network, Public network, or both). Click the one you want to change, then toggle the firewall off.
The toggle will turn gray when the firewall is off for that network. Windows will warn you that your device is not protected — this warning is accurate. If you're disabling the firewall to test something or troubleshoot a connection problem, turn it back on as soon as you're done.
Key Takeaways
- Windows Defender Firewall is on by default and blocks incoming connections; you can turn it off per network (Private or Public) rather than all at once.
- The quickest way to disable it is Settings > Update & Security > Windows Security > Firewall & network protection, then toggle off for your network.
- Turning off the firewall entirely leaves your computer vulnerable to unwanted connections, so only disable it when you have a specific reason.
- You can allow individual programs through the firewall instead of disabling it, which is safer than turning the whole firewall off.
Disabling the Firewall Through Settings
Open the Settings app by pressing the Windows key and typing "settings", then pressing Enter. Click Update & Security in the left sidebar (or scroll down to find it). Select Windows Security from the list on the left.
Click Firewall & network protection. You'll see at least one network listed — usually "Private network" if you're on your home or work network, or "Public network" if you're on a coffee shop or airport network. Click the network you want to change.
You'll see a toggle labeled "Windows Defender Firewall". Click it once to turn it off. The toggle will turn gray and the text below it will say "Off". Windows will display a warning that your device is not protected — this is true, and you should turn the firewall back on when you're finished with whatever you're testing.
Disabling the Firewall Through Control Panel
If Settings doesn't open or you prefer the older Control Panel interface, you can disable the firewall there instead. Press the Windows key and type "control panel", then press Enter. Click System and Security.
Click Windows Defender Firewall. On the left side, click "Turn Windows Defender Firewall on or off". You'll see two sections: one for Private network settings and one for Public network settings. Under each, select "Turn off Windows Defender Firewall (not recommended)" if you want to disable it for that network type.
Click OK at the bottom to save the change. The firewall will be off when ready. You can return to this same screen and select "Turn on Windows Defender Firewall" to turn it back on.
Allowing Programs Through the Firewall Instead
Before you disable the firewall entirely, consider whether you actually need to. If a specific program can't connect to the internet or to other computers on your network, you can allow just that program through the firewall instead of turning the whole thing off.
Go back to Settings > Update & Security > Windows Security > Firewall & network protection. Click "Allow an app through firewall" on the right side. You'll see a list of programs that Windows knows about. Find the program you want to allow, then check the boxes next to it for the network types where you want to allow it (Private, Public, or both).
If the program isn't in the list, click "Change settings" at the top, then "Allow another app" at the bottom. Click Browse, navigate to the program's .exe file, select it, and click Open. Then check the boxes for the network types and click Add.
What Happens When the Firewall Is Off
When Windows Defender Firewall is off, your computer will accept incoming connections from any source without checking them first. This means malware, ransomware, or someone on your network could potentially connect to your computer and access files or install software without your permission.
The risk is higher on public networks (coffee shops, airports, libraries) than on private home networks, but it exists on both. If you turn off the firewall on a public network, do it only for as long as you need to, then turn it back on when ready.
If you're on a home network and you've disabled the firewall to test something, write down what you were testing so you remember to turn it back on. Many people forget and leave the firewall off for days or weeks without realizing it.
Turning the Firewall Back On
To turn the firewall back on, follow the same steps you used to turn it off. Go to Settings > Update & Security > Windows Security > Firewall & network protection, click the network you disabled it for, and toggle the firewall back on. The toggle will turn blue and the text will say "On".
If you used Control Panel instead, go back to Windows Defender Firewall > Turn Windows Defender Firewall on or off, and select "Turn on Windows Defender Firewall" under the network sections you want to protect. Click OK.
Troubleshooting Firewall Problems
If you can't open the firewall settings or the toggle won't move, your computer may have a problem. First, restart your computer — this fixes many temporary issues. If the problem persists, open Settings and go to Update & Security > Troubleshoot. Click "Windows Update" and run the troubleshooter, which can sometimes fix firewall-related problems.
If a program says the firewall is blocking it but you've already allowed it through, the program may be trying to use a port or protocol the firewall doesn't recognize. In that case, check the program's documentation or support page for instructions on how to configure the firewall for that specific program. Many programs include their own firewall rules that you can enable.
Frequently Asked Questions
Can I turn off the firewall just for one program?
No — you can only turn the firewall off for an entire network (Private or Public), not for individual programs. If one program needs access, allow it through the firewall instead of disabling the whole firewall. This keeps everything else protected.
Will turning off the firewall speed up my internet?
No. Windows Defender Firewall uses very little processing power, so disabling it won't make your internet faster or your computer noticeably faster. If your connection is slow, the problem is elsewhere — your internet provider, your router, or the website you're visiting.
Is Windows Defender Firewall the same as antivirus?
No. The firewall blocks unwanted incoming connections; antivirus scans files for malware. Windows 10 includes both, and you need both. Turning off the firewall doesn't affect antivirus scanning, but it does remove one layer of protection.
What if I can't find the firewall settings?
Make sure you're in Settings, not Control Panel. In Settings, look for Update & Security in the left sidebar — if you don't see it, scroll down. If Settings won't open, try Control Panel instead: press Windows key, type "control panel", and look for Windows Defender Firewall under System and Security.
Do I need to disable the firewall to install a program?
Almost never. If an installer says the firewall is blocking it, the real problem is usually that the installer needs permission to run, not that the firewall is in the way. Right-click the installer and select "Run as administrator" instead of disabling the firewall.