User Agents

Web browsers and everyday web tech, explained

How to Clear Saved Passwords in Firefox Safely

· 5 min read · Cookies and Cache

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing saved passwords in Firefox removes the credentials the browser has stored for websites, so you'll be asked to enter them again the next time you log in. This is useful if you're sharing a computer, suspect a security issue, or simply want a fresh start. Before you begin, make sure you know the passwords for any accounts you still need—once cleared, they cannot be recovered from Firefox. If you use a password manager, export your passwords first to avoid losing them permanently.

What You'll Need

  • Your Firefox browser open on your computer
  • Your Firefox account password (if you have sync enabled and want to remove synced passwords)
  • Optional: A backup of your passwords (via export) if you want to keep them

Step-by-Step

  1. Open Firefox menu. Click the hamburger icon (three horizontal lines) in the top-right corner of the browser window.
  2. Go to Settings. In the dropdown menu, click “Settings” (or “Preferences” on macOS).
  3. Navigate to Privacy & Security. On the left sidebar, click “Privacy & Security”.
  4. Find the “Passwords” section. Scroll down to the “Passwords” section. It’s usually below “Logins and Passwords”.
  5. Click “Saved Logins”. Next to “Use a master password” (if enabled) you’ll see a button labeled “Saved Logins…” – click it. This opens a new window listing all saved logins.
  6. Select logins to remove. In the “Saved Logins” window, you can select individual entries by clicking on them. To select multiple, hold Ctrl (Windows/Linux) or Cmd (macOS) while clicking.
  7. Click “Remove”. After selecting, click the “Remove” button at the bottom of the window. Confirm any prompt that appears.
  8. To remove all logins at once: In the same window, click the three-dot menu (or “…” icon) in the top-right, then choose “Remove All Logins”. Confirm the action.
  9. Close the window. After removal, close the “Saved Logins” window. Your changes are saved automatically.
  10. Optional: Clear synced passwords. If you use Firefox Sync and want to remove passwords from all your devices, go back to Settings > “Firefox Account” (or “Sync”) and click “Disconnect” or “Manage Account” to stop syncing. Then follow the steps above. Note that this will not delete passwords from other devices unless you also clear them there.

Common Mistakes

  • Not backing up first. If you clear passwords without exporting them, you lose all saved credentials permanently. Always export if you might need them later.
  • Only clearing individual logins when you meant to clear all. Double-check which logins are selected before hitting “Remove”.
  • Ignoring the master password. If you have a master password set, you’ll be prompted to enter it before viewing or removing logins. Forgetting it means you can’t access the list.
  • Assuming clearing passwords also clears cookies. It doesn’t. Websites may still remember you via cookies, but you’ll need to log in again.
  • Forgetting about synced devices. If you don’t disconnect sync, passwords may reappear from other devices after clearing.

Tips

  • Export before you delete. Go to Settings > Privacy & Security > Saved Logins, click the three-dot menu, and choose “Export Logins”. Save the CSV file in a secure place (e.g., an encrypted drive).
  • Use a password manager. Instead of relying on browser storage, consider a dedicated password manager that encrypts your data and syncs across devices securely.
  • Set a master password. If you keep passwords in Firefox, set a master password to add an extra layer of protection.
  • Review saved logins periodically. Remove any old or unused accounts to reduce your attack surface.

Troubleshooting

  • Passwords reappear after clearing. This is likely due to Firefox Sync. Go to Settings > Firefox Account and click “Disconnect” to stop syncing, then clear passwords again.
  • Can’t find the “Saved Logins” button. In some Firefox versions, it may be under “Logins and Passwords” as a link. If you don’t see it, update Firefox to the latest version.
  • “Remove All Logins” is grayed out. This happens when there are no saved logins, or when you’re in a private browsing window. Use a normal window.
  • Master password forgotten. If you can’t remember it, you’ll need to reset Firefox’s master password. This requires creating a new master password, but you won’t be able to recover the saved logins. You can do this via Settings > Privacy & Security > “Use a master password” – uncheck and re-check it, but note that it will erase existing saved logins.
  • Passwords are still asked for after clearing. Some websites store login info in cookies. Clear cookies for those sites via Settings > Privacy & Security > Cookies and Site Data > Manage Data.

Frequently Asked Questions

Will clearing saved passwords log me out of websites?

No, clearing saved passwords does not log you out of websites you’re currently logged into. It only removes the stored credentials, so you’ll need to enter them manually the next time you log in.

Can I recover passwords after clearing them?

No, once removed from Firefox, they cannot be recovered unless you exported them beforehand or have them saved elsewhere (like a password manager).

Does clearing passwords affect my Firefox Sync data?

If you have Sync enabled, clearing passwords on one device will remove them from that device, but they may remain on other devices until you clear them there too. To remove from all devices, disconnect Sync first.

What’s the difference between “Remove” and “Remove All”?

“Remove” deletes only the selected logins. “Remove All” deletes every saved login in one go. Both are permanent.

Is there a way to clear passwords automatically?

No, Firefox doesn’t have a built-in automatic clearing schedule. You can use the “Remove All” option manually, or use third-party tools, but that’s not recommended for security.

What happens to passwords if I clear my browsing data?

Clearing browsing data (like cookies and cache) does not clear saved passwords. Passwords are stored separately and must be cleared via the “Saved Logins” window.