macOS Firewall settings govern incoming connections from the internet or other networks. You can find them under Apple menu > System Settings > Network > Firewall, scrolling down if needed. The controls let you block all incoming connections, allow or deny specific apps and services, and enable stealth mode so the Mac does not reply to probes such as ICMP ping. Built-in or downloaded software signed by a valid certificate authority can be added to the allowed list automatically. What this does not do is inspect app signatures or scan for malware: it is a gate for inbound traffic, not an antivirus engine or a claim that the Mac cannot be compromised.

What it is

The Application Firewall is part of macOS network settings, reached through Apple menu > System Settings > Network > Firewall. Its purpose is to block unwanted connections coming into the Mac from the internet or other networks. Two broad controls define its behaviour. Block all incoming connections is the strict option, preventing connections to non-essential services and apps. The alternative is a more selective approach in which you add or remove apps and services allowed to receive incoming connections, so a service you rely on can stay reachable while others are refused. Built-in or downloaded software signed by a valid certificate authority can be added to that allowed list without your authorisation.

How it works

The firewall evaluates traffic arriving at the Mac, not the contents of files already on disk. When an app or service is on the allowed list, inbound connections to it can proceed; when it is not, those connections are blocked unless the broad Block all incoming connections setting is in force. Stealth mode is a separate switch with a narrow effect: it stops replies to probes such as ICMP ping, which keeps the Mac from answering unsolicited network checks. It does not suppress legitimate traffic — authorised apps still get responses. That distinction matters because going quiet on ping is not the same as disconnecting from the network.

What it means in practice

For a Mac that offers services to other devices, the first decision is whether those services should be reachable at all. The firewall controls incoming connections, but Sharing settings are the other half of the picture: sharing services enabled there can still connect through the firewall, so turn them off in Sharing settings if you want them blocked. On a laptop that joins unfamiliar networks, stealth mode reduces what casual probing reveals about the Mac. On a machine that needs very few inbound services, Block all incoming connections is the simple setting. In both cases, the useful mental model is a door policy for traffic coming in — it says nothing about what happens when you deliberately open a downloaded app.

Limits and misconceptions

The firewall governs inbound connections, not app signatures or malware checks. It will not inspect a downloaded installer, decide whether a developer is trustworthy, or clean up software you chose to run. Allowing an app through the firewall is not a verdict on its behaviour, and blocking incoming connections is not a statement that the Mac is free of threats. Sharing services left enabled in Sharing settings remain reachable despite the firewall, which is a common source of false confidence. Stealth mode, likewise, only changes responses to probes such as ICMP ping; authorised apps keep working. Treat these settings as one layer of network control, with a clear boundary: they manage who can initiate a connection to the Mac, and nothing beyond that.

For readers who want a tool in this area, Little Snitch — application firewall that approves or blocks every outgoing connection. It is a related utility, not a replacement for the macOS behaviour explained above.

Sources

Frequently Asked Questions

Where are the firewall settings?

Open Apple menu > System Settings > Network > Firewall, scrolling down if needed. From there you can block all incoming connections, manage the app list, and enable stealth mode.

Does stealth mode silence all network responses?

No. It stops replies to probes such as ICMP ping, but authorised apps still get responses. It reduces visibility to unsolicited probes rather than making the Mac silent on the network.

Does the firewall replace Sharing settings?

No. Sharing services enabled in Sharing settings can still connect through the firewall. Turn them off there if you want to block them.