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

All saved passwords are suddenly gone

  • 9 پاسخ
  • 1 has this problem
  • 7 views
  • آخرین پاسخ توسّط toomanydogs

more options

The other day I noticed when I went to enter a username, my password field was blank. I checked my saved passwords and saw that it was there, and just manually typed it in (usually it would all automatically be entered, or if I typed my username and clicked tab it would enter the password).

Today, I went to log onto Amazon, and again nothing appeared when I wrote my username and clicked tab. Went to check saved passwords, and ALL ARE GONE. There is nothing on the list.

My bookmarks are still here like normal. My browser is set to remember all history. It's still remembering everything I've entered in fields before (other user names, searches, etc).

This is a huge blow, I had a very long list of passwords for all sorts of sites. On some I have multiple accounts and now I have no way of remembering those usernames. I've searched Google and tried everything I've found with no result.

The other day I noticed when I went to enter a username, my password field was blank. I checked my saved passwords and saw that it was there, and just manually typed it in (usually it would all automatically be entered, or if I typed my username and clicked tab it would enter the password). Today, I went to log onto Amazon, and again nothing appeared when I wrote my username and clicked tab. Went to check saved passwords, and ALL ARE GONE. There is nothing on the list. My bookmarks are still here like normal. My browser is set to remember all history. It's still remembering everything I've entered in fields before (other user names, searches, etc). This is a huge blow, I had a very long list of passwords for all sorts of sites. On some I have multiple accounts and now I have no way of remembering those usernames. I've searched Google and tried everything I've found with no result.

All Replies (9)

more options

Update: logins.json.corrupt file found, changed at 2:50PM today, which is right when my computer was accidentally shut off when my plug came out.

Guess I'm done for?

more options

I lost my passwords last month. But my FEBE add-on restored them.

Is it possible you changed profiles, or did a refresh on Firefox?

Do you have any backups, or old profile folders?

In the event that the passwords information is lost, you should record all information in a separate text file somewhere else on your hard drive, or written down. You can easily copy and paste if you need to do so. If you are concerned about someone else looking at that file, you can compress it using a password.

more options

I don't know what FEBE is.

I don't know how to change profiles or do a refresh on Firefox, so I don't think I did those.

I have no old profiles, I checked earlier when someone said it answered their problem on another question.

I did have most of my usernames/passwords recorded on paper (a little out of date), but I just had a house fire and lost them all. So that doesn't really do me any good.

more options

Places Maintenance {web link} Allows to run Maintenance tasks on the database that drives Places, the bookmarks and history module behind Firefox.

Open the Add-ons Manager. Locate the add-on and press the Options button. Select All of the tests. Then press Execute on the bottom.

more options

> Integrity check + The database is sane > Reindex + The database has been reindexed > Orphans expiration + Database cleaned up > Coherence check + The database is coherent > Vacuum Initial database size is 20480 KiB + The database has been vacuumed Final database size is 20480 KiB > Statistics Database size is 20480 KiB user_version is 30 page_size is 32768 cache_size is -2048 journal_mode is wal synchronous is 1 History can store a maximum of 104858 unique pages Table moz_places has 22105 records Table moz_historyvisits has 53656 records Table moz_inputhistory has 28 records Table moz_hosts has 1038 records Table moz_bookmarks has 92 records Table moz_bookmarks_roots has 5 records Table moz_keywords has 0 records Table sqlite_sequence has 0 records Table moz_favicons has 812 records Table moz_anno_attributes has 10 records Table moz_annos has 651 records Table moz_items_annos has 28 records Table sqlite_stat1 has 15 records Index sqlite_autoindex_moz_inputhistory_1 Index sqlite_autoindex_moz_hosts_1 Index sqlite_autoindex_moz_bookmarks_roots_1 Index sqlite_autoindex_moz_keywords_1 Index sqlite_autoindex_moz_favicons_1 Index sqlite_autoindex_moz_anno_attributes_1 Index moz_places_faviconindex Index moz_places_hostindex Index moz_places_visitcount Index moz_places_frecencyindex Index moz_places_lastvisitdateindex Index moz_historyvisits_placedateindex Index moz_historyvisits_fromindex Index moz_historyvisits_dateindex Index moz_bookmarks_itemindex Index moz_bookmarks_parentindex Index moz_bookmarks_itemlastmodifiedindex Index moz_places_url_uniqueindex Index moz_places_guid_uniqueindex Index moz_bookmarks_guid_uniqueindex Index moz_keywords_placepostdata_uniqueindex Index moz_annos_placeattributeindex Index moz_items_annos_itemattributeindex

more options

Do you still see name and password records in the logins.json file?

You can try these commands in the Browser Console:

Services.logins.getAllLogins().length => Prints number of decryptable logins only
Services.logins.countLogins("", "", "") => Prints number of all logins including non-decryptable logins

Toggle devtools.chrome.enabled to true on the about:config page to enable the command line in the Browser Console.

more options

The only info in the new JSON (noncorrupted file) are the five saved passwords I just put in again. It did not exist until I saved the first password again.

The other JSON file is corrupted and 23KB, and is totally blank when I open it with Notepad.

Using those commands, I just found the five new passwords I entered after all disappeared.

Thank you for all your time! I think they're long gone, I just wish I knew why they all disappeared when my computer got shut down (it's been unplugged before without this result).

more options

A bad shut down may cause no damage, or corrupt many files.


Side note: Go to your local department / electronics store and look around for an UPS (Uninterruptible Power Supply) that is useful for you. The lowest price is $50 + -. There are also units on the market that plug in to the computer. And if the battery gets low, will shut down the computer to protect it.


These can't get your data back, but will help in the future.

These add-ons can be a great help by backing up and restoring Firefox

FEBE (Firefox Environment Backup Extension) {web link} FEBE allows you to quickly and easily backup your Firefox extensions, history, passwords, and more. In fact, it goes beyond just backing up -- It will actually rebuild your saved files individually into installable .xpi files. It will also make backups of files that you choose.

OPIE {web link} Import/Export extension preferences

more options

Thank you for your links! I will check those out so this doesn't happen again.

I need to look into one of the backups for the laptop, today's shutdown happened when switching from battery to wired, and I set the computer down a little too far on the table and the wire popped out.