Password protection locks your document so that anyone who tries to open it must type the correct password first
When you password-protect a Word document, the file itself becomes encrypted. That means the text inside is scrambled until someone enters the right password. Even if someone copies the file to their computer, they cannot read it without that password. Microsoft Word has this feature built in — you do not need extra software.
The process takes about two minutes. You save the document with a password attached, and from that point forward, every time anyone opens it, Word asks for the password before showing the content. If the wrong password is entered, the document stays locked.
Key Takeaways
- Password protection in Word scrambles your document so it cannot be read without the correct password, even if someone steals the file.
- The steps differ slightly between Windows and Mac versions of Word, but both use the "Save As" menu to add password protection.
- Write down your password somewhere safe outside the document — if you forget it, Microsoft cannot recover it for you.
- Password protection does not prevent someone from copying the file; it only prevents them from opening it.
How to password-protect a Word document on Windows
Open the document you want to protect. Click File in the top left corner, then click Save As. Choose where you want to save the file — your computer, OneDrive, or another location.
At the bottom of the Save As window, you will see a button labeled Tools (it may look like a small dropdown arrow). Click it, then select General Options. A small dialog box will appear with two password fields: one labeled Password to open and one labeled Password to modify. Type your password in the Password to open field. This is the one that locks the document. Leave the other field blank unless you want a second password that allows people to view the document without editing it. Click OK, type your password again to confirm it, and click OK once more. Then click Save.
From now on, anyone who opens this file will see a password prompt before the document appears. The file is now protected.
How to password-protect a Word document on Mac
Open the document you want to protect. Click File in the menu bar at the top, then click Save As. Give your document a name and choose where to save it.
Before you click Save, look for a checkbox labeled Protect with password (it may also say Password protect or Encrypt depending on your Word version). Check that box. A password field will appear. Type your password, then type it again in the confirmation field. Click Save.
The document is now password-protected. Anyone opening it will need to enter the password you just created.
What happens when someone tries to open a password-protected document
When a password-protected Word document is opened, the first thing that appears is a dialog box asking for the password. The person opening the file must type the exact password — uppercase and lowercase letters matter, as do numbers and symbols. If they type the wrong password, Word will say "Incorrect password" and let them try again. They can try as many times as they want, but they cannot see any part of the document until the correct password is entered.
Once the correct password is entered, the document opens normally and can be edited, printed, or copied like any other Word file. The password is only needed when opening the file, not every time you make a change.
The difference between "password to open" and "password to modify"
Word offers two separate password options. The password to open is the main lock — without it, the document cannot be opened at all. The password to modify is optional and works differently. If you set only a modify password, anyone can open the document without a password, but they cannot edit it or save changes unless they enter the modify password. They can still read and print it.
Most people use only the "password to open" option because it provides the strongest protection. The "password to modify" option is useful if you want to share a document for reading but prevent accidental changes. For example, a manager might share a final report with a modify password so team members can read it but cannot accidentally alter it.
What to do if you forget your password
Microsoft cannot recover a lost password for a Word document. If you forget the password to a protected document, the file cannot be opened. There is no "forgot password" button or recovery process — the encryption is permanent.
This is why it is important to write your password down and store it somewhere safe. A physical notebook in a drawer, a password manager like Bitwarden or 1Password, or a locked file on your computer are all better options than trying to remember it. If you use a password manager, it will store the password securely and fill it in automatically when you open the document.
What password protection does and does not do
Password protection prevents someone from opening and reading your document. It does not prevent them from copying the file itself. If someone has access to your computer or your cloud storage, they can copy the password-protected file and move it somewhere else — but they still cannot open it without the password.
Password protection also does not hide the document from view in a file list. If someone looks at your computer's files, they will see the Word document sitting there. They just cannot open it. If you want to hide a file completely, you would need to use your operating system's file encryption tools, which is a different process.
Frequently Asked Questions
Can I remove the password from a document I already protected?
Yes. Open the document and enter the password when prompted. Then go to File > Save As, click Tools > General Options (Windows) or check the password box (Mac), and leave the password fields blank. Save the file. The password protection is now removed.
Does password protection work if I share the document through email or cloud storage?
Yes. The password protection stays with the file no matter where it goes. If you email a password-protected document or share it through OneDrive or Google Drive, the person receiving it will still need the password to open it. You should tell them the password through a separate message, not in the same email as the file.
What if I set a password but then save the document again without a password?
If you open a password-protected document, enter the password, and then save it without going through the password protection steps again, the password stays in place. The password only gets removed if you deliberately clear it in the Save As dialog. Saving normally does not change the protection status.
Is a Word password as strong as a password for my email or bank account?
Word passwords use encryption, but they are not as strong as modern security standards for financial accounts. A very straightforward password like "123" or "password" would be easier to crack on a Word document than on a bank account. Use a password with a mix of uppercase and lowercase letters, numbers, and symbols for better protection.
Can I password-protect a document in Google Docs or Microsoft 365 online?
Google Docs does not have a built-in password protection feature. Microsoft 365 online (Word in your browser) also does not offer password protection the same way the desktop version does. You need to use the Word process on your computer to add password protection, then upload it to the cloud if you want.