This guide shows you how to add a password to a Word document on Windows 10, so only people with the password can open or modify it. You’ll need the document saved on your PC and Microsoft Word installed (any recent version, including Office 2016, 2019, 2021, or Microsoft 365). The process takes less than a minute.
What You’ll Need
- A Windows 10 PC with Microsoft Word installed
- The document you want to protect, saved in a modern Word format (.docx)
Step-by-Step
- Open the document in Word. Double-click the file from File Explorer, or launch Word and use File > Open to find it.
- Go to the File tab in the top-left corner of the Word window. This opens the backstage view.
- In the left sidebar, click Info. You’ll see a section called Protect Document (or Protect Workbook if you’re in Excel—but this guide is for Word).
- Click the Protect Document button. A dropdown menu appears with several options.
- Select Encrypt with Password. This is the option that requires a password to open the file.
- A dialog box titled Encrypt Document appears. Type a strong password in the Password field. There’s no confirmation field here, so type carefully. Click OK.
- Word immediately asks you to retype the password to confirm. Enter the exact same password and click OK.
- Click Save (or press Ctrl+S) to save the encrypted file. The password is now active.
- To verify it worked, close the document and reopen it. Word will prompt you for the password before showing any content.
Important: If you forget the password, there is no built-in way to recover it. Microsoft cannot retrieve it for you, and there are no official backdoors. Write it down and store it somewhere safe.
Common Mistakes
- Typing the password wrong in the first field and not noticing until later. Since there’s no confirmation on the first entry, a typo means you’ll set a password you don’t know.
- Forgetting to save after encryption. If you close without saving, the password isn’t applied.
- Using a weak password like “1234” or “password.” These are easy to guess.
- Saving as an older format (.doc instead of .docx). Encryption still works, but some features may be limited.
- Confusing “Encrypt with Password” with “Restrict Editing.” The latter only limits formatting changes; it doesn’t require a password to open.
Tips
- Use a password manager to generate and store a strong, unique password.
- Combine uppercase, lowercase, numbers, and symbols for better security.
- Make a backup copy of the document before encrypting, just in case something goes wrong.
- If you only want to prevent others from editing (but allow viewing), use Restrict Editing instead, and set a password there.
- For extra security, you can also encrypt the entire folder using Windows BitLocker, but that’s separate from Word’s password.
Troubleshooting
I get an error when I try to open the file.
Make sure you’re entering the exact password, including case and special characters. If you copied and pasted, check for trailing spaces. If you still can’t open it, the password may have been set incorrectly. There’s no official recovery method, but you can try restoring a previous version of the file from File History or a backup.
The Protect Document button is grayed out.
This can happen if the document is in compatibility mode (saved as .doc). Go to File > Info > Convert to update it to .docx, then try again. Also, make sure the document isn’t already protected or marked as final.
I set a password but it doesn’t ask for it when I reopen.
You likely didn’t save after encrypting. Repeat the steps and click Save at the end. Also, check that you’re opening the correct file—if you have multiple versions, you might be opening an older one.
I forgot the password.
Unfortunately, there’s no legitimate way to recover it. You can try using a third-party recovery tool, but they are not guaranteed to work and may be risky. The best prevention is to store passwords in a secure password manager.
Frequently Asked Questions
Can I set different passwords for opening and editing?
Yes. In the Protect Document menu, choose Restrict Editing and then set a password for editing. That way, anyone can open the file, but only those with the editing password can modify it.
Does password protection work on Mac or mobile versions of Word?
Yes, the encrypted file will prompt for a password on any platform that supports Word documents. However, you need to set the password on a desktop version of Word (Windows or Mac) because the mobile apps don’t offer this option.
Will the password protect against ransomware or hacking?
No. The password only prevents casual access. A determined attacker with specialized tools might be able to crack weak passwords, but strong passwords are generally safe. It does not protect against malware that already has access to your system.
Can I remove the password later?
Yes. Open the document (enter the password), go to File > Info > Protect Document > Encrypt with Password, delete the password from the field, click OK, and save. The file is then unencrypted.
Does this work with PDF files?
No, this is for Word documents only. For PDFs, you’d need to use a PDF editor or a separate tool.
What if I only need to prevent accidental changes, not secure the file?
Use Mark as Final in the Protect Document menu. It makes the file read-only and discourages editing, but it’s not a security feature—anyone can remove it.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Make Group Chats on iPhone
- Spreadsheet vs Database: Key Differences
- How to Set a Password on a 7-Zip Archive
- Bond Market Volatility: How It Hits Your Funds
- How to Receive Calls via Bluetooth on iPhone
- How to Watch Live TV on a Smart TV: Antenna or Apps