The fastest way to password lock a Word document

To password lock a Word document, open the file in Microsoft Word, go to File > Info, click Protect Document, and select Encrypt with Password. Type your password twice and save the file. The next time anyone opens it, Word will ask for the password before showing the document.

This method works the same way on Windows and Mac. The password you set is the only way to open the file — if you forget it, Microsoft cannot recover it for you, so write it down somewhere safe before you close the document for the first time.

The process takes about one minute and requires no additional software. Once locked, the document stays locked every time it opens, even if you email it to someone else or move it to a different computer.

Key Takeaways

  • Password locking a Word document happens inside Word itself through File > Info > Protect Document > Encrypt with Password.
  • You must type the password twice to confirm it, and Microsoft cannot recover a forgotten password, so store it safely before closing the file.
  • The lock persists across devices and email — anyone who receives the file will need the password to open it.
  • On Mac, the steps are identical; the menu locations use the same names as Windows Word.
  • Password locking encrypts the entire file, not just parts of it, so the document is protected from the moment someone tries to open it.

Step-by-step instructions for Windows

Open the Word document you want to lock. Click the File tab in the top left corner of the ribbon. From the menu on the left, 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. A small menu will appear with several options. Click Encrypt with Password.

A dialog box titled "Encrypt Document" will pop up with a single text field. Type your password into this field. The characters will appear as dots for security. Click OK.

Word will ask you to type the password again to confirm it. Type the exact same password into the second dialog box and click OK. Now save the document by pressing Ctrl+S or clicking File > Save. The password lock is now active.

Step-by-step instructions for Mac

Open the Word document you want to lock. Click File in the menu bar at the top of the screen. From the dropdown menu, click Info.

You will see a button labeled Protect Document on the right side. Click the dropdown arrow next to it. Select Encrypt with Password from the menu that appears.

A dialog box will open asking you to enter a password. Type your password into the text field — it will show as dots. Click OK.

Mac will prompt you to type the password a second time to confirm. Enter the same password and click OK. Save the document by pressing Command+S or using File > Save. The password protection is now in place.

What happens when someone tries to open a locked document

When a password-locked Word document is opened, a dialog box appears before the document content loads. The box says "Password" with a single text field. The person opening the file must type the correct password to proceed. If they type an incorrect password and click OK, Word shows an error message and returns to the password prompt.

There is no limit to how many times someone can try to guess the password, so a weak password (like "123456" or "password") is not truly find. Use a password that mixes uppercase letters, lowercase letters, numbers, and symbols if the document contains sensitive information.

Once the correct password is entered, the document opens normally. The person can then edit, print, or save it as usual — the password only controls opening the file, not what happens after it opens.

Removing or changing a password

To remove the password from a locked document, open the file and enter the password when prompted. Once the document is open, go to File > Info and click the Protect Document dropdown. Select Encrypt with Password again.

The "Encrypt Document" dialog will appear, but this time the password field will be empty. Leave it blank and click OK. When prompted to confirm, leave the field blank again and click OK. Save the document. The password lock is now removed.

To change the password instead of removing it, follow the same steps but type a new password in the first dialog box instead of leaving it blank. Confirm the new password in the second dialog, then save.

Why password locking is different from other protection options

Word offers several ways to protect documents, and they work differently. Password locking (Encrypt with Password) prevents anyone from opening the file at all without the password. Restrict Editing lets people open the document but limits what they can change — they can read it but cannot edit it without a password. Mark as Final suggests the document is complete but does not actually lock anything.

If you want to share a document that people can read but not modify, Restrict Editing is the right choice. If you want to keep the document completely private until someone enters a password, use Encrypt with Password. The two can also be combined: you can password lock a document and then restrict editing within it, though this is rarely necessary.

Frequently Asked Questions

What if I forget the password to my locked document?

Microsoft cannot recover a forgotten password. The document will remain locked and unreadable. This is by design — it means the encryption is strong. Always store your password in a safe place, such as a password manager, before you close the document for the first time.

Can I password lock only part of a Word document?

No. Encrypt with Password locks the entire file. If you want to protect only certain sections, use Restrict Editing instead, which lets you lock specific parts while leaving others editable. These are two separate tools with different purposes.

Does password locking work if I save the document as a PDF?

No. If you save a locked Word document as a PDF, the password protection does not transfer. PDFs have their own password protection method. You would need to set a PDF password separately using your PDF reader or a PDF tool.

Will the password lock stay if I email the document to someone?

Yes. The password protection is part of the file itself, not the email. When the recipient downloads or opens the attachment, they will be prompted for the password before they can view the document.

Can I password lock a document in Microsoft Word Online?

No. The Encrypt with Password option is not available in Word Online (the browser version). You must use the desktop version of Microsoft Word on Windows or Mac. If you only have access to Word Online, read the document to your computer, lock it in the desktop app, and then upload it back.