Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

refresh from mozilla and lost all my saved login information

  • 5 majibu
  • 1 ana tatizo hili
  • 1 view
  • Last reply by cor-el

more options

Hey guys, Firefox was working slowly so it suggested a refresh. I did it and now I've lost all my login/ saved passwords. I went here under help: lockwise losing login information after update and did the whole new profile thing, sharing the key3 data with the profile and it didn't work. HELP!

Hey guys, Firefox was working slowly so it suggested a refresh. I did it and now I've lost all my login/ saved passwords. I went here under help: lockwise losing login information after update and did the whole new profile thing, sharing the key3 data with the profile and it didn't work. HELP!

All Replies (5)

more options

hello, To restore this data:

On the desktop you should see a folder called 'Old Firefox Data' open it and copy all the data by highlighting and selecting everything in that folder, then right click and select copy. Now open FIrefox. Head on over to about:profiles by typing it in your URL bar. Click on the Open Folder button under the Local Directory, not root. Then right click when inside the new profile folder and select paste. Then restart Firefox. You should now have all your previous passwords, and data back.

If this solved your problem, mark as solution.

more options

logins.json and key3.db [v58+]key4.db : These are the password files. Copy Both !

more options

Hi there, Anamika that was a thorough step by step. Thank you but it did not work. I did exactly what you suggested no data has transferred

more options

Did you shut Firefox down before doing the copy? Any error messages?

more options

You need matching logins.json and key4.db files to transfer the passwords.
d you check i a text editor or in Firefox (open file) that logins.json does contain login data ?


You can copy specific files with Firefox closed to the current profile folder to recover personal data.

  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (passwords) and key4.db (58+) or key3.db (57 and older) (decryption key) for Passwords saved in the Password Manager
    if you only have key3.db then make sure to remove an existing key4.db
  • cert9.db (58+) or cert8.db (57 and older) for (intermediate) certificates stored in the Certificate Manager
    if you only have cert8.db then make sure to remove an existing cert9.db
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)