
Your Mac has a built-in firewall, but it may not be switched on by default. So, should you turn it on? For most people, yes. It adds a useful layer of protection against unwanted connections from other devices on the same network or the internet.
Here’s what the Mac firewall does, what it doesn’t do, and how to set it up.
xWhat does the Mac firewall do?
A firewall controls incoming network connections to your Mac. When enabled, macOS can block connections that you haven’t authorised, while allowing apps and services you’ve approved.
It’s especially useful when you connect to networks you don’t control, such as public Wi-Fi, or when your Mac runs services that other devices can connect to. It’s one layer of security—not a replacement for keeping macOS and your apps updated, using strong passwords, or being careful about what you download. (support.apple.com)

What the firewall doesn’t do
The firewall isn’t a general-purpose shield against every online threat. It mainly controls incoming connections; it doesn’t stop you from visiting a malicious website, opening a harmful attachment, or entering your password on a phishing page.
Nor does turning it on automatically block everything. Sharing features and authorised apps may still accept connections. For example, enabling File Sharing can open a port for that service. (support.apple.com)
Should you turn it on?
For most home and everyday users, enabling the firewall is a sensible precaution. It can reduce unwanted incoming connections, and Apple provides built-in controls for choosing which apps and services are allowed through.
It may be particularly helpful if you:

- Often use public or shared Wi-Fi.
- Enable File Sharing, Screen Sharing, or other network services.
- Want to decide which apps can accept incoming connections.
Some apps that need incoming connections—such as sharing, remote-access, or development tools—may ask for permission or stop working as expected if blocked. If that happens, allow only the app or service you recognise and need rather than disabling the firewall altogether. (support.apple.com)
How to turn on the Mac firewall
On current macOS versions:
- Open the Apple menu and choose System Settings.
- Select Network.
- Choose Firewall. You may need to scroll.
- Turn Firewall on.
- Select Options to review app access and additional settings.
Apple notes that blocking an app can affect its performance or interfere with other software that depends on it. If macOS asks whether to allow an app to accept incoming connections, make the choice based on whether you trust the app and need that network feature. (support.apple.com)

What about “Block all incoming connections” and Stealth Mode?
These are optional settings, and they’re not necessary for everyone.
- Block all incoming connections blocks connections to non-essential apps and sharing services. Basic network services still work, but features such as file sharing may not. Avoid enabling it if you rely on those features.
- Stealth Mode makes your Mac less responsive to some network probes, such as ping requests. It can add a little extra privacy on a network, but it doesn’t make your Mac invisible or replace the firewall. (support.apple.com)
The takeaway
Yes—most Mac users should turn on the built-in firewall. It’s a straightforward extra layer against unwanted incoming connections. Leave the default app controls in place, allow only services you trust, and use “Block all incoming connections” only if you’re comfortable losing access to some sharing features.
Just remember: a firewall is one part of a broader security routine, not a substitute for software updates, safe browsing, and sensible app permissions.
