Password protection in Word locks your document so only someone with the password can open it or edit it
Word has a built-in feature that encrypts your document with a password. When you set this up, anyone who tries to open the file will see a password prompt before they can read or change anything inside. This works the same way in Word on Windows, Mac, and the web version.
The process takes about two minutes and requires you to enter your password twice to make sure you typed it correctly. Once you save the document with password protection, that protection stays in place every time someone opens the file — they cannot remove it without knowing the password.
Key Takeaways
- Open the document you want to protect, then go to File > Info > Protect Document and choose "Encrypt with Password."
- Type your password twice in the dialog box that appears, then click OK and save the file.
- Anyone opening the document will need to enter the password before they can see or edit the contents.
- If you forget the password, Microsoft cannot recover it for you, so write it down somewhere safe.
- Password protection encrypts the entire document, but does not prevent someone from saving a copy with a different name.
Steps to password protect a document in Word on Windows
Open the document you want to protect. Click the File tab in the top left corner of the screen.
Click Info in the left sidebar. You will see a button labeled Protect Document in the center of the screen. Click it and select Encrypt with Password from the dropdown menu.
A dialog box will appear asking you to enter a password. Type your password in the field. Make sure you use something you will remember — Word cannot recover a forgotten password. Click OK.
Word will ask you to enter the password again to confirm it. Type the same password and click OK. Now save the document by pressing Ctrl + S or clicking File > Save. The password protection is now active.
How to password protect a document in Word on Mac
Open the document you want to protect. Click File in the menu bar at the top of the screen.
Select Properties from the dropdown menu. In the Properties window, look for the Security section. Click the checkbox next to Encrypt this document.
A dialog box will appear asking you to enter a password. Type your password and click OK. Word will ask you to enter it again to confirm. Type the same password and click OK. Save the document by pressing Command + S. The password protection is now active.
Password protecting a document in Word Online
Open your document in Word Online. Click File in the top left corner.
Click Info in the left sidebar. Look for the Protect Document button and click it. Select Encrypt with Password.
Enter your password in the dialog box and click OK. Word will ask you to enter it again. Type the same password and click OK. The document will save automatically with password protection enabled.
What happens when someone tries to open a password-protected document
When another person opens your password-protected document, Word will display a password prompt before the document opens. They must type the correct password to proceed. If they enter the wrong password, Word will reject it and ask them to try again.
This protection applies every single time the document is opened — there is no way to bypass it without the password. If someone saves a copy of the file to their computer, that copy remains password-protected as well.
Removing or changing a password
To remove password protection, open the document and enter the password when prompted. Go to File > Info > Protect Document and select Encrypt with Password again. This time, leave the password field blank and click OK. Save the document. The password protection is now removed.
To change your password, follow the same steps but enter a new password instead of leaving the field blank. You will need to know the current password to make this change.
Important things to know about Word password protection
Password protection in Word encrypts the document content, which means the text inside cannot be read without the password. However, the file name and file properties remain visible to anyone who can see the file on your computer or network.
If you forget your password, Microsoft cannot recover it for you. There is no "forgot password" option or recovery process. Write down your password and store it somewhere safe, or use a password manager to keep track of it. Test the password on a copy of the document before you rely on it for important files.
Password protection does not prevent someone from making an unencrypted copy of the document if they have access to your computer. It only protects the specific file you encrypted. If you share the document with someone and give them the password, they can read and edit it just as you can.
Frequently Asked Questions
Can I password protect just part of a Word document?
No. Word's password protection encrypts the entire document. If you need to protect only certain sections, you can use the "Restrict Editing" feature instead, which lets you lock specific parts while leaving others editable. This is found under File > Info > Protect Document > Restrict Editing.
What if I want someone to edit the document but not see all of it?
Password protection is not the right tool for this. You would need to create separate documents for different people, or use Word's "Restrict Editing" feature to lock certain sections. Password protection encrypts everything, so anyone with the password can see the entire document.
Does password protection work if I save the document as a PDF?
No. If you convert a password-protected Word document to PDF, the password protection does not carry over. You would need to set up PDF password protection separately using your PDF reader or a PDF tool.
Can someone remove the password if they have the file?
Not without knowing the password. The encryption in Word is strong enough that there is no practical way to remove it without entering the correct password. This is why forgetting your password is a serious problem.
Is Word password protection secure enough for sensitive information?
Word's password encryption is adequate for keeping casual readers out, but it is not military-grade security. For highly sensitive documents like financial records or legal files, consider additional security measures such as storing the file on an encrypted drive or using specialized document security software.