Disable Windows Firewall Through Security Settings

The fastest way to turn off Windows Firewall is through the Windows Security app. Open Windows Security by clicking the Start button, typing "Windows Security," and pressing Enter. Once it opens, click Firewall & network protection on the left side.

You'll see your current network (Home network, Work network, or Public network). Click the network type you're connected to right now. A new screen will show a toggle switch labeled "Windows Defender Firewall." Click that toggle to turn it off. Windows will ask you to confirm — click Yes to disable the firewall for that network type.

Repeat this step for each network type you want to disable. Most people only need to turn it off for their current network, but if you switch between Home and Work networks regularly, you may need to disable it for both. The Public network setting is usually left on for security reasons, but you can disable it the same way if needed.

Key Takeaways

  • Windows Security is the easiest place to disable the firewall — it takes about 30 seconds and requires no restart.
  • You can turn the firewall off for Home, Work, or Public networks separately, so disabling it for one network doesn't affect the others.
  • If Windows Security won't open or the toggle doesn't work, use the Control Panel method as a backup.
  • Turning off the firewall leaves your computer unprotected from network threats, so only disable it when you have a specific reason and plan to turn it back on.
  • Some programs may refuse to run with the firewall off, so if you disable it and encounter problems, turning it back on often fixes them.

Disable Windows Firewall Through Control Panel

If Windows Security won't open or the toggle doesn't respond, the Control Panel method works as a backup. Click the Start button, type "Control Panel," and press Enter. Once it opens, look for Windows Defender Firewall — you may need to click System and Security first to find it.

Click Windows Defender Firewall, then on the left side click Turn Windows Defender Firewall on or off. A new window will open with options for Home or work networks and Public networks. For each one, select the radio button next to Turn off Windows Defender Firewall (not recommended). Click OK at the bottom to save the change.

This method does the same thing as Windows Security but works when the newer app has problems. You don't need to restart your computer after making this change — the firewall turns off immediately.

Disable Windows Firewall for Specific Apps Only

If you only need to disable the firewall for one program instead of turning it off completely, you can add that program to the firewall's exception list. This keeps your computer protected while letting that specific app communicate through the network.

Open Windows Security and go to Firewall & network protection. Scroll down and click Allow an app through firewall. A window will open showing programs that already have firewall exceptions. Click Change settings at the top, then Allow another app at the bottom. Browse to find the program you want to allow, select it, and click Add. Click OK to save.

This approach is safer than disabling the entire firewall because it only opens a path for the one program you need. Most network problems with specific apps can be solved this way without leaving your whole computer exposed.

Turn Windows Firewall Back On

To re-enable the firewall, go back to Windows Security and click Firewall & network protection. Click the network type you disabled, then click the toggle switch to turn it back on. The firewall will restart immediately.

If you used the Control Panel method, go back to Turn Windows Defender Firewall on or off and select Turn on Windows Defender Firewall for each network type. Click OK to save. You don't need to restart your computer — the change takes effect right away.

Why Your Firewall Might Not Disable

Sometimes the toggle switch won't work or appears grayed out. This usually happens because Windows is running in Safe Mode, or because your computer is managed by a workplace or school network policy. If you're on a work computer, your IT department may have locked the firewall settings so you can't change them.

If you're on a personal computer and the toggle is grayed out, restart your computer in normal mode (not Safe Mode) and try again. If it still won't work, check whether your antivirus software is managing the firewall instead — some third-party antivirus programs take over firewall control from Windows.

What Happens When You Disable the Firewall

Turning off Windows Firewall removes a layer of protection between your computer and the internet. The firewall normally blocks incoming connections from the network unless you've specifically allowed them. Without it, any program on the network can attempt to connect to your computer.

This doesn't mean your computer will immediately get infected, but it does mean you're more vulnerable. If you're on a public network (coffee shop, airport, library), you should never disable the firewall. On your home network with devices you trust, the risk is much lower. Still, only keep the firewall off as long as you need it for whatever problem you're solving.

If you disable the firewall and then encounter strange behavior — programs crashing, network errors, or slow performance — turning the firewall back on often fixes it. Some programs are designed to work with the firewall on and behave unpredictably without it.

Frequently Asked Questions

Do I need to restart my computer after disabling the firewall?

No. The firewall turns off immediately when you click the toggle or confirm the change. You can start using your computer right away without restarting.

Can I disable the firewall for just one program instead of turning it off completely?

Yes. Adding a program to the firewall's exception list lets it communicate through the network while keeping the firewall on for everything else. This is safer than disabling the entire firewall and solves most network problems with specific apps.

What if the firewall toggle is grayed out and I can't click it?

This usually means your computer is managed by a workplace or school policy, or you're running in Safe Mode. If it's your personal computer, restart in normal mode and try again. If you're on a work computer, contact your IT department — they may have intentionally locked this setting.

Is it safe to leave the firewall off all the time?

No. Leaving the firewall off permanently exposes your computer to network threats. Only disable it when you have a specific reason, and turn it back on as soon as you've solved the problem you were working on.

Will disabling the firewall fix my internet connection problems?

Sometimes. If a program can't connect to the internet and the firewall is blocking it, disabling the firewall may fix the problem. But if the issue is with your router, internet service provider, or the program itself, turning off the firewall won't help. Try adding just that program to the firewall exceptions first before disabling the whole firewall.