Glossary/Processes you will see
syspolicyd
Quick answer
syspolicyd is the macOS system policy process. It decides whether software is allowed to be installed, loaded or run, and other parts of the system ask it for that verdict, for example when you open an app.
syspolicyd is part of how macOS checks apps before they run, including the Gatekeeper checks you see when opening an app downloaded from the internet. It keeps the database that holds the system's policy.
Short bursts of activity when you open apps, install software, or unpack downloads are normal.
Why syspolicyd is using CPU
It is checking code. Opening a large app for the first time, installing software, or unpacking archives full of executable files gives it more to check. Developers may see more activity when building and running many new binaries.
What to do about it
Usually nothing. Let the install or first launch finish and the activity should stop. Do not try to disable it or the security checks it performs. If it stays busy for a long time with nothing happening, restart the Mac.
When syspolicyd is busy
The Apple features syspolicyd supports check an app's signature and, for downloaded software, whether it is notarized. That means its activity follows code arriving on your Mac.
Files you download get a quarantine flag that tells macOS to check them the first time they are opened. Once an app has been checked and allowed, later launches do not need the same first time review, which is why the activity is concentrated around new software.
- Opening an app downloaded from the internet for the first time.
- Installing or updating apps, including large ones with many bundled components.
- Unpacking archives or disk images that contain apps or command line tools.
- Developer work that produces and runs many new executables, such as builds and package installs.
How to check Gatekeeper from Terminal
Two read-only commands show what the system policy thinks, without changing anything. They are useful when you want to know whether an app is signed and notarized before you open it.
- Run
spctl --status. It printsassessments enabledwhen Gatekeeper checks are on, which is the normal state. - Run
spctl --assess -vv /Applications/AppName.appwith the path to an app. The output says whether the app isaccepted, and asource=line such asNotarized Developer IDorApple Systemthat tells you why. - To see whether a downloaded file still carries the quarantine flag, run
xattr -l ~/Downloads/FileName. Acom.apple.quarantineentry means macOS will check it when it is first opened.
What not to do
Do not turn off Gatekeeper, disable System Integrity Protection, or quit syspolicyd to save CPU. Those changes remove checks that stop untrusted software from running, and syspolicyd would not stay stopped anyway.
Do not strip the quarantine flag from downloads with xattr to skip the first launch check either. That flag is what makes macOS look at software from the internet before it runs, and removing it bypasses that check without making the Mac any faster in daily use.
If macOS blocks an app you trust, open it the supported way: after trying to open it, go to Apple menu > System Settings > Privacy & Security, scroll down, and click Open Anyway. The app is saved as an exception and opens normally from then on.
Normal syspolicyd use vs a problem
Normal: short bursts of CPU when you open, install or unpack software, which end once the work is done. Developers see more of it, because every new build of a tool or app is new code that may need checking.
Worth looking into: syspolicyd stays busy for a long time while you are not installing or opening anything. Check whether something is installing in the background, such as an app updater, and let it finish. If the activity continues with nothing going on, restart the Mac.
Questions people ask
What is syspolicyd on Mac?
It is the System Policy daemon. It decides whether software may be installed or run, and supports the checks macOS does before opening apps.
Is syspolicyd malware?
No. It is part of macOS security.
Should I disable syspolicyd?
No. It enforces the checks that protect your Mac from untrusted software. Let current activity finish, or restart if it seems stuck.
Why is syspolicyd using CPU after a macOS update?
An update is often followed by app updates and first launches of apps, and each of those can involve a policy check. The activity should settle once that work is done.
Is syspolicyd the same as Gatekeeper?
Gatekeeper is the feature you see, and syspolicyd is the system process that holds the policy behind it. Other parts of macOS ask syspolicyd whether software may run.
How do I open an app that macOS blocked?
Try to open it once, then go to System Settings > Privacy & Security and click Open Anyway. Only do this for software from a source you trust.
Related
Looking for something better than Activity Monitor? See the best Activity Monitor alternatives for Mac, or browse every term in the glossary.