macOS Error Code 2001: How to Fix the Login Keychain Locked Issue
Easy 10-30 minutes Medium Severity
Verified June 2026
- Error Code
- 2001
- Brand
- macOS
- Product Type
- operating_system
- Severity
- Medium
- DIY Difficulty
- Easy
- Estimated Fix Time
- 10-30 minutes
Ad
Tools You'll Need
- Mac with macOS
- Time Machine backup (optional)
How to Fix Error Code 2001
-
Try the keychain first aid utility (Keychain First Aid)
-
Reset the login keychain password to match your login password
This will update the keychain password; ensure you use your current login password. -
Delete and recreate the login keychain
This will delete all saved passwords and certificates in your login keychain. Back up any important data if possible. -
Restore the login keychain from backup
-
Update macOS to the latest version
Ensure you have a backup before updating.
Ad
When to Call a Professional
If you are unable to reset or delete the keychain due to permission errors, or if the issue persists after all steps, contact Apple Support or visit an Apple Store. This error typically does not require a professional, but complex cases might need advanced troubleshooting.Frequently Asked Questions
What causes macOS error code 2001?
Error 2001 is usually caused by a login keychain that is locked or out of sync with your macOS login password. This can happen after changing your login password, restoring from backup, or a system update.
Will I lose my saved passwords if I delete the login keychain?
Yes, deleting the login keychain removes all saved passwords, certificates, and secure notes stored in that keychain. You will need to re-enter passwords for websites, Wi-Fi networks, and apps.
How do I unlock my keychain manually?
Open Keychain Access, select 'login' in the left sidebar, click the padlock icon to lock or unlock the keychain. You'll be prompted for the keychain password. If you don't know it, use the steps above to reset it.
Can I prevent this error from happening again?
To prevent future keychain issues, keep your macOS updated, regularly back up your Keychain folder (located in ~/Library/Keychains/), and avoid changing your login password without updating the keychain password.
What if I forgot my keychain password?
If you forgot the keychain password, you can reset it using Keychain First Aid or by deleting and recreating the keychain. Be aware that resetting via deletion will erase all stored secrets.