Word has two ways to lock a document: password protection and file encryption

Microsoft Word lets you password-protect a document in two different ways, and they do different things. The first method — setting a password to open the file — actually encrypts the file itself so that Word cannot read it without the correct password. The second method — setting a password to edit — lets anyone open the document but requires a password to make changes. Most people want the first one.

The encryption method is stronger because it scrambles the entire file. Someone cannot even see that it contains a Word document without the password. The edit-only method is weaker — the document is readable, just locked against changes. Choose encryption if you are storing sensitive information. Choose edit-only if you want to share a document widely but prevent accidental or unwanted changes.

Key Takeaways

  • To encrypt a Word document so only you can open it, go to File > Info > Protect Document > Encrypt with Password, then type a password twice.
  • Word encrypts the entire file using your password, so the document cannot be opened or read without it.
  • If you forget the password, Microsoft cannot recover it — there is no back door or reset option.
  • Password-protecting a document is not the same as using OneDrive or SharePoint permissions, which control who can access the file but not what they see inside it.
  • For documents stored in the cloud, encryption adds a second layer of security on top of your account password.

How to encrypt a Word document with a password

Open the document you want to encrypt. Click the File tab at the top left. In the left sidebar, click Info. On the right side of the screen, you will see a button labeled Protect Document with a dropdown arrow next to it. Click that dropdown arrow and select Encrypt with Password.

A dialog box will appear asking you to enter a password. Type your password in the field. Word will not show you what you are typing — you will see dots or asterisks instead. Click OK. Word will ask you to type the password again to confirm it. Type it exactly the same way and click OK. The document is now encrypted. The next time anyone tries to open it, Word will ask for the password before showing any content.

After you encrypt a document, you will see a notification on the Info page that says "A password is required to open this document." This confirms the encryption is active. Save the file after encrypting it — the encryption takes effect when you save.

What happens when someone tries to open an encrypted document

When you or anyone else tries to open an encrypted Word document, a password dialog appears before the document opens. The person must type the correct password to proceed. If they type the wrong password, Word rejects it and asks again. There is no limit to how many times they can try, but Word will not open the document until the correct password is entered.

This is different from a document that is only locked against editing. With an edit-only password, the document opens and displays its content when ready — the password is only needed to make changes. With encryption, the password is required just to see the document at all.

Removing or changing the password later

To remove the password from an encrypted document, open the document (you will need to enter the password first). Go to File > Info > Protect Document > Encrypt with Password. The dialog box will appear with the password field empty. Leave it empty and click OK twice. Save the file. The encryption is now removed and the document will open without a password.

To change the password, follow the same steps but type a new password instead of leaving the field empty. Confirm the new password when prompted. Save the file. The old password will no longer work.

Why password protection is not the same as cloud storage permissions

If you store a Word document on OneDrive or SharePoint, you can set permissions to control who can view, edit, or read the file. These permissions are separate from document encryption. Someone with permission to view the file can open it and read it — the permissions do not scramble the content.

Encryption adds a layer on top of those permissions. Even if someone has permission to read the file from OneDrive, they still cannot open it without the password. This is useful when you share a document with people who should have access to the file itself but not to its contents — for example, sending an encrypted document to a colleague to pass along to a client, but only the client should be able to read it.

Important limits of Word encryption

If you forget the password, there is no way to recover it. Microsoft does not store your password and cannot reset it. You cannot open the document without the correct password. Write down your password or store it in a password manager you trust.

Word encryption uses a standard encryption method, but it is not military-grade. If you are protecting documents containing financial records, medical information, or other highly sensitive data, consider whether Word's built-in encryption meets your security needs. For very sensitive documents, dedicated encryption software may be more appropriate.

Encryption also does not prevent someone from copying the encrypted file itself. They just cannot read it without the password. If you need to prevent someone from accessing the file at all, use cloud storage permissions instead of or in addition to encryption.

Frequently Asked Questions

Can I encrypt a document that is already open in Word?

Yes. You do not need to close and reopen it. Go to File > Info > Protect Document > Encrypt with Password, set your password, and save the file. The encryption takes effect when you save.

What if I encrypt a document and then share it with someone on OneDrive?

They will be able to read the file because of the OneDrive permission you gave them. But they will not be able to open it without the password. The encryption is separate from the cloud storage permission.

Does Word encryption work the same way on Mac as on Windows?

The steps are slightly different on Mac. Open the document, go to Tools > Protect Document > Encrypt with Password. The password protection itself works the same way — the document cannot be opened without the correct password.

Can I encrypt just part of a Word document?

No. Word encrypts the entire file or not at all. If you need to protect only certain sections, you would need to split the document into separate files and encrypt only the sensitive one.

Is there a way to open an encrypted Word document without typing the password every time?

No. Word will ask for the password each time the document is opened, even if you are the person who encrypted it. This is by design — it ensures the encryption remains effective.