One of the areas where macOS excels is security. Whether it’s using Touch ID or an Apple Watch to log in, using Safari to create and store secure passwords, or storing secure notes or credit card details, Mac’s encryption is robust and will protect your data. At the heart of that data security are keychains. macOS creates keychains to store data for users, enabling them to be locked and then unlocked using the user’s password or Touch ID. Most of the time, the whole system works very well. However, occasionally, you may run into problems with keychains. One of the most common issues is the ‘Keychain not found’ error message. In this article, we’ll show you how to fix that.

What does ‘Keychain not found’ mean?

If you see ‘Keychain not found,’ it means that macOS is looking for the keychain that stores the data you need to do whatever you’re trying to do on your Mac. That’s usually the login or iCloud keychain, but it could also be another keychain, such as System or one you yourself have created manually.

To see all the keychains on your Mac, go to Applications > Utilities and open Keychain Access. In the sidebar, you’ll see a list of keychains. If you use iCloud to sync passwords and other secure data, you will have two default keychains: Login and iCloud.

The other possibility, if you see the error message, is that macOS can see the keychain but can’t open it because of incorrectly set permissions.

How to fix ‘Keychain not found’

1. Restart your Mac

The first thing to do is to restart your Mac, then try to do what you were trying to do when you got the error. Head over to the main Apple menu and choose Restart.

2. Reset keychain

If you get the error again, try resetting the keychain. To reset a keychain, you should first make sure iCloud keychain is enabled so that your keychain data is backed up and you don’t lose it when you reset.

  1. Click the Apple menu and choose System Settings.
  2. Select your name at the top of the window, then choose iCloud.
  3. Click Passwords & Keychain.
  4. Make sure the switch is toggled to the on position. If it’s not, turn it on.

  5. Wait for 30 minutes or so if iCloud keychain wasn’t already turned on so that it can sync the keychain.
  6. After 30 minutes, or if iCloud keychain was already switched on, go back to System Settings > iCloud > Passwords & Keychain and turn it off.
  7. Go to Applications > Utilities and open Keychain Access.
  8. Click Keychain Access in the menu bar and choose Settings.
  9. In the window that opens, click Reset Default Keychains.

  10. Go back to Settings > iCloud > Passwords & Keychain and toggle the switch to on.
  11. Wait for the new keychain to sync and then try doing what you were doing when you first got the error message.

3. Check permissions

If resetting the default keychains doesn’t work, the next step is to check that permissions are set correctly.

  1. Click the Finder icon in the Dock.
  2. Choose the Go menu, then Go to folder.
  3. Paste the following path in the text box: ~/Library/Keychains

  4. Select the file named: login.keychain-db
  5. With the file selected, press Cmd-I to display the Get Info window.
  6. Scroll to the bottom of the window, where it says ‘Sharing & Permissions.’
  7. Click the dropdown arrow to view the permissions settings.
  8. Opposite your username, it should say ‘Read & Write.’ If it doesn’t, click on the menu under ‘Privilege’ and choose ‘Read & Write.’
  9. Close the Get Info window and try to do what you were doing when you got the error message.

4. Maintain your Mac


Repairing permissions is just one of several things you can do to keep your Mac running smoothly. Others include running macOS maintenance scripts, freeing up RAM, and reindexing Spotlight. In addition, clearing purgeable disk space, refreshing DNS cache, and thinning out Time Machine snapshots should improve your Mac’s performance. It can help prevent numerous issues, and ‘Keychain not working’ Mac error is just one of them.

Doing all of those tasks manually is time-consuming and difficult — running macOS maintenance scripts needs to be done in Terminal, for example. However, there is a much easier way. CleanMyMac X’s Maintenance module can run all of those tasks with just a few clicks. You can download CleanMyMac X for free here. Once you’ve done that, follow the steps below:

  1. Open CleanMyMac X and choose Maintenance in the sidebar.
  2. Select the tasks you want to run.
  3. Click Run.
Repair disk permissions in Maintenance module CleanMyMac

5. Delete a keychain

There are restrictions on the keychains you can delete in Keychain Access. For example, you can’t delete default or System keychains, which is why the solution above is to reset them. However, you can delete keychains you created yourself, and if it’s one of those that is causing the issue, deleting it may fix it. Before you delete it, if it has data you need, you may want to make a copy of it. The best way to do that is to make a Time Machine backup of your Mac so that you can restore the data you need later. Once you’ve done that, follow the steps below:

  1. Open Keychain Access.
  2. Select the keychain you want to delete in the sidebar.
  3. Click the File menu and choose Delete Keychain. You can also right-click or Control-click the keychain and choose Delete Keychain.

The error message ‘Keychain not found’ is rare and, for many users, confusing. However, you should be able to fix it quite easily by either resetting a default keychain, deleting a keychain you’ve created, or repairing permissions for a keychain. Follow the steps above to do that, and you should get rid of the error message and be able to continue using your Mac without any issues.