Password protection locks your Word document so only someone with the password can open or edit it
Word has a built-in password feature that encrypts your document. When you set a password, the file itself becomes unreadable without it — someone cannot open the document at all, let alone view or change its contents. This works the same way on Windows and Mac, though the menu paths differ slightly.
The password you create should be something you can remember but others cannot guess. Write it down somewhere safe if you think you might forget it — Microsoft cannot recover a lost password, and you will lose access to your own document.
Key Takeaways
- Password protection in Word encrypts the entire document, so no one can open it without the correct password.
- On Windows, go to File > Info > Protect Document > Encrypt with Password; on Mac, use File > Properties > Security.
- Your password must be entered exactly as you created it, including capital letters and special characters.
- If you forget your password, you cannot recover the document — Microsoft does not store or reset document passwords.
- Changing or removing a password requires opening the document with the current password first.
Password protection on Windows
Open the Word document you want to protect. Click the File tab in the top left corner, then select Info from the left menu. You will see a button labeled Protect Document with a dropdown arrow next to it.
Click that dropdown and select Encrypt with Password. A dialog box will appear asking you to enter a password. Type your password in the field — the characters will show as dots for security. Click OK.
Word will ask you to enter the password again to confirm it. Type it exactly as you did the first time, then click OK. The document is now password protected. Save the file using Ctrl+S or File > Save. The next time anyone opens this document, they will be prompted to enter the password.
Password protection on Mac
Open your Word document and click File in the menu bar at the top. Select Properties from the dropdown menu. A new window will open with several tabs across the top.
Click the Security tab. You will see a checkbox labeled Encrypt document contents. Check this box. A password dialog will appear. Enter your password in the first field and confirm it in the second field, then click OK.
Save your document using Command+S. The password protection is now active. The next time the document is opened, Word will request the password before displaying any content.
What happens when someone tries to open your protected document
When a password-protected Word document is opened, a dialog box appears when ready asking for the password. The person opening it must type the exact password — uppercase and lowercase letters matter, as do numbers and symbols. If they enter the wrong password, they cannot proceed.
They get three attempts before Word locks them out temporarily. After three wrong entries, they must wait a few moments before trying again. This is a security measure to slow down password guessing.
Changing or removing a password
To change your password, you must first open the document with the current password. Once it is open, follow the same steps you used to set the password initially — go to File > Info > Protect Document > Encrypt with Password (Windows) or File > Properties > Security (Mac).
A dialog will appear showing that the document is already encrypted. Enter your old password first, then enter your new password twice to confirm it. Click OK and save the file.
To remove the password entirely, open the document with the current password. Go through the same menu path, but leave the password field blank when prompted. Click OK without entering anything. Save the file. The document is no longer password protected.
Passwords versus other Word protection features
Word offers other protection options beyond password encryption. You can restrict editing so someone can only make comments or track changes, or you can protect specific sections while leaving others editable. These features do not require a password to open the document — they only limit what can be changed once it is open.
Password protection is the strongest option because it prevents anyone from even viewing the document without the password. The other features are useful if you want to share a document but control how it is edited. Choose password protection if you need to keep the document completely private.
Common mistakes that lock you out
The most common problem is forgetting the password. Word does not store passwords and cannot retrieve them. If you lose the password, the document is inaccessible. There is no recovery option and no way to contact Microsoft for help — the encryption is permanent.
Another mistake is typing the password differently each time. Passwords are case-sensitive, meaning MyPassword is different from mypassword. If you use special characters like ! or @, make sure you remember exactly which ones and in what order.
A third issue is saving the document before confirming the password works. Always close the document after setting the password, then reopen it and enter the password to verify it works. This catches mistakes before you forget what you typed.
Frequently Asked Questions
Can I password protect just part of a Word document?
No, password protection encrypts the entire document. If you want to protect only certain sections while leaving others editable, use the Restrict Editing feature instead. This lets you lock specific parts while allowing changes to others, though it does not require a password to open the file.
What if I share a password-protected document with someone and they forget the password?
They will not be able to open the document. You will need to open it with the password, remove the protection, and send them the unprotected version. There is no way to recover or reset a forgotten document password.
Does password protection work if I save the document as a PDF?
No. If you convert a Word document to PDF, the Word password protection is lost. PDFs have their own password protection system. You would need to set a PDF password separately using your PDF reader or converter.
Can someone crack a Word document password?
Word passwords use encryption, which makes them difficult to crack without specialized tools. For everyday privacy — keeping a document from casual access — password protection is effective. For highly sensitive documents, consider additional security measures like storing the file on an encrypted drive.
Will password protection slow down my document or make it harder to use?
No. Once you enter the password, the document works exactly as it normally would. The password is only required when opening the file. There is no performance impact while you are working in the document.