Why you might disable Windows Firewall
Windows Firewall is a built-in security tool that blocks incoming connections to your computer. Most of the time you should leave it on — it stops unwanted traffic from reaching your machine. But there are specific situations where disabling it makes sense: you're testing network software on your own network, a program you trust needs direct access and keeps getting blocked, or you're using a third-party firewall instead and don't want two running at once.
Disabling Windows Firewall is straightforward, but you should know what you're turning off. The firewall doesn't protect you from viruses or malware — that's what antivirus software does. It only controls which programs can receive incoming connections. If you disable it, you're responsible for knowing which programs you're allowing to run.
Key Takeaways
- Windows Firewall can be disabled through Windows Defender Security Center, which is built into every Windows 10 and Windows 11 installation.
- You can turn off the firewall for your current network only, or disable it for all networks — choose based on whether you trust only your home network or need it off everywhere.
- Disabling the firewall removes a layer of protection against unwanted incoming connections, so only do this if you have another firewall running or you're on a network you fully control.
- If a program is blocked by the firewall, you can allow just that program through instead of disabling the entire firewall.
Access Windows Firewall settings through Windows Defender
Windows Firewall lives inside Windows Defender Security Center, which is the security hub built into Windows 10 and Windows 11. Open it by clicking the Windows Start button, typing "Windows Defender Security Center" or "Windows Security", and pressing Enter. The window that opens shows your security status across several categories — you're looking for "Firewall & network protection".
Click on "Firewall & network protection" and you'll see three network types: Domain, Private, and Public. Each one can have the firewall on or off independently. Your computer is usually set to Private when you're at home and Public when you're on a coffee shop network. Most people only need to change the Private setting.
Turn off the firewall for your home network
Click on "Private network" to open its settings. You'll see a toggle switch next to "Windows Defender Firewall" — it's currently on (the switch is blue and pushed to the right). Click the toggle to turn it off. The switch will turn gray and move to the left. Windows will ask you to confirm; click "Yes" to proceed.
That's the step most people need. Your firewall is now off for your home network only. If you connect to a public network later, the firewall will still be on for that connection, which is safer. You can turn the Private firewall back on anytime by clicking the same toggle again.
Turn off the firewall for all networks (not recommended)
If you need the firewall off for public networks too — which is rare and risky — you would also click on "Public network" and turn off that toggle. Only do this if you're testing something specific and you understand the risk. Public networks have strangers on them, and the firewall is your main defense against random connection attempts.
The same goes for "Domain network", which applies if your computer is connected to a workplace domain. Most home users won't see this setting or need to change it.
Allow a single program through the firewall instead
Before you disable the entire firewall, check whether you can just allow the program that's being blocked. In the same "Firewall & network protection" window, scroll down and click "Allow an app through firewall". You'll see a list of programs with checkboxes for Private and Public networks.
Find the program that needs access — if it's not listed, click "Change settings" at the top, then "Allow another app" at the bottom, and browse to the program's executable file. Check the box next to Private (or Public, depending on which network you're on), then click OK. The program can now receive incoming connections without you disabling the entire firewall.
Turn the firewall back on
To re-enable Windows Firewall, go back to "Firewall & network protection" in Windows Defender Security Center and click on the network type you disabled (usually Private). Click the toggle to turn it back on — the switch will turn blue again. Windows will confirm the change.
If you disabled it for multiple network types, you'll need to turn each one back on separately. There's no single "turn everything back on" button, so go through each network type and check that the toggle is blue.
What happens when the firewall is off
With Windows Firewall disabled, any program on your computer can accept incoming connections from the network without asking permission. This is useful if you're running a local server or testing software, but it also means you have less protection against programs that might be compromised or behaving badly.
The firewall being off doesn't make your computer vulnerable to viruses — antivirus software handles that. But it does mean that if a program on your computer is infected and tries to accept connections from the internet, nothing will stop it. This is why you should only disable the firewall when you're actively using it for something specific, then turn it back on when you're done.
Frequently Asked Questions
Will disabling Windows Firewall slow down my internet?
No. The firewall runs in the background and doesn't noticeably affect your internet speed. If a program is running slowly, the firewall isn't the cause. Disabling it won't make anything faster.
Can I disable the firewall if I have antivirus software?
Antivirus software and a firewall do different jobs. Antivirus stops malware; a firewall controls incoming connections. You should have both running. If you're using a third-party firewall instead of Windows Firewall, you can disable Windows Firewall, but don't run both at once.
What if I can't find the toggle to turn off the firewall?
You may not have permission to change firewall settings. If you're on a work computer, your IT department may have locked it. If it's your personal computer, make sure you're logged in as an administrator. Right-click Windows Defender Security Center and select "Run as administrator" if the toggle is grayed out.
Does disabling the firewall affect my Wi-Fi?
No. The firewall and Wi-Fi are separate. Turning off the firewall doesn't disconnect you from your network or change your Wi-Fi password. You'll stay connected to the internet the same way.
Should I disable the firewall on a laptop I take to coffee shops?
No. Keep the firewall on for public networks. You can disable it for your home Private network if you need to, but the Public network setting should stay on. Public networks have unknown devices on them, and the firewall is important protection there.