Protect your Thunderbird passwords with a Primary Password
Revision Information
- Revision id: 226046
- Created:
- Creator: Paul
- Comment: Replacing "master" with "primary" in the article text.
- Reviewed: Yes
- Reviewed:
- Reviewed by: Chris_Ilias
- Is approved? No
- Is current revision? No
- Ready for localization: No
Revision Source
Revision Content
Thunderbird can save passwords for each account, so you don't have to re-enter them when you check for new messages. You can view them and remove the ones you don't use anymore.
What if you share a computer, and don't want others to see your stored passwords? With the primary password feature, Thunderbird will require you to enter a primary password in order to view or use the passwords you've told Thunderbird to remember. When you have a primary password set, you'll only need to enter it once per session.
A weaker method is to change the hidden preference mail.password_protect_local_cache in the config editor to True. This will prevent the display of email until the primary password is entered. It does not however do anything about your mail being stored on the hard disk as a plain text file. Using an operating system account does address that.
Table of Contents
Defining a primary password
By default, Thunderbird does not use a primary password to protect stored credentials. To define a primary password:
- In the menu bar, click the menu and select .Click the menu button
and choose .
- Select the panel.
- Select the tab.
- Put a check mark next to Use a master password.



- The Change Primary Password dialog will appear. As you enter your primary password, the password quality meter will indicate the difficulty of guessing the password. Here are some tips for creating better passwords:
- Use at least one capital letter.
- Use one or more digits.
- Use at least one non-alphanumeric character, such as: @ # $ % ^ & * ( ).
- Also, remember to make your password something that is easy for you to remember, but difficult for others to guess to ensure that you, and only you, will be able to retrieve this secure information.
- The password must be entered twice to confirm that you can enter it consistently.


- To set the primary password, click .
Now that your primary password is set, Thunderbird will prompt you to enter it the first time you need to view or use a password per session.
Changing the primary password
- In the menu bar, click the menu and select .Click the menu button
and choose .
- Select the panel.
- Select the tab.
- Click .
- Enter the current primary password to confirm you are authorized to change it.
- Enter the new primary password twice.
- Click .
Removing your primary password
Follow the steps above to change the password, but leave both the new primary password fields empty.
Resetting your primary password if you have forgotten it
If you've forgotten your primary password you can reset it.
- Choose .
- Copy the text given below and paste into the Console. The choice is determined by the version you are using.
- If using a version prior to 78, copy and paste the following text:
openDialog("chrome://pippki/content/resetpassword.xul") - If using version 78 or later, copy and paste the following text:
openDialog("chrome://pippki/content/resetpassword.xhtml")
- If using a version prior to 78, copy and paste the following text:
- Click the button. If you do not see an 'Evaluate' button, press Return or Enter on keyboard.
- When prompted with the confirmation dialog box, click the button.