You need to protect a Word document so only authorized people can open or edit it. Word includes built-in encryption and editing restrictions that do not require third-party software. This article explains how to apply a password to open a file and a separate password to modify it. You will learn the exact steps for Windows 11 and Windows 10.
Key Takeaways: How to Add a Password to a Word File
- File > Info > Protect Document > Encrypt with Password: Sets a password that is required to open the document. Word encrypts the file using AES-256.
- File > Save As > Tools > General Options: Allows you to set two separate passwords: one to open and one to modify the document.
- File > Info > Protect Document > Restrict Editing: Limits formatting and editing actions without requiring a password to open the file.
How Word Password Protection Works
Word offers two distinct layers of password protection. The first layer encrypts the entire file so it cannot be opened without the correct password. The second layer allows any user to open the file but requires a password to make changes. Both methods are available in Word 2019, Word 2021, and Microsoft 365 versions on Windows 11 and Windows 10.
When you encrypt a document with a password, Word uses AES-256 encryption by default. This is a strong industry-standard cipher. If you lose the password, there is no recovery option. Microsoft support cannot unlock the file. Always store passwords in a secure password manager.
The modify password does not encrypt the file. It only prevents users from saving changes unless they enter the password. Users can still copy text from the document or save it under a new name. For full read-only protection without a password, use the Mark as Final command.
Steps to Save a Word File With a Password to Open
This method encrypts the file so a password is required every time someone opens it.
- Open the document in Word
Launch Word and load the file you want to protect. Make all final edits before applying the password. Adding a password after editing prevents accidental changes to the content. - Go to File > Info
Click the File tab in the top-left corner. On the Info screen, locate the Protect Document button in the middle of the page. - Click Protect Document and select Encrypt with Password
A dialog box named Encrypt Document appears. Type your password in the Password field. Use a strong password with at least 12 characters, mixing uppercase, lowercase, numbers, and symbols. - Confirm the password
Word prompts you to re-enter the password. Type it again exactly as before. Click OK. - Save the file
Press Ctrl+S or click the Save icon in the Quick Access Toolbar. Close and reopen the file to verify the password prompt appears.
Steps to Save a Word File With a Modify Password
This method lets anyone open the document but requires a password to save changes.
- Open the document in Word
Ensure the document is fully edited and ready for distribution. - Go to File > Save As
Click the File tab and select Save As. Choose a location such as This PC or OneDrive. - Click Tools next to the Save button
In the Save As dialog, locate the Tools dropdown menu near the bottom-left corner. It appears next to the Save button. - Select General Options from the Tools menu
A dialog box named General Options opens with two password fields. - Enter a password in the Password to modify field
Type the password that users must enter to edit the document. Leave the Password to open field blank if you do not want an open password. - Click OK and confirm the password
Word asks you to re-enter the modify password. Type it again and click OK. - Click Save
Word saves the file with the modify password. Test by opening the file and attempting to make changes.
Common Password Protection Mistakes and Limitations
I Forgot the Password to Open a Document
There is no built-in password recovery tool in Word. The file is encrypted, and the only way to open it is with the correct password. Third-party recovery tools exist but are unreliable and may not work with AES-256 encryption. The best prevention is to store passwords in a password manager such as Bitwarden or 1Password.
The Modify Password Does Not Prevent Copying Content
A modify password only blocks saving changes. Users can still select, copy, and paste text into another document. To prevent copying, you must use Information Rights Management or a Digital Rights Management service. Word alone cannot stop copying when the file is opened.
Password Applied but the File Still Opens Without Prompt
This usually happens when you save the file to a cloud folder that syncs an older version. Close Word completely, open the file from the local folder, and verify the password prompt appears. If it does not, reapply the password using the Encrypt with Password method and save again.
Protect Document Button Is Grayed Out
The document may be in compatibility mode because it was created in an older version of Word. Click File > Info > Convert to upgrade the file to the current format. After conversion, the Protect Document options become available.
Password Protection Does Not Work With Older Word Versions
If you share the file with someone using Word 2010 or earlier, they may not be able to open an AES-256 encrypted file. Save the document in the .doc format instead of .docx. Use File > Save As and choose Word 97-2003 Document (.doc). The encryption method changes to a weaker cipher, which is less secure but compatible.
Encrypt with Password vs Modify Password vs Restrict Editing
| Item | Encrypt with Password | Modify Password | Restrict Editing |
|---|---|---|---|
| Requires password to open | Yes | No | No |
| Requires password to edit | No (opens read-only without password) | Yes | No (uses form fields or comments only) |
| File encryption | Yes (AES-256) | No | No |
| User can copy content | No (cannot open file) | Yes | Depends on restrictions set |
| Best use case | Highly sensitive files | Collaboration with controlled edits | Template or form distribution |
You can now protect your Word files with strong passwords using either the Encrypt with Password or the modify password method. Choose the method based on whether you need to prevent opening or only prevent editing. For files that must remain secure, always use Encrypt with Password and store the password in a password manager. If you share files with users on older Word versions, save in .doc format to avoid compatibility problems.