Private Relay · macOS process
networkserviceproxy on Mac: what it is, why it is busy, and what to do
networkserviceproxy is the macOS process that runs iCloud Private Relay. Apple's manual page calls it a "transparent network proxy for Apple system services": when Private Relay is on, Safari traffic and some system traffic go through it so that websites see a relay address instead of yours. It is idle on Macs where Private Relay is off, and uses a few percent CPU while you browse when it is on. It is safe to leave. The quick test is System Settings, your name, iCloud, Private Relay: switch it off, and if the process goes quiet, that was the whole story.
- What it is
- Apple's transparent network proxy, at /usr/libexec/networkserviceproxy. It carries iCloud Private Relay traffic.
- Normal
- 0 percent with Private Relay off. 1 to 5 percent CPU while Safari loads pages with it on.
- Not normal
- Sustained 20 percent plus with no browsing, or a keychain prompt from it that returns every day.
- Safe to quit?
- No need. It restarts on its own and Private Relay reconnects. Turn Private Relay off instead to test.
- The one safe fix
- System Settings, iCloud, Private Relay off for a minute, then on. If a keychain prompt keeps returning, sign out of iCloud and back in.
On this page9 sections
What networkserviceproxy does
Apple introduced iCloud Private Relay with macOS 12 Monterey for iCloud+ subscribers. The idea is simple: instead of Safari connecting straight to a website, the connection goes through two relays, one run by Apple and one by a partner, so neither the website nor the relay can match your identity to what you are visiting. networkserviceproxy, at /usr/libexec/networkserviceproxy, is the daemon that makes that happen on the Mac.
The manual page describes it as a "transparent network proxy for Apple system services", and "transparent" is the key word. Safari and the system services that use it do not know they are being proxied. networkserviceproxy intercepts their connections, wraps them in the relay protocol and sends them on. It also manages the tokens Apple uses to prove you are an iCloud+ subscriber, which is why it occasionally asks the keychain for something called com.apple.NetworkServiceProxy.ProxyToken.
With Private Relay off, the process still exists but has nothing to carry. Some Apple services use it regardless of the setting for their own connections, which is why it does not disappear completely, but on a Mac with Private Relay off it should sit at zero for days at a time.
What normal looks like
The number depends almost entirely on whether Private Relay is on and how hard Safari is working:
Memory stays small in every row, typically a few tens of megabytes. If you see this process holding hundreds of megabytes, note it, toggle Private Relay, and check whether it drops. That would be unusual and worth a macOS update.
Why networkserviceproxy is using CPU right now
It is busy when traffic is passing through it or when its relay session is being set up again. The causes, roughly in the order they turn out to be the answer:
- You are browsing in Safari with Private Relay on. Every connection Safari makes is wrapped and sent through the relays. A page with dozens of trackers, ads and scripts means dozens of connections, each of which costs a little CPU here. This is the normal case and it falls as soon as the page finishes loading.
- Video or a big download in Safari. Streaming through the relay is sustained work. The process will sit at a few percent for as long as the video plays.
- The network changed. Waking the Mac, switching Wi-Fi networks or connecting a VPN makes networkserviceproxy tear down its relay session and build a new one. A burst for a few seconds, then quiet. If airportd is also busy, the Wi-Fi is the real cause.
- A VPN or filter is fighting with Private Relay. Private Relay and most VPNs cannot both route the same traffic. macOS usually turns the relay off while a VPN is connected, but some VPN clients and the relay can end up in a loop of handing traffic back and forth. The nehelper page covers the VPN side.
- A token or keychain problem. If the relay token cannot be read, the process asks the keychain, fails, and tries again. This is the "networkserviceproxy wants to use the login keychain" prompt that some people see daily. The Apple Community poster quoted below hit exactly this: a prompt that kept coming back after the password had been given.
- Private Relay is unavailable on this network. Some networks (work, school, some ISPs) block it. macOS shows a notice and retries, and the retries can show up as low-level activity until you turn the relay off for that network.
Is it safe to quit networkserviceproxy?
You can, but it fixes nothing. networkserviceproxy is a root daemon managed by launchd. Force quit it from Activity Monitor and macOS restarts it within a second; Private Relay reconnects, Safari pages that were mid-load may fail once and then work on reload. You are back to the same process with the same session a moment later.
The useful version of "quit" is turning Private Relay off. Click the Apple menu, System Settings, your name at the top, iCloud, then Private Relay, and switch it off. The process goes idle immediately because there is nothing left to carry. If your Mac was slow or your browsing was stalling and it clears up, you have your answer, and you can turn the relay back on and see whether the problem returns. That is the safe check this page is built around.
It is not malware. The genuine process lives only at /usr/libexec/networkserviceproxy, runs as root, and is documented in the macOS manual pages, which, as one MacRumors reply put it, almost always means an Apple process.
What to do, in order
- Check whether Private Relay is on
System Settings, click your name, iCloud, and look for Private Relay. If it is off and networkserviceproxy is still busy, skip to the restart step; the process should have nothing to do.
- Turn Private Relay off for a minute
Switch it off and watch Activity Monitor. The process should drop to zero within seconds. If Safari also feels faster, your network or ISP may be a poor fit for the relay; you can leave it off on this network only using the Wi-Fi network's own settings.
- Close the heavy Safari tab
If the process is busy only while a particular site is open, that site is the traffic source. Check Safari's Window menu for the tab with video or a live feed and close it. The which tab guide shows how to find it.
- Disconnect the VPN and compare
If you run a VPN, disconnect it, toggle Private Relay off and on, and reconnect. If the process was looping between the two, this clears it. Pick one of them to leave on for the day; running both gains nothing.
- Answer the keychain prompt once, properly
If you see "networkserviceproxy wants to use the login keychain", enter your Mac login password and click Always Allow. If the prompt returns daily, your login keychain password has drifted from your account password, usually after a password change. Sign out of iCloud and back in, which resets the relay token.
- Restart the Mac
A restart clears a stuck relay session. If networkserviceproxy climbs again within an hour with Safari closed, check System Settings, General, Software Update: Private Relay fixes ship in macOS point releases.
When to worry
Watch it against what Safari is doing. Busy while pages load is the design; busy while nothing is open is the problem:
- 09:00Wake the Mac, Private Relay reconnects. networkserviceproxy 8 percent for three seconds. Normal.
- 10:00Reading news in Safari. 1 to 3 percent as pages load, zero between. Normal.
- 12:00Streaming a video. Steady 6 percent for the length of the video. Normal while it plays.
- 15:00Safari closed, nothing downloading, process at 30 percent for ten minutes. Stuck session. Toggle Private Relay.
- 15:02Relay off: zero at once. Relay on: 5 percent for two seconds, then zero. Fixed.
Two signs together mean more than a toggle: the process is high with Safari closed after a restart, or the keychain prompt keeps coming back no matter how many times you allow it. The first wants a macOS update; the second wants an iCloud sign-out and sign-in. Neither is urgent and neither puts your data at risk, but both are worth ten minutes rather than living with a nag.
Look up another process
If something else in the networking family is busy at the same time, look it up here.
Common neighbours: nehelper when a VPN is installed, airportd when Wi-Fi keeps dropping, and com.apple.WebKit.Networking, Safari's own network process.
What people hit, in their words
“I noticed this process running on my macbook in activity monitor called networkserviceproxy.”
“If it is in the man pages it almost always an Apple process.”
“I guess my main questions are: what is it and why won't it stop asking everyday if I already gave the info?”
Questions people ask
What is networkserviceproxy on Mac?
It is the macOS daemon that runs iCloud Private Relay. Apple's manual page calls it a transparent network proxy for Apple system services: it takes Safari's connections and some system traffic and sends them through Apple's two-hop relay so websites see a relay address rather than yours. It lives at /usr/libexec/networkserviceproxy, runs as root, and is idle on Macs with Private Relay turned off.
What does transparent network proxy for Apple system services mean?
A proxy is something a connection passes through on the way to its destination. Transparent means the app on your Mac does not know it is there; Safari connects as usual and networkserviceproxy quietly wraps the connection in the Private Relay protocol. Apple system services means it is used by Safari and certain Apple components, not by every app on the Mac. Third-party browsers and apps are not routed through it.
Why does networkserviceproxy want to use the login keychain?
It stores the token that proves you are an iCloud+ subscriber in your login keychain, under the name com.apple.NetworkServiceProxy.ProxyToken. When it cannot read that token it asks for your login password. Enter your Mac password and choose Always Allow. If the prompt returns every day, the keychain password no longer matches your account password; signing out of iCloud and back in resets the token.
How do I turn off a proxy on my Mac?
For Private Relay, go to System Settings, click your name, choose iCloud, then Private Relay, and switch it off. For a manual proxy that a network or app configured, go to System Settings, Network, select your connection, click Details, then Proxies, and untick the entries there. Turning off Private Relay is the safe test for networkserviceproxy; it goes idle immediately.
Is networkserviceproxy a virus?
No. It is a built-in part of macOS, documented in the system manual pages, and installed on every Mac running macOS 12 or later. The genuine process runs as root from /usr/libexec/networkserviceproxy. The name looks like something a VPN or malware might use, which is why it gets searched so often, but the Activity Monitor entry is Apple's own.
Sources and further reading
- networkserviceproxy(8) manual page Apple's description: transparent network proxy for Apple system services
- About iCloud Private Relay, Apple Support how the two-hop relay works and which traffic it covers
- networkserviceproxy, MacRumors Forums the thread two of the quotes come from
- networkserviceproxy wants to use the login keychain, Apple Community the recurring keychain prompt
- Turn iCloud Private Relay on or off on Mac, Apple Support