What is captiveagent on my Mac?
Last reviewed: 19 November 2026. Path, account, launchd job and man page checked on macOS 26.3.1.
captiveagent is the macOS daemon that checks whether the network you just joined has a captive portal: a web page where you must log in or accept terms before you get internet access, common in hotels, airports and cafes. It sends small HTTP requests to find out and may handle the portal's login and logout. Its traffic is tiny and brief, and it is safe.
captiveagent at a glance
| captiveagent | |
|---|---|
| Made by | Apple (part of macOS) |
| Type | System daemon |
| Location | /usr/libexec/captiveagent |
| Runs as | _captiveagent (a system account) |
| Started by | launchd job com.apple.captiveagent |
| Can you quit it? | Not usefully. launchd starts it again when a network needs checking. |
What is captiveagent?
According to its man page, captiveagent issues HTTP requests to determine whether the network contains a captive web portal, and may also perform HTTPS transactions to log in to and log out from the portal. When a portal is found, macOS shows the login page so you can sign in.
It runs as its own system account, _captiveagent, not as root or as you. launchd starts it on demand through the com.apple.captiveagent job, and the job allows it to exit when the system is short of memory.
Is captiveagent safe?
Yes. captiveagent is in /usr/libexec on the read-only system volume and is signed by Apple. Its requests only check whether the network reaches the internet freely. It runs with a limited account rather than root.
Why does captiveagent use so much network and CPU?
- You joined a network. Each time the Mac joins a Wi-Fi or wired network, captiveagent checks it for a portal. That is a few small requests.
- Logging in to a portal. When a portal is found, the login exchange with it adds a few more requests, over HTTPS where the portal supports it.
- A network that keeps dropping. If the Mac keeps disconnecting and reconnecting, every reconnection starts a new check, so captiveagent appears repeatedly.
How much network is normal for captiveagent?
captiveagent typically uses a few kilobytes and close to 0% CPU, and only right after the Mac joins a network. It is usually not visible at all on a home network.
Repeated appearances point to a connection that keeps dropping, not to a problem with captiveagent itself.
What do you do when a captive Wi-Fi page does not appear?
- Rejoin the network. Turn Wi-Fi off and on from Control Center, or choose the network again in System Settings > Wi-Fi. That starts a new portal check.
- Open a plain web page. Open Safari and visit a site that uses plain
http://. Many portals redirect such a request to their login page. - Turn off a VPN or proxy while you log in. A VPN or proxy can stop the portal check from reaching the network's login page. Turn it off, log in, then turn it back on.
- Forget and rejoin a network that keeps dropping. If captiveagent keeps reappearing because the Mac reconnects, choose the network's Details in Wi-Fi settings, click Forget This Network, and join it again.
When should you worry about captiveagent?
There is little to worry about. captiveagent with steady traffic for a long time is not expected; restart the Mac and check whether a VPN or network filter is interfering with the connection.
A process with this name outside /usr/libexec would not be Apple's.
How do you check captiveagent in Activity Monitor and Terminal?
Open Activity Monitor (Applications > Utilities), choose View > All Processes, and type captiveagent in the search field. The Network tab shows its Sent Bytes and Rcvd Bytes. The CPU tab shows its % CPU. Double-click the row for its parent process, memory details and open files.
In Terminal, the first command lists every captiveagent process with its PID, user, CPU and memory (RSS is resident memory in kilobytes). nettop shows its live network traffic.
ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'captiveagent' | grep -v grep
nettop -p captiveagent
How can Thrum help with captiveagent?
Thrum's Network tab shows upload and download speed for each process, including captiveagent, and an optional second menu bar item shows the Mac's total upload and download speed. macOS does not let apps quit processes owned by root or other users, so Thrum shows them for information and leaves stopping them to the steps above.
Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.
Questions about captiveagent
What is a captive portal?
A web page that a public network shows before it gives you internet access, where you log in, pay or accept terms. Hotels, airports and cafes often use one.
Does captiveagent send my data anywhere?
Its job is to send requests that test whether the network reaches the internet freely and, where needed, to handle the portal login. It does not upload your files.
Sources
- captiveagent(8) man page: run man captiveagent in Terminal
- launchd job /System/Library/LaunchDaemons/com.apple.captiveagent.plist on macOS 26.3.1