Facebook
Menu

How to turn on the firewall on a Mac

Shown on
MacBook Neo
Software
macOS 27.0.1More macOS 27 guides
Checked
October 2026
Real screenshots
4 of 5 steps
By Published 2 October 2026Updated 15 November 20263 min read
Real screenshot: MacBook Neo, macOS 27.0.1Real screenshot · MacBook Neo, macOS 27.0.1

Quick answer

Open System Settings, click Network, then Firewall, and turn on the Firewall switch. Confirm with Touch ID or your password. Click Options… afterwards if you want stricter rules.

Steps

0 of 5 steps
  1. 1

    Open System Settings

    Click the Apple menu in the top left corner, then click System Settings….

    Mac screenshot: Open System Settings
  2. 2

    Click Network, then Firewall

    In the sidebar choose Network, then click the Firewall row.

    On our MacBook Neo, Firewall is the second row, under Wi-Fi, and reads Inactive while it is off.

    Mac screenshot: Click Network, then Firewall
  3. 3

    Turn on the Firewall switch

    Click the switch next to Firewall.

    On our MacBook Neo, the page says: "This computer's firewall is currently turned off. All incoming connections to this computer are allowed."

    Mac screenshot: Turn on the Firewall switch
  4. 4

    Confirm with Touch ID or your password

    On our MacBook Neo, the prompt reads "Network is trying to unlock system settings."

    Use Touch ID, or click Use Password… and enter your password.

    Mac screenshot: Confirm with Touch ID or your password
  5. 5

    Click Options… for more control (optional)

    Apple says the Options button is disabled until the firewall is on; on our MacBook Neo, Options… is grey while the switch is off.

    Apple says you can allow or block incoming connections for individual apps there. Most people can leave the settings as they are.

If you do not see this option

If this does not work

  • The switch asks for Touch ID or a password Turning on the firewall needs your approval. On our MacBook Neo, the prompt offers Use Password… and Cancel; click Use Password… if you cannot use Touch ID.
  • A sharing service still accepts connections Apple says switching on a sharing service, file sharing for example, opens a port in the firewall for it. Turn the service off in Sharing settings to stop it.
  • An app stops working after you block it Apple says blocking an app can affect it or other software that depends on it. Set it back to allow incoming connections in Options.
  • An app not in the list still connects Apple says some apps missing from the list can still get through, such as system apps and digitally signed apps that other apps open by themselves. Add them to the list to block them.

Good to know

Apple says Block all incoming connections prevents incoming connections to all apps and services that are not essential. Use it on networks you do not trust.

Apple says Enable stealth mode makes the Mac ignore test requests such as ping, so it is harder to find on a network.

Apple says the two settings starting with Automatically allow put built-in and downloaded apps and services signed by a valid certificate authority onto the allowed list without asking you.

The firewall checks only incoming connections. It does not replace updates or a disk that is locked with FileVault.

macOS 27 compared with macOS 26: We rewrote steps 1, 2, 3, 4 and 5 to match the macOS 27 screens. The macOS 26 page keeps the steps and screenshots as they were.

Version history: the macOS 26 version of this guide, with its own screenshots.

About this guide

A firewall can block other computers from contacting your Mac when you didn't ask them to, while you're online or on a network.

Device
Mac
Shown on
macOS 27.0.1 (MacBook Neo)
App
System Settings
Real screenshots
4 of 5 steps
Checked
October 2026
Sources
3 official, linked below

Did this guide work for you?

Get new guides by email

Our newest guides, sent to your inbox. Free, and you can unsubscribe in one click.

We'll email you to confirm. How we use your email

Follow howtosimply on Facebook

We share our new guides on our Facebook page, so the next fix turns up in your feed.

Follow on Facebook

Also on Instagram · Threads · Pinterest · YouTube

Share this guide