Turning off Windows Firewall

You can turn off Windows Firewall through Settings, Windows Defender, or the old Control Panel — the fastest route is Settings. Open Settings, go to Privacy & Security, select Windows Defender Firewall, then toggle off the switches for both private and public networks. The firewall stops blocking traffic immediately, though Windows will remind you it is off each time you restart.

Turning it off completely is different from adding exceptions. If you only want to let one program through, you should add that program to the firewall's allowed list instead of disabling the whole firewall. That keeps protection running for everything else.

Key Takeaways

  • The fastest way to turn off Windows Firewall is through Settings > Privacy & Security > Windows Defender Firewall, where you toggle off both the private and public network switches.
  • Turning off the firewall stops all protection immediately, so only do this if you have another firewall running or you are on a network you trust completely.
  • If you want to let one program through instead of disabling the firewall, add it to the allowed apps list rather than turning off the whole firewall.
  • Windows will show a notification that the firewall is off each time you restart, and you can turn it back on the same way you turned it off.

Turning off firewall through Settings

Open Settings by pressing Windows key + I. Click Privacy & Security on the left side. Scroll down and select Windows Defender Firewall. You will see two toggles — one for private networks and one for public networks. Click each toggle to turn it off. Both should show as off (gray) when you are done.

The firewall stops running as soon as you toggle it off. You do not need to restart. If you change your mind, you can turn it back on by toggling the same switches back to on (blue).

Turning off firewall through Windows Defender

Open Windows Defender by clicking the Windows icon and typing "Windows Defender" in the search box. Click Windows Defender. Select Firewall & network protection on the left side. Click Private network, then toggle off the switch. Go back and click Public network, then toggle off that switch too.

This method reaches the same firewall controls as Settings, just through a different door. The result is identical — both networks are now unprotected.

Turning off firewall through Control Panel

If you are on an older Windows version or prefer the older interface, you can also turn off the firewall through Control Panel. Click the Windows icon, type "Control Panel," and open it. Click Windows Defender Firewall. On the left side, click Turn Windows Defender Firewall on or off. Select Turn off Windows Defender Firewall for both private and public networks, then click OK.

This method works the same way as Settings and Windows Defender — the firewall stops running immediately. Most people find Settings faster, but Control Panel is still available if you are used to it.

Adding a program to the firewall instead of turning it off

If only one program is being blocked, you can let it through without disabling the entire firewall. Open Settings, go to Privacy & Security, select Windows Defender Firewall, then click Allow an app through firewall. Click Change settings, then Add an app. Find the program you want to allow and click Add. You can choose whether to allow it on private networks, public networks, or both.

This approach keeps the firewall running for everything else while making an exception for the one program that needs it. It is safer than turning off the whole firewall if you only have one or two programs that are not working.

What happens when the firewall is off

With the firewall off, your computer stops blocking incoming connections from the internet. Any program can accept traffic from outside your network without asking permission. This leaves you open to unwanted connections, so only turn off the firewall if you have another firewall running (like one built into your router) or if you are on a network you control completely.

Windows will show a notification in the system tray each time you restart that the firewall is off. This is a reminder, not an error — it just means you have chosen to run without this protection. If you see this notification and did not mean to turn off the firewall, you can turn it back on through the same Settings menu.

Turning the firewall back on

To turn the firewall back on, open Settings, go to Privacy & Security, select Windows Defender Firewall, and toggle both switches back to on (blue). You can also do this through Windows Defender or Control Panel using the same steps you used to turn it off. The firewall will start protecting your computer again immediately.

If you turned off the firewall to test something or to let a program through temporarily, turning it back on is just as quick as turning it off. There is no restart needed and no settings to reconfigure — it picks up where it left off.

Frequently Asked Questions

Will my computer be at risk if I turn off the firewall?

Yes, your computer will be more vulnerable to unwanted connections from the internet. Only turn off the firewall if you have another firewall protecting you (like one on your router) or if you are on a network you trust completely. If you are on a public network, keep the firewall on.

Can I turn off the firewall for just one program instead of all programs?

Yes. Go to Windows Defender Firewall in Settings, click Allow an app through firewall, then add the specific program you want to allow. This keeps the firewall running for everything else while making an exception for that one program.

Do I need to restart my computer after turning off the firewall?

No. The firewall stops running as soon as you toggle it off. However, Windows will show a notification each time you restart that the firewall is off, reminding you that protection is disabled.

What if I turn off the firewall and then forget to turn it back on?

Windows will show a notification in the system tray that the firewall is off. You can click that notification to turn it back on quickly, or you can go back to Settings and toggle it on the same way you turned it off.