TechBuzzPro

How to Turn Off Firewall on Windows 11

· 4 min read · Security & Privacy

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Turning off the Windows 11 firewall stops it from blocking incoming and outgoing network traffic. You might do this to test a game server, install certain software, or troubleshoot a connection issue. The steps below show how to disable the firewall for the active network profile (Domain, Private, or Public) using the Windows Security app. Note that turning off the firewall makes your PC more vulnerable to malware and unauthorized access, so only disable it temporarily and re-enable it as soon as you're done.

What You'll Need

  • An administrator account on Windows 11 (you'll need to confirm a UAC prompt).
  • Knowledge of which network profile you're using (Private or Public) — you can check this in Settings > Network & internet > Wi-Fi or Ethernet.

Step-by-Step

  1. Open the Start menu by clicking the Windows icon on the taskbar or pressing the Windows key.
  2. Type Windows Security and press Enter. The app opens with the Home screen.
  3. In the left sidebar, click Firewall & network protection. (The exact label may vary slightly by Windows version, but it's always in this section.)
  4. You'll see three network profiles: Domain network, Private network, and Public network. The active one is marked with a green check and says "Active." Click the profile you want to disable (usually Private or Public).
  5. Under Microsoft Defender Firewall, toggle the switch to Off. A User Account Control prompt appears — click Yes to confirm.
  6. The profile now shows a red warning icon and the firewall is off for that profile. Repeat steps 4–5 for any other profiles you want to disable (e.g., both Private and Public).

To re-enable the firewall later, follow the same steps and toggle the switch back to On.

Common Mistakes

  • Disabling the wrong profile: If you're on a home Wi-Fi, you likely need to turn off the Private profile, not Public. Check which one is active before toggling.
  • Forgetting to re-enable: Many users leave the firewall off indefinitely. Set a reminder or note to turn it back on after troubleshooting.
  • Using the Command Prompt incorrectly: Some guides suggest using netsh commands, but a typo can disable all profiles at once or fail silently. The Windows Security app is safer for most users.
  • Not checking for third-party firewalls: If you have antivirus software with its own firewall (like Norton or McAfee), Windows Defender Firewall may already be managed by that software. Turning off Windows Firewall might not have the effect you expect — check the third-party firewall's settings instead.

Tips

  • Instead of turning off the firewall entirely, consider adding an app or port exception. In Windows Security > Firewall & network protection, click Allow an app through firewall and add the specific program. This keeps protection active while allowing the traffic you need.
  • If you're troubleshooting a game or app, try disabling the firewall only for the network profile you're using (e.g., Private when on home Wi-Fi).
  • After you finish, re-enable the firewall immediately. If you forget, Windows will remind you with a red shield icon in the system tray.
  • For advanced users, you can disable the firewall for all profiles at once via Command Prompt (run as administrator) with the command netsh advfirewall set allprofiles state off. But this is riskier, so only use it if you know what you're doing.

Troubleshooting

If the toggle is grayed out or won't turn off:

  • Make sure you're logged in with an administrator account. If not, sign out and sign in with an admin account.
  • Check if a third-party security suite is controlling Windows Firewall. Open the antivirus software and look for its firewall settings — you may need to disable it from there.
  • Run Windows Security as administrator: right-click the Start button, select Windows Terminal (Admin), then type start ms-settings:windowsdefender and press Enter.

If the firewall turns back on automatically:

  • Some security software or Windows updates can re-enable it. Re-check after a reboot or update.
  • If you have Group Policy restrictions (Windows Pro/Enterprise), the firewall may be managed by your organization. Contact your IT admin.

If you can't find the Firewall & network protection section:

  • Open Settings > Privacy & security > Windows Security, then click Open Windows Security. The firewall section is in the left sidebar.
  • If the Windows Security app is corrupted, run the Windows Update troubleshooter or reset the app via Settings > Apps > Windows Security > Advanced options > Reset.

Frequently Asked Questions

Is it safe to turn off the firewall?

No, it exposes your PC to network threats. Only do it temporarily and re-enable it as soon as possible.

Why can't I turn off the firewall?

You need administrator rights, or a third-party antivirus may be managing it. Also, check if your organization's policy overrides it.

Does turning off the firewall affect internet browsing?

No, it usually doesn't block normal browsing, but it removes protection against malicious incoming connections.

How do I turn the firewall back on?

Follow the same steps and toggle the switch to On. Do this for each profile you disabled.

Will turning off the firewall fix my game connection issues?

It can, if the firewall was blocking the game's ports. But a better fix is to add an exception for the game instead of disabling the firewall entirely.

Can I turn off the firewall for only one network?

Yes, you can disable it per profile (Domain, Private, Public). Just toggle off the one you're using.