Transfer Keychain to New Mac: Full Guide
In this article
Yes, you can transfer your Keychain (passwords, Wi-Fi credentials, and saved payment info) to a new Mac, and the easiest way is to let macOS do it automatically during Migration Assistant or by signing into iCloud Keychain. This article explains the main methods, how to check what actually transferred, and how to fix common issues like missing passwords.
What Is the Keychain and Why It Matters
The Keychain is macOS’s built-in password manager. It stores website logins, Wi-Fi passwords, app authentication tokens, secure notes, and even credit card info for AutoFill. Each item is encrypted, and the whole keychain is locked with your Mac’s login password. When you move to a new Mac, you want those items to come with you so you don’t have to re-enter every password.
There are two distinct types of keychains: the login keychain (your personal passwords) and system keychains (managed by macOS, not user-editable). This guide focuses on the login keychain, which is what you actually use daily.
Method 1: Migration Assistant (Local Transfer)
If you still have your old Mac, the most straightforward way is to use Migration Assistant. It can transfer your keychain as part of a full user account migration.
- On your new Mac, open Applications → Utilities → Migration Assistant.
- Choose “From a Mac, Time Machine backup, or startup disk.”
- Connect both Macs with a Thunderbolt or USB-C cable, or use the same Wi-Fi network.
- Select your old Mac from the list and enter the administrator password if prompted.
- Choose which data to transfer. Make sure “Users” is checked—your keychain is inside your user folder.
After the transfer, your login keychain should appear on the new Mac, and your passwords will work without re-entering them. If you only transferred files (not the full user account), the keychain may not come along, so always select the user account option.
Method 2: iCloud Keychain (Cloud Sync)
If you prefer not to use a cable or if your old Mac is no longer available, iCloud Keychain syncs your passwords across all your Apple devices. This is the modern default for most users.
- On your old Mac, go to System Settings → Apple ID → iCloud → Passwords & Keychain and turn on “Sync this Mac.”
- On your new Mac, sign in with the same Apple ID and enable the same setting.
- Wait for the sync to complete. It can take a few minutes to an hour depending on how many items you have.
Once enabled, your passwords appear in System Settings → Passwords, and Safari AutoFill works immediately. Note that iCloud Keychain uses end-to-end encryption, so even Apple can’t read your passwords—they’re only decrypted on your trusted devices.
How to Check What Transferred
After migration or sync, verify that your keychain items actually made it. Open the Keychain Access app (in Utilities) and look at the “login” keychain. You should see your saved passwords and secure notes. If you used iCloud Keychain, also check System Settings → Passwords—it shows all synced web logins.
One common gotcha: Wi-Fi passwords are stored in the system keychain, not the login keychain, and they may not transfer via Migration Assistant. You might need to re-enter your Wi-Fi password on the new Mac. That’s normal.
Common Problems and Fixes
Sometimes keychain transfer fails or items don’t appear. Here are the typical issues and what to do:
- “Keychain cannot be found” error: This happens when the login keychain was copied but not unlocked. Try resetting the login keychain password in Keychain Access (File → Change Password for Keychain “login”).
- Passwords not showing in Safari: Make sure “AutoFill Passwords” is enabled in System Settings → Passwords → AutoFill.
- iCloud Keychain not syncing: Check that both Macs are on the same Apple ID, have two-factor authentication enabled, and are connected to the internet. Sometimes toggling the sync off and on again forces a refresh.
- Duplicate items: If you migrated and also use iCloud Keychain, you may see duplicates. You can delete the extras manually in Keychain Access.
Manual Transfer (Advanced)
If you’re comfortable with the command line, you can copy the keychain file directly. The login keychain is stored at ~/Library/Keychains/login.keychain-db. You can copy this file to the same location on your new Mac, then unlock it with your old password. However, this method is risky because the keychain is tied to your user account’s unique ID. If you’re not careful, you can end up with a corrupted keychain. Only do this if the other methods fail and you have a backup.
A safer manual approach is to export individual items from Keychain Access (right-click → Export) and then import them on the new Mac. But this only works for non-secure items, and the export is not encrypted—so store it securely and delete it after importing.
Comparing the Methods
- Migration Assistant: Transfers everything, including keychains, without needing to re-enter passwords. Best for a full system move.
- iCloud Keychain: Syncs only passwords and payment info, not secure notes or certificates. Best if you want ongoing sync across devices.
- Manual copy: Gives you full control but is error-prone and not recommended for casual users.
For most people, using Migration Assistant is the most reliable because it replicates your entire user account, including the keychain’s access rights. iCloud Keychain is a close second and is the only option if your old Mac is dead or lost.
Frequently Asked Questions
Will my Keychain transfer automatically with Migration Assistant?
Yes, if you select your user account during migration. The login keychain is part of your user’s home folder, so it gets copied over. However, system keychains (like Wi-Fi passwords) may not transfer, so you might need to re-enter your Wi-Fi password.
Why are some passwords missing after transfer?
If you used iCloud Keychain, only items that were previously synced will appear. If you never enabled iCloud Keychain on the old Mac, those passwords won’t sync. Also, items saved in the “System” keychain (like VPN or Wi-Fi passwords) are not part of iCloud Keychain and won’t transfer.
Can I transfer Keychain without Migration Assistant?
Yes, you can use iCloud Keychain or manually copy the keychain file. iCloud Keychain is the easiest if you have internet and the same Apple ID. Manual copying is possible but requires care to avoid corruption.
Is it safe to use iCloud Keychain?
Yes. iCloud Keychain uses end-to-end encryption, meaning Apple cannot read your passwords. Only devices that you approve with your Apple ID and passcode can decrypt the data. It’s considered secure for everyday use.
What if I forgot my login keychain password after migration?
If you don’t know the old login password, you can’t unlock the keychain. You can reset it by deleting the login keychain (in Keychain Access, File → Delete Keychain “login”), which will create a new empty one. You’ll lose all saved passwords, so only do this as a last resort.
Do I need to enable iCloud Keychain on both Macs?
Yes, for iCloud Keychain to sync, both Macs must have the same Apple ID and the “Passwords & Keychain” toggle turned on. Also, both need to be signed into iCloud and have two-factor authentication enabled.