SiftMac
Is it safe to delete? · macOS files · Updated 21 November 2026

Is it safe to delete ~/Library/Keychains?

By Mohit Nippanikar, who makes SiftMac

The short answer
On this page
  1. What it is
  2. Where it is
  3. How big it gets
  4. What to do instead
  5. If it was deleted anyway
  6. Questions

1. What it is

A keychain is an encrypted database of secrets that macOS and your apps fill in so you don’t have to type them again: passwords for websites and apps, passkeys, secure notes, certificates and the private keys that go with them. The Passwords app shows your passwords, passkeys and verification codes; Keychain Access shows everything, certificates and keys included.

The folder holds two kinds of keychain:

You may see a few more small files next to them, such as metadata.keychain-db. All of it belongs to macOS’s keychain service.

2. Where it is

~/Library/Keychains

Apple’s Keychain Access guide says keychains are usually in the Keychains folder inside the Library folder in your home folder. To see what’s in them without touching the files, open Keychain Access (search for it with Spotlight) or the Passwords app.

3. How big it gets

Small. Keychains hold short pieces of text and a few certificates, so the folder is measured in megabytes, not gigabytes. Check yours:

du -sh ~/Library/Keychains

Deleting it would barely change your free space. If the disk is full, the System Data guide and Mac storage full show where the space really goes.

4. What to do instead

There’s no safe way to delete the folder. What people usually want is one of these, and each has its own tool:

Don’t delete login.keychain-db or the long-ID folder in Finder to start fresh. You lose every item in them, and macOS has no way to know that’s what you meant.

5. If it was deleted anyway

Questions

Can I delete all keychains on my Mac?

No. They’re where macOS keeps your passwords, passkeys, certificates and keys. If you want a clean start because of password prompts, Apple’s Reset Default Keychains replaces them properly; if you want fewer saved passwords, delete them in the Passwords app.

Why does my Mac keep asking for the login keychain password?

Because the login keychain still has your old login password. Apple’s fix is to update the keychain password to match. Only if you don’t know the old one should you reset the default keychain, which deletes the passwords saved in it.

Can I restore a keychain copied from another Mac?

Not reliably any more. Since macOS 26.4, a login keychain also depends on a key file kept in a protected system folder of the Mac it came from, so a copy moved to a different Mac can’t be unlocked unless that file comes too, as it does with Migration Assistant. On the same Mac, Apple’s File › Add Keychain route still applies.

Does deleting keychains speed up a Mac or free space?

Neither. The folder is tiny, and losing it means more password prompts, not less work for your Mac.

How SiftMac handles it. SiftMac never offers keychains for cleaning. None of its categories look in ~/Library/Keychains, and its space map treats your Library as macOS’s and your apps’ to manage.

Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works