Ranger Try it free

What is apsd on a Mac, and why is it always connected?

In short: apsd is the part of macOS that receives push notifications from Apple's servers, for Apple's own services and for every app that uses them. It keeps one long-lived connection open to Apple so that messages, calls and notifications arrive the moment they are sent. It's normal for it to be always connected, and blocking it would cut off notifications and anything that waits for them.

Apple's description: apsd is the "ApplePushService daemon for Apple Push Notification service" (man apsd).

What push notifications are

When someone sends you an iMessage, or an app has news for you, the server doesn't knock on your Mac's door. Instead, your Mac keeps one connection open to Apple's push service, and messages for any app come down that single line. That's the Apple Push Notification service, APNs for short, and apsd is the program on your Mac that holds the line open.

It is more than banners on the screen. iMessage itself relies on APNs to deliver messages (Apple Platform Security), and many apps use pushes to learn that something changed and they should fetch it.

Why it never seems to disconnect

Holding one connection open is the point: one line shared by every app, instead of each app checking its own server again and again. So apsd shows up as constantly connected, to addresses ending in push.apple.com. Apple lists *.push.apple.com, on ports 5223, 443, 80 and 2197, among the addresses Apple devices need for push notifications (Apple).

The amount of data is usually small. A long connection with little traffic is what a healthy apsd looks like.

Is it safe?

The genuine apsd is Apple's and lives inside /System/Library/PrivateFrameworks/ApplePushService.framework, which is protected by System Integrity Protection (Apple). To check where the running copy lives, type this in Terminal:

ps -ax -o comm | grep apsd

Should you block it?

No. With apsd cut off, notifications stop arriving, iMessages may arrive late or not at all, and apps that wait for a push to sync go quiet. If one app's notifications bother you, turn them off for that app in System Settings › Notifications; that leaves everything else working.

How Ranger handles it

Ranger never blocks apsd. Push notifications are one of a handful of macOS services that other apps depend on, along with the name resolver, certificate checks, Gatekeeper and time sync, so Ranger leaves them alone even in its Block Everything mode. apsd still appears in Traffic, with every address it contacted.

For the other programs you may find in that list, see our guides to trustd, nsurlsessiond and mDNSResponder.