Import passwords to Firefox

You have your Firefox passwords in a CSV file and would like to import them into Firefox.

You want to import passwords to Firefox that you previously exported to a CSV file. Firefox allows you to import passwords in a relatively straightforward way. Learn how to do it in five simple steps.

Since you're using Mozilla Firefox to surf the web, your passwords are stored inside it. This is convenient because if Firefox knows your passwords it can log you into websites automatically.

If you are replacing your desktop or laptop computer you may want to take your Firefox passwords with you.

When you export Firefox passwords you end up with your passwords stored in a CSV file. The file that has exported passwords is usually called logins.csv. It is located somewhere on your computer (by default in your Documents folder), unless you moved it to a USB stick or external USB drive.

To import passwords to Firefox, enable the Firefox file import feature (if not already enabled), go to the password configuration section, and upload the CSV file with your passwords.

How to import passwords to Firefox

This importing passwords to Firefox procedure was written for the Firefox browser version 89.0.2 and it should work for all Firefox 89 and later versions.

To import passwords to Firefox follow these five steps.

1) Start Mozilla Firefox web browser

Start a Firefox web browser on your computer.


Mozilla Firefox web browserStart Firefox

2) Open Firefox password settings

On top right, click on the three vertical bars / hamburger icon (Step 1).

Then click on "Passwords" (Step 2).


Opening Firefox password settingsOpen Firefox password settings

3) Click on three horizontal dots and select "Import from a File..."

You are now in the Firefox Lockwise section of the Firefox configuration.

On top right, click on the three horizontal dots (Step 1).

Then click on "Import from a File..." (Step 2)

NOTE: If you don't see the "Import from a File..." option, you have to enable this feature first.


In Firefox Lockwise, showing "Import from a File..." from the pull-down menuClick on three horizontal dots and select "Import from a File..."

4) Select file with Firefox passwords for import

If you didn't change the default file name when you exported passwords from Firefox, the file that has your passwords is called logins.csv. It may be located in your computer Documents folder, unless you saved it somewhere else.

Locate the file with Firefox passwords, select it, and click on the "Open" button.


Selecting logins.csv file in a Windows file explorerSelect logins.csv file

5) Password import summary information

Firefox will show you how many new logins (with passwords) it added, how many existing logins it updated, how many duplicate logins it found, and any errors from the password-import procedure.

Check that everything looks correct and click on the "Done" button.


Firefox showing "Import Complete" and a "Done" buttonCheck that everything looks as expected

Congratulations!

You have successfully imported your passwords from a file on your computer to Firefox.


Passwords imported to FirefoxPasswords were imported to Firefox

Is there a better way to manage passwords?

Yes, there is. You could be using a password manager.