Rehber · Güncellenme: 4 Kasım 2026
“accountsd wants to use the login keychain”: what it means and how to stop it
A window asks for your keychain password on behalf of accountsd, and comes back however often you cancel it. Here is what accountsd is, why it asks, and how to make the prompt go away for good.
macOS 26 Tahoe veya sonrası · Kredi kartı gerekmez · Her şey Mac'inizde çalışır
The short answer: accountsd is part of macOS, not malware. It asks because your login keychain is locked with a different password from the one you use to log in, usually after you changed your Mac password. Type your previous Mac password into the prompt. If that works, bring the two back in step with Keychain Access › Edit › Change Password for Keychain “login”. If you don't know the old password, you can start a new login keychain.
What accountsd is
accountsd is the macOS background process that manages the accounts in System Settings › Internet Accounts and your Apple Account: mail, calendar and contacts accounts from iCloud, Google, Microsoft and others. It lives inside macOS's own Accounts framework and starts by itself. To sign those accounts in, it needs their passwords and tokens, which macOS keeps in your login keychain.
Why it keeps asking for the keychain password
Your login keychain is locked with a password, normally the same one you log in to your Mac with, and macOS unlocks it for you at login. The prompt appears when the two no longer match, so the keychain stays locked:
- You changed your Mac password, and the keychain kept the old one. This happens most often when the password was reset rather than changed, for example from Recovery, with an Apple Account, or by an administrator.
- You moved to a new Mac with Migration Assistant or restored from a backup, and the keychain came across with another password.
- Your Mac is managed by a workplace whose directory changed your password.
Cancelling doesn't help, because accountsd tries again the next time an account syncs. Other apps, such as Mail, Safari or a Wi-Fi menu, may ask for the same keychain for the same reason.
Fix 1: enter your previous password
Type the password you used before the last change into the prompt and click OK. If it is accepted, the prompt goes away for now. Then make the keychain use your current password, so it unlocks by itself at login:
- Open Keychain Access with Spotlight (⌘ Space, then type “Keychain Access”). Since macOS 15 Sequoia it is no longer in the Utilities folder, but Spotlight still finds it.
- Select login under Default Keychains in the sidebar.
- Choose Edit › Change Password for Keychain “login”. Enter the old password as the current one, and your Mac login password as the new one.
- Restart. The prompt shouldn't come back.
Fix 2: start a new login keychain
If you don't remember the old password, the keychain can't be unlocked, and the way out is a new, empty one. Passwords that sync through iCloud Keychain come back from iCloud; passwords saved only on this Mac, such as some app sign-ins and Wi-Fi networks, are lost, and those apps ask you to sign in again.
- In the Finder, choose Go › Go to Folder and enter
~/Library/Keychains. - Rename
login.keychain-dbto something likelogin-old.keychain-db. Leave the other files and folders alone. - Restart your Mac. macOS creates a new login keychain with your current password when you log in.
- Sign in to your accounts again when apps ask. Keep the old file for a while: if you remember its password later, you can add it in Keychain Access with File › Add Keychain and copy items out of it.
Is the accountsd prompt a scam?
The real prompt is a macOS window, not a web page, and it asks for the keychain password, not your Apple Account password or a card number. A browser window or pop-up that copies it is phishing: close the tab, and see the “Apple Security Alert” scam. If you are unsure, cancel the prompt and open Keychain Access yourself as above; that is always safe. If prompts appear from processes you don't recognise, see has my Mac been hacked?
Check your Mac's accounts and permissions with Tidy My Mac
- Privacy Access shows which apps you allowed to use your camera, microphone, screen, files and contacts, so an app asking for more than it should stands out.
- Sudo Activity lists when administrator rights were used in Terminal, by whom and for what.
- Security Settings checks FileVault, the firewall and the other protections that keep your keychain safe if the Mac is lost.
The accountsd keychain prompt hakkında sorular
A macOS background process that signs in the accounts listed in Internet Accounts, such as iCloud, Google and Microsoft. It is part of macOS and safe; it asks for your keychain only to read those accounts' passwords.
Normally the same as your Mac login password. If you changed or reset your Mac password, the keychain may still use the old one; try that.
You can, but the prompt comes back, and your mail, calendar and contacts accounts may stop syncing until the keychain is unlocked.
Passwords in iCloud Keychain come back from iCloud. Passwords saved only in the old login keychain stay in the renamed file, unreachable unless you remember its password.
Tidy My Mac ile yapın
Privacy Access
Kameranıza, mikrofonunuza, ekranınıza ve dosyalarınıza hangi uygulamalara izin verdiğiniz.
Daha fazla bilgi →Sudo Activity
Son 30 günde sudo ile çalıştırılan komutlar.
Daha fazla bilgi →Security Settings
SIP, Gatekeeper, FileVault ve daha fazlası, 100 üzerinden puanlanır.
Daha fazla bilgi →Tüm bölümleri 7 gün ücretsiz deneyin.
Yalnızca e-posta adresiniz, kredi kartı yok. Ardından ilk yıl için $19.99, sonrasında yılda $59.99.
Ücretsiz denemenizi başlatın