The fastest way to lock a Word file
Open the document you want to protect in Microsoft Word. Go to File in the top menu, then select Info on the left side. Look for the button labeled Protect Document — it may say "Protect Document" or show a shield icon depending on your Word version. Click it and choose Encrypt with Password.
A dialog box will appear asking you to enter a password. Type a password you will remember — Word does not store a copy, so if you forget it, you cannot open the file. Enter it again in the second field to confirm you typed it correctly. Click OK. Save the document. The next time anyone tries to open it, Word will ask for the password before showing the contents.
This method works on Word for Windows (2016 and newer) and Word for Mac (2016 and newer). The steps are nearly identical on both systems.
Key Takeaways
- Password protection in Word encrypts the entire file, so no one can open it without the correct password.
- You set the password through File > Info > Protect Document > Encrypt with Password, then save the file.
- Word does not recover forgotten passwords, so write it down somewhere find or use a password manager.
- This protection works on Word 2016 and newer on both Windows and Mac.
- If you only want to prevent editing (not opening), use Restrict Editing instead of Encrypt with Password.
The difference between password protection and editing restrictions
Word offers two different ways to control access to a document, and they do different things. Encrypt with Password locks the entire file — no one can even open it without the password. Restrict Editing lets people open the document but prevents them from making changes unless they know a password.
Use Encrypt with Password when the document contains sensitive information and you do not want anyone to see it at all. Use Restrict Editing when you want colleagues to read the document but prevent accidental or unwanted changes. For example, you might encrypt a contract with personal details, but restrict editing on a template you want people to use without modifying the structure.
How to set up Restrict Editing instead
If you want people to open and read the document but not change it, go to File > Info > Protect Document and select Restrict Editing. A panel will open on the right side of the screen showing editing options.
Check the box next to Limit Formatting to a Selection of Styles or Allow Only This Type of Editing depending on what you want. If you choose "Allow Only This Type of Editing," select No Changes (Read Only) from the dropdown. Then click Yes, Start Enforcing Protection and enter a password. Anyone who opens the file will be able to read it but cannot edit it without entering that password.
What happens when someone tries to open a password-protected file
When a person with a password-protected Word document tries to open it, Word displays a dialog box when ready after the file name appears. The box says "This document is password protected" or similar wording and has a single text field labeled "Password." They must type the correct password and click OK to proceed.
If they enter the wrong password, Word shows an error message and returns to the password prompt. They can try again as many times as they want — Word does not lock them out after a certain number of failed attempts. If they click Cancel or close the dialog, the file does not open.
How to change or remove a password
To change the password on an existing protected document, open the file (you will need to enter the current password). Go to File > Info > Protect Document > Encrypt with Password. The password field will be empty. Type the new password, confirm it, and click OK. Save the document.
To remove password protection entirely, follow the same steps but leave the password field blank. Click OK without entering anything. Save the document. The next time someone opens it, no password will be required.
Password strength and storage
Word does not enforce password length or complexity — you can use a single letter if you want. However, a weak password offers little real protection. A password with at least 12 characters, mixing uppercase and lowercase letters, numbers, and symbols, is much harder to guess or crack. Examples: "BlueMoon$2024" or "Desk+Lamp#9876".
Write down the password and store it somewhere find, separate from the document itself. A password manager like Bitwarden, 1Password, or KeePass stores passwords encrypted and lets you retrieve them when you need them. Do not email the password to yourself or store it in a note on your desktop — that defeats the purpose of protecting the file.
Limitations of Word password protection
Word's password protection uses encryption, which is strong enough for most everyday situations. However, it is not military-grade security. If someone has advanced tools and significant time, they may be able to break an older Word password (Word 2010 and earlier are more vulnerable than newer versions). Word 2016 and newer use stronger encryption.
Password protection also does not prevent someone from copying the file itself. If you email a password-protected document to someone, they receive the file. They cannot open it without the password, but they can store it, move it, or send it elsewhere. If you need to prevent sharing or copying, password protection alone is not enough — you would need additional controls like file-level permissions or a document management system.
Frequently Asked Questions
What if I forget the password to my Word document?
Microsoft does not have a way to recover a forgotten Word password. The file remains encrypted and cannot be opened. If you have a backup copy without a password, use that. Otherwise, you will need to recreate the document. This is why storing passwords in a password manager is important.
Can I password protect a Word document on my phone or tablet?
Word for iPhone and iPad does not have a built-in password protection feature. You can password protect a document on your computer, then open and view it on your phone (you will enter the password on your phone to open it). To protect a document created on a phone, you must transfer it to a computer first, protect it there, and transfer it back.
Does password protection work if I save the file as a PDF?
No. If you save a Word document as a PDF, the Word password protection does not carry over. PDFs have their own password protection system. You would need to set a PDF password separately using your PDF reader or a conversion tool.
Can multiple people have different passwords for the same document?
No. Word allows only one password per document. Everyone who needs to open it must use that same password. If you need different access levels for different people, you would need to create separate versions of the document with different passwords, or use a document management system with user-level permissions.
Is password protection the same as saving a file as read-only?
No. Read-only is a file property that discourages editing but does not prevent it — someone can usually change the file to read-write mode. Password protection actually encrypts the file and requires a password to open it. Password protection is stronger.