Home » Blog » MS Outlook » How to Add Password to PST File: 3 Methods

How to Add Password to PST File: 3 Methods

Neeraj Kumar
Published By Neeraj Kumar
Debasish Pramanik
Approved By Debasish Pramanik
Published On
Last Updated

Add password to PST file data with the Change Password button in Outlook because an Outlook data file stores its own password. Three methods work. Change Password sets or edits the password of an open file and an export creates a new protected file. Software removes a password you forgot. Microsoft states a forgotten PST password cannot be retrieved. Keep a copy of the file before you test.

Your PST file stores contracts and client mail and anyone with the file can open it. Passwords stop that at the file level.

This guide explains three ways to lock a PST file and what to do when you forget the password later.

What Should You Know Before You Set a PST Password?

Microsoft lists five facts on the password page for Outlook data files:

  • Length. Passwords have up to 15 characters and are case sensitive.
  • Scope. The password protects one PST file and not the full Outlook application.
  • OST Files. Microsoft 365 and Exchange and Outlook.com accounts store data in OST files and OST files accept no password.
  • Prompt. Outlook asks for the password every time the file opens.
  • Recovery. Microsoft cannot retrieve a forgotten PST password.

Microsoft suggests a password protected Windows user account for every person when many people share one computer.

Which Method Fits Your Case?

Match your case with the table:

Your CaseBest StepMethod
PST file is open in OutlookChange PasswordMethod #1
You want a protected copy of the mailExport with a passwordMethod #2
You forgot a passwordPassword remover softwareMethod #3

3 Methods to Add Password to PST File

Methods 1 and 2 need Outlook. Method 3 works without Outlook:

MethodOutlook NeededResult
Change PasswordYesExisting file gets a password
Export With PasswordYesNew protected file
Password RemoverNoForgotten password removed

Method #1: Add a Password With the Change Password Button (Free)

Adding a password uses the same steps as changing one. Seven steps set it:

  1. Open Outlook and go to the File tab.
  2. Select Account Settings and then Account Settings again.
  3. Open the Data Files tab and select the PST file then click Settings.
  4. Click Change Password. Button does not show for OST files.
  5. Keep Old password blank when the file has no password.
  6. Type the password in New password and Verify password.
  7. Click OK.

Note: Save the password in a safe place. Microsoft states there is no way to retrieve it.

Method #2: Export the Mail to a New Protected PST File (Free)

Export suits a copy that you send to another person. Seven steps create it:

  1. Go to File then Open & Export then Import/Export.
  2. Choose Export to a file and click Next.
  3. Select Outlook Data File (.pst) and click Next.
  4. Select the folder and click Next.
  5. Click Browse and choose the save location.
  6. Click Finish.
  7. Type a password in the password box and click OK.

Note: Open the new file and test the password before you delete the source.

Method #3: Remove a Forgotten PST Password With EmailDoctor PST Password Remover (Trial Version)

Outlook has no recovery option for a lost password. EmailDoctor PST Password Remover removes the password from a file you own and needs no Outlook installation. Work on copies.

Add the Locked PST Files

Three steps collect the files:

  1. Click Add File(s) and select the PST copy. Add File(s) button in the PST password remover
  2. Click Search Files when you forgot the folder. Window lists PST files on the computer. Search Files window listing PST files on the computer
  3. Check the lock icon in the Status column. File list with the lock icon in the Status column

Remove the Password

Three steps finish the work:

  1. Click Remove Password and confirm the backup prompt. Remove Password button below the file list
  2. Wait for the success message. Success message after password removal
  3. Check the open padlock in the Status column and open the file in Outlook. File list after password removal

Note: Demo mode lists the protection status. Removal needs the full version.

How to Read Your Result

Check the file before you rely on the password:

ResultMeaningNext Step
Outlook asks for the password at startPassword is activeStore it safely
Change Password button is missingFile is an OST fileUse another protection
Test open fails with the new passwordTyping mistakeRepeat Method #1
Password is forgottenNo Microsoft recoveryMethod #3

Frequently Asked Questions

How Many Characters can a PST Password Have?

Up to 15 characters. Passwords are case sensitive.

Can You Add a Password to an OST File?

No. Microsoft states OST files cannot be password protected.

Can Microsoft Recover a Forgotten PST Password?

No. Microsoft states there is no way to retrieve it.

Does the Password Protect the Full Outlook Application?

No. Microsoft states you cannot set a password for the full application and only for a PST file.

What Does the Password Remover Show in Demo Mode?

Demo mode lists the protection status. Removal needs the full version.

Author’s Verdict

Use the Change Password button for an open profile. Use an export for a protected copy that you share.

Choose remover software only for files you own and always on a copy.

  • Change Password adds a password to a PST file.
  • Passwords have up to 15 characters and OST files accept none.
  • Microsoft cannot recover a forgotten password so software handles it for your own files.
  Neeraj Kumar

By Neeraj Kumar

Neeraj Kumar is a Principal Technical Architect at EmailDoctor with 19+ years of experience in email migration, cloud migration, data recovery and digital forensics. He guides enterprise teams through Exchange, Office 365 and Google Workspace projects and shares what works as an EmailDoctor writer. Every method in his posts is tested on Windows and Mac before it goes live.