When and why you might disable your Mac's firewall
Your Mac's built-in firewall blocks incoming connections from the internet unless you explicitly allow them. Most of the time, you want this protection on. But there are specific moments when it gets in the way: a program you trust won't connect, a local network device can't reach your Mac, or you're troubleshooting a connection problem and need to rule out the firewall as the cause.
Disabling the firewall is a temporary step, not a permanent solution. You turn it off to test something, confirm it was the problem, then turn it back on. Leaving it off for days or weeks exposes your Mac to unwanted incoming traffic from the internet — which is why this guide walks you through the off-and-back-on process, not just the off part.
The firewall lives in System Settings (called System Preferences on older Macs), and you reach it through the Security & Privacy section. You do not need to read anything or restart your Mac.
Key Takeaways
- Your Mac's firewall blocks incoming connections from the internet, and turning it off should be temporary — only while you test or troubleshoot a specific problem.
- You reach the firewall through System Settings > Security & Privacy > Firewall, and you need your Mac's admin password to change it.
- The firewall turns off when ready when you click the button; you do not need to restart your Mac.
- Turn the firewall back on as soon as you finish testing, using the same path and the same admin password.
Finding the firewall in System Settings
Open System Settings by clicking the Apple menu in the top-left corner of your screen, then select "System Settings" from the dropdown. On older Macs running Monterey or earlier, this menu item is called "System Preferences" instead.
Once System Settings opens, look for "Security & Privacy" in the sidebar on the left. Click it. You may see several tabs across the top — "General", "FileVault", "Firewall", and others. Click the "Firewall" tab.
If you do not see a Firewall tab, your Mac is running an older version of macOS. Look instead for "Firewall Options" or "Firewall" as a direct menu item in the Security & Privacy section. The layout changed between versions, but the firewall itself works the same way.
Turning the firewall off
In the Firewall tab, you will see a message that says either "Firewall: On" or "Firewall: Off". If it already says "Off", your firewall is already disabled and you can skip this step.
If it says "On", look for a button or lock icon near that text. Click it. Your Mac will ask you to enter your admin password — the same password you use to log into your Mac. Type it and press Enter or click "OK".
The firewall turns off when ready. You do not need to restart your Mac or close any programs. The change takes effect right away, and any program that was blocked before can now receive incoming connections from the internet.
Testing your connection or program
Now that the firewall is off, try the thing that was not working: open the program that would not connect, test the network device that could not reach your Mac, or run whatever test you needed to do. If it works now, the firewall was the problem. If it still does not work, the issue is somewhere else — your network settings, the program itself, or the device you are trying to connect to.
Write down what you found. This information helps you decide the next step: whether to turn the firewall back on and create a specific exception for that program, or whether to investigate a different part of your network.
Turning the firewall back on
Go back to System Settings > Security & Privacy > Firewall. Click the button or lock icon next to "Firewall: Off" and enter your admin password again. The firewall turns back on when ready.
If the program or device that was blocked before still needs to work, you have two choices. You can leave the firewall on and add that specific program to the firewall's allowed list — which means it can receive incoming connections, but everything else stays blocked. Or you can disable the firewall again, but only when you are using that program, then turn it back on when you are done.
Most programs ask for permission the first time they try to receive an incoming connection. If you see a prompt asking whether to allow a program through the firewall, click "Allow" and the firewall will remember that choice. You will not see the prompt again.
What to do if you cannot find the Firewall tab
On very old Macs or if your Mac is managed by a workplace or school, the Firewall tab might not appear in Security & Privacy. This usually means the firewall is controlled by a profile installed on your Mac, and you cannot change it yourself.
If you are on a work or school Mac, contact your IT department or help desk. If you own the Mac and the Firewall tab is straightforward missing, your Mac may be running an older version of macOS that stores firewall settings in a different location. Open System Preferences (not System Settings), click Security & Privacy, and look for a "Firewall" or "Firewall Options" button at the bottom of the window.
Why the firewall blocks some programs
When a program tries to accept incoming connections from the internet or your local network, the firewall stops it and asks you whether to allow it. This is intentional — it prevents malware or compromised programs from opening a door to your Mac without your knowledge.
The first time a legitimate program needs an incoming connection, you will usually see a prompt asking for permission. Click "Allow" and the firewall remembers that choice. If you never see a prompt and the program straightforward does not work, the program may not be designed to ask for permission, which is why disabling the firewall temporarily helps you confirm whether the firewall was the blocker.
Frequently Asked Questions
Does turning off the firewall affect my internet speed?
No. The firewall does not slow down your internet connection. It only decides whether to block or allow incoming connections. Turning it off or on does not change how fast data travels to and from your Mac.
Can I disable the firewall just for one program?
Yes. Instead of turning off the entire firewall, you can add a specific program to the allowed list. In the Firewall tab, click "Firewall Options" and then the plus sign to add a program. The firewall will allow that program to receive incoming connections while blocking everything else.
What happens if I leave the firewall off overnight?
Your Mac becomes vulnerable to unwanted incoming connections from the internet. Malware or other malicious traffic could potentially reach your Mac more easily. This is why you should turn the firewall back on as soon as you finish testing.
Will disabling the firewall let me see my Mac on my home network?
Possibly, but not always. The firewall blocks some incoming connections, but network visibility also depends on other settings. If a device still cannot see your Mac after you disable the firewall, the problem is likely elsewhere in your network setup.
Do I need to restart my Mac after turning the firewall back on?
No. The firewall turns on when ready and takes effect right away. You do not need to restart your Mac or close any programs.