What is captiveagent?
captiveagent is the macOS daemon that detects and processes captive networks. Its man page says it issues HTTP requests to see if a network has a captive web portal.
I want to know what captiveagent is doing on my Mac and whether its network use is normal. Read https://kilobat.app/processes/captiveagent.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.
Short answer
Part of macOS. Its man page says it sends HTTP requests to find captive web portals and can log in to them over HTTPS.
Don’t block
Do not block it. Public Wi-Fi sign-in pages may not open and the network may look offline.
- Path
/usr/libexec/captiveagent- launchd label
com.apple.captiveagent- Signing identifier
com.apple.captiveagent
What it is
The program is /usr/libexec/captiveagent, signed by Apple. Its launchd label is com.apple.captiveagent. It is a system daemon that runs as the user _captiveagent.
The man page says it may also run HTTPS transactions to log in to and out of the portal.
Apple's host list names captive.apple.com on ports 443 and 80 under Device setup. See captive.apple.com.
Apple does not say that this host is the one captiveagent requests. The man page does not name a host.
A captive portal is a login page on public Wi-Fi, such as a hotel or airport. See Wi-Fi login page does not appear on a Mac if the page does not open.
Why it uses the network
- Portal checks. On joining a network, the daemon requests a page over HTTP to see if a portal intercepts it.
- Portal log-in and log-out. The man page says it may use HTTPS to log in or out.
- Rechecks. Apple does not say how often it checks again.
How much is normal
A few small requests each time you join a network are normal.
Apple gives no figure.
Constant requests are not described by Apple.
When it uses a lot, and why
- Moving between networks. Each join starts a check.
- A flaky network. Repeated joins repeat checks.
Is it safe to block?
Don’t block
Do not block it. Public Wi-Fi sign-in pages may not open and the network may look offline.
What breaks if you block it
- Captive portal pages do not appear on hotel and airport Wi-Fi.
- Wi-Fi may say it has no internet.
- Log-in and log-out with a portal fail.
Blocking means a firewall rule that refuses its connections. Don’t quit or disable a macOS process to save data: macOS starts it again, and other features depend on it.
Reduce its use
If a portal page does not open, follow Wi-Fi login page does not appear on a Mac.
Forget and rejoin the network in System Settings › Wi-Fi.
On a hotspot or a capped plan, turn on Low Data Mode. Choose Apple menu › System Settings › Wi-Fi. Click Details next to the network, then turn on Low Data Mode.
Do not quit
captiveagentin Activity Monitor. macOS starts it again.
See how much it uses
Open Activity Monitor from Applications › Utilities. Click Network.
Type
captiveagentin the search field. The Sent Bytes and Rcvd Bytes columns show what it moved since it started.In Terminal, watch only this process. Press d to show the change per second, and q to quit.
nettop -p 'captiveagent' -P
With Kilobat
In the Kilobat app list, search for
captiveagent. Its row shows the live rate and what it moved today.In Connections, click the ⓘ button on one of its rows. The popover shows this page’s short answer, without going online.
In Terminal, ask the same question. Add
--jsonfor scripts and agents.kilobat explain 'captiveagent'Show its traffic over one day.
kilobat bandwidth 'captiveagent' dayThrough MCP, an AI agent asks
explain_connectionwith the process name. It gets the same facts.
The live view and the explanations are free. History in the app needs Kilobat Pro. Blocking needs Pro and the network filter: see the network filter, Protection and the hotspot data saver.
Hosts it contacts
Apple and the maker document these hosts for this feature. A process can also contact others; Kilobat’s Connections tab shows what it actually opens on your Mac.
What isn’t documented
Apple does not say which host captiveagent contacts on a given network.
Apple does not say how often it rechecks.
Apple does not say whether it handles every kind of portal.
Questions
Why does captiveagent make HTTP requests?
Its man page says it checks whether the network has a captive web portal.
Is captive.apple.com safe?
Apple lists it in its host list for Device setup.
Is captiveagent a virus?
No. It is signed by Apple and has a man page.
Sources
- captiveagent(8), man page installed with macOS 27.2
- launchd property list com.apple.captiveagent, macOS 27.2
- Apple Support: Use Apple products on enterprise networks
Checked on 7 November 2026.