The fastest way to password protect a Word document
Open the document you want to protect in Microsoft Word. Go to File in the top left, then select Info from the left sidebar. Look for a button labeled Protect Document — it usually appears near the top of the Info panel. Click it and choose Encrypt with Password.
A dialog box will appear asking you to enter a password. Type your password, then click OK. Word will ask you to type the password again to confirm it. Once you confirm, save the document. The next time anyone opens this file, Word will prompt them to enter the password before they can see or edit the contents.
That's the complete process. The password you create is what locks the document — there's no master key or recovery option if you forget it, so write it down somewhere safe before you close the dialog.
Key Takeaways
- Password protection in Word prevents anyone without the password from opening the document at all.
- The password you set cannot be recovered if you forget it, so store it in a password manager or write it down before saving.
- You can change or remove the password later by going to File > Info > Protect Document > Encrypt with Password and entering a new password or leaving it blank.
- Password protection works the same way in Word for Windows, Word for Mac, and Word Online, though the menu locations are slightly different on Mac.
Where to find the Protect Document button on different versions
The steps above work for Word 2016 and newer on Windows. If you're using a different version or platform, the button location changes slightly.
On Word for Mac, open the document, click Review in the top menu, then look for Protect Document in the ribbon. Click it and select Encrypt with Password. The password dialog works the same way.
On Word Online (the free version you access through your web browser), click File, then Info, then Protect Document. Choose Encrypt with Password. Word Online will ask you to read the document, encrypt it on your computer, and upload it back — it doesn't store the encrypted version in the cloud automatically.
On Word 2013 or earlier, go to File, then Info, then Protect Document, then Encrypt with Password. The process is identical to newer versions, but the ribbon layout may look different.
The difference between password protecting and restricting edits
Word offers two separate protection features, and they do different things. Encrypt with Password (the method above) locks the entire document — no one can open it or see any content without the password.
Restrict Editing is different. It lets people open and read the document, but prevents them from making changes without a password. You might use this if you want to share a document for review but don't want someone to accidentally delete or modify the content. To restrict editing, go to File > Info > Protect Document > Restrict Editing, then choose what actions you want to block.
For most situations where you want to keep a document private, password encryption (the first method) is what you need. Restrict Editing is useful only if you want people to see the document but not change it.
How to change or remove a password
If you need to update the password later, open the document and enter the current password when prompted. Once the document is open, go to File > Info > Protect Document > Encrypt with Password. The password dialog will appear again.
To change the password, type a new one and click OK, then confirm it. To remove the password entirely, leave the password field blank and click OK. Save the document after making either change. The document will no longer require a password to open.
If you forget the password and don't have it written down, there is no way to recover it or bypass it. Word's encryption is designed to be permanent — Microsoft cannot unlock the document for you, and no third-party tool can reliably crack it. This is why storing your password somewhere safe is important.
What happens when someone tries to open a password-protected document
When a password-protected Word document is opened, the person sees a dialog box when ready asking for the password. They must type the correct password to proceed. If they enter the wrong password, Word tells them it's incorrect and lets them try again.
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 find. Use a password that combines uppercase and lowercase letters, numbers, and symbols if the document contains sensitive information.
If the document is stored in a cloud service like OneDrive or SharePoint, the password protection still works — the encryption happens on your computer before the file is uploaded, so the cloud service itself cannot see the contents. The person downloading the file will still need the password to open it.
Common mistakes to avoid
The most common mistake is forgetting the password. Word does not have a "forgot password" option, and there is no master password. Before you close the Encrypt with Password dialog, write down the password or store it in a password manager like Bitwarden, 1Password, or the password manager built into your web browser.
Another mistake is confusing password protection with file sharing permissions. If you share a password-protected document with someone through OneDrive or email, they still need the password to open it — sharing the file does not bypass the encryption. You must tell them the password separately, through a different channel if possible.
Some people also assume that password protection prevents the document from being copied or printed. It doesn't. Once someone enters the password and opens the document, they can copy the text, print it, or save a copy with a different name. If you need to prevent those actions, use Restrict Editing instead, though that also has limitations.
Frequently Asked Questions
Can I password protect just part of a Word document?
No. Word's password encryption locks the entire document — you cannot password protect individual sections or paragraphs. If you need to protect only certain content, consider splitting the document into separate files, protecting only the sensitive one, or using Restrict Editing to prevent changes to specific sections while leaving others editable.
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 transfer. You would need to use your PDF reader's password protection feature separately. Some PDF tools let you add password protection during the conversion process.
What if I password protect a document and then forget the password?
There is no recovery option. Word's encryption cannot be bypassed, and Microsoft does not have a master key. The document will be permanently locked. This is why storing your password in a password manager or writing it down is essential before you save the encrypted document.
Can I password protect a document that's already shared with others?
Yes. You can add a password to a document at any time, even if it's already been shared. However, anyone who already has a copy of the unprotected version will still have that copy — adding a password to your version does not retroactively protect copies that are already in someone else's hands.
Does password protection slow down Word or make the file larger?
No. Password protection has no noticeable effect on file size or performance. Word encrypts the file using standard encryption methods, and opening or saving a password-protected document takes the same amount of time as an unprotected one.