The fastest way: use Word's built-in encryption
Open the document you want to protect in Microsoft Word. Go to File > Info > Protect Document (on Windows) or File > Protect Document (on Mac). Select Encrypt with Password. Type your password twice and click OK. Save the file. The next time anyone opens it, Word will ask for the password before the document appears.
This method encrypts the entire file, so someone cannot open it at all without the correct password. It works on Word 2016 and newer on both Windows and Mac, and also on Word Online if you upload the file there afterward.
The password you set is the only way back in if you forget it. Microsoft cannot recover it for you, and neither can anyone else. Write it down somewhere safe if you think you might forget.
Key Takeaways
- Word's built-in encryption (File > Info > Protect Document > Encrypt with Password) locks the entire file so it cannot be opened without a password.
- A forgotten password cannot be recovered by Microsoft or anyone else, so store it somewhere you will remember.
- If you want to let people read the document but not edit it, use "Restrict Editing" instead of password encryption.
- Password-protected files stay protected when you email them, upload them to OneDrive, or share them with others.
- Older versions of Word (2007 and earlier) use a different menu path: Tools > Options > Security, then set a password to open.
Restricting editing instead of blocking the file entirely
If you want people to be able to read your document but not change it, use Restrict Editing instead. Go to File > Info > Protect Document > Restrict Editing (Windows) or File > Protect Document > Restrict Editing (Mac). Choose what you want to allow — usually "Tracked changes" or "Comments only" — then click Yes, Start Enforcing Protection and set a password.
This is weaker than full encryption. Someone determined could copy the text into a new document and edit it there. But it stops casual editing and makes it clear that changes need your approval.
Restrict Editing is useful when you are circulating a draft and want feedback without accidental deletions, or when you want to lock certain sections while leaving others open for input.
What happens when you share a password-protected file
The password protection travels with the file. If you email it, upload it to OneDrive or Google Drive, or send it through Slack, the recipient still needs the password to open it. The file itself is encrypted, so the protection does not depend on where it sits.
You have to tell the recipient the password separately — never in the same email or message as the file. A common practice is to text it, call them with it, or use a separate find message app. This way, even if someone intercepts the email with the file, they cannot open it without the password.
If you share the file with someone and later want to revoke access, there is no remote way to do it. The file is already on their computer. You can ask them to delete it, but you cannot force deletion or change the password retroactively for copies they already have.
Passwords that actually work versus passwords that do not
A strong password for a Word file is at least 12 characters long and mixes uppercase letters, lowercase letters, numbers, and symbols. Example12! is stronger than password. Word does not enforce a minimum length or complexity, so you can set a straightforward password if you want, but it will be easier to crack.
The password is case-sensitive, meaning MyPassword is different from mypassword. If you forget whether you used capitals, you will not be able to open the file.
Do not use passwords that are straightforward to guess — your name, your birthday, your company name, or common phrases. If someone has reason to try, they can run software that tests thousands of passwords per second against an older Word file. Newer versions of Word (2016 and later) use stronger encryption that is much harder to break this way, but the principle still holds: a random or unusual password is safer than a common one.
Older versions of Word and alternative programs
If you use Word 2007 or earlier, the menu is different. Open the document, go to Tools > Options > Security, then enter a password to open. The steps are the same — type the password twice and save — but the location is not where newer Word looks.
If you use Google Docs, you cannot password-protect a single document. Instead, you can restrict who can view or edit it by changing the share settings, but anyone with the link can still open it if they have the password to your Google account. If you need true password protection for a Google Doc, read it as a Word file first, password-protect it in Word, then share the protected version.
LibreOffice (a free alternative to Word) also has password protection. Go to File > Save As, check the box for Save with password, and set your password when you save. The process is similar to Word but happens at save time rather than after the file exists.
When password protection is not enough
Password protection stops someone from opening your file, but it does not hide the file itself. If your computer is stolen or someone gains access to your hard drive, they can see that the file exists and try to crack the password. For highly sensitive documents, consider storing them on an encrypted external drive or in a password-protected cloud service like OneDrive with two-factor authentication turned on.
Password protection also does not prevent someone from taking a screenshot of the open document or copying text from it once they have the password. If you are sharing the file with someone you do not fully trust, password protection buys you the ability to control who sees it initially, but not what they do with it after they open it.
If you need to send a document to someone and want to know whether they actually read it, password protection will not tell you that. Some cloud services and email programs offer read receipts, but Word itself does not track opens.
Troubleshooting: file locked, password not working, or file corrupted
If you set a password and now cannot remember it, there is no built-in recovery. You cannot open the file. Some third-party password recovery tools claim to crack Word passwords, but they work only on older Word files (2007 and earlier) and are unreliable on newer versions. The safest assumption is that a forgotten password means the file is inaccessible.
If the file opens but Word says it is locked or read-only, you may have opened it from a shared network drive or cloud service that has the file checked out to someone else. Close the file, wait a few minutes, and try again. If it persists, check with whoever else might have it open.
If the file is corrupted and will not open even with the correct password, try opening it in Word Online (upload it to OneDrive and open it there). Word Online sometimes recovers files that the desktop version cannot read. If that does not work, you may need to restore from a backup.
Frequently Asked Questions
Can I password protect just part of a Word document?
Not with a single password. You can use Restrict Editing to lock certain sections while leaving others editable, but that requires a password to unlock all sections at once. If you need different people to see different parts, split the document into separate files and password-protect each one individually.
What if I share a password-protected file and the recipient says they cannot open it?
Make sure they have a recent version of Word (2016 or newer). Older versions may not recognize the encryption. Also confirm they typed the password correctly — it is case-sensitive. If they are using Word Online or a mobile app, some older encryption methods may not work there; ask them to try the desktop version of Word instead.
Does password protecting a Word file slow it down or make it harder to edit?
No. Once you enter the password and the file is open, it behaves exactly like an unprotected file. The encryption only affects opening and saving, not day-to-day use.
If I password protect a file on Windows, can someone open it on a Mac?
Yes. Word encryption is the same across Windows and Mac. The password works on both. The file format does not change.
Can I remove a password from a file if I still have the original password?
Yes. Open the file with the password, go to File > Info > Protect Document > Encrypt with Password, delete the password field (leave it blank), and click OK. Save the file. The next time you open it, no password will be required.