How to Password Protect an MS Word, Excel or PowerPoint file?

Read this article to find out how to set a password for any Microsoft Office document created or remove it. How to restrict access to such applications as Microsoft Word, Excel or PowerPoint, and to files created with other tools included into the Office package.

How to Password Protect an MS Word, Excel or PowerPoint file?


Together with Windows 10, another highly popular software product by Microsoft is the Microsoft Office package that allows users to create, edit, share and otherwise manage various document types (such as texts, spreadsheets, databases etc) for any personal or business needs.

Although people already use a system password in the Windows 10 operating system to protect their account and files from unauthorized access, there can be a number of reasons why you need extra protection for your Microsoft Word, Microsoft Excel or Microsoft PowerPoint files. For instance, you may wish to share a document containing confidential information and you want to be sure that only trusted users can access it. Another example is that you choose to keep your documents in OneDrive or another cloud storage service, and you want to add an extra protection feature just in case your account gets hacked. Other scenarios may include cases when the computer where a specific document is stored can be accessed by many other users, and you would like to use the password to know for sure nobody else can view your files.

Regardless of why you need it, Microsoft Office 365, Microsoft Office 2019, and Microsoft Office 2016 (as well as their earlier versions) all contain the options to quickly protect their files with a password.

In this article, we are going to show you how to password protect a Microsoft Office document, and how to remove a password, if necessary.

How to set a password to any document created with the Microsoft Office package

To encrypt a document, restrict the circle of people who can access it, and add a secret password for such applications as Microsoft Word, Microsoft Excel or Microsoft PowerPoint, that are all included into the Microsoft Office package, there are a few steps to take.

  1. Start the application Microsoft Word (Excel or PowerPoint) and open the document which you would like to protect with a password.

  2. Above, find the menu and select the File tab.

    Microsoft Office
  3. The new page appears, with the settings that let you control save, print and access options; look to the left and click on the line Info.

  4. Find the large button entitled Protect Document to open the nested menu in charge of the security settings.

    Microsoft Office

    An important note. In Microsoft Excel this option is displayed as Protect Workbook, and in Microsoft PowerPoint – as Protect Presentation.

  5. In the menu that opens, select the line Encrypt with Password.

    Microsoft Office
  6. The office package security system will show you the Encrypt Document window containing the Password field, where you need to type the word or phrase that will lock and unlock the document.

    Microsoft Office
  7. When you are ready with the password, click ОК to continue.

    An important note. If you forget the password you have set for the file, there is no way to restore it, so you won’t be able to access the document contents. That is why passwords should be stored in a safe location where you can always find them in case you forget or lose a password.

  8. Retype the password in the window Confirm password containing the line Reenter password.

    Microsoft Office
  9. Click ОК again and apply the password to the document.

Now users trying to open this document will be suggested to enter the password in order to get access to the file. Be sure to keep the password in a safe place so that it can’t be available to anyone.

How to remove a password set for a Microsoft Office document

If you no longer need to protect a file with a password, and you want the Microsoft Office (Word, Excel or PowerPoint) file to be accessible by anyone, here is how to unlock the file.

  1. Use the corresponding application to open your Word file (Excel spreadsheet or PowerPoint presentation).

  2. The security system will ask you to confirm your right to access the file by entering the password. Type the current password into the field Enter password to open file to unlock the document.

    Microsoft Office
  3. Click ОК to open the document.

  4. Above, in the left corner of the screen, find the menu and select the File tab.

    Microsoft Office
  5. In the new page that opens, choose Info on the left.

  6. You will see several options to manage the document settings; find Protect Document and click on it to bring up the security settings.

    Microsoft Office

    An important note. If a document is password protected, the protection button will be yellow.

  7. In the menu that opens, go for Encrypt with Password.

    Microsoft Office
  8. The security system will open the Encrypt Document window, where the Password field contains the previously set password hidden behind special symbols so that no one can see the actual password. Clear the field and remove the current password.

    Microsoft Office
  9. Then click ОК to save the changes you have made.

Now any user will be able to open and edit this Microsoft Office document without having to enter the password.


For a number of reasons, people may need to add extra protection for their files, especially if these documents contain confidential information or are transmitted over the network.

Fortunately, the Microsoft Office package allowing you to create and edit a wide range of office documents also features a special tool that gives your files a decent level of protection. Using the advice given in this tutorial, you can always protect your text files, spreadsheets or presentations with a password which makes it almost impossible for anyone else to access the contents of the encrypted file. When you don’t need the password anymore, you can easily remove it and unlock the file so that it becomes available to anyone.

Vladimir Artiukh

Author: , Technical Writer

Vladimir Artiukh is a technical writer for Hetman Software, as well as the voice and face of their English-speaking YouTube channel, Hetman Software: Data Recovery for Windows. He handles tutorials, how-tos, and detailed reviews on how the company’s tools work with all kinds of data storage devices.

Oleg Afonin

Editor: , Technical Writer

Oleg Afonin is an expert in mobile forensics, data recovery and computer systems. He often attends large data security conferences, and writes several blogs for such resources as, Elcomsoft and Habr. In addition to his online activities, Oleg’s articles are also published in professional magazines. Also, Oleg Afonin is the co-author of a well-known book, Mobile Forensics - Advanced Investigative Strategies.

Recommended For You

Hello! This is AI-based Hetman Software virtual assistant, and it will answer any of your questions right away.
Start Chat