What is the Captive Portal Assistant?
When you connect your Mac to a public Wi-Fi network at a hotel, airport, or coffee shop, a small, simplified browser window automatically pops up on your screen. This is the macOS “Captive Portal Assistant,” designed to load the network’s login page or Terms of Service agreement.
While helpful for many, this mini-browser is stripped of basic features (like password managers, bookmarks, and standard security extensions). Many advanced users prefer to close the assistant and load the login page manually using a full, secure browser like Safari or Chrome. If you find the automatic pop-up annoying, you can disable the daemon entirely.
How to Disable the Captive Portal Pop-Up in macOS
You must use the Terminal to stop the system from launching this background service.
- Open the Terminal app on your Mac (you can find it in Applications > Utilities, or search via Spotlight).
- Type or paste the following command to edit the system defaults:
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false
- Press Enter.
- Because you used the
sudocommand, you will be prompted to enter your Mac’s administrator password. (Note: As you type your password, no characters will appear on screen. This is normal. Just type it and press Enter).
How to Connect Without the Assistant
Now that the automatic pop-up is disabled, you will still need to trigger the login page manually when you join a public network.
- Connect to the public Wi-Fi network via the menu bar icon.
- Open your preferred web browser (e.g., Safari or Chrome).
- Navigate to a non-secure HTTP website (such as
http://captive.apple.comorhttp://neverssl.com). - The network router will intercept this request and redirect your full browser to the hotel or airport login page.
If you ever want to re-enable the automatic pop-up, simply open the Terminal again and run the same command, changing false to true.