How to Hide Your Mac From Other Devices on a Network

To make a Mac less discoverable to other computers on a local network, turn off the sharing services you do not use and enable the built-in firewall’s stealth mode. This limits common ways other devices can find or connect to your Mac, but it does not make the computer invisible while it remains connected to Wi-Fi or Ethernet. The router can still see an active client, and some basic network functions may continue.

What “hide a Mac from a network” means

macOS has no single switch that removes an active Mac from every network device list. Sharing settings disable specific services, while Firewall stealth mode reduces responses to certain probes; neither conceals the connection from the network operator. Sharing controls are system-wide, not separate profiles for each Wi-Fi network.

1. Open your Mac’s Sharing settings

On current macOS versions, choose Apple menu → System Settings → General → Sharing. You may need to scroll in the General settings list to find Sharing. Apple documents the current controls in its Mac Sharing settings guide.

System Settings with General selected and Sharing highlighted in the settings list
In System Settings, open General and select Sharing.

2. Turn off sharing services you do not need

In the Sharing pane, switch off the services that should not accept connections from nearby computers. For the broadest reduction in network sharing, review every item shown. Common examples include:

  • File Sharing, which lets other users access shared folders.
  • Screen Sharing and Remote Management, which can let other users view or control the Mac.
  • Remote Login, which allows SSH or SFTP access.
  • Media Sharing, Printer Sharing, Content Caching, and Internet Sharing, which make particular services available to other devices.
  • Bluetooth Sharing and Remote Application Scripting, if you do not use them.

Turning off a service can interrupt a workflow: for example, another computer will no longer be able to use a shared folder, printer, or remote desktop session. If you still need one of these features, leave that service on and restrict its access using the service’s Info button and user controls where available. Some options may be locked or unavailable on a Mac managed by an organization.

Sharing settings pane showing File Sharing, Media Sharing, Screen Sharing, Content Caching, Printer Sharing, and Remote Login switched off
Switch off services you do not want other devices to use; scroll to review the rest of the list.

3. Turn on the macOS firewall

Open Apple menu → System Settings → Network → Firewall, then turn on Firewall if it is off. This firewall controls unwanted incoming connections to apps and services. Apple notes that sharing services can open specific connections when enabled, so disabling unused services in Sharing remains useful even with the firewall active. See Apple’s instructions for blocking connections with the Mac firewall.

Network settings showing the macOS Firewall switched on
Turn on Firewall in Network settings before configuring its options.

4. Enable stealth mode

With Firewall on, click Options, select Enable stealth mode, and click OK. If you do not see Options, first turn on the firewall. Stealth mode makes the Mac ignore certain probes, including ping requests and connection attempts to closed TCP or UDP ports. It makes the computer harder to detect through those checks, but it does not block every authorized app or remove the Mac from the network. Apple explains the behavior in its stealth mode instructions.

Firewall Options dialog with Enable stealth mode selected and Block all incoming connections left unchecked
Select Enable stealth mode, then save the firewall option.

Optional: Firewall Options may also include Block all incoming connections. This blocks connections to nonessential services and apps, but Apple says basic network services may still be allowed. It can also interfere with apps and sharing features, so enable it only if you understand that trade-off and do not need inbound connections.

What other devices and the router can still see

Stealth mode is a response to probing; it is not a way to disappear from the router. The Wi-Fi access point or router still has to manage your connection and may list the Mac as a connected device. The local hostname is also a network identifier: Apple says it is displayed on the local network and can identify the Mac to Bonjour-compatible services; see its guidance on a Mac’s name and network address. Turning sharing off and enabling stealth mode should therefore be treated as reducing discoverability and access, not as anonymity.

If the Mac’s current name reveals personal information, you can change the computer name or local hostname in Sharing settings. A different name may reveal less, but it remains a name on the network and does not hide the device. For separation from other clients, use a guest network or client isolation if the network administrator offers it. To stop the Mac from appearing as a connected client at all, disconnect Wi-Fi and Ethernet.

Quick checks if the Mac still appears

  • Return to General → Sharing and check that every unneeded service is off, including items farther down the list.
  • In Network → Firewall → Options, confirm stealth mode remains enabled. A managed configuration may control or lock these settings.
  • A saved Finder shortcut or a cached device name on another computer can remain visible even after access is disabled. Try connecting again to confirm whether the service is still reachable; remove the saved shortcut if you only want to clear the old entry from Finder.

Leave a Comment

How to Take a Timed Screenshot from Terminal on macOS

How to Take a Timed Screenshot from Terminal on macOS

Set a custom delay for a timed screenshot from Terminal on macOS, then choose its filename, save folder, image format, and pointer settings.

How to Get a Catalina-Style Menu Bar on macOS Big Sur

How to Get a Catalina-Style Menu Bar on macOS Big Sur

Restore a solid Catalina-style menu bar on Big Sur with compatible Boring Old Menu Bar v1.27. Follow the install steps, set light and dark styles, and troubleshoot common issues.

How to Link an Apple ID to a Mac User Account

How to Link an Apple ID to a Mac User Account

Sign in with your Apple ID (now called an Apple Account) in System Settings, then configure the separate Mac login password recovery option for that user.

How to Hide Your Mac From Other Devices on a Network

How to Hide Your Mac From Other Devices on a Network

Turn off Mac sharing services and enable Firewall stealth mode to limit local discovery, with clear notes on what your router and other devices can still see.

How to Check the Mic on a Mac (Built-In or External)

How to Check the Mic on a Mac (Built-In or External)

Learn how to check a Mac microphone using Sound settings and QuickTime, choose the right input, verify permissions, and fix common no-input problems.

How to View CPU, RAM, Disk, and Network Usage in the macOS Menu Bar

How to View CPU, RAM, Disk, and Network Usage in the macOS Menu Bar

Use the free Stats app to show CPU, memory, disk, and network usage in the macOS menu bar, customize widgets, and fix missing icons on macOS 26.

How to Install a Mail Plugin on macOS

How to Install a Mail Plugin on macOS

Install a Mail plugin on macOS using the current Mail Extensions workflow, enable it in Mail settings, and handle older .mailbundle plugins safely.

How to Download YouTube Videos on macOS: Official Methods

How to Download YouTube Videos on macOS: Official Methods

Learn how to download YouTube videos on a Mac with YouTube Premium, save your own uploads as MP4 files, and avoid outdated downloader apps.

How to Download Older Versions of macOS from Apple

How to Download Older Versions of macOS from Apple

Learn how to download older macOS installers from Apple using the App Store, Terminal, or official DMG links, with compatibility and error tips.

How to Toggle the Touch Bar On or Off on macOS

How to Toggle the Touch Bar On or Off on macOS

macOS has no built-in Touch Bar off switch. Learn how to change Touch Bar settings and use Hide My Bar to toggle it off and back on.