If a saved password won’t autofill on your Mac, the cause is almost always a mismatch between where the password is stored and where Safari or your browser is looking, or a setting that has quietly turned off AutoFill. You can usually fix it in under a minute by checking iCloud Keychain, the website’s saved entry, and the AutoFill settings in Safari’s Preferences.
How Password Autofill Works on macOS
On a Mac, passwords are stored in the Keychain—a secure database managed by the operating system. iCloud Keychain syncs that database across your Apple devices, so a password saved on your iPhone can autofill on your Mac, and vice versa. When you visit a login page, Safari (or Chrome, Firefox, or Edge, which can also read from the Keychain) looks for a matching entry based on the website’s domain. If it finds one, it offers to fill in the credentials. If it doesn’t, you’ll see nothing, or a “Passwords” icon that opens a list of saved logins.
The system relies on three things working together: the saved entry must exist, the website’s domain must match the entry’s domain, and the AutoFill feature must be enabled. A failure in any one of those will stop autofill cold.
Most Common Causes (and Quick Fixes)
Before diving into deeper troubleshooting, check these three things—they account for the vast majority of cases:
- AutoFill is turned off. In Safari, go to Safari → Settings → AutoFill and make sure “User names and passwords” is checked. In Chrome, go to Settings → Autofill → Password Manager and toggle “Offer to save passwords” on.
- The password is saved under a slightly different URL. For example, you saved it for example.com but the site now redirects to www.example.com or login.example.com. Edit the saved entry and update the website field to the exact domain you’re on.
- The site uses an embedded login form. Some pages load a login popup or iframe from a different domain (like a payment processor). Autofill often won’t work in those frames. Try clicking directly into the field and then clicking the key icon in the toolbar to manually select the password.
If those don’t help, move on to the more specific fixes below.
Check iCloud Keychain Sync
If you saved the password on another device and expect it on your Mac, iCloud Keychain must be enabled and synced. Go to System Settings → Apple ID → iCloud → Passwords & Keychain and confirm the toggle is on. Also check that your Mac is signed into the same Apple ID as the device where the password was saved. Syncing can lag, especially if you’ve just saved the password or recently changed your Apple ID password. Give it a minute, then try again. If it still doesn’t appear, sign out of iCloud on your Mac and sign back in—this often forces a refresh of the Keychain.
Note that iCloud Keychain is end-to-end encrypted; Apple can’t see your passwords, so there’s no web-based way to “view” them. The only way to access them is through a device that’s signed into your iCloud account.
Edit or Delete the Saved Password Entry
Sometimes the saved entry itself is corrupted or outdated. Open Safari, go to Settings → Passwords (you’ll need to authenticate with Touch ID or your Mac password), and find the entry for the site. If you see multiple entries for the same site, delete all but the one you want. If the entry looks wrong (old username, wrong URL), edit it directly. After editing, reload the login page and try again.
If you’re using Chrome or Firefox, those browsers have their own password managers, separate from iCloud Keychain. Check Chrome → Settings → Autofill → Password Manager or Firefox → Settings → Privacy & Security → Saved Logins. If you’ve been using a third-party password manager like 1Password or LastPass, you need to check that app’s own settings, not the system Keychain.
Reset Safari’s AutoFill State
If the above steps fail, a deeper reset can help. Quit Safari completely (Cmd+Q). Then, in Finder, press Cmd+Shift+G and go to ~/Library/Safari/. You’ll see files like AutoFill.db and AutoFill.db-shm—these are the database files that store autofill data. Move them to the Desktop (don’t delete them yet) and relaunch Safari. Safari will recreate the database. You’ll lose any autofill entries that were stored locally, but your iCloud Keychain passwords will still be there and will sync back. If this fixes the problem, you can delete the old files. If not, put them back and try another approach.
This step is safe because the AutoFill database is separate from your Keychain. It only contains the non-password fields (like names and addresses) and a cache of password entries that Safari re-reads from the Keychain on demand.
Browser-Specific Quirks
Different browsers behave slightly differently:
- Safari: The key icon in the toolbar (or the padlock in the address bar) lets you manually pick a saved password. If autofill isn’t triggering, click into the username field and then click the key icon—you’ll see a list of matching logins.
- Chrome: Chrome can use iCloud Keychain via the “iCloud Passwords” extension, but it also has its own password store. If you’re seeing “Password not saved” messages, check that Chrome’s “Offer to save passwords” is on. Also, Chrome has a “Check passwords” feature that flags compromised credentials—if a password is flagged, it may still autofill, but Chrome will show a warning.
- Firefox: Firefox has its own password manager, and it also supports a master password feature. If you’ve set a master password, Firefox will ask for it before autofilling—if you’ve forgotten it, you’ll need to reset it, which will erase your saved passwords.
In all cases, make sure the browser is up to date. Older versions may have bugs that affect autofill.
When All Else Fails: Remove and Re-save
If you’ve tried everything and autofill still doesn’t work, the nuclear option is to delete the saved entry and re-save it manually. Type your username and password, and when the browser asks to save, click “Save.” This forces a fresh entry with the correct URL. If you’re using a third-party password manager, generate a new password from within that app and let it save the entry.
One more thing: some websites deliberately disable autofill by setting the autocomplete="off" attribute on their login forms. This is common on banking and government sites. There’s no way to override that from your Mac; you’ll have to type the password manually, or use a password manager’s keyboard shortcut (like Cmd+\ in 1Password) to fill the fields.
Frequently Asked Questions
Why does Safari show “Passwords” but not autofill?
That usually means Safari knows there’s a saved entry but can’t match it to the current page. Click the “Passwords” icon (or the key icon) and manually select the entry. If it doesn’t appear, the entry’s URL is likely wrong—edit it in Settings → Passwords.
Can I use iCloud Keychain with Chrome?
Yes, but only through the “iCloud Passwords” extension from the App Store. Without it, Chrome uses its own password store. The extension lets Chrome read and write to your iCloud Keychain, but it requires that iCloud Keychain is enabled on your Mac.
Why did my passwords disappear after a macOS update?
macOS updates rarely delete Keychain items, but they can sometimes cause sync issues. Check that you’re signed into iCloud and that Keychain is enabled. If passwords are still missing, try signing out of iCloud and back in. If that fails, you may need to restore from a Time Machine backup.
Is it safe to let my Mac save passwords?
Yes, if you use a strong Mac login password and enable FileVault. The Keychain is encrypted, and iCloud Keychain uses end-to-end encryption. The main risk is if someone gains access to your Mac while you’re logged in—they could see saved passwords after entering your login password. For extra security, consider a third-party password manager with a master password.
Why does autofill work on my iPhone but not my Mac?
This usually points to iCloud Keychain sync being off on one device, or the Mac being on a different Apple ID. Check System Settings → Apple ID → iCloud → Passwords & Keychain on the Mac. Also make sure both devices have two-factor authentication enabled for iCloud—it’s required for Keychain sync.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Disable Autocorrect on iPhone or iPad: Quick Guide
- Custom Keyboard Shortcuts on Windows 11 & macOS
- Restore Windows 11 Display Scaling to Recommended
- Semiconductor Cycle: How Investors Track It0.0
- Microsoft Store Error 0x80073d12: Fixes That Work
- View Notification Count on iPhone: Full Guide