Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how do I undelete my saved passwords?

  • 9 replies
  • 3 have this problem
  • 1062 views
  • Last reply by cor-el

more options

I just by mistake deleted all my saved passwords. Anyway to restore them. Using FireFox 34.0.5. Please help

I just by mistake deleted all my saved passwords. Anyway to restore them. Using FireFox 34.0.5. Please help

Chosen solution

If you still have the signons.sqlite that was used in a previous Firefox version then you can try to restore passwords saved in that file.

Firefox 32 and later builds store the passwords in the logins.json file in the profile folder and no longer use the signons.sqlite file that has been used before (the matching key3.db file is still needed). If you still have the signons.sqlite file used in previous Firefox versions then you can try to force Firefox to migrate the passwords saved in that file (you will lose passwords saved in Firefox 32+ versions). You can force Firefox to reimport the passwords from the signons.sqlite file and rebuild the logins.json file with these steps:

  • reset the signon.importedFromSqlite pref on the about:config page to the default value via the right-click context menu
  • delete the logins.json file in the Firefox profile folder with Firefox closed

When you restart Firefox then you should have the signon.importedFromSqlite pref with the value set to true and you should have the passwords imported in the Password Manager unless there may have been errors.

You can use this button to go to the currently used Firefox profile folder:

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Read this answer in context 👍 2

All Replies (9)

more options

Sorry, Firefox does not maintain a "backup" of passwords. If you inadvertently deleted them via the Saved Passwords dialog window, they're gone for good.

If you deleted them in a different manner, maybe there's hope via the Recycle Bin. If so, say so - and one of us can provide the details for recovering them.

more options

Well then I royally hosed myself, love my STUPIDITY. Thank you for the reply.

more options

Chosen Solution

If you still have the signons.sqlite that was used in a previous Firefox version then you can try to restore passwords saved in that file.

Firefox 32 and later builds store the passwords in the logins.json file in the profile folder and no longer use the signons.sqlite file that has been used before (the matching key3.db file is still needed). If you still have the signons.sqlite file used in previous Firefox versions then you can try to force Firefox to migrate the passwords saved in that file (you will lose passwords saved in Firefox 32+ versions). You can force Firefox to reimport the passwords from the signons.sqlite file and rebuild the logins.json file with these steps:

  • reset the signon.importedFromSqlite pref on the about:config page to the default value via the right-click context menu
  • delete the logins.json file in the Firefox profile folder with Firefox closed

When you restart Firefox then you should have the signon.importedFromSqlite pref with the value set to true and you should have the passwords imported in the Password Manager unless there may have been errors.

You can use this button to go to the currently used Firefox profile folder:

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Regrettably cor-el I did not find either file, signons.sqlite or logins.json listed in the about:config page. I guess I'm just a lost cause. Thanks for trying to help.

For the future when you say to set signon.importedFromSqlite pref to default value via the right click menu that means Reset?

Again thanks for the help attempt.

more options

Those files are not on the about:config page, but in the Firefox profile folder.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

You can find preferences on the about:config page. When you reset the signon.importedFromSqlite then this pref is removed and when Firefox doesn't find this pref when you start Firefox and there is no logins.json file as well then Firefox can build a new logins.json file by importing passwords from a possible signons.sqlite file.

more options

cor-el, YOU ROCK!!!. Most humble apologies to you for not reading your first post completely and simply follow your directions. Thanks so very much you are a life saver :-D

more options

I have always set my browsers to ask for and remember passwords. After updating to 34.0.5 (and among the plethora of issues that this version presents) it seemingly lost or would not 'remember' passwords. This thread came up in my search for help. Although I did not delete saved passwords, I did land here so I hope that this solution will help other users who haven't actually deleted saved passwords.

A bit of snooping in about:config showed the following entries set to True: services.sync.prefs.sync.privacy.clearOnShutdown.passwords privacy.clearOnShutdown.passwords

After changing the values to False, my password issues disappeared.

more options

You can leave the services.sync.prefs.sync.privacy.clearOnShutdown.passwords to its default value true. The services.sync.prefs.sync.* prefs only specify which prefs to Sync to other devices in case you use Sync.

If privacy.clearOnShutdown.passwords was set to true then you were using "Clear history when Firefox closes" to clear the passwords each time you close Firefox.

To see all History and Cookie settings, choose:

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"