Home » Browser Security » Does Firefox have a Password Manager?

Does Firefox have a Password Manager?

DISCLOSURE: THIS POST MAY CONTAIN AFFILIATE LINKS, MEANING I GET A COMMISSION IF YOU DECIDE TO MAKE A PURCHASE THROUGH MY LINKS, AT NO COST TO YOU. PLEASE READ MY DISCLOSURE FOR MORE INFO.

Firefox has a Password Manager and is now called Firefox Lockwise. On a desktop, Firefox Lockwise is a part of the browser, but on iOS or Android is a standalone app which also includes a simple password generator. As any other browser-based Password Manager, Firefox Lockwise offers basic functionality of saving your credentials or Autofill functionality. One option, however, which deserves more credit is the ability to alert you about any of your accounts which were exposed in a known data breach giving you possibly a time to change your passwords.

Unlike Chrome or Edge Password Managers, Firefox Password Manager has an option to set Primary Password to safeguard your saved credentials. As you may find out from my other blog post about password management, the Primary Password option makes a big difference in preventing unauthorized access to your saved credentials.

Below is also my YouTube video where I have explained how easy it is for someone with access to your computer to trick the browser and reveal your passwords. Firefox is not an exception here but is the only browser that offers a solution in the form of a Primary Password that fixes the problem.

How do I use the Firefox Password Manager?

If you have ever before used browser-based Password Managers, you should have no problems using this one. But if this is the first time you are trying to improve your online safety, I will guide you through the process of setting up the Firefox Password Manager and how to use it.

Setup Primary Password.

Whether you just freshly installed the Firefox browser or you want to import your passwords from another browser, you should start from setting up your Primary Password. If you watched the video above you will know how important the Primary Password is to secure your saved logins.

Below are the steps which will guide you through setting up your Primary Password. Make sure to create a strong, difficult to guess password as this is the last defence between you and your saved credentials. If you are not sure how to create a good password, check my other article about Password Management, where I have described a few ways of creating a strong easy to remember passwords.

  1. View Login and Passwords section.
    1. Type about:preferences#privacy in the address bar and press enter.
      Image showing Privacy and Security section in Firefox browser
  2. Scroll down to the Logins and Passwords section.
    1. Select Use a Primary Password option.
      Image showing Use a Primary Password checkbox option in the Firefox browser
  3. Enter your Primary Password and press OK when ready.
    1. Make sure to create a strong hard to guess password – you can use an online password generator.
      Image showing Primary Password setup form in the Firefox browser

How do I reset Firefox Primary Password?

To reset Firefox Primary Password type chrome://pippki/content/resetpassword.xhtml in the address bar and press enter.

  1. Type chrome://pippki/content/resetpassword.xhtml in the address bar and press enter.
    Image showing Firefox Primary Password reset command in the address bar
  2. Read the warning message and confirm by pressing the Reset button.
    Image showing Firefox Primary Password reset warning with confirmation button.

View your saved Firefox logins.

Now that we have set up your Primary Password, we can view the Saved Logins. If this is a fresh Firefox installation, you will not have any logins saved yet. But we will get to that.

  1. There are multiple ways of viewing your saved logins but I will show you two most commonly used.
    1. Under Logins and Security section select Saved Logins option.
      Image showing Saved Logins button in Firefox browser
  2. Use your browser address back command.
    1. Type about:logins in the address bar and press enter.
      Image showing address bar in the Firefox browser

How to import Bookmarks, Passwords or other data from another browser?

If you are moving from another browser like Chrome or Edge, now is the time to import your passwords, bookmarks and other data to Firefox. The process is straightforward and fully automated, and you just have to tell Firefox from which browser and what data you would like to import.

  1. Importing passwords and other data after fresh Firefox installation.
    1. Click Import them into Lockwise link under the introduction text.
      Image showing Import passwords and other data link in Firefox Lockwise Password Manager
  2. Importing passwords and either data for existing Firefox installation.
    1. Select Import from another browser link option under the three dots menu section.
      Image showing link to Import data from another browser

Add new logins to Firefox Password Manager.

You can add new logins manually, or by simply logging into any of your accounts. Firefox Password Manager will ask you if you like to save the credentials.

Press Save if you do and go back to the Logins and Password section to view your saved logins.

Image showing Firefox Password Manager asking to save credentials for Twitter account.
Firefox asking to save login credentials for Twitter account.
Image showing Logins window in Firefox with saved Twitter login credentials.
Twitter login credentials listed in the Firefox Password Manager.

If you now try to view the password for the saved login, you will have to type your Primary Password which you have set up earlier.

The Primary Password is also required even to view your saved credentials or use Autofill option which will automatically populate the login form for you. You must type the Primary Password only once for each Firefox browser session.

Primary Password is required when trying to reveal saved login password.

Where are saved passwords in Firefox?

Your saved passwords, Bookmarks and any other browser-related data are located in your Firefox profile directory. You can view your Firefox Profile directory by pressing Windows + R keys to open Run Command window and pasting the following command %APPDATA%\Mozilla\Firefox\Profiles.

  1. Open the Firefox profile directory.
    1. Press Windows + R keys on your keyboard.
      Windows Run command window
  2. Type or paste the following command and press enter.
    1. %APPDATA%\Mozilla\Firefox\Profiles\

Your saved passwords are stored in two files within Firefox profile directory; key4.db and logins.json.

How do I backup or export my Firefox passwords?

To backup your Firefox passwords, copy both key4.db and logins.json files located in your Firefox profile directory which you can open by pressing Windows + R keys and typing %APPDATA%\Mozilla\Firefox\Profiles command. You can then use them later to restore your passwords on a new machine or a fresh Firefox installation. To export your Firefox passwords type about:logins in the browser address bar and press enter. Select Export Logins under three dots menu located at the top right corner of the window.

Keep in mind that as of writing this article, Firefox does not have an option to import the passwords back from the .csv file. This file is intended to use in other browsers to import your saved passwords from that file.

Also, unlike key4.db and logins.json, passwords in the .csv file are fully exposed. Anyone with access to that file can view your passwords and login details.

  1. Export passwords to .csv file.
    1. Type about:logins in the address bar and press enter.
      Image showing address bar in the Firefox browser
  2. Select Export Logins.
    1. Three dots menu located at the top right corner of the window.
      Image showing Export Logins menu option
  3. Confirm the selection.
    1. Read the warning message and press the Export button.
      Image showing export logins and passwords windows
  4. Type your Primary Password.
    1. Save the logins.csv file.
      Image showing primary password request window

How do I delete all my saved passwords on Firefox?

To delete all your saved passwords, close the Firefox browser then press Windows + R keys on your keyboard to open the Run command window. Type %APPDATA%\Mozilla\Firefox\Profiles\ and press enter. In the Firefox Profile directory, find and delete both key4.db and logins.json files. Firefox will recreate new empty files after you restart the browser.

If you like to backup your passwords first, just copy both key4.db and logins.json to a safe location and then delete them from the Profile directory.

How do I disable password manager in Firefox?

Type about:preferences#privacy in the Firefox address bar and press enter. Scroll down to the Logins and Passwords section and uncheck Ask to save logins and passwords for websites option.

  1. Type about:preferences#privacy in the address bar and press enter.
    Image showing Privacy and Security section in Firefox browser
  2. Scroll down to the Logins and Passwords section and uncheck Ask to save logins and passwords for websites option.
    Image showing Logins and Passwords options in the Firefox browser settings

Is Firefox Lockwise secure?

Passwords saved in the Firefox Password Manager are encrypted, and 256-bit encryption is used when syncing your passwords across devices. If you are not happy, however, maybe a better solution will be a dedicated Password Manager instead. Personally, I`m not a fan of browser-based Password Managers, and I have recently switched from Sticky Password and started using 1Password instead.

Photo of author

Thomas Wzorek

I’m a Systems Applications Developer writing software in C# and .NET with interest in Cyber Security and Systems Administration. I divide my time between my family and passion for programming using .NET Technology and my favorite language, C#. If I’m not in Visual Studio, I’m probably trying to catch up with the continuously evolving Tech-World, researching Online Security & Privacy, and chasing the latest Data Breaches.