Where to find the firewall settings

Windows Defender Firewall is built into Windows 10 and sits between your computer and the network. To turn it off, you go through Settings, not Control Panel. Open Settings (press the Windows key and type "Settings"), then select Update & Security, then Windows Security on the left side.

From there, click Firewall & network protection. You will see your current networks listed — typically "Domain network", "Private network", and "Public network". Each one has its own firewall toggle, and you can turn off the firewall for any or all of them.

Key Takeaways

  • Windows Defender Firewall settings are in Settings > Update & Security > Windows Security > Firewall & network protection, not in Control Panel.
  • You can turn off the firewall for specific network types (domain, private, public) separately, or disable it entirely by toggling off all three.
  • Turning off the firewall leaves your computer exposed to incoming connections from the network, so only do this when you have a specific reason.
  • If you are testing a program or network device, disabling the firewall temporarily can help you figure out whether the firewall is blocking it.
  • You can turn the firewall back on the same way — just toggle it back to on when you are done troubleshooting.

Disabling the firewall for a specific network type

If you only want to turn off the firewall for one type of network — for example, your home network but not public WiFi — you can do that. In Firewall & network protection, click the network type you want to change. A panel will open showing the current status.

Toggle Microsoft Defender Firewall to off. The toggle will turn gray. This disables the firewall only for that network type. Your computer will still have firewall protection on the other network types you did not change.

Turning off the firewall completely

To disable the firewall for all network types at once, go back to the main Firewall & network protection screen. You will see three sections: Domain network, Private network, and Public network. Each has its own toggle.

Toggle off the firewall for each one. You need to do all three to fully disable Windows Defender Firewall. Once all three are off, your computer has no built-in firewall protection from Windows.

Why you might need to disable it temporarily

The most common reason to turn off the firewall is to test whether it is blocking a program or network connection. If something stops working when the firewall is on but works when it is off, the firewall is the problem. You can then add that program to the firewall's allowed list instead of leaving the firewall off.

Another reason is to set up a network printer, game console, or other device that needs to communicate with your computer. Some devices have trouble connecting through the firewall until they are set up. Once setup is complete, you can turn the firewall back on.

Turning the firewall back on

To re-enable the firewall, go back to Firewall & network protection and toggle each network type back to on. The toggles will turn blue. Your computer will have full firewall protection again.

If you only turned off the firewall temporarily to test something, turn it back on as soon as you are done. Leaving the firewall off for extended periods leaves your computer open to unwanted network traffic and connections.

Adding a program to the firewall's allowed list instead

Before you disable the firewall entirely, consider whether you can just allow a specific program through it instead. This gives you the protection of the firewall while letting the program communicate. In Firewall & network protection, scroll down and click Allow an app through firewall.

Click Change settings, then Allow another 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 is safer than turning off the firewall completely.

What happens when the firewall is off

With the firewall disabled, your computer will accept incoming connections from any device on the network without asking. This means malware, unauthorized users, or other computers on the same network can reach your computer more easily. For this reason, only disable the firewall when you have a specific task to complete, and turn it back on immediately after.

If you are on a public network — a coffee shop, library, or airport WiFi — never disable the firewall. Public networks are less secure, and the firewall is your main defense against other users on that network.

Frequently Asked Questions

Can I disable just the public network firewall and keep it on for private networks?

Yes. In Firewall & network protection, toggle off only the Public network section. Your private and domain networks will still have firewall protection. This is a reasonable approach if you trust your home network but want protection on public WiFi.

Will disabling the firewall affect my antivirus program?

No. Windows Defender Firewall and Windows Defender Antivirus are separate. Turning off the firewall does not affect antivirus scanning or protection. However, you lose the network-level protection the firewall provides.

What if I cannot find the firewall settings in Windows Security?

Make sure you are in the right place: Settings > Update & Security > Windows Security > Firewall & network protection. If Windows Security is missing, your computer may have a third-party security program installed that replaced it. Check your installed programs for antivirus or security software.

Is it safe to leave the firewall off while I troubleshoot?

It is safe for a short time — minutes to an hour — while you test a specific program or device. Leaving it off for hours or days exposes your computer to risk. Turn it back on as soon as you have finished troubleshooting.

Can I schedule the firewall to turn back on automatically?

Windows does not have a built-in scheduler for this. You have to turn it back on manually. Set a reminder on your phone if you are worried you will forget, or write it down so you remember to re-enable it when you are done.