Disable your firewall when you need to troubleshoot network problems or run software that the firewall is blocking

Your firewall is a security barrier that sits between your device and the internet, deciding which programs can send and receive data. Sometimes it blocks things you actually want to use — a printer on your home network, a game, or software you just installed. Turning it off temporarily can tell you whether the firewall is the problem. On Windows, you do this through Settings. On Mac, you do it through System Settings. Both take about one minute.

Be aware that disabling your firewall leaves your device more exposed to unwanted connections while it is off. Turn it back on as soon as you finish testing. If you find that a specific program keeps getting blocked, you can add that program to the firewall's exceptions list instead of disabling the whole firewall — that keeps you protected while letting the program work.

Key Takeaways

  • Windows Firewall lives in Settings under Privacy & Security, and you toggle it off with one click per network type (Domain, Private, Public).
  • Mac firewall is in System Settings under Network, and you turn it off by clicking the lock icon and then unchecking the firewall box.
  • Disabling the firewall removes a layer of security, so turn it back on immediately after you finish testing.
  • If a specific program is blocked, adding it to the firewall exceptions list is safer than disabling the entire firewall.
  • Restarting your device after re-enabling the firewall ensures all security settings are active again.

Disable Windows Firewall

Open Settings by pressing the Windows key and typing "Settings", then press Enter. Click Privacy & Security in the left sidebar. Scroll down and click Windows Defender Firewall.

You will see three network types: Domain, Private, and Public. For each one, click the toggle next to Windows Defender Firewall to turn it off. The toggle will turn gray when it is off. You only need to disable the network types you actually use — most home users only use Private, but if you are on a work network, disable Domain as well.

Once you have disabled the firewall and tested whatever you needed to test, go back to the same screen and toggle each firewall back on. The toggles will turn blue when they are active again.

Disable Mac Firewall

Click the Apple menu in the top-left corner and select System Settings. Click Network in the sidebar. Scroll down and click Firewall.

Click the lock icon in the bottom-left corner of the window and enter your Mac password when prompted. This unlocks the firewall settings. Uncheck the box next to Enable Firewall. A dialog box will appear asking you to confirm — click Turn Off Firewall.

After you have finished testing, go back to the same screen, click the lock icon again, and check the box next to Enable Firewall to turn it back on.

Add a program to the firewall exceptions list instead of disabling the whole firewall

If you know exactly which program the firewall is blocking, you can allow just that program through instead of turning off the entire firewall. This keeps your device protected while letting the program work.

On Windows: Open Settings, go to Privacy & Security, click Windows Defender Firewall, then click Allow an app through firewall. Click Change settings, then Allow another app. Browse to the program you want to allow and click Add. Check the boxes for the network types where you want to allow it (usually Private for home networks), then click OK.

On Mac: Open System Settings, click Network, scroll to Firewall, click the lock icon, then click Firewall Options. Click the plus sign at the bottom of the list and browse to the program you want to allow. Select it and click Add.

Turn the firewall back on and restart your device

After you have finished troubleshooting, go back to the firewall settings and re-enable it using the same steps you used to turn it off. On Windows, toggle each network type back on. On Mac, check the Enable Firewall box again.

Restart your device once the firewall is back on. This ensures that all security settings are fully active and that any programs you were testing are no longer running in the background. A restart takes a few minutes and is the safest way to return your device to its normal protected state.

What to do if you cannot access the firewall settings

If you see a message saying you do not have permission to change firewall settings, your device is set up with a restricted account. On Windows, you need an administrator account to change firewall settings. On Mac, you need to enter an administrator password when you click the lock icon.

If you are on a work device, the firewall may be controlled by your IT department and you will not be able to disable it yourself. Contact your IT support team and tell them which program or network device is being blocked. They can add it to the exceptions list on their end.

Frequently Asked Questions

Will disabling the firewall slow down my internet?

No. The firewall does not affect your internet speed. It only decides which programs can connect. If you are experiencing slow internet, the firewall is not the cause. However, if a program is trying to connect and the firewall is blocking it, disabling the firewall might make that program work faster because it no longer has to wait for the firewall to check each connection.

Can I disable the firewall just for one program?

Yes. Instead of disabling the entire firewall, add that specific program to the exceptions list. This is the safer option because your device stays protected from other threats while only that one program is allowed through.

What happens if I leave the firewall off?

Your device becomes more vulnerable to unwanted connections and malware. You should only leave it off while you are actively testing something, then turn it back on immediately. Leaving it off permanently is not recommended.

Do I need to disable the firewall to install software?

Usually no. Most software installers work fine with the firewall on. If an installer is blocked, the firewall will usually show a notification asking if you want to allow it. Click yes, and the installer can proceed without disabling the entire firewall.

Why does my printer keep getting blocked by the firewall?

Your printer is trying to connect to your device over the network, and the firewall does not recognize it as trusted. Add your printer to the firewall exceptions list, or if your printer has a setup program, run that program and let the firewall notification appear — click allow, and the printer should work from then on.