Security · macOS process
securityd on Mac: what it is, why it uses CPU, and what to do
securityd is the daemon that keeps your passwords, keys and certificates safe: every keychain lookup and every certificate check passes through it. Normal is 0 to 1 percent CPU and a small memory footprint, with brief activity when you log in, unlock a password in Safari, or open Mail. When it runs hot for hours, an app is hammering the keychain, most often Mail or a browser retrying an account whose password changed, or a login keychain that no longer matches your account password. Never quit it. Fix the keychain prompt or the account, and it goes quiet.
- What it is
- The keychain and security services daemon. Its siblings securityd_service and trustd handle secure enclave work and certificate trust.
- Normal
- 0 to 1 percent CPU, a few tens of MB of memory, short bursts at login and when apps fetch a saved password.
- Not normal
- Sustained 30 to 100 percent CPU, often alongside repeated "keychain password" or account password dialogs.
- Safe to quit?
- No. It is root-owned, relaunches instantly, and apps lose access to saved passwords while it is down.
- The one safe fix
- Answer or fix the prompt: update the login keychain password in Keychain Access, or correct the account password in the app that keeps asking.
On this page9 sections
What securityd does
Your Mac keeps Wi-Fi passwords, website logins, app tokens, encryption keys and certificates in keychains. securityd is the daemon that owns them. When Safari autofills a password, when Mail connects to your account, when an app checks a certificate before it trusts a server, the request goes to securityd, which checks that the asking app is allowed and hands back the secret. It also drives the dialogs that say an app "wants to use your confidential information stored in your keychain".
You may see relatives in Activity Monitor. securityd_service talks to the Secure Enclave on Macs with a T2 chip or Apple silicon. trustd evaluates certificate chains and has its own page. All three are root-owned Apple daemons and all three are supposed to be there.
In everyday use the work is light: a lookup takes milliseconds and happens a few times a minute. Login is the busy moment, when every app that stores credentials asks for them at once.
What normal looks like
Search for securityd in the CPU tab. Normal is a row at 0.0 percent that blips when you unlock something, with memory in the tens of megabytes.
The tell for the last state is a dialog that keeps coming back: "Mail wants to use the login keychain", or an account password request that reappears a minute after you cancel it. Each reappearance is another round of securityd work.
Why securityd is using CPU right now
- Your login keychain password no longer matches your account password. This happens when the account password is changed from somewhere other than the Login Password pane, for example by an administrator or a directory server. Apps then ask for the keychain password over and over, and each failed attempt is work for the daemon.
- An app has a stale account password. Mail, Calendar or Messages keeps retrying an account whose password you changed on the website. Every retry goes through the keychain.
- Browser or app sync with many credentials. A browser importing or syncing thousands of saved passwords, or a password manager rebuilding its store, hits the keychain hard for a while. This settles.
- iCloud Keychain catching up. After signing in to iCloud on a new Mac or an update, iCloud Keychain merges items. Minutes, not hours.
- A certificate storm. Software that opens thousands of secure connections, such as a scanner, crawler or misbehaving VPN client, generates a trust evaluation for each.
trustdusually shows alongside. - After a macOS update. Keychains and certificate stores get migrated once; a few minutes of activity is expected.
Is it safe to quit securityd?
No. It is a root-owned system daemon. Activity Monitor cannot quit it cleanly, it relaunches at once, and in the moment it is down apps cannot read saved passwords, so you get a burst of fresh dialogs and nothing fixed. Terminal commands to unload it, which some threads suggest, are the same mistake with more risk.
The fixable thing is the keychain mismatch or the app that keeps retrying. Both are handled from Keychain Access and System Settings, and both are reversible.
What to do, in order
- Read the dialog that keeps appearing
If it names an app and an account (Mail, Google, Exchange), the account password is stale. If it names the "login" keychain, the keychain password no longer matches your login.
- Fix a stale account password
Open the app's account settings (Mail, Settings, Accounts, or System Settings, Internet Accounts) and enter the current password. The retries stop immediately.
- Update the login keychain password
Open Keychain Access (Applications, Utilities). Select login in the sidebar, then Edit, Change Password for Keychain "login". Enter the old account password as the current one and your new account password as the new one. securityd goes quiet once the two match.
- Let syncs finish
If you just signed in to iCloud, imported passwords into a browser, or updated macOS, give it 15 minutes. Keychain merges and migrations are one-off work.
- Quit the app that is storming
If trustd is high alongside securityd, sort by CPU and quit scanners, crawlers or VPN clients one at a time until both drop.
- Reset the login keychain only as a last resort
In Keychain Access choose Keychain Access, Settings, Reset My Default Keychains. This creates a fresh login keychain and keeps the old one aside. Saved passwords not in iCloud Keychain will need re-entering, so try the Change Password route first.
- Restart and update
Restart to clear any stuck state, then install pending macOS updates. If the daemon stays hot with every app closed after that, contact Apple Support.
When to worry
Do not worry about the row existing or about bursts at login. Worry, mildly, when the pattern below starts.
- Day 0You change your account password (or IT does). Later a dialog asks for the login keychain password. Cancel it.
- Day 0, an hour laterThe dialog is back every few minutes. securityd and the fans are up. Classic keychain mismatch.
- Day 0, plus 5 minutesKeychain Access, Change Password for Keychain login, old password then new. Dialogs stop, CPU drops.
- Only if that failsReset My Default Keychains, then re-enter the passwords you need. Restart.
The one thing securityd high CPU is not is a sign of compromise. Malware does not usually run inside Apple's keychain daemon; it tries to read the keychain and gets a permission dialog you can refuse. A process tracker like Safe to Quit shows the daemon rising in step with each dialog, which turns a vague "my Mac is hot" into a clear "Mail is retrying an account".
Look up another process
securityd often appears next to trustd, accountsd and the app doing the asking. Type any name to check it.
What people hit, in their words
“what is the process securityd_service running on my MacBook air?”
Questions people ask
What is securityd on Mac?
securityd is the macOS daemon that manages keychains and security services. Every saved password, key and certificate lookup goes through it, and it produces the dialogs asking whether an app may use an item in your keychain. It runs as root on every Mac, alongside securityd_service, which talks to the Secure Enclave, and trustd, which evaluates certificates. It is quiet except at login and when apps fetch credentials.
Why is securityd using high CPU?
Because something is hitting the keychain repeatedly. The most common cause is a login keychain whose password no longer matches your account password after a password change, which makes apps retry and prompt endlessly. Next most common is Mail or another app retrying an account with an old password. Both fixes take minutes: update the keychain password in Keychain Access, or correct the account password in the app.
Can I quit securityd?
No. It is a root-owned system daemon that relaunches at once, and while it is down apps cannot read saved passwords, so you get more dialogs rather than fewer. Terminal commands to unload it carry the same problem with more risk. Fix the cause instead: the keychain mismatch, the stale account password, or the app opening thousands of secure connections.
Why does my Mac keep asking for my keychain password?
Because the login keychain's password is different from your user account password, which happens when the account password was changed outside the Login Password settings, often by an administrator. Open Keychain Access, select login, choose Edit, Change Password for Keychain "login", enter the previous account password, then the current one. If you do not know the previous password, Reset My Default Keychains in Keychain Access settings creates a fresh keychain.
Is securityd a virus?
No. It is part of macOS, lives on the sealed system volume, and runs as root on every Mac. Malware does not usually impersonate it; the typical attack tries to read your keychain and triggers a dialog you can deny. If a process with a similar name is running from your user folder rather than the system, that is worth a look, but the real securityd at high CPU means a keychain or account problem, not an infection.
Sources and further reading
- If your Mac keeps asking for your keychain password Apple. The supported fix for the login keychain mismatch described on this page.
- Keychain Access User Guide for Mac Apple. What keychains are, changing a keychain password, and resetting default keychains.
- Apple Platform Security Guide Apple. Keychain data protection and the role of the Secure Enclave that securityd_service talks to.
- what is the process securityd_service running on my MacBook air? Apple Community, Oct 2019. A typical question about the daemon's Secure Enclave sibling; the one quote on this page.
- Activity Monitor User Guide Apple. Finding a process and sorting by CPU.