What is nsurlsessiond on Mac? Background downloads
Safe to quit? SometimesMade by Applensurlsessiond
nsurlsessiond downloads and uploads files in the background for apps. Why it uses a lot of network or CPU, and how to find which app is behind it.
nsurlsessiond is the macOS service that downloads and uploads files in the background on behalf of apps. It is made by Apple, it is not a virus, and when it uses a lot of network it is moving data for an app, such as an update, a podcast or a photo upload.
Activity Monitor shows the traffic under nsurlsessiond, not under the app that asked for it. That is why it can look mysterious.
What nsurlsessiond does
Apps use Apple's URLSession system to transfer data. A transfer can be marked as background, which means the system carries on even if the app quits or the Mac sleeps and wakes. Apple's developer guide on downloading files in the background explains how apps hand those transfers to the system.
nsurlsessiond is the system part. Its manual page describes it as a per-user daemon that performs tasks for background-configured NSURLSessions, with no settings and nothing for users to run by hand.
On the Mac we checked, four copies were running: one under the user's account and three under the _nsurlsessiond system account, which handles transfers for system services.
Is nsurlsessiond a virus?
No. The real one is:
/usr/libexec/nsurlsessiond
To list every copy with its account and path, use Terminal. This only reads:
ps -Ao user,pid,comm | grep nsurlsessiond
Then check the signature:
codesign -dvv /usr/libexec/nsurlsessiond 2>&1 | grep -E "Identifier|Authority"
A genuine copy shows:
Identifier=com.apple.nsurlsessiond
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
/usr is protected by System Integrity Protection. An nsurlsessiond running from anywhere else is not Apple's; the guide to checking a Mac for malware explains what to do.
Why nsurlsessiond uses high network or CPU
The work belongs to whichever app started the transfer. Typical examples:
- Large downloads by apps, such as an update an app fetches for itself.
- Media saved for offline use, in apps that download episodes or videos in the background.
- Uploads from apps that sync photos, files or backups while you do other things.
- Retries, when a transfer fails and the app asks for it again.
CPU use is usually modest. Network use can be high for as long as the transfer lasts, and some disk activity follows as files are saved.
What is normal
Short bursts are normal and frequent. Long periods of heavy network use are normal while something large downloads. Constant traffic for days with nothing obvious in progress suggests an app retrying a failed transfer.
How to find the app and calm nsurlsessiond down
- Wait for the transfer. If you have just started an update or a big download, let it finish.
- Check the usual suspects. Look for downloads in progress in media apps and in apps that update themselves, and check sync apps' menu bar icons for uploads.
- Look at Activity Monitor's Network tab at the same time. The app that started the transfer is often doing a little network work of its own, which gives it away.
- Pause or cancel in the app. Stopping the transfer where it started is cleaner than quitting nsurlsessiond.
- Restart if a transfer seems stuck and keeps retrying.
- Use Low Data Mode on metered networks. In System Settings > Wi-Fi, click Details next to your network and turn on Low Data Mode. Apple's Wi-Fi settings guide says it helps reduce data use on that network.
What not to do
- Do not block nsurlsessiond in a firewall app. Software updates and many app downloads would fail.
- Do not delete it or its files in /System or /usr. SIP protects them for good reason.
- Do not keep force quitting it. Transfers stop, then start again later, often from the beginning.
How to see nsurlsessiond in Activity Monitor
- Open Activity Monitor from Applications > Utilities.
- Choose View > All Processes.
- Type nsurlsessiond in the search field.
- Open the Network tab and sort by Rcvd Bytes or Sent Bytes.
- Add the User column with View > Columns > User to see which copy is yours.
Related background services include cloudd, which syncs app data with iCloud, and softwareupdated, which handles macOS updates.
How Headroom helps
nsurlsessiond is part of macOS, so Headroom's Speed screen leaves it out. It lists the apps you installed with all their helpers added together, sorted by CPU or memory, so an app busy with a big background job is easy to spot and quit normally. You also see live CPU, memory pressure and whether the Mac is running cool, warm or hot. The Speed screen is free.
Download Headroom, read about the Mac performance monitor, or see the price.
Questions
What is nsurlsessiond?
It is the macOS background download service. Apple's manual page calls it a per-user daemon that performs tasks for background-configured NSURLSessions, which apps use to download or upload files even when they are not open.
Why is nsurlsessiond using so much network?
An app has handed it a big transfer, such as an app or system download, a podcast or video download, or a photo upload. The traffic is the app's, even though Activity Monitor shows it under nsurlsessiond.
Is nsurlsessiond a virus?
No. The real one is /usr/libexec/nsurlsessiond and is signed by Apple. Several copies running under different system accounts is normal.
Can I quit nsurlsessiond?
You can, and macOS starts it again, but the transfers it was handling stop and usually resume later. Pausing or cancelling the download in the app that started it is the better way.