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

Firefox deletes saved passwords when forgetting a website

  • 1 پاسخ
  • 1 has this problem
  • 12 views
  • آخرین پاسخ توسّط cor-el

more options

Previously I used to use "Forget This Website" from the History panel to quickly clear the history of a specific website. But it was not deleting it's saved passwords. Now I realize, that when I Forget a Website, it actually does delete the saved passwords too. I am confused now. Was this behavior always like this? can it be that because I have Sync on several devices, the deleted password gets restored somehow? I would like to be able to forget a website without loosing it's login details...

Previously I used to use "Forget This Website" from the History panel to quickly clear the history of a specific website. But it was not deleting it's saved passwords. Now I realize, that when I Forget a Website, it actually does delete the saved passwords too. I am confused now. Was this behavior always like this? can it be that because I have Sync on several devices, the deleted password gets restored somehow? I would like to be able to forget a website without loosing it's login details...

Chosen solution

Using "Forget About This Site" includes removing passwords stored for this origin.

If you did this recently then the passwords may still be in logins-backup.json.

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).


Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data for that domain that you do not want to lose then make sure to backup this data or make a note. You can't recover from this 'forget' unless you have a backup of involved files.

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

Using "Forget About This Site" includes removing passwords stored for this origin.

If you did this recently then the passwords may still be in logins-backup.json.

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).


Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data for that domain that you do not want to lose then make sure to backup this data or make a note. You can't recover from this 'forget' unless you have a backup of involved files.