When you might need to disable your firewall temporarily

You should disable your firewall only when you are troubleshooting a specific connection problem, testing software you trust, or following instructions from a technician or software maker. A disabled firewall leaves your device open to attacks from the internet, so this should be a temporary step, not a permanent setting.

The most common reasons to disable it are: a program you know is legitimate cannot connect to the internet, you are testing whether the firewall is blocking a service you need, or a game or process requires direct network access that the firewall is preventing. In each case, you should re-enable it as soon as you finish troubleshooting.

Never disable your firewall permanently just to make something work. Instead, configure the firewall to allow that specific program or port. This keeps your device protected while solving the connection problem.

Key Takeaways

  • Disable your firewall only while troubleshooting a specific problem, then turn it back on when ready afterward.
  • On Windows, open Windows Defender Firewall from Settings and toggle it off for the network type you are using.
  • On Mac, go to System Settings, then Security & Privacy, then Firewall, and click Turn Off Firewall.
  • If a program needs network access, configure the firewall to allow that program instead of disabling the entire firewall.
  • Re-enable your firewall as soon as you finish testing, because a disabled firewall leaves your device vulnerable to malware and unauthorized access.

How to disable the firewall on Windows 11 and Windows 10

Open the Start menu and type "Windows Defender Firewall" into the search box. Click the result that says "Windows Defender Firewall with Advanced Security" or straightforward "Windows Defender Firewall." The firewall settings window will open.

On the left side of the window, click "Turn Windows Defender Firewall on or off." You will see two sections: one for "Private network settings" and one for "Public network settings." If you are on a home or work network, uncheck the box next to "Turn on Windows Defender Firewall" under Private network settings. If you are on a public network (like at a coffee shop), uncheck it under Public network settings instead. Do not uncheck both unless you are certain you need to.

Click OK to save the change. Your firewall is now disabled for that network type. Windows will show you a notification that the firewall is off. Once you have finished testing or troubleshooting, return to this same window and check the boxes again to turn the firewall back on.

How to disable the firewall on Mac

Click the Apple menu in the top-left corner of your screen and select "System Settings" (or "System Preferences" on older macOS versions). Scroll down the left sidebar and click "Security & Privacy" or "Privacy & Security," depending on your macOS version.

In the window that opens, look for the "Firewall" tab or section. Click it, then click the lock icon in the bottom-left corner if it is locked. You will be asked to enter your Mac password. Once unlocked, click the "Turn Off Firewall" button. A confirmation dialog may appear asking if you are sure; click "Turn Off" to confirm.

Your Mac firewall is now disabled. You will see the status change to show the firewall is off. When you are ready to re-enable it, return to the same settings, click the lock icon again if needed, and click "Turn On Firewall."

Allowing a specific program instead of disabling the firewall

If only one program is having trouble connecting, you can allow that program through the firewall without disabling the entire firewall. This is safer than turning off all protection.

On Windows: Open Windows Defender Firewall, click "Allow an app through firewall" on the left side, then click "Change settings." Look for the program in the list. If it is there, check the boxes next to it for the network types you use. If it is not in the list, click "Allow another app," browse to the program's executable file, and add it. Click OK when done.

On Mac: Unfortunately, macOS does not have a built-in way to allow individual apps through the firewall in the same way Windows does. If a Mac app cannot connect, you may need to disable the firewall temporarily while testing, or contact the app maker for help. Some third-party firewall software for Mac does offer per-app rules, but the built-in firewall does not.

What to do if you cannot find the firewall settings

On Windows, if you cannot find Windows Defender Firewall, you may have third-party firewall software installed instead, such as Norton, McAfee, or Kaspersky. Look in your installed programs list or search for the name of that software. Open it and look for firewall settings within that program's interface.

On Mac, if you have installed third-party security software, it may have replaced the built-in firewall. Check your Applications folder or search Spotlight for the name of the security software you installed. Open it and look for firewall settings there.

If you are unsure whether you have a third-party firewall, open Activity Monitor on Mac or Task Manager on Windows and search for the firewall process name. The built-in Windows firewall shows as "Windows Defender Firewall Service." If you see a different name, you have a third-party firewall.

Re-enabling your firewall after troubleshooting

Once you have finished testing or troubleshooting, turn your firewall back on when ready. A disabled firewall leaves your device unprotected against malware, ransomware, and unauthorized network access.

On Windows, return to Windows Defender Firewall settings and check the boxes to turn the firewall back on for both Private and Public networks. On Mac, go back to Security & Privacy settings, unlock if needed, and click "Turn On Firewall." You should see the status change to show the firewall is active again.

If you find that you need to disable the firewall regularly to use a particular program, that is a sign the program needs to be configured to work with the firewall, or the firewall needs to be updated. Contact the software maker's support team for help configuring the program to work safely with your firewall enabled.

Frequently Asked Questions

Will disabling my firewall slow down my internet speed?

No. A firewall does not reduce your internet speed. It inspects incoming and outgoing traffic, but this happens so quickly that you will not notice any slowdown. If your internet feels slow after disabling the firewall, the firewall was not the cause.

Can I disable the firewall just for one program?

You cannot disable the entire firewall for just one program, but you can allow a specific program through the firewall on Windows. On Mac, you would need to disable the entire firewall or use third-party software. Allowing a program through is the safer option.

What happens if I leave my firewall off?

Your device becomes vulnerable to malware, ransomware, and unauthorized access from the internet. Attackers can scan your device for open ports and exploit them. You should never leave your firewall off permanently.

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

No. The firewall will start protecting your device when ready after you turn it back on. You do not need to restart your computer.

Is the Windows Defender Firewall as good as third-party firewalls?

Yes, for most users. Windows Defender Firewall is built into Windows and provides solid protection. Third-party firewalls may offer additional features, but they are not necessary for basic protection. The built-in firewall is sufficient for home and small business use.