Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari doesn't autofill or save passwords, and all my passwords are missing

Out of nowhere, Safari has stopped autofilling for passwords, and it seems to have "forgotten" all the previous passwords i had saved, although when i login into some sites it can try to "update password" as it had some password saved for it. I'm using OS X Yosemite 10.10.2, Safari Version 8.0.3. I tried looking in Keychain access and it seems my passwords are not saved there anymore. I don't know what to try to fix that. Please someone help

MacBook Pro with Retina display, OS X Yosemite (10.10.2)

Posted on Feb 18, 2015 5:02 PM

Reply
30 replies

Sep 5, 2017 11:53 PM in response to aquinotad

For me, the solution was quick. Somehow Safari lost the connection to all the saved log in and passwords even though I could see them all in Safari > Preferences and Autofill box was checked. I unchecked the box and quit Safari. I reopened Safari (waited 30 seconds if that makes any difference) and then rechecked the Autofill box and quit Safari again. The next time I reopened all passwords were back

Feb 18, 2015 7:55 PM in response to aquinotad

Back up all data before proceeding.

Launch the Keychain Access application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.

If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.

Right-click or control-click the login entry in the list. From the menu that pops up, select

Change Settings for Keychain "login"

In the sheet that opens, uncheck both boxes, if not already unchecked.

From the menu bar, select

Keychain Access Preferences... First Aid

There are four checkboxes in the window that opens. Check all of them. if they're not already checked. Close the window.

Select

Keychain Access Keychain First Aid

from the menu bar and repair the keychain. Quit Keychain Access.

If you use iCloud Keychain, open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.

Feb 18, 2015 8:56 PM in response to Linc Davis

Hello, i've done all that you mentioned, All boxes were already unchecked/checked the way you said so, tried to repair the keychain but still doesn't work.


Safari doesn't autofill and i can't see any password, it asks to save a password and doesn't. Also i know it has some passwords saved, as it doesn't ask to save them when i input those.

Feb 18, 2015 9:19 PM in response to aquinotad

If you've copied the Safari application from its original location in the Applications folder, delete the copies and use the one in that folder. Otherwise, see below.

Please read this whole message before doing anything.

This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.

Step 1

The purpose of this step is to determine whether the problem is localized to your user account.

Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”

While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.

Test while logged in as Guest. Same problem?

After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

Step 2

The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

Please take this step regardless of the results of Step 1.

Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.

Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

Test while in safe mode. Same problem?

After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

Feb 18, 2015 9:50 PM in response to Linc Davis

Hi, i tried Step 1, the result was:


I was able to enter safari and login to a site (used Facebook to try it), and it saved the password, as i logged out, closed and tried to login again, the Autofill was working perfectly and it remembered the password.


As of Step 2, it didn't work, it was the same. Safari didn't remember or saved any passwords.

Feb 18, 2015 10:09 PM in response to aquinotad

Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore is not, in itself, a solution.

First, empty the Trash, if possible.

Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:

find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy

Launch the built-in Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Paste into the Terminal window by pressing command-V. The command may take a noticeable amount of time to run.

Wait for a new line ending in a dollar sign ($) to appear.

The output of the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.

The Terminal window doesn't show the output. Please don't copy anything from there.

Feb 18, 2015 10:37 PM in response to aquinotad

Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Back up all data before proceeding.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

resetp

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

Safari doesn't autofill or save passwords, and all my passwords are missing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.