Cyberkracht

Apps and programsMozilla Firefox

Setting up the Firefox password manager

Use Firefox's built-in password manager to store strong, unique passwords and fill them in automatically. Here is how to set it up safely.

Beginner · 3 min read

Firefox can suggest strong passwords and store them safely, with syncing between devices.

That is important, because people who have to remember dozens of passwords often choose the same one everywhere, or a simple password that is easy to guess. If such a password leaks, scammers can get into several accounts at once. A password manager remembers them for you, so that you can use a different, long password for every service.

How to set it up

  1. Open Firefox and click the menu with the three lines at the top right.
  2. Choose Settings and go to Privacy & Security.
  3. Find the Passwords section and make sure saving and filling in passwords is switched on.
  4. Switch on the option for a primary password if it is available, and choose a long primary password that you do not use anywhere else.
  5. Let Firefox suggest a strong password when you create a new account.
  6. Switch on two-step verification on your Firefox account if you sync passwords between devices.

Menus can differ per version. Search the settings for 'Passwords' if you cannot find an option straight away.

Screenshot of the Firefox settings under Privacy & Security, Passwords section, with the options for saving passwords and the primary password, without real data
You will find the password options under Privacy & Security.

Tip: A primary password protects your saved passwords if someone gets at your unlocked computer for a moment. Choose it carefully and do not forget it, because a forgotten primary password cannot always be recovered.

A concrete example

You use the same password for your web shop, your e-mail and your social media. The web shop is hacked and your password leaks. Scammers immediately try it on your mailbox and your social media. If you use a password manager with a different, long password for every service, one leak gives nobody access to your other accounts. You only have to change one.

Watch out: Never share your primary password or your saved passwords with anyone, not even with someone posing as the helpdesk, your bank or the police.

Common mistakes and questions

This often goes wrong:

  • Choosing a short or easy primary password, or using that same password elsewhere too.
  • Saving passwords on a shared computer, for example in the library or at school.
  • Replacing a suggested strong password with a simple one.
  • Leaving your computer unlocked.
  • Not setting up two-step verification on your Firefox account.

Is a password manager in your browser safe?
It is safer than using the same password everywhere. Secure your device well with a strong screen lock and use a primary password.

Do I have to remember all passwords myself?
No. Remember only your primary password and the code you use to unlock your device.

What if it goes wrong anyway?

Do you suspect that someone knows or saw your saved passwords? Change the passwords of your most important accounts immediately from a safe device, starting with your e-mail, and switch on two-step verification. Do not be ashamed: scammers are well prepared and anyone can fall for it. Read our pages What to do if a password has leaked, My account has been hacked and Switch on two-step verification on your most important accounts. You can read more about strong passwords at Choose a strong password that scammers cannot guess, about data breaches at Check data breaches with Mozilla Monitor and about your browser at Keep Firefox and add-ons up to date. You can find more help at I am a victim.

Test your resilienceSafeonweb: different passwords and a password vault(opens in a new tab)

Log in to save your reading progress.